### 30.2.2. Defining User Functions from Profile Data or Interpolation (From File) Functions

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], …)

where the value field name identifies which column of data 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 contained a profile labelled “inletvelocity” with a data column labelled “Total Pressure”.

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