TAGGED: expression-language, fluent
-
-
August 14, 2024 at 11:50 amALEXANDRE COSTABbp_participant
Hi,
Does anybody know the sintax error in the following fluent expression :
mu_infinity + (mu_zero - mu_infinity)/((1 + (lambda * StrainRate)^2)^(1/3))
I previously defined succefully :
lambda = -0.2783 [s]
mu_infinity = 2.7459e-3 [kg/(m*s)]Â
mu_zero = 3.5832e-3 [kg/(m*s)] -
August 14, 2024 at 5:35 pmFedericoAnsys Employee
Hello Alexandre,Â
please use a different name for lambda and this should work.
-
August 15, 2024 at 8:34 pmALEXANDRE COSTABbp_participant
Hi,
Even changing lambda to lamb_da, it says Expression Does Not Evaluate to a Single Value.Â
I already initialized the flow.
-
August 16, 2024 at 12:07 pmFedericoAnsys Employee
The expression does not evaluate to a single value because of StrainRate, which is a tensor field. Your expression will depend on the value of StrainRate at a given location.
The message you are seeing is not an error, you should still be able to create this expression and visualize it in contour plots for example.Â
-
-
August 17, 2024 at 8:19 pmALEXANDRE COSTABbp_participant
Hi
Returning to the old udf property definition.
-
August 19, 2024 at 12:07 pmFedericoAnsys Employee
Not sure what you mean by that.
The expression you shared works as intended. Like I said, StrainRate does not have a single value, so the message you see is to be expected on the expression definition page.
-
-
- You must be logged in to reply to this topic.
-
421
-
192
-
178
-
161
-
140
© 2024 Copyright ANSYS, Inc. All rights reserved.