Visualizing the Solution

Create a scalar scene to display the results of the simulation.

A scalar scene is created to display the volume fraction of vapor. This variable can be monitored while the solver is running.

To visualize the solution:

  1. Create a scalar scene.

The view of the pipe in the scene is scaled using a simple transform so that the entire length of the pipe can be viewed in a smaller area. The transform also rotates the geometry so that it sits vertically.

  1. Right-click the Tools > Transforms node and select New Graphics Transform > Simple Transform.


    A new node, Simple Transform 1, is added to the Transforms node.

  2. Rename the Simple Transform 1 node to Scene Transform.
  3. Select the Scene Transform node and do the following:
    1. Set the Scale to [70.0, 1.0, 1.0].
    2. Set the Rotation Angle to 90 deg.

    The completed Properties window is shown below.



  4. Click scene/plot.
  5. Select the Scalar Scene 1 > Scalar 1 node and do the following:
    1. Set the Contour Style to Smooth Filled.
    2. Set the Transform to Scene Transform.

Set the field function for the scalar scene:

  1. Select the Scalar Scene 1 > Scalar 1 > Scalar Field node and set the Function to Volume Fraction > Volume Fraction of Vapor.

The color bar is edited so that it is positioned beside the vertical pipe.

  1. Select the Scalar 1 > Color Bar node and do the following:
    1. Set the Orientation to Vertical.
    2. Set the Height to 0.8.
    3. Set the Width to 0.15.
    4. Set the Position to [0.6, 0.1].

    The completed Properties window is shown below.



The Scene Transform is also applied to the Outline 1 node.

  1. Select the Scalar Scene 1 > Outline 1 node and set the Transform to Scene Transform.

    The scalar scene appears as shown below.



  2. Click simulation to return to the Simcenter STAR-CCM+ simulation object tree.
  3. Save the simulation.