ERROR: Material property is not defined on block 0 #16079
-
Hello guys, I checked my exercise codes for many times and still couldn't solve the problem... Could anyone help? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This is probably not due to your C code. It is probably due to your input file. Your input file needs a Material block that will produce a MaterialProperty called "v_Coefficient", since your "StudyCoefficientGradientV" Material needs that MaterialProperty. |
Beta Was this translation helpful? Give feedback.
-
The problem is in your
You are declaring a property called |
Beta Was this translation helpful? Give feedback.
The problem is in your
StudyMaterialCoefficientGradientV
material. Take a look at this bit:You are declaring a property called
_v_coefficient_name
(that actual string), not whatever you enter in the parameterD
in your input file. Simply remove the""
in the second line and it should work as you are now declaring a property with the name given in the input file.