|
[Sponsors] |
July 27, 2014, 12:28 |
Conditional expression
|
#1 |
New Member
Djordje
Join Date: Jul 2014
Location: Canada
Posts: 12
Rep Power: 11 |
Hi,
I am trying to set up the inlet turbulence intensity profile. Namely, I want to have one profile up to a certain height and then a different profile after that height. So, this is how I set it up: (($$Position[2]>0) && ($$Position[2]<0.97)) ? (TI_sub) : (($$Position[2]>=0.97) && ($$Position[2]<=1.5)) ? (TI_water) : 0 TI_sub and TI_water are the turbulence intensities that I defined as another Field functions. So, I want the following: If the height is in between 0 and 0.97, then use TI_sub; if the height is in between 0.97 and 1.5, then use TI_water; and for any other height use 0. However, the problem is that StarCCM+ does not see the first profile (the one between 0 and 0.97). Please could you help me with this? Thanks, Djordje |
|
July 27, 2014, 12:33 |
|
#2 |
New Member
Djordje
Join Date: Jul 2014
Location: Canada
Posts: 12
Rep Power: 11 |
It looks like it uses only the TI_water profile.
|
|
July 30, 2014, 20:44 |
|
#3 |
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 435
Rep Power: 17 |
Should be
(($$Position[2]>0) && ($$Position[2]<0.97)) ? (TI_sub) : ( (($$Position[2]>=0.97) && ($$Position[2]<=1.5)) ? (TI_water) : 0 ) |
|
July 31, 2014, 09:55 |
|
#4 |
New Member
Djordje
Join Date: Jul 2014
Location: Canada
Posts: 12
Rep Power: 11 |
Thanks very much.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 06:16 |
Conditional Expression in CFX Pre | ashtonJ | CFX | 83 | May 28, 2012 03:49 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 18:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 06:25 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 17:23 |