Setting Up Scenes to Visualize Results

Create scalar scenes to visualize the results as the simulation progresses.

To create scalar scenes to visualize the results:

  1. Right-click Scenes and select New > Scalar.
  2. Rename Scalar Scene 1 to Solid Volume Fraction.
    The solid volume fraction function represents the state of the H2O phase in each cell. When solid volume fraction is 1.0, ice is present in the cell, and when solid volume fraction is 0.0, (liquid) water is present. Do not confuse solid volume fraction with volume fraction which represents the phase in the cell. Volume fraction is always 1.0 in this case, since there is only one phase in this simulation: H2O.
  3. Select Scenes > Solid Volume Fraction > Scalar 1 > Scalar Field and set Function to Solid Volume Fraction > Solid Volume Fraction of H2O.


The domain is long in X and narrow in Y: this aspect ratio makes it hard to visualize any scalar field.



Apply a simple transform to scale the Y axis for a better solution representation.

  1. Right-click Tools > Transforms and select New Graphics Transform > Simple Transform.
  2. Rename the Simple Transform 1 node to Stretch Y.
  3. Set Scale to [1.0, 10.0, 1.0].


Apply the Stretch Y transform to the Solid Volume Fraction scene.
  1. Select Scenes > Solid Volume Fraction > Outline 1 and set Transform to Stretch Y.
  2. Select Scenes > Solid Volume Fraction > Scalar 1 and set Transform to Stretch Y.


  3. With Scalar 1 still selected, set Contour Style to Smooth Filled.
Create more scenes to display pressure and velocity.
  1. Click Scenes > Solid Volume Fraction and while holding the left mouse button, drag the Solid Volume Fraction node onto the Scenes node and rename the new node as Pressure.
  2. Select Scenes > Pressure > Scalar 1 > Scalar Field and set Function to Pressure.
  3. Save the simulation.