General

General

How to create an Isovolume based on criteria from multiple variables

    • FAQFAQ
      Participant

      It may be useful to visualise a volume that meets range criteria for multiple variables. For example you may want to show a volume where Velocity is greater than 2 [m/s], and Pressure is greater than 1000 [Pa]. This can be accomplished by creating a new variable that is based on these criteria and then creating an Isovolume based on this variable. The following steps show how this is done. 1. Create a new variable, in this example it will be called RangeVariable. A new variable can be created by opening the Variable tab, right-clicking in the variable list, then selecting New. Set the value of the expression equal to: if(Velocity > 2 [m/s] && Pressure > 1000 [Pa],1,0). This will set the value of RangeVariable equal to 1 wherever the velocity and pressure criteria is met. The or logic operator, ||, could also be used, in addition to any number of criteria. More about logic operators can be found in section 14.2.1 CEL Operators of the CFX Reference Guide. 2. Create an isovolume by creating a new Volume then setting the Method to Isovolume. Set the following Volume options: Variable = RangeVariable Mode = At Value Value = 1