Field Functions Reference

Field Functions Manager Right-Click Actions

These context menu items are available when you right-click the Field Functions manager node.

New

Creates a field function of the type you select in the submenu:

  • Scalar
  • Array
  • Vector
  • Position

New Group

Facilitates the grouping of objects by creating a group node within the manager node.

Group By

Allows you to group the field functions according to any of the properties in the submenu:

  • Definition Source (that is, the Definition property, or for a simulation field function such as Pressure, the code that provides the definition)
  • Dimensions
  • Tags
  • Value Type

Ungroup

Reverses the grouping process.

Primitive Field Function Properties

Type The type of field function: scalar, vector, array, or position (read-only).
Function Name The name of this field function (read-only). Use this property in the definition of other field function definitions, not the node name. Use this property to remind you of the actual field function if you have renamed the node in the tree.
Dimensions The physical dimensions of this field function (read-only).
Inverse Distance Weight Whether to use inverse distance weighting to interpolate node values.
Activated Interpolate node values using inverse distance weighting.
Deactivated Use nearest neighbor as node values.

System Field Function Properties

Type The type of field function: scalar, vector, array, or position (read-only).
Dimensions The physical dimensions of this field function (read-only).
Function Name The name of this field function (read-only). Use this property in the definition of other field function definitions, not the node name. Use this property to remind you of the actual field function if you have renamed the node in the tree.
Definition The definition of the field function in the Simcenter STAR-CCM+ field function syntax (read-only).
Assembly Code An unambiguous tree-based (but humanly readable) form of the field function formula (read-only). This property is empty until the field is used, for example in a contour plot.
Inverse Distance Weight Whether to use inverse distance weighting to interpolate node values.
Activated Interpolate node values using inverse distance weighting.
Deactivated Use nearest neighbor as node values.

User-Defined Field Function Properties

Type Defines the type of field function. See Field Functions Types.
Scalar Defines the field function as scalar which means that the field function corresponds to just one number (zero, positive or negative) at a specific location.
Array Defines the field function as an array of three numbers at each location.
Vector Defines the field function as a vector which can be expressed in different coordinate systems. See Referencing Local Coordinate Systems.
Position Defines the field function as a position at each location.

See Referencing Local Coordinate Systems.

Symmetric Tensor Defines the field function as a second-order symmetric tensor at each location.
Dimensions The physical dimensions of this field function, which you can customize.
Function Name The name of this field function. Use this property in the definition of other field function definitions, not the node name. Use this property to remind you of the actual field function if you have renamed the node in the tree.

If you inadvertently use a function name that another field function uses, Simcenter STAR-CCM+ appends an underscore (_) and a digit to what you typed. The result is a name that is still unique.

Definition The formulation of this field function using the special Simcenter STAR-CCM+ field function syntax. Entering an invalid definition causes the error: Error compiling Field Function: parse error to be displayed in the Output window, and the Assembly Code property to be populated with error.
Inverse Distance Weight Determines whether to use inverse distance weighting to interpolate node values.
Activated Interpolate node values using inverse distance weighting.
Deactivated Use nearest neighbor as node values.
Assembly Code An unambiguous tree-based (but humanly readable) form of the field function formula (read-only). Empty until the Definition is entered or until the field is used, for example in a contour plot. The assembly code is updated each time that you change the Definition and press <Enter>. This property can be useful to make sure that Simcenter STAR-CCM+ interprets your definition as expected (for example, operator precedence).
Ignore Boundary Values Determines whether the field functions are computed based on the data that are stored in the cells that are next to the boundaries rather than the field data stored on boundaries (if available).
Activated Use adjacent cell values.
Deactivated Use boundary values.
Synchronize Function Name Determines whether the function name (the name that Simcenter STAR-CCM+ uses; listed in the Function Name property) always reflects the presentation name (the node name) that you set.
Activated The function name always reflects the presentation name. The Function Name property is grayed out.
Deactivated The function name and the presentation name can be set manually with different entries.