|
[Sponsors] |
August 24, 2023, 15:19 |
If and ElseIf in CFD Post Expression
|
#1 |
New Member
Farsheedd
Join Date: Dec 2020
Posts: 1
Rep Power: 0 |
Hello.
Today I solved a problem of mine with Else and Else If expression in cfd post. so I want to share it with you. The If ElseIf statement in CFD Post is: if(condition, if(condition, true statement, false statement)) as you know the simple If is: if(condition, true statement, false statement) so, you can make loops. Here is a sample: if(X>0[m],atan(Y/X),if(X<0[m],atan(Y/X)+180[deg],90[deg])) Hope it will be useful |
|
Tags |
ansys, cfd, cfdpost, fluent, ifelseif |
Thread Tools | Search this Thread |
Display Modes | |
|
|