High speed flow boundary condition
You can use a high speed flow boundary condition for inlets or outlets, to specify the Mach number, pressure, and turbulence values at the domain boundary when the flow has velocities above Mach 0.3, which implies that the flow has density changes of more than 5% and is generally treated as compressible.
The Mach number is defined as:
- U is the local speed.
- c is the speed of sound.
The speed of sound c is the speed at which sound propagates through a medium under specific conditions. In ideal gases, c is dependent on the molecular weight, and it is a function of temperature:
- k is the adiabatic exponent.
- R is the gas constant.
- T is the absolute temperature.
In real gases, in which the density and specific heat capacity are functions of temperature and pressure, the specific heat at constant volume, Cv, is defined as:
where:
- Cp is the temperature dependent, or bivariate pressure and temperature dependent specific heat.
- ρ is the pressure dependent, or bivariate pressure and temperature dependent density.
- P is the pressure.
For real gases, the speed of sound is computed by:
The specified Mach number is converted in a velocity using the speed of sound in the fluid. This velocity is then applied to the faces you select as a supersonic or subsonic inlet or outlet. The flow solver selectively applies the boundary values you specified depending on the local flow condition.
The flow solver uses the general energy equation for all flows. For more information, see Energy equation.
For low speed flows (Mach < 0.3) the energy equation is simplified. The pressure work and dissipation terms are neglected. In this case, the flow solver uses the Low speed equation.