Visualizing and Initializing the Solution

You create a scalar scene to view the results of the simulation. You can view the air and water distributions throughout the run.

To visualize the results of the simulation:

  1. Right-click the Scenes node and select New > Scalar.
    The Scalar Scene 1 display appears.
  2. Select the new Scenes > Scalar Scene 1 > Scalar 1 > Scalar Field node and set Function to Volume Fraction > Volume Fraction of H2O.


  3. Select the Scalar 1 node and set Contour Style to Smooth Filled.
  4. Select the Attributes > Update node and set Trigger to Time Step.
  5. Activate Save To File.
  6. Specify the Base Filename as desired.


  7. Select the Attributes > Update > Time-Step Frequency node and set Frequency to 10.


  8. Click (Initialize Solution) in the top toolbar or use the Solution > Initialize Solution menu item.
  9. Make the Scalar Scene 1 display active to look at the initialization result.


    At the start of the run, the left chamber is entirely filled with water whereas the right chamber and the connecting channel are entirely filled with air. A small region in which both fluids are apparently present is visible at the interface between the two fluids, but this effect is due to the coarseness of the mesh.

  10. Save the simulation.