How to compute the strain energy density (... is not defined on block 0) ? #31877
-
Check these boxes if you have followed the posting rules.
QuestionHello everyone, I would like to ask a question regarding the computation of strain energy (as well as auxiliary variables such as von Mises stress). I have defined the ‘vonmises' and 'strain_energy_density' variables separately in AuxVariables and AuxKernels, and then I computed the strain energy in 'Materials'. I encountered the issue "... is not defined on block 0", how should I correct it? Thank you. I have attached the links for StrainEnergyDensity and RankTwoScalarAux. https://mooseframework.inl.gov/source/materials/StrainEnergyDensity.html And I have also attached my current input file. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hello This is likely due to prefixes in the names of material properties to see all the names used by the materials declaring the properties. Then you can use those names to refer to the property in objects consuming these material properties |
Beta Was this translation helpful? Give feedback.
Hello
This is likely due to prefixes in the names of material properties
Use debug/show_material_props=true from this action
https://mooseframework.inl.gov/source/actions/SetupDebugAction.html
to see all the names used by the materials declaring the properties. Then you can use those names to refer to the property in objects consuming these material properties