13.5.1. Function Selection

The quantitative functions available from the Function Calculator in CFD-Post are integrated into CEL and can be used in any expression.

The available quantitative functions are outlined in the table below.

Function Name

Operation

area

Area of location

areaAve

Area-weighted average

Note:  Projected areaAve (for example, areaAve_x) works as expected only for surfaces that do not fold in the selected direction. In extreme case, if the surface is fully closed, the projected average will result in a randomly large number, as the projected area will be zero.

areaInt

Area-weighted integral (can be projected to a direction)

ave

Arithmetic average

count

Number of Nodes

countTrue

Number of nodes at which the logical expression evaluates to true.

force

Force on a surface in the specified direction

forceNorm

Length normalized force on a curve in the specified direction

length

Length of a line

lengthAve

Length-weighted average

lengthInt

Length-weighted integration

massFlow

Total mass flow

Note:  Mass flow convention for CFD-Post is negative in the direction of the surface normal.

massFlowAve

Mass Flow-weighted average

massFlowAveAbs

Mass Flow-weighted average with absolute values of mass flow used in numerator and denominator of formula for averaging

massFlowInt

Mass Flow-weighted integral

maxVal

Maximum Value

minVal

Minimum Value

probe

Value at a point

sum

Sum over the calculation points

torque

Torque on a surface about the specified axis

volume

Volume of a 3D location

volumeAve

Volume-weighted average

volumeInt

Volume-weighted integral

Note:  The volumeInt function does not take into account the porosity of the location specified for porous domains. To include the porosity effect in your calculation, you need to manually multiply your argument by:

  • The Volume Porosity if you want to evaluate the integral on the fluid side

  • (1-Volume Porosity) if you want to evaluate the integral on the solid side

For details on each of the functions listed in the table above, see Quantitative Function List in the CFX Reference Guide.