You prepare visualization of the water volume fraction through the
separator to analyze the air-water interface behaviour over time. You plot the total mass of
water and air in the separator.
-
Prepare the scalar scene to visualize the volume fraction of air, and write a
.png file of this scene every 10 time steps.
-
Right-click the Scenes node and select .
-
Rename the Scalar Scene 1 node to
Volume Fraction of Water.
-
Expand the Volume Fraction of Water node and set
the following properties:
The mass in tank reports require user field functions to calculate the
mass of the water and air phase.
-
Create the necessary field functions:
-
Right-click the node and select
-
Rename the User Field Function 1 node to
Water Mass.
-
Select the Water Mass node and set the following
properties:
Property |
Setting |
Function
Name
|
Water
Mass
|
Definition |
${VolumeFractionWater}*${DensityWater}
|
-
Repeat Step 2a and rename the User Field Function
1 node to Air Mass.
-
Select the Air Mass node and set the following
properties:
Property |
Setting |
Function
Name
|
Air
Mass
|
Definition |
${VolumeFractionAir}*${DensityAir}
|
-
Create the air and water in tank mass reports:
-
Create a Volume Integral report and rename it to Water In Tank.
-
Edit the node and set Field Function to
Water Mass.
-
Set Parts to .
-
Create a Volume Integral report and rename it to Air In
Tank.
-
Edit the node and set Field Function to
Air Mass.
-
Set Parts to .
-
Create the incoming and outgoing water mass reports:
-
Right-click the Reports node and select .
-
Rename the Phase Mass Flow 1 node to
Water Mass Flow In.
-
Select the node and set the following properties:
Property |
Setting |
Phase
|
Water
|
Parts |
|
-
Repeat step 4a, rename the Phase Mass Flow 1
node to Water Mass Flow Out, and set the
following properties:
Property |
Setting |
Phase
|
Water
|
Parts |
|
-
Create an Expression report, rename it to Incoming
Water, and set Definition to
abs(${WaterMassFlowInReport}*${Time}).
-
Create an Expression report, rename it to Outgoing
Water, and set Definition to
abs(${WaterMassFlowOutReport}*${Time}).
-
Create the incoming and outgoing air mass reports:
-
Right-click the Reports node and select .
-
Rename the Phase Mass Flow 1 node to
Air Mass Flow In.
-
Select the node and set the following properties:
Property |
Setting |
Phase
|
Air
|
Parts |
|
-
Repeat step 5a, rename the Phase Mass Flow 1
node to Air Mass Flow Out, and set the following
properties:
Property |
Setting |
Phase
|
Air
|
Parts |
|
-
Create an Expression report, rename it to Incoming
Air, and set Definition to
abs(${AirMassFlowInReport}*${Time}).
-
Create an Expression report, rename it to Outgoing
Air, and set Definition to
abs(${AirMassFlowOutReport}*${Time}).
-
Create the monitors and plots:
-
Multi-select the Incoming Air,
Outgoing Air, and Air In
Tank nodes and select Create Monitor and Plot from
Report.
-
In the Create Plot From Reports
dialog, click Single Plot.
-
Rename the Report Plot node to Total
Air Mass.
-
Multi-select the Incoming Water,
Outgoing Water, and Water In
Tank nodes and select Create Monitor and Plot from
Report.
-
In the Create Plot From Reports
dialog, click Single Plot.
-
Rename the Report Plot node to Total
Water Mass.
-
Save the simulation.