Now in Public Beta — Engine Simulator, Spray Calculator & EV Battery Suite. Free for approved researchers. Request researcher access →
AgniCycle
/

Turbulence Properties Calculator

CFD Tool Guide All Calculators
Loading calculator…

Guide

Setting turbulence inlet boundary conditions

Two-equation RANS models need turbulence quantities at every inlet: the turbulent kinetic energy k and a dissipation quantity (ε or ω). You rarely measure these directly. You know a turbulence intensity and a length scale, or a viscosity ratio. This calculator converts what you know into the values your solver needs, and produces ready-to-paste boundary-condition snippets.

The relationships

With freestream velocity U, turbulence intensity I (as a fraction), turbulent length scale Lt and the model constant Cμ = 0.09:

k = 1.5 (U · I)²
ε = Cμ3/4 · k3/2 / Lt
ω = k1/2 / (Cμ1/4 · Lt) = ε / (Cμ k)
μt / μ = ρ Cμ k² / (μ ε)

Three ways to specify the inlet

Pick whichever pair of quantities you actually have:

  1. Intensity + length scale (I and Lt). The most common choice. Use it when you have a sensible estimate of the size of the energy-containing eddies.
  2. Intensity + viscosity ratio (I and μt/μ). Popular for external aerodynamics and in Fluent, where a viscosity ratio of 1 to 10 is common in the freestream.
  3. Viscosity ratio + length scale (μt/μ and Lt). Useful when intensity is unknown but you know the desired eddy viscosity and eddy size.

The calculator derives k, ε, ω and the remaining quantity consistently from the pair you provide.

Choosing intensity and length scale

SituationTurbulence intensity ILength scale Lt
Wind tunnel, clean freestream, external aerodynamics0.1 – 1 %A few percent of the body length is a common assumption
Fully developed pipe or duct flowEstimate: I ≈ 0.16 ReDh−1/8 (roughly 3–5 % for Re from 10⁴ to 10⁶)Lt ≈ 0.07 Dh
Flow behind grids, in turbomachinery, in combustors and engine ports5 – 20 %Set by the size of the upstream obstruction or passage
Atmospheric boundary layer, urban flows10 – 30 % near the groundDepends on the height above ground and roughness

The factor 0.07 is based on the maximum mixing length in fully developed turbulent pipe flow, which is why it is applied to the pipe or hydraulic diameter. When you have no information, 5 % intensity with a length scale of about 5–10 % of the inlet dimension is a common default, but the results are then only as good as that assumption.

Worked examples

Air, external flowWater in a 100 mm pipe
InputsU = 10 m/s, I = 5 %, Lt = 0.05 m; ρ = 1.2047 kg/m³, μ = 1.8205×10⁻⁵ Pa·sU = 3 m/s, Dh = 0.1 m; ρ = 998.2 kg/m³, μ = 1.0×10⁻³ Pa·s
Intensity, lengthI = 5 %, Lt = 0.05 mRe = 2.99×10⁵, so I ≈ 3.3 %; Lt = 0.07 Dh = 7 mm
k0.375 m²/s²0.0148 m²/s²
ε0.755 m²/s³0.0422 m²/s³
ω22.4 1/s31.7 1/s
μt/μ≈ 1,110—

The first column is a good illustration of a common surprise: at 5 % intensity and a 5 cm length scale in air, the inlet eddy-to-molecular viscosity ratio is above 1,000, far above the 1 to 10 typical of a clean freestream. That much eddy viscosity thickens boundary layers and can trigger early transition. If it is unrealistic for your case, lower the intensity or the length scale.

Solver export

Different codes use different but equivalent conventions. The calculator generates inlet entries for:

Always check that the snippet matches your model variant (k-ε versus k-ω SST) and your solver version’s naming.

Frequently asked questions

What is a sensible turbulence intensity if I don’t know it?

For internal flows use the pipe estimate I ≈ 0.16 Re−1/8, which gives roughly 3 to 5 % for Reynolds numbers between 10⁴ and 10⁶. For clean external flows 0.1 to 1 % is typical. If your inlet is downstream of a fan, valve or bend, expect 5 to 10 % or more.

What is the difference between the ε formulas?

Solvers use slightly different definitions of the dissipation rate, some with Cμ3/4 and some with other empirical constants. The calculator lists the variants so you can pick the one that matches your code. If your solver documentation gives a formula, use that one.

Does the inlet turbulence matter much?

For separated or free-shear flows and transitional boundary layers it can change results significantly. For fully turbulent internal flows it mainly affects the development length near the inlet, since the turbulence quickly adjusts to the wall-generated field.

Which Cμ is used?

The standard value 0.09 used by the standard k-ε and by k-ω SST. You can reset to defaults in the calculator.

Related calculators

← All CFD calculators · AgniCycle blog

References