You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I kept getting this error message:
*** ERROR ***
The parameter vectors constant_names (size 1) and constant_values (size 0) must have equal length.
I could not figure out where this was coming from because in my material i had constant_values defined:
My material looked like this:
[force_mat]
type = ParsedMaterial
property_name = force_mat
constant_names = 'omega'
constant_values = '${omega}'
expression = 'rho * omega * cp'
material_property_names = 'rho cp'
[]
But then I realized the error message should say constant_expressions instead of onstant_values
Design
change all occurences of constant_values to constant_expressions in FunctionParserUtils.C
Impact
Error message will specify the actual input variable that is causing the problems.
The text was updated successfully, but these errors were encountered:
Motivation
I kept getting this error message:
*** ERROR ***
The parameter vectors constant_names (size 1) and constant_values (size 0) must have equal length.
I could not figure out where this was coming from because in my material i had constant_values defined:
My material looked like this:
[force_mat]
type = ParsedMaterial
property_name = force_mat
constant_names = 'omega'
constant_values = '${omega}'
expression = 'rho * omega * cp'
material_property_names = 'rho cp'
[]
But then I realized the error message should say constant_expressions instead of onstant_values
Design
change all occurences of constant_values to constant_expressions in FunctionParserUtils.C
Impact
Error message will specify the actual input variable that is causing the problems.
The text was updated successfully, but these errors were encountered: