SpectraSim Documentation
Parameter · 05 Boundary Conditions

Mixing length

turbulence_inlet.mixing_length Unit: m Step 05 · Boundary Conditions

The length scale of the turbulent eddies entering through the inlet. With the intensity it sets the specific dissipation rate ω\omega at the inlet. Blank uses 0.07 times the hydraulic diameter of the inlet.

Last updated

Theory

OpenFOAM's turbulentMixingLengthFrequencyInlet computes ω\omega from the inlet kk and the mixing length, equation (1) (OpenFOAM user guide, 2026). A larger length means larger, slower eddies and a smaller ω\omega, i.e. turbulence that decays more slowly downstream of the inlet. The hydraulic diameter is that of the exported inlet surface, Dh=4A/PD_h = 4A/P.

With "Fully developed" (Inlet turbulence) the typed value is not used and ℓ=0.07 Dh\ell = 0.07\,D_h.

Equations

ω=kCμ1/4 ℓ,Cμ=0.09,ℓblank=0.07 Dh,Dh=4AP\omega = \frac{\sqrt{k}}{C_\mu^{1/4}\,\ell}, \qquad C_\mu = 0.09, \qquad \ell_{blank} = 0.07\,D_h, \qquad D_h = \frac{4A}{P}
(1)
wheremeaningunit
ω\omegaSpecific dissipation rate at the inlet1/s
kkTurbulent kinetic energy at the inletm²/s²
ℓ\ellMixing lengthm
DhD_hHydraulic diameter of the inlet patchm
A,PA, PArea and perimeter of the inlet patchm², m

Default and rule

Default
blank = 0.07 D_h of the inlet
Rule

Blank: 0.07 Dh0.07\,D_h.

Source

Inlet condition as documented for OpenFOAM (OpenFOAM user guide, 2026). The estimate 0.07 Dh0.07\,D_h for fully developed pipe flow is a widely used engineering value.

Valid range > 0; used only with 'Intensity and length'

Values

Positive, and smaller than the inlet diameter; 0.07 Dh0.07\,D_h is the usual choice for pipe flow.

References 1

  1. OpenCFD Ltd. (2026). OpenFOAM user guide. openfoam.com. Web page