TAGGED: expression-language, fluent
-
-
August 14, 2024 at 11:50 am
desouzadacosta
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
desouzadacosta
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
desouzadacosta
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.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
3887
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.