-
-
May 7, 2019 at 10:30 pm
esantana
SubscriberHi, I'm trying to use a expression to define a wall heat flux. In fluent 2019 R1 one can write the expression using named expressions. I have succeeded in creating a wall heat flux that varies with respect to time but failed to create a conditional statement for such. I need to learn how to use the conditional statements "if" but I can't find any manual or mention in a forum for its use in a named expression. Can someone help (if there is a syntax manual it would be splendid). For reference in this case I want a heat flux up to 65 ns, then it would become zero. (I tried using a UDF but when the value changes the simulation crashes with a divergence error in Temperature). Thanks!
-
May 8, 2019 at 4:40 am
DrAmine
Ansys EmployeeThe syntax of the expression is documented in the Fluent User'S Guide. The IF statement is quite simple as:
Â
IF( x> 1[m], 0 [W/m^3], 111[W/m^3])
-
May 8, 2019 at 5:01 am
esantana
SubscriberThanks for the help.
Have a nice day!
Enrique
-
- The topic ‘Fluent: Conditional functions in named expression’ is closed to new replies.
-
6660
-
1906
-
1469
-
1313
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.