A 'AnisoHeatConductionMaterial' is not a registered object. #26035
-
Moose was compiled successfully and passed all tests. I created an application, changed the heat transfer module to "yes" in the makefile, and compiled it. It gave me the executable files.
I checked the metrials_Unity.C file in moose/modules/heat_transfer/build folder and the material was listed in the file:
Any suggestion? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
When you modified it, did you modify it in |
Beta Was this translation helpful? Give feedback.
-
'AnisoHeatConductionMaterialM' is there a typo with an extra M at the end? |
Beta Was this translation helpful? Give feedback.
Thanks for checking that. That was not the issue. I tried multiple ways to fix the registration. One method was to define it as a custom-made kernel with a different name (AnisoHeatConductionMaterialM), but that did not work, either. The error stems from that try.
I resolved it by simply changing the "registerMooseObject("HeatConductionApp", AnisoHeatConductionMaterial);" to "registerMooseObject("HeatTranferApp", AnisoHeatConductionMaterial);" in the C file.