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 m˙total,spec or mass flux m˙spec
supersonic static pressure Ps,specsup
total temperature Tt,spec
inflow direction θspec

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

For a mass flow inlet boundary, Simcenter STAR-CCM+ computes the following values at the boundary faces:
  • velocity v
  • static pressure Ps
  • static temperature Ts

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:

Figure 1. EQUATION_DISPLAY
m˙=m˙total,spec|a|A
(785)

where:

  • a is the outward pointing face area vector.
  • A is the total area of the boundary.

When you specify mass flux, the mass flow rate at each face is calculated as:

Figure 2. EQUATION_DISPLAY
m˙=m˙spec|a|
(786)

The static pressure at the boundary is extrapolated from the interior of the domain:

Figure 3. EQUATION_DISPLAY
Ps=Psext
(787)

Compressible Equation of State

When the inflow is supersonic, the static pressure is updated with the specified supersonic static pressure at the boundary:

Figure 4. EQUATION_DISPLAY
Ps=Ps,specsup
(788)

The static temperature at the boundary is calculated based on flow conditions:

Inflow

Under inflow conditions, that is, mass flow rate m˙0, the static temperature at the boundary, Ts, is computed by using the total enthalpy (temperature) relation:

Figure 5. EQUATION_DISPLAY
Ht=Hs+|v|22,CpTt,spec=CpTs+|v|22
(789)

where Ht is the total enthalpy, Hs is the static enthalpy, and Cp is the specific heat.

This yields a quadratic equation that is solved for Ts:

Figure 6. EQUATION_DISPLAY
Ts=Tt,spec(ρ|v|)22Cp(RTsPs)2
(790)

where:

Figure 7. EQUATION_DISPLAY
ρ|v|=m˙|θspeca|
(791)
Outflow

Under outflow conditions, that is, mass flux m˙<0, Ts is extrapolated from the interior of the domain:

Figure 8. EQUATION_DISPLAY
Ts=Tsext
(792)

The fluid density is updated from the equation of state by using the now known boundary values for static pressure Ps and static temperature Ts:

Figure 9. EQUATION_DISPLAY
ρ=ρ(Ps,Ts)
(793)

The velocity vector at the boundary face is calculated as:

Figure 10. EQUATION_DISPLAY
v=m˙ρ(θspeca)θspec
(794)

With the velocity from Eqn. (794), the total enthalpy at the boundary is given by:

Figure 11. EQUATION_DISPLAY
Ht=Hs(Ps,Ts)+|v|22
(795)

where the static enthalpy Hs is calculated based on the equation of state.

Incompressible Equation of State

The velocity vector is calculated from the mass flux as:
Figure 12. EQUATION_DISPLAY
v=m˙ρ(θspeca)θspec
(796)

where the density at the boundary is updated from the equation of state by using the static temperature from the previous iteration:

Figure 13. EQUATION_DISPLAY
ρ=ρ(Ts*)
(797)

Then, the static temperature at the boundary is recomputed based on flow conditions:

Inflow
Under inflow conditions, that is, mass flow rate m˙0
Figure 14. EQUATION_DISPLAY
Ts=Tt,spec|v|22Cp
(798)
Outflow
Under outflow conditions, that is, mass flow rate m˙<0, Ts is extrapolated from the interior of the domain:
Figure 15. EQUATION_DISPLAY
Ts=Tsext
(799)

The total enthalpy is given by:

Figure 16. EQUATION_DISPLAY
Ht=Hs(Ps,Ts)+|v|22
(800)

where the static enthalpy Hs is calculated based on the equation of state.