32.2.2. Using Interpolation (From File) Functions in CEL Expressions

A user function can be used in CEL expressions in any place in which a standard CEL function (for example, sin, cos, step, and so on) can be used. For a profile data function or an Interpolation (Data Input) function, you can enter an expression using the notation:

<Function Name>.<Value Field Name>(arg1[units], arg2[units], …)
      

or

<Function Name>.<Parameter Name>()
      

where:

  • <Value Field Name> identifies which column of data from the profile data file should be used, and

  • <Parameter Name> identifies which parameter from the profile data file should be used.

The allowed values are shown when editing the user function. When using a system variable, an expression, or a value, you do not need to specify units. For example, a pipe pressure profile might be set by entering:

inletvelocity.Total Pressure(r)

if the profile data file contains a profile labelled "inletvelocity" with a data column labelled "Total Pressure".