TAGGED: expression-language, fluent
-
-
August 14, 2024 at 11:50 amdesouzadacostaSubscriber
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 pmdesouzadacostaSubscriber
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 pmdesouzadacostaSubscriber
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.
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Fluent fails with Intel MPI protocol on 2 nodes
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Script Error
- convergence issue for transonic flow
-
1727
-
624
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.