errow in setting thermal-conductivity coupled temperature #22451
-
|
hi, It shows: The following error occurred in the object "MOOSE Problem", of type "FEProblem".Unable to find function 0.1*T Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
|
Hello 0.1 * T is not a "Function" in MOOSE because it depends on a variable, and it's not in the format MOOSE expects for two reasons:
Note: this parameter abuses Functions in that it takes 'x' to be temperature. So instead of having a spatial dependence, they have a temperature dependence. The ParsedFunction you could pass here would be: 0.1 * x Guillaume |
Beta Was this translation helpful? Give feedback.

Hello
0.1 * T is not a "Function" in MOOSE because it depends on a variable, and it's not in the format MOOSE expects for two reasons:
In general only the ParsedXXX objects will accept this sort of syntax (except with constants, constant parsing is widely supported)
This parameter likely expects a 1D function that maps temperature to thermal conductivity. You can easily reproduce 0.1 T with a real Function by specifying a PiecewiseLinear function for example.
Note: this parameter abuses Functions in that it takes 'x' to be temperature. So instead of having a spatial dependence, they have a temperature dependence. The ParsedFunction you could pass here would be: 0.1 * x
Guillaume