Add new energy terms to the AC equation #28986
Unanswered
YXY101676
asked this question in
Q&A Modules: Phase field
Replies: 1 comment 2 replies
-
Hello For future reference it's better to copy paste text than to screenshot it. From a screenshot I can't copy paste to explain each line. derivativePropertyNameFirst gives you the name of the material property that is the derivative of 'elasticity_tensor_name' with regards to var_name. Var_name is the name of the variable for that order parameter. Then a kernel is created, and the D_tensor is set to this material property. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear all,
I want to add new energy terms to the AC equation, but I'm having trouble understanding the existing code.
In the ComputePolycrystalElasticityTensor.C file, the derivative of the elastic modulus with respect to the order parameter, __elastic_tensor(_op_num), is computed, which is an array of the number of active order parameters at the integration point. What I don't understand is the parameter created in the PolycrystalElasticDrivingForceAction.C file, MaterialPropertyName D_stiff_name =derivativePropertyNameFirst(_elasticity_tensor, var_name), can call the derivative of the current kernels variable needed in _D_elastic_tensor(_op_num); it might be due to some misunderstanding of code, and I appreciate your help very much.
Beta Was this translation helpful? Give feedback.
All reactions