Variable coupled ElasticityTensor and Eigenstrain calculation #29689
Unanswered
keassyguang
asked this question in
Q&A Modules: Solid mechanics
Replies: 1 comment 31 replies
-
hello
Can you report the backtrace please? This should be possible on a segfault |
Beta Was this translation helpful? Give feedback.
31 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am trying to develop a model to calculate a thermo-mechanical problem. I have successfully compiled the code, but the simulation has aborted with a "Segmentation fault (signal 11)" message. I have also tried to debug the code using GDB (example 21), but I haven't got any useful information.
The total strain is expressed as: ϵtotal = ϵelastic + ϵthermal + ϵchemical.
For thermal strain: ϵthermal = CTE(T-Tref), where CTE = cte_curedp + cte_uncured(1-p), where cte_cured and cte_uncured are two constants, and p is an ADMaterialProperty variable.
For chemical strain: ϵchemical = ϵchemical_max*p, where ϵchemical_max is a constant.
The Young's modulus varies with the ADMaterialProperty variable p, the relationship can be expressed as: E = Ecexp(bp), where Ec is the base Young's modulus and b is the exponential factor.
I have developed two classes: CureDependentIsotropicElasticity (based on #22587) and ChemicalThermalEigenStrain. Can anyone help me check my code to see if anything is wrong? Many thanks.
CureDependentIsotropicElasticity.h
CureDependentIsotropicElasticity.C
ChemicalThermalEigenStrain.h
ChemicalThermalEigenStrain.C
Part of the input file is as follow:
Beta Was this translation helpful? Give feedback.
All reactions