Theory
The k-ω SST model (Menter, 1994) needs the turbulent kinetic energy and the specific dissipation rate on every inlet. The program writes OpenFOAM's turbulentIntensityKineticEnergyInlet for and turbulentMixingLengthFrequencyInlet for (OpenFOAM user guide, 2026), which compute them every iteration from the local velocity of the inlet faces, an intensity and a mixing length , equations (2) and (3).
"Fully developed" estimates and from the inlet, equation (1): the Reynolds number uses the equivalent uniform velocity of the inlet (the magnitude, for a velocity vector) and the hydraulic diameter of the inlet patch, from the exported surface. The typed intensity and length are then not used (they are kept in the case file). "Intensity and length" uses Turbulence intensity and Mixing length (blank length: ).
The same formulas give the starting values written next to the boundary conditions. In a muffler the inlet turbulence usually matters little for the pressure drop: the jets and expansions inside generate far more turbulence than the inlet carries.
Equations
| where | meaning | unit |
|---|---|---|
| Turbulence intensity | - | |
| Mixing length | m | |
| Inlet Reynolds number | - | |
| Equivalent uniform inlet velocity | m/s | |
| Hydraulic diameter of the inlet patch | m | |
| Area and perimeter of the inlet patch | m², m | |
| Kinematic viscosity of the gas | m²/s |
| where | meaning | unit |
|---|---|---|
| Turbulent kinetic energy at the inlet | m²/s² | |
| Specific dissipation rate at the inlet | 1/s | |
| Velocity magnitude on the inlet face | m/s |
Default and rule
- Default
- Fully developed
- Rule
Fully developed.
- Source
Equations (2) and (3) are the definitions behind OpenFOAM's two inlet conditions (OpenFOAM user guide, 2026). The intensity estimate and the mixing length for fully developed pipe flow are widely used engineering estimates.
Valid range Fully developed | Intensity and length
When to type values
Use "Intensity and length" when the inlet turbulence is known (for example measured), or when the inlet is fed by something other than a long straight pipe.
Estimate
Equation (1) is a pipe-flow estimate; a short or disturbed inlet pipe has a different turbulence level.