TAGGED: expression-language, fluent
-
-
August 14, 2024 at 11:50 am
ALEXANDRE COSTA
SubscriberHi,
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 pm
Federico
Ansys EmployeeHello Alexandre,Â
please use a different name for lambda and this should work.
-
August 15, 2024 at 8:34 pm
ALEXANDRE COSTA
SubscriberHi,
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 pm
Federico
Ansys EmployeeThe 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 pm
ALEXANDRE COSTA
SubscriberHi
Returning to the old udf property definition.
-
August 19, 2024 at 12:07 pm
Federico
Ansys EmployeeNot 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.
-
2979
-
970
-
857
-
755
-
599
© 2025 Copyright ANSYS, Inc. All rights reserved.