|
[Sponsors] |
July 5, 2017, 20:17 |
CFX 10.0 If command
|
#1 |
New Member
Fernando
Join Date: Apr 2013
Posts: 15
Rep Power: 13 |
I am trying to make a conditional expression with "if" command in CFX-10.0
I read these articles: Conditional Expression in CFX Pre "if" command in CFX-13 is not really an "if" command!!!! But I do not know how to do it in CFX pre 10.0 I saw in youtube that "if" expression works on CFX 14, but I do not have it (my PC is old) https://www.youtube.com/watch?v=GJXQNhmqyhE (11:25) The string that I want to use is for define the volume fraction in a water tank: WaterVolFrac =if(y<WaterHt,1,0)*if(y>-0.1[ft],1,0) This is the error message: __________________________________________ ERROR Error in setting: "WaterVolFrac" via the expression: if(y<WaterHt,1,0)*if(y>-0.1[ft],1,0) Error found at the start of the line, at item: if unrecognised name __________________________________________ I read the _CFXTutorial.book.pdf, Tutorial_FreeSurfaceBump.pdf but they don't use the if command, they use this string: DownVFAir = step((y-DownH)/1[m]) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
launch cfx from command line question | windhair | CFX | 3 | May 19, 2011 07:16 |
Export CGNS with CFX 10.0 | Luca | CFX | 1 | December 29, 2010 06:09 |
Low Reynolds Number k-epsilon formulation CFX 10.0 | Chris | CFX | 4 | December 7, 2009 23:51 |
How to red a Gambit mesh with Ansys CFX 10.0 | jpsegura | CFX | 5 | June 12, 2007 02:20 |
CFX 4.4 installation problem | Pandu Sattvika | CFX | 1 | December 1, 2001 04:07 |