Macro Porosity Formulation
When the static pressure in a cell falls below the user-specified void pressure, a fraction of the liquid phase is converted to the gaseous void phase. The total fluid mass is kept constant.
This formulation applies to the Macro Porosity (fully coupled) model only. The Macro Porosity (pure thermal) model is a simple model that attempts to keep the mass of the primary phase constant for each liquid zone.
Macro Porosity (fully coupled) Model Criterion
At the same pressure, a certain amount of a light gas fills a larger volume than the same mass of a heavy liquid. Since the cell volume is constant, the pressure is increased. This mechanism is used to keep the pressure from decreasing significantly below the target void pressure.
The equation of state of an ideal gas, the void phase , is:
with the universal gas constant = 8314.4621 J/kmol K, and is the molecular weight in kg/kmol.
Mass and cell volume are constant, and pressure increases during the phase conversion. Therefore, the following relation is fulfilled even for the minimum temperature in any cell during the simulation that is run at :
Hence, the Macro Porosity (fully coupled) model can operate correctly when the molecular weight of the ideal gas void phase is:
However, this criterion is easily met for common casting material properties:
Void Phase Source
The rate at which the liquid phase is converted to the void phase without pressure decreasing below must be determined.
The relative volume change of the cell that leads to a pressure increase up to is computed. The result is the fraction of the cell volume that must be filled with void gas at and .
is the difference between the user-specified void pressure and the static pressure in the cell:
This pressure difference causes a change in mixture density in the cell, which is approximated with the derivative of mixture density with respect to pressure . This approximation assumes that is constant for small pressure deviations:
The relation between a density change and the related volume change for constant fluid mass in a cell is:
Eqn. (358) gives the fraction of the cell volume that must be filled with the void phase to compensate (inverted sign) the volume change of the mixture when the pressure is increased again to void pressure:
A VOF-phase source is specified in Simcenter STAR-CCM+ in the units . The relative volume change applied per unit time (second) and an under-relaxation factor gives the rate at which the void fluid is converted from the liquid phase to the gaseous phase.
Values without index are cell values of the mixture. The scaling factor is limited to values . It allows an adaptation to the specific case where larger rates are required to increase the minimum pressure.
The rate is limited to positive values to prevent emitted gas being dissolved again.
Void Phase Source Linearization
The linearization of the void phase source term is the derivative of Eqn. (360) with respect to pressure (assuming is constant):
Macro Porosity Nomenclature
The terms that are used in the Macro Porosity (fully coupled) model formulation are defined below.
Density | |
Molecular weight of the void phase | |
Universal gas constant | |
Temperature | |
Volume | |
Pressure | |
Scaling factor |