1.3. Object Editor

An object editor is used to define or edit the properties of an object. It contains a set of one or more tabs that depend on the type of object being edited.

Many properties can be set via a CEL expression. To enter an expression, click in the box for a property, then click the Enter Expression   icon that appears beside the field, then do one of the following:

  • Enter an expression definition directly.

  • Type the name of an existing expression.

    (This is a special case of the first point.)

You must ensure that the expression evaluates to a value having appropriate units for the property that uses the expression.

For details on CEL expressions, see Ansys CFX Expression Language in the TurboGrid Reference Guide.

When using Ansys TurboGrid in Ansys Workbench, you can set any property that accepts a CEL expression via a parameterized CEL expression with the parameterized CEL expression being defined by a Workbench input parameter. You can do this in either of the following ways:

  • Create an expression and parameterize it using the Expression Editor dialog box, then use that expression as the value of the property. For details, see Expression Editor Dialog Box.

  • In the object editor, click the Set to Workbench input parameter   icon (which appears to the right of the property) and then, in the Enter Parameter Name dialog box, either enter a unique name for a new Workbench input parameter (a suggested name is entered by default) or select an existing Workbench input parameter.

    If you make changes in the object editor, be sure to apply them (click Apply) before clicking the Set to Workbench input parameter   icon, otherwise your changes will be lost.

    If you cannot see the Set to Workbench input parameter   icon, click the user interface away from the property that you are trying to parameterize.

You can click Set to value   to stop a property from being specified by a Workbench input parameter. However, the corresponding CEL expression persists, and can be managed by the Expression Editor dialog box. For details, see Expression Editor Dialog Box.

A property that accepts only an integer value is also capable of being controlled by a Workbench input parameter. For such a property, the Set to Workbench input parameter   and Set to value   icons are used in the same way as for a property that accepts a CEL expression. Integer-value properties cannot take expressions. (No CEL expression is involved in transferring the Workbench input parameter's value from Ansys Workbench to Ansys TurboGrid, for a property that accepts only an integer value.)