## 15.4. CEL Functions with Multiphase Flow

Note: These functions are available in CFX-Pre and CFX-Solver without restrictions, and in CFD-Post with the restriction that you cannot use short names.

If the function is fluid-specific, various behaviors are possible depending on the function type:

- For `massFlow` and `massFlowAve`, if the phase name is not specified for the function, then the bulk mass flows will be used. See cases 1 to 7 in the table below.

- For other fluid-specific functions:

  - if a fluid-specific operand is specified and no fluid is specified for the function, then the fluid specified for the operand will be assumed for the function as well. See case 8 in the table below.

  - if the function is specified and no fluid is specified for the operand, then the fluid specified for the function will be assumed for the operand as well. See cases 7 and 9 in the table below.

- If both the function or operand are fluid-specific, and a phase name is not given for either, the solver will stop with an error. See case 10 in the table below.

Table 15.3: CEL Multiphase Examples

Case | CEL Function - Multiphase | Behavior
--- | --- | ---
1 | `massFlow()@inlet` | Bulk mass flow rate through inlet
2 | `Air.massFlow()@inlet` | Air mass flow rate through inlet
3 | `massFlowAve(Pressure)@inlet` | Bulk mass flow averaged pressure on inlet
4 | `Air.massFlowAve(Pressure)@inlet` | Air mass flow averaged pressure on inlet
5 | `massFlowAve(Air.Volume Fraction)@inlet` | Bulk mass flow averaged air volume fraction on inlet
6 | `Air.massFlowAve(Air.Volume Fraction)@inlet` | Air mass flow averaged air volume fraction on inlet
7 | `Air.massFlowAve(Volume Fraction)@inlet` | Same as `Air.massFlowAve(Air.Volume Fraction)@ inlet`
8 | `massInt(Air.Volume Fraction)@domain1` | Same as `Air.massInt(Air.Volume Fraction)@ domain1`
9 | `Air.massInt(Volume Fraction)@domain1` | Same as `Air.massInt(Air.Volume Fraction)@ domain1`
10 | `massFlowAve(Volume Fraction)@inlet` | Error because no fluid specified

Release 18.2 - © ANSYS, Inc. All rights reserved.