CFD Online Logo CFD Online URL
Home > Forums > Special Topics > Visualization & Post-Processing

If and ElseIf in CFD Post Expression

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2023, 14:19
Wink If and ElseIf in CFD Post Expression
New Member
Join Date: Dec 2020
Posts: 1
Rep Power: 0
Farsheedd is on a distinguished road
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:


Hope it will be useful
Farsheedd is offline   Reply With Quote


ansys, cfd, cfdpost, fluent, ifelseif

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 02:49.