Defining the Shape Optimization Predicate

The shape optimization loop requires a composite condition based on the mesh quality after deformation that determines whether to continue with another loop or not. Here, you define the reports that are referenced by the condition.

In addition to a loop counter, the condition requires two components:
  • Max Skewness Angle: report based on the maximum value of the skewness angle metric for the volume mesh.
  • Min Face Validity: report based on the minimum face validity metric for the volume mesh.
  1. To create a report that returns the maximum skewness angle in the volume mesh:
    1. Right-click the Reports node and select New Reports > User > Maximum.
    2. Rename the Maximum 1 node to Max Skewness Angle.
    3. Select the node and set the following properties:
      Property Setting
      Field Function Skewness Angle
      Part Fluid
  2. To create a report for minimum face validity:
    1. Right-click the Reports node and select New Reports > User > Minimum.
    2. Rename the Minimum 1 node to Min Face Validity.
    3. Select the node and set the following properties:
      Property Setting
      Field Function Face Validity
      Part Fluid