|
[Sponsors] |
CFD Post - How to check for case in an expression |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 26, 2014, 05:44 |
CFD Post - How to check for case in an expression
|
#1 |
New Member
Join Date: Sep 2014
Posts: 12
Rep Power: 12 |
I've loaded two cases into cfd post and defined expressions. I need to check the case in one expression to set an appropriate value for each case. e.g. I've got the expression "T 10" for a temperature. If it's case 1 it's supposed to be 10K and if it's case 2 20K.
I've tried Code:
if(CASE == solution2 1 0, 10 [K], 20[K]) edit: I worked around it by checking for another constant expression I know the value of for each case. still I'd like to be able to check for the acutal case name though. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Displaying solid domains in CFD Post without meshing them. | hda | ANSYS Meshing & Geometry | 5 | October 24, 2016 10:26 |
calculating output parameter in cfd post | markus67 | CFX | 3 | August 26, 2015 10:28 |
Plotting Radial Velocity and Tangential Velocity in CFD Post | ashtonJ | CFX | 5 | July 13, 2015 03:49 |
static enthalpy calculation in CFD Post | newbie384 | CFX | 2 | March 22, 2014 08:28 |
User CEL Function and CFD Post | chastain | CFX | 4 | September 24, 2013 14:58 |