Reporting Overall Mass Conservation
To compute the overall mass conservation for steady or incompressible flow simulations, you can create a mass flow report and include all inflow and outflow boundaries as input parts for the report. To be accurate in terms of mass conservation, the reported value is ideally zero at the converged solution state.
where:
- is the initial total mass inside the solution domain.
- is the total mass inside the solution domain at time .
- is the integral of the incoming mass flow rate from the inlets over time.
- is the integral of the outgoing mass flow rate through the outlets over time.
- Right-click the Reports node and select .
-
Select the newly created report and set Parts to the inlet and outlet boundaries in your
simulation.
In fact, you can select all boundaries in your simulation—for non-flow boundaries the value is zero, so that the mass conservation is still reported correctly.
-
Analyze the mass flow report:
- For an instantaneous calculation using the current
simulation data, right-click the report and select Run Report.
Simcenter STAR-CCM+ writes the mass conservation to the Output window.
- For tracking how the mass conservation evolves as the
simulation progresses, right-click the report and select Create Monitor and Plot from
Report.
The plot opens in the Graphics window and updates continuously as the solution progresses.
- For an instantaneous calculation using the current
simulation data, right-click the report and select Run Report.
To report mass conservation for unsteady compressible
flows:
-
Create a report for the total mass inside the domain:
- Right-click the Reports node and select .
-
Create a report for the instantaneous mass imbalance:
-
Create a report for the mass imbalance: