Monitoring the Run Progress

As part of the post-processing operations, make sure that the calculated pressure drop across the porous region is close to the theoretical drop given by Eqn. (245).

To help you do this, monitor the average pressure on both fluid-porous interfaces, the pressure drop across the porous region and the mass flow rate through the porous region throughout the run. Use these monitors to decide when the solution has converged.

To create an average pressure report on the upstream interface:
  1. Right-click the Reports node and select New > Metrics > Surface Average.
  2. Rename the Surface Average 1 node to Average Upstream Pressure.
  3. Select the Average Upstream Pressure node and set the Scalar Field Function to Pressure.
  4. Edit the Parts property and select Porous > Upstream Interface [In-place 2].

  5. Click OK.
    The Properties window for the new report should have the settings that are shown below.

Create a similar report for the downstream pressure:

  1. Right-click the Reports node and select New > Metrics > Surface Average.
  2. Rename the Surface Average 1 node to Average Downstream Pressure.
  3. Select the Average Downstream Pressure node and set the Scalar Field Function to Pressure and the Parts to Porous > Downstream Interface [In-place 1].
The completed Properties window should have the settings that are shown below.

Two new field functions corresponding to these reports have been automatically added to the object tree.

  1. Open the Automation > Field Functions node and scroll down to see the new nodes:

Use these functions to create an expression report for the pressure drop:

  1. Right-click the Reports node and select New > User > Expression.
  2. Rename the Expression 1 node to Porous Region Pressure Drop.
  3. Select the Porous Region Pressure Drop node and click (Custom Editor) to enter the Definition property as:

    $AverageUpstreamPressureReport - $AverageDownstreamPressureReport

  4. Click OK.
  5. Click (Custom Editor) for the Dimensions property.
  6. In the Porous Region Pressure Drop - Dimensions dialog, set the Pressure dimension to 1.
  7. Click OK.
The Properties window for the Porous Region Pressure Drop report should have the settings that are shown below.

Create a monitor and plot from the Porous Region Pressure Drop report.

  1. Right-click the Reports > Porous Region Pressure Drop node and select Create Monitor and Plot from Report.

    The monitor and plot are added to the object tree:

    The empty plot is also displayed.

Create a final report for the mass flow rate through the porous region:

  1. Right-click the Reports node and select New > Flow / Energy > Mass Flow
  2. Rename the Mass Flow 1 node to Mass Flow Rate.
  3. Select the Mass Flow Rate node and set Parts to Porous > Upstream Interface [In-place 2] in the object selector, under Regions.

Create a monitor and plot from the Mass Flow Rate report.

  1. Right-click the Reports > Mass Flow Rate node and select Create Monitor and Plot from Report.
    The monitor and plot are added to the object tree:

    The empty plot is also displayed.