Turbulence calculator (intensity, k, ε, ω and the cost of DNS)
Air at 10 m/s in a 100 mm duct has Re 66,404, so Fluent's fully developed rule gives 3.99 % intensity and a 7 mm length scale: k = 0.2392 m²/s², ε = 2.746 m²/s³, ω = 127.57 1/s. This calculator turns intensity and length scale (or a viscosity ratio) into the k, ε, ω and νt you type into Fluent or OpenFOAM, works the Reynolds decomposition on a real signal, and shows why DNS is out of reach. Free, runs in your browser.
Ansys Fluent 12.0 User's and Theory Guides · OpenFOAM-12 inlet conditions (source code) · Altair AcuSolve DNS notes · R&A Rules of Equipment · checked against an independent solution (875 checks at build) · Updated 23 Nov 2026
air at 20 °C and 101,325 Pa: ideal gas, Sutherland viscosity: ρ = 1.2041 kg/m³, μ = 1.8133e-5 Pa·s, ν = 1.5059e-5 m²/s. Used by every tab.
What k, ε, ω and turbulent viscosity go on my inlet, and what do I type in Fluent or OpenFOAM?
Fluent's rules (User's Guide 7.3.2): I = 0.16 Re-1/8 and ℓ = 0.07 L are for fully developed duct flow; for an inlet carrying a boundary layer use 0.4 δ99; at free-stream boundaries of external flows set the parameters so that 1 < μt/μ < 10. Low and high are its 1 % and 10 % bands.
Fluent, velocity inlet, Turbulence group
- Intensity and Hydraulic Diameter: Turbulent Intensity 3.9934 %, Hydraulic Diameter 0.1 m (Fluent then uses ℓ = 0.07 × 0.1 = 0.007 m).
- Intensity and Length Scale: Turbulent Intensity 3.9934 %, Turbulent Length Scale 0.007 m.
- Intensity and Viscosity Ratio: Turbulent Intensity 3.9934 %, Turbulent Viscosity Ratio 124.52.
- K and Epsilon / K and Omega: Turbulent Kinetic Energy 0.23921 m²/s², Turbulent Dissipation Rate 2.7464 m²/s³, Specific Dissipation Rate 127.57 1/s.
- Spalart-Allmaras: Modified Turbulent Viscosity 0.0034237 m²/s (√1.5 U I ℓ).
OpenFOAM, 0/k, 0/epsilon, 0/omega, 0/nut (patch "inlet")
inlet
{
type turbulentIntensityKineticEnergyInlet;
intensity 0.039934; // a fraction, not %
value uniform 0.23921;
}inlet
{
type turbulentMixingLengthDissipationRateInlet;
mixingLength 0.007; // m: this is ℓ, not Dh
value uniform 2.7464;
}inlet
{
type turbulentMixingLengthFrequencyInlet;
mixingLength 0.007;
value uniform 127.57;
}inlet
{
type calculated;
value uniform 0.0018752; // m²/s (kinematic)
}Split a velocity signal into mean and fluctuation. Which averaging rules hold on the actual samples, and which term survives into RANS?
Synthetic: u = U + σa, v = σ(c a + √(1−c²) b), w = σg with σ = I U and a, b, g standard normal (mulberry32 + Box-Muller, so the same seed gives the same samples). The correlation c is yours to set; a negative c gives a positive Reynolds shear stress, as in a boundary layer with U rising away from the wall.
How small are the smallest eddies, and how many grid points and time steps would a DNS need?
Presets use air at 20 °C or water at 20 °C; Custom uses the fluid above. ε ≈ U³/L is the order-of-magnitude estimate (dissipation set by the large eddies), so every count is a scaling, not a mesh spec. Grid points are for a cube of side L with spacing η; time steps for one pass of the flow (T = L/U) at Δt ≈ η/U. 32 bytes per point stores just u, v, w and p in double precision; a real solver needs several times that. The car's 4.5 m length is our assumption.
What eddy viscosity and turbulent shear stress does a k-ε or k-ω state give, and how fast does turbulence decay with nothing feeding it?
Default state: the 5 % inlet of tab 1 (k = 0.375 m²/s²). The decay is homogeneous turbulence with no mean shear under the standard k-ε equations (C2ε = 1.92). For first-cell heights and y+ use the y+ calculator.
Type what your report states. Each number is recomputed with the formula, and common slips are named. Uses the fluid above.
- Type at least one number with the velocity and diameter, or fill the example.
How do you calculate k, epsilon and omega at a CFD inlet?
Pick a turbulence intensity I and a length scale ℓ, then compute k from I and ε or ω from k and ℓ. These are the equations in Fluent's User's Guide (7.3-1 to 7.3-8) and inside OpenFOAM's inlet conditions, with Cμ = 0.09:
For air at 20 °C, 10 m/s in a 100 mm duct:
The intensity rule is for fully developed duct flow; Fluent's guide says it gives 4 % at Re 50,000, and the 0.07 comes from the maximum mixing length in fully developed pipe flow. If you know the turbulent viscosity ratio instead of a length scale (common for external flows, where Fluent suggests 1 < μt/μ < 10 at the free stream), use:
Tab 1 does all three routes, flags a viscosity ratio above 10,000 or below 1 and a length scale bigger than the duct, and writes the Fluent and OpenFOAM entries.
What do Fluent and OpenFOAM each ask for?
The physics is the same; what you type is not. Two slips cost reports the most: the intensity's unit and which length goes in the length box.
| Input | Fluent velocity inlet | OpenFOAM 0/ files |
|---|---|---|
| Intensity | Percent: 3.99 | Fraction 0-1: 0.0399 (stops with an error above 1) |
| Length | "Hydraulic Diameter" takes DH = 0.1 m and applies ℓ = 0.07 DH itself; "Length Scale" takes ℓ = 0.007 m | mixingLength = ℓ = 0.007 m in both the ε and ω conditions; there is no hydraulic-diameter option |
| ε from ℓ | Cμ3/4 k3/2/ℓ | Cμ0.75 k1.5/L, Cμ read from the model (default 0.09) |
| ω from ℓ | k1/2/(Cμ1/4 ℓ) | k0.5/(Cμ0.25 L) |
| Eddy viscosity | Turbulent Viscosity Ratio μt/μ = 125 | 0/nut is kinematic νt = 0.001875 m²/s (type calculated) |
Typing the 0.1 m diameter into a length-scale box (Fluent's "Length Scale" or OpenFOAM's mixingLength) makes ℓ 14.3 times too large. At 5 % intensity that gives ε = 0.377 instead of 5.391 m²/s³ and a viscosity ratio of 2,227 instead of 156. Typing 5 for a 5 % intensity in OpenFOAM stops the run; in a hand calculation it makes k ten thousand times too large.
What is Reynolds decomposition and what are the averaging rules?
Write each velocity as a time average plus a fluctuation, then average the Navier-Stokes equations. Four rules decide which terms survive:
Terms linear in a fluctuation vanish (mean of u′ is 0), and so do mean-times-fluctuation terms. The product of two fluctuations does not: for the default signal in tab 2 the mean of u′u′ is 0.2528 m²/s² and the mean of u′v′ is -0.1009 m²/s². That product is what is left in the averaged momentum equation, where Fluent's Theory Guide (4.2.2) says these Reynolds stresses "must be modeled in order to close" it:
With ρ = 1.2041 kg/m³ the default signal's Reynolds shear stress is −ρ times the mean of u′v′ = 0.1215 Pa. The minus sign belongs to the stress: when fast fluid moves toward the wall (u′ > 0 with v′ < 0) the mean of u′v′ is negative and the stress is positive. Tab 2 checks each rule on the samples you give it, so you can watch the mean of u′ come out at about 10−15 (round-off) while the mean of u′u′ does not.
What is eddy viscosity and how is it different from molecular viscosity?
The Boussinesq hypothesis models the unknown Reynolds stress like a viscous stress, with an eddy (turbulent) viscosity in place of μ. Spalart-Allmaras, k-ε and k-ω all use it; Fluent's Theory Guide (4.2.3) notes its cost is low but that it treats μt as "an isotropic scalar quantity, which is not strictly true".
Molecular viscosity belongs to the fluid; eddy viscosity belongs to the flow. For the 5 % inlet above, μt = 0.002827 Pa·s, 156 times air's μ. k-ε and k-ω give the same μt when ω = ε/(Cμ k) = 159.72 1/s, which is why the inlet ε and ω above describe the same turbulence. Units matter: νt is in m²/s and μt in Pa·s; νt quoted in Pa·s is a slip.
Left alone, turbulence decays. With no mean shear the standard k-ε equations reduce to two ODEs with a closed-form answer:
After ten eddy turnover times (t = 10 k0/ε0) only 8.0 % of k is left. The chart in tab 4 draws it.
Why is DNS not feasible? The Kolmogorov scale
A direct numerical simulation has to resolve the smallest eddies, the Kolmogorov scale η, where viscosity turns kinetic energy into heat. With the estimate ε ≈ U³/L (Altair's DNS notes use the same):
For the turbulence challenge's golf ball at 60 m/s, with the 42.67 mm minimum diameter in the R&A Rules of Equipment (4.3) and air at 20 °C:
That is 5.87e+11 grid points just to hold the ball's box once, 18.8 TB at 32 bytes a point. A car at 100 km/h (Re 8.30e+6) needs 3.70e+15. Altair's notes put a flat plate at Re 500,000 at "six trillion nodes"; this calculator gives 6.65e+12. A RANS model needs none of this, because it models every scale; Fluent's guide says that "greatly reduces the required computational effort". Re3 is the total work (grid points × time steps), not the cell count.
Which turbulence model should you choose?
Fluent's own guide says "no single turbulence model is universally accepted as being superior for all classes of problems". What each solves, from the Fluent 12.0 Theory Guide:
| Model | Equations | What the guide says | Stress closure |
|---|---|---|---|
| Spalart-Allmaras | 1: modified kinematic eddy viscosity ν̃ | Designed for aerospace wall-bounded flows (Fluent 4.3.1). Inlet: ν̃ = √1.5 U I ℓ (Fluent 7.3-3). | Boussinesq |
| Standard k-ε | 2: k and ε | Constants Cμ 0.09, C1ε 1.44, C2ε 1.92, σk 1.0, σε 1.3, fitted to air and water shear flows including decaying grid turbulence (Fluent 4.4.1). Standard wall functions are Fluent's default near-wall option. | Boussinesq |
| Standard k-ω (Wilcox) | 2: k and ω | μt = α* ρk/ω with α* = 1 at high Re; σk = σω = 2.0; predicts free shear flow spreading rates close to measurements (Fluent 4.5.1). | Boussinesq |
| SST k-ω (Menter) | 2: k and ω, blended | k-ω near the wall, the free-stream independence of k-ε far away; eddy viscosity modified for the transport of shear stress; a1 = 0.31 (Fluent 4.5.2). | Boussinesq |
| Reynolds stress model | 5 in 2D, 7 in 3D (added) | Solves the Reynolds stresses themselves plus a scale equation, so no isotropic eddy viscosity (Fluent 4.2.3). | Stress transport |
Near the wall the choice is about the first cell. Fluent's standard wall functions use the log law, "valid for 30 < y* < 300", and switch to it above y* = 11.225; its enhanced wall treatment wants the first node at about y+ = 1 when the mesh resolves the viscous sublayer. The y+ calculator gives the first cell height for either. SST's other constants: σk1 1.176, σω1 2, σk2 1, σω2 1.168, βi1 0.075, βi2 0.0828; standard k-ω: β* 0.09, βi 0.072, α∞ 0.52.
What does the golf ball turbulence challenge ask?
Fly the ball at 60 m/s by blowing air at it, look at the wake and say which way the ball moves. Two numbers set the case before any meshing: Re = 1.700e+5 for a 42.67 mm ball (a ball smaller than that is not a legal ball), and an inlet turbulence level, which the run needs whether or not you type it. With 1 % intensity and a viscosity ratio of 10 (external flow, Fluent's free-stream advice), tab 1 gives the k and ε or ω to type. The challenge states no spin, so read the side force from the run's lift coefficient rather than from a picture of the wake.
What 224 public turbulence reports do (as of 23 Nov 2026)
We read the 224 public Skill-Lync reports on RANS derivation, the turbulence modelling challenge and similar titles, as of 23 Nov 2026, n = 224: 168 RANS literature reviews, 45 turbulence challenges and 11 others. 2 have almost no text of their own; equations pasted as images were not read. Counts are of what the text shows; the links are examples.
- 154 / 166Writes the Reynolds decomposition (instantaneous = mean + fluctuation). report 1report 2
- 151 / 166Defines the time average (integral over a long enough interval). report 1report 2
- 113 / 166States that the average of the fluctuation is zero. report 1report 2
- 15 / 166States that the average of a product of fluctuations is NOT zero. report 1report 2
- 148 / 166Names the Reynolds stress. report 1report 2
- 26 / 166Writes the Reynolds stress with its density factor, -rho times the average of u'v' (or the u_i'u_j' form). report 1report 2
- 156 / 166Introduces eddy (turbulent) viscosity. report 1report 2
- 18 / 166Names Boussinesq (hypothesis / approximation / eddy-viscosity idea). report 1report 2
- 42 / 166Names the closure problem. report 1report 2
- 10 / 166Defines turbulent kinetic energy k from the fluctuations. report 1report 2
- 31 / 166Names a closure model (k-epsilon, k-omega, SST, Spalart-Allmaras or RSM). report 1report 2
- 16 / 45States eta (smallest eddy) scales as Re^(-3/4). report 1report 2
- 13 / 45States the number of cells scales as Re^(9/4). report 1report 2
- 15 / 45Writes the Kolmogorov scale eta = (nu^3/epsilon)^(1/4). report 1report 2
- 11 / 45Gives the reason DNS is not feasible: the number of cells becomes too large. report 1report 2
- 37 / 45Mentions dimples and why they help the ball. report 1report 2
- 30 / 45States that the ball curves downward (stated in the discussion of the wake). report 1report 2
- 41 / 45Describes the wake / recirculation region. report 1report 2
- 34 / 45States the 60 m/s inlet in the set-up. report 1report 2
- 10 / 45States that the run used SST k-omega. report 1report 2
- 21 / 45Does not state in text which model the run used. report 1report 2
What stands out: 148 of 166 RANS reviews with text name the Reynolds stress, but 26 write it with its −ρ factor and 15 state the rule that makes it exist (the mean of a product of fluctuations is not zero); 3 compute any number at all. In the challenge, 13 of 45 write cells ∝ Re9/4, 0 use Re3, 1 states the ball's diameter, and 0 of 45 state an inlet turbulence intensity, length scale or viscosity ratio; 30 say the ball curves downward. These are first-party counts, a starting point rather than a measure of ability.
How we checked the calculator
An independent Python script, scripts/verify/turbulence.py, rebuilds the numbers with its own code, and this page refuses to build if the browser code differs from it in any of 875 numbers or verdicts (128 further assertions run inside the script, 100 cases). It takes powers in log space, has its own 32-bit mulberry32 and Box-Muller to regenerate the synthetic signal, sums with compensated (fsum) arithmetic, and integrates the k-ε decay with Runge-Kutta to check the closed form. Hand cases: Fluent's 4 % at Re 50,000, Altair's "six trillion nodes" at Re 500,000, the mean and variance of 1, 2, 3, 4, 5, and Re = 1 at the Kolmogorov scale. Two deliberate bugs (Cμ0.5 in place of Cμ0.75 for ε, Re3 for the grid) each make the build fail.
What this calculator does not cover
- Inlet profiles. Every value is uniform across the inlet; a fully developed profile of U, k and ε needs a precursor run or a profile file.
- Wall functions and y+. Use the y+ calculator.
- LES grids. Tab 3 sizes DNS only; an LES grid depends on the filter width and the share of energy you choose to resolve.
- Other length-scale conventions. Some texts define ℓ with Cμ instead of Cμ3/4 (and a different factor on DH); this tool uses Fluent's and OpenFOAM's, which agree.
RANS derivation and the turbulence modelling challenge are weeks of Skill-Lync's CFD program, before the projects where the inlet values above decide whether a Fluent or OpenFOAM run converges.
Frequently asked questions
How do you calculate turbulent kinetic energy from turbulence intensity?
Multiply the mean velocity by the intensity as a fraction, square it and multiply by 1.5: k = 3/2 (U I)². Fluent and OpenFOAM both use this. At 10 m/s and 5 % intensity, k = 1.5 × (10 × 0.05)² = 0.375 m²/s². Typing 5 instead of 0.05 gives a k ten thousand times too large.
What turbulence intensity should I use at a CFD inlet?
For fully developed duct flow Fluent's guide gives I = 0.16 Re^-1/8, which is 4 % at Re 50,000. It calls 1 % or less low and above 10 % high, and low-turbulence wind tunnels can be as low as 0.05 %. Use measured data when you have it and state what you chose.
What is the turbulence length scale for a pipe inlet?
Fluent uses ℓ = 0.07 L, with L the hydraulic diameter for a duct, from the maximum mixing length in fully developed pipe flow. For a 100 mm duct that is 7 mm. For an inlet carrying a boundary layer it uses 0.4 times the 99 % thickness. Never type the diameter itself as ℓ.
How do you calculate epsilon and omega for a k-epsilon or k-omega inlet?
From k and the length scale: ε = Cμ^3/4 k^3/2 / ℓ and ω = k^1/2 / (Cμ^1/4 ℓ), with Cμ = 0.09. These are Fluent's equations and the formulas inside OpenFOAM's mixing-length inlet conditions. The pair is consistent: ω = ε/(Cμ k), and both give the same eddy viscosity.
What is the difference between eddy viscosity and molecular viscosity?
Molecular viscosity is a fluid property. Eddy viscosity is a model of how turbulent eddies carry momentum, so it depends on the flow and is not a property. Both come in two forms: dynamic μ and μt in Pa·s, kinematic ν and νt in m²/s. OpenFOAM's nut is kinematic, in m²/s.
Why is DNS not feasible at high Reynolds numbers?
DNS must resolve the smallest eddies, the Kolmogorov scale η, which shrinks as L Re^-3/4. A 3D grid then needs about Re^9/4 points and the time steps add Re^3/4 more, so the work grows as Re³. A golf ball at 60 m/s, Re 170,000, already needs about 6 × 10¹¹ grid points.
What is the Reynolds stress?
When the Navier-Stokes equations are averaged, the product of velocity fluctuations does not average to zero. The term −ρ times the mean of u'i u'j is left in the momentum equation and acts like an extra stress: the Reynolds stress. It is unknown, so a turbulence model has to supply it.
What is the Kolmogorov length scale?
It is the size of the smallest eddies, where viscosity turns turbulent kinetic energy into heat: η = (ν³/ε)^1/4. With the estimate ε ≈ U³/L it equals L Re^-3/4. For a 42.67 mm golf ball at 60 m/s in air at 20 °C it is about 5 micrometres.
Related on Skill-Lync
- y+ calculator (first cell height and inflation layers for wall functions or y+ = 1)
- Mixing tee calculator (the k-ε vs k-ω mixing tee: outlet temperature and momentum ratio)
- Pipe flow calculator (laminar pipe flow, entrance length, OpenFOAM wedge)
- Channel flow calculator (plane Poiseuille, laminar limits, cell counts)
- Courant number calculator (the time step a transient run needs)
- CFD book: the k-ε model, constants, wall functions and inlet values
- All free engineering tools
Sources
- ANSYS FLUENT 12.0 User's Guide, 7.3.2 "Using Flow Boundary Conditions", Determining Turbulence Parameters: eqs 7.3-1 to 7.3-9, the 1 % / 10 % bands, 0.05 % wind tunnels, 4 % at Re 50,000, ℓ = 0.07 L and 0.4 δ99, 1 < μt/μ < 10.
- ANSYS FLUENT 12.0 Theory Guide: 4.2 (choosing a model), 4.2.1 (RANS vs LES), 4.2.2 (Reynolds averaging), 4.2.3 (Boussinesq vs Reynolds stress models), 4.3.1 (Spalart-Allmaras), 4.4.1 (standard k-ε constants), 4.5.1 (standard k-ω), 4.5.2 (SST), 4.12.2 and 4.12.4 (wall functions, enhanced wall treatment).
- OpenFOAM-12 source, turbulentIntensityKineticEnergyInlet, turbulentMixingLengthDissipationRateInlet and turbulentMixingLengthFrequencyInlet (headers and .C files): k = 1.5 (I|U|)², intensity "a fraction 0-1", Cμ0.75 k1.5/L, k0.5/(Cμ0.25 L).
- Altair AcuSolve training manual, Direct Numerical Simulation: n ~ Re3/4, N ~ Re9/4, Nt ~ Re3/4, work ~ Re3, six trillion nodes for a flat plate at Re 500,000. Wikipedia, Kolmogorov microscales (η, τη, uη).
- The R&A, Rules of Equipment, Part 4: ball diameter not less than 1.680 in (42.67 mm), weight not more than 45.93 g.
- Skill-Lync, the 224 public turbulence and RANS reports, read 23 Nov 2026.