Mass Flow Inlet
You can use the mass flow inlet boundary to specify the known mass flow rate or the mass flux (mass flow rate per unit area) at a boundary. This boundary condition is designed primarily for specifying mass flow inward across the boundary, but also works for specifying mass flowing outward. Mass flow inlet is available for both compressible and incompressible flow regimes.
Boundary Inputs
For a mass flow inlet boundary, you specify the following variables:
Inputs | Incompressible Equation of State | Compressible Equation of State |
---|---|---|
total mass flow rate or mass flux | ✓ | ✓ |
supersonic static pressure | ✓ | |
total temperature | ✓ | ✓ |
inflow direction | ✓ | ✓ |
You specify the inflow direction as normal to the boundary, as individual angle components, or directly as flow direction angles. Flow conditions are specified relative to the flow condition's reference frame, which can be either the laboratory, the region, or the local reference frame.
Computed Values
- velocity
- static pressure
- static temperature
When you specify the total mass flow rate for the inlet, Simcenter STAR-CCM+ distributes it over all faces of the boundary and calculates a uniform mass flow rate on each face of the boundary:
where:
- is the outward pointing face area vector.
- is the total area of the boundary.
When you specify mass flux, the mass flow rate at each face is calculated as:
The static pressure at the boundary is extrapolated from the interior of the domain:
Compressible Equation of State
When the inflow is supersonic, the static pressure is updated with the specified supersonic static pressure at the boundary:
The static temperature at the boundary is calculated based on flow conditions:
- Inflow
-
Under inflow conditions, that is, mass flow rate , the static temperature at the boundary, , is computed by using the total enthalpy (temperature) relation:
(789)where is the total enthalpy, is the static enthalpy, and is the specific heat.
This yields a quadratic equation that is solved for :
(790)where:
(791) - Outflow
-
Under outflow conditions, that is, mass flux , is extrapolated from the interior of the domain:
(792)
The fluid density is updated from the equation of state by using the now known boundary values for static pressure and static temperature :
The velocity vector at the boundary face is calculated as:
With the velocity from Eqn. (794), the total enthalpy at the boundary is given by:
where the static enthalpy is calculated based on the equation of state.
Incompressible Equation of State
where the density at the boundary is updated from the equation of state by using the static temperature from the previous iteration:
Then, the static temperature at the boundary is recomputed based on flow conditions:
- Inflow
- Under inflow conditions, that is, mass flow rate
- Outflow
- Under outflow conditions, that is, mass flow rate , is extrapolated from the interior of the domain:
The total enthalpy is given by:
where the static enthalpy is calculated based on the equation of state.