15.5.2. Profile Data and CEL Functions

Profile data can be used to define a boundary condition based on a distribution of appropriate values.

15.5.2.1. Types of Discrete Profiles

  • 1D profile uses one spatial coordinate to define the data position; for example, x, y, z, or a cylindrical value. This could be used to describe the axisymmetric flow down a cylindrical pipe (that is, the data values for a value of ‘r’).

  • 2D profile uses two spatial coordinates (Cartesian or polar); for example, (x, y), (x, z), (r, t), (a, t), and so on. If you are importing the data from a 2D code on a planar boundary, you may want to use this as a boundary condition in a 3D case in CFX.

  • 3D profile uses three spatial coordinates; for example, (x, y, z) or (r, t, a). Among various uses of 3D Profile Data are boundary conditions, spatially varying fluid properties, Additional Variables, or equation sources.

15.5.2.2. Multiphase Boundary Condition Example

The syntax for using profile data in CEL expressions is described in Using Interpolation (From File) Functions in CEL Expressions.

Consider a multiphase boundary condition set up using the following:

  • The profile data file has a profile named myProfile

  • One of the data fields is Temperature [K]

CFX-Pre enables a function such as myProfile.water.Temperature(x,y,z) to refer to a data field stored in the profile. This derived value can be assigned to a parameter, such as Fixed Temperature.

The expressions that are automatically generated in CFX-Pre for profile boundaries are simply the expressions in terms of interpolation functions. Modify them in the same way as a normal CEL expression.

For example, the expression myProfile.Temperature(x,y,z) could be modified to 2*myProfile.Temperature(2x,y,z). For details, see Profile Boundary Conditions in the CFX-Solver Modeling Guide.