CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

"If" Statement in Fluent CFD Post Expressions?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2019, 23:10
Default "If" Statement in Fluent CFD Post Expressions?
New Member
Join Date: Jan 2019
Location: Jakarta, Indonesia
Posts: 7
Rep Power: 7
danisnug is on a distinguished road
I read many discussions in this forum on using if statement by expressing if(condition, true, false), but I have no idea whether it can be used on Fluent or not.

Can I also use this if statement in Fluent CFD Post Expressions?


It turns out that the statement works in Fluent CFD Post.

However, I have difficulties in expressing the statement:

if(2.38*(Clothing Temperature-Temperature/(1[K]))^.25 > 12.1*sqrt(Velocity/(1[m s^-1])), 2.38*(Clothing Temperature-Temperature/(1[K]))^.25, 12.1*sqrt(Velocity)/(1[m s^-1]))
The expression above has error:

Error in 'if' statement at position 1. The 'true' and 'false' expressions have inconsistent dimensions.
I have deleted both the dimension for temperature and velocity on the expression above but the error said that it still has inconsistent dimension. The expression 'Clothing Temperature' is dimensionless.

Can anyone help?
danisnug is offline   Reply With Quote


cfd post, expressions, fluent

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO SHOW TIME IN ANIMATION IN Fluent CFD POST niazgdc FLUENT 0 October 12, 2017 02:58
Kinetic energy in Fluent of CFD Post s.petley FLUENT 0 September 21, 2017 14:32
Post processing in CFD Post or Fluent. Blobs OpenFOAM Post-Processing 2 June 26, 2016 07:23
Create animation from FLUENT data in CFD Post? ptstorey FLUENT 2 January 30, 2015 09:41
CFD post, expressions help robcowlam FLUENT 0 February 21, 2012 14:14

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