-
Hi mfem developer, I want to modify the ElasticityIntegrator to incorperate the thermal stress [−α(3λ+2μ)(T−T0)I], below is my mofification, however, I got no convergency. Do you know what goes wrong? Thanks!
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It seems like the thermal stress does not depend on the deformation, so it should not be added to the |
Beta Was this translation helpful? Give feedback.
-
Here is code for a custom .hpp:
.cpp:
@v-dobrev would there be interest/value in submitting a PR for this |
Beta Was this translation helpful? Give feedback.
Yes, if$\beta$ has no jumps (e.g. due to jumps in material properties) then computing its gradient and using it as a force should work.
If you represent$\beta$ as an $H^1$ -conforming
(Par)GridFunction
, you can use theGradientGridFunctionCoefficient
class to perform the gradient computation.