Visualizing the Mach Number on the Adapted Mesh

To visualize the shock wave in the hypersonic flow, you create a scalar scene across the region that plots Mach number. As an indicator of mesh adaption you add a cell count annotation within the scalar scene.

  1. To create a cell count report:
    1. Right-click the Reports node and select New > User > Element Count.
    2. Rename the Element Count 1 node to Cell Count.
    3. Select the Cell Count node and set Parts to Regions > SphereFlow.
  2. To create a drag force report:
    1. Right-click the Reports node and select New > Flow / Energy > Force.
    2. Rename the Force 1 node to Drag Force.
    3. Select the Drag Force node and set the properties as follows:
      Property Setting
      Direction [1.0, 0.0, 0.0]
      Parts SphereFlow:sphere
  3. To create a plot including Cell Count and Drag Force reports:
    1. Multi-select the Reports > Cell Count node and Reports > Drag Force node.
    2. Right-click on any of them and select Create Monitor and Plot from Report.
    3. In the appeared Create Plot from Reports dialog, select Single Plot.
    4. To demonstrate the curves of both reports in one plot effectively, right-click Reports Plot > Axes and select New Axis > Right.
    5. Select the Axes node and set the properties as follows:
      Node Property Setting
      Left Axis Minimum 1.5E7
      Maximum 1.7E7
      Right Axis Minimum 0.0
      Maximum 1E6
    6. To select the Right Axis for report Cell Count, select the Reports Plot > Data Series > Cell Count Monitor node and set Y-Axis to Right Axis.
  4. To create a plane section parallel to the Y axis:
    1. Right-click the Scenes node and select New > Empty.
    2. Switch to the Scene/Plot panel, right-click the Scene 1 node and select New Displayer > Scalar.
    3. Rename the Scene 1 scene to MachNumber.
    4. Select the MachNumber > Scalar 1 node and set the properties as follows:
      Node Property Setting
      Scalar 1 Display Mesh
      Parts Parts SphereFlow:free stream, SphereFlow:sphere,SphereFlow:sym
      Scalar Field Function Mach Number > Lab Reference Frame
      Auto Range Off
      Clip Off
      Min 0.0
      Max 12.0
    5. In the Vis toolbar, select the Save-Restore-Select Views and set Views > +Z > Up +Y.
    6. To create an annotation from the cell count report, right-click the Reports > Cell Count node and select Create Text Annotation from Report.
    7. Select the Tools > Annotations > Cell Count node and add it to the opened scene through drag and drop.
    The created plot is shown below:


  5. To observe the cell refinement status, you create a scene showing the adaption criterion function RefineCriteronMachNumber:
    1. Right-click the Scenes > MachNumber node and select Copy.
    2. Right-click the Scenes node and select Paste.
    3. Rename the Copy of MachNumber scene to RefinementFunction.
    4. Select the RefinementFunction node and set the properties as follows:
      Node Property Setting
      Scalar 1 Display Mesh
      Parts Parts SphereFlow:free stream, SphereFlow:sphere,SphereFlow:sym
      Scalar Field Function RefineCriterionMachNumber
      Auto Range Off
      Clip Off
      Min 0.5
      Max 1.0
      Color Bar Number of Labels 6
    The created plot is shown below: