Visualizing the Shape Optimization

You create a vector scene showing the deformation field vector on the optimized geometry against the original geometry. Add also the total pressure plot as a image annotation in the scene to follow the improvement.

  1. To create a vector scene, right-click the Scenes node and select New > Vector.
  2. Rename the Vector Scene 1 to Deformation Field .
  3. To set up the geometry displayer:
    1. Rename the Outline 1 displayer to Deformed Geometry and set the properties as follows:
      Property Setting
      Surface
      Color Mode Constant
      Representation Volume Mesh
  4. To set up the vector displayer:
    1. Select the Vector 1 > Parts node and set Parts to Fluid: Wall_Adjoint and Fluid: Wall.
    2. Select the Vector Field node and set Function to Deformation Field.
  5. To create a geometry displayer with the original shape:
    1. Right-click the displayer Deformed Geometry and select Copy.
    2. Right-click the Deformation Field node and select Paste.
    3. Rename the Deformed Geometry copy displayer to Original Geometry .
    4. Select the Original Geometry node and set Representation to Geometry.
    5. Click the Original Geometry > Color node and set Color to Sky Blue Deep.
  6. To add the total pressure drop plot as a image annotation:
    1. Right-click the Reports > Total Pressure Drop report and select Create Monitor and Plot from Report.
    2. Right-click the Plots > Total Pressure Drop Monitor Plot node and select Create Plot Image Annotation.
    3. Select the Plots > Total Pressure Drop Monitor Plot > Axes > Left Axis node and set the properties as follows:
      Property Setting
      Minimum 140
      Lock Minimum
      Maximum 200
      Lock Maximum
    4. Select the Tools > Annotations > Plot Image 1 annotation and drag it into the vector scene.
  7. To add the current cycle number Loop Counter into the scene:
    1. Right-click the Reports node and select New > User > Expression.
    2. Rename the Expression 1 to Loop Counter and set the Definition to $LoopCounter.
    3. Right-click the Loop Counter and select Create Text Annotation from Report.
    4. Select the Tools > Annotations > Loop Counter annotation and drag it into the vector scene.
The visualization is set up as shown below: