How to perform a post-process calculation in different sub-domains?
11 weeks ago by
I have three sub-domains that have different material properties. I calculate displacement vector from Biot equation, then I want to calculate stress according to the aforementioned displacement as follows:
def sigma(u,mu_l,lmbda_l): return 2*mu_l*sym(grad(u)) + lmbda_l*div(u)*I
mu_l and lmbda_l are different for all three sub-domains. Do you have any recommendations how to perform this calculation and then export the result to XDMFFile?
Thank you very much!
Community: FEniCS Project
Please login to add an answer/comment or follow this question.