Visualizing Results

You can view the results of the simulation.

Examine the final distributions of water and water vapor in the Scalar Scene 1, as shown below.





As expected, cavitation occurs at the nozzle entrance as a result of the low-pressure region that the sharp corner and the accelerating flow produce.

You can create a contour plot that approximately shows both the water and water vapor distributions by creating and plotting a field function.

To visualize the results:

Create the field function to plot.
  1. Open the Automation node and then right-click the Field Functions node and select New > Scalar.
  2. Rename the User Field Function 1 node to Volume Fraction (All Phases).
  3. Select the Volume Fraction (All Phases) node and do the following:
    1. Change the Function Name to Volume Fraction (All Phases).
    2. To open the custom editor, click the Definition box.
    3. In the editor window, enter the following syntax:
      ${VolumeFractionH2O}+2*${VolumeFractionH2O(G)}
    4. To exit from the editor, click OK.
  4. In the Scalar Scene 1 display, right-click the color bar and select Volume Fraction (All Phases).

For this plotting technique to work, fix the legend scale to from 0 through 2.

  1. Select the Scenes > Scalar Scene 1 > Scalar 1 > Scalar Field node and set Max to 2

    The contour plot appears as shown below.



To a reasonable approximation, the blue and turquoise areas are occupied predominantly by air, the green areas predominantly by liquid water and the yellow, orange, and red areas predominantly by water vapor.

Manipulating the results in this way provides a qualitative visual estimate of the spatial extent of each phase. However, the resulting plots are prone to inaccuracies in those places where air and water vapor occur together. Inaccuracies also occur where the liquid water volume fraction is only slightly greater than the water vapor volume fraction. In a case such as this, the latter leads to an over prediction of the size of the region of high water vapor concentration.

To display velocity vectors:

  1. Right-click the Scenes node and select New > Vector.

    The vector scene appears in the Graphics window.



  2. Save the simulation.