Turbulence Model Guide & y+ Calculator Back
CFD Tool

Turbulence Model Selection Guide & y⁺ Calculator

Compare k-ε, k-ω SST, Spalart-Allmaras, and LES. Calculate first-cell height Δy for target y⁺, friction velocity u*, and inlet k/ε/ω boundary conditions in real time.

y⁺ Calculator
Reynolds Number Re
Reference Velocity U [m/s]
m/s
Density ρ [kg/m³]
kg/m³
Kin. Viscosity ν [×10⁻⁶ m²/s]
×10⁻⁶
Target y⁺
Inlet Turbulence Conditions
Turbulence Intensity Tu [%]
%
Length Scale L [m]
m
k = — m²/s²   ε = — m²/s³   ω = — s⁻¹
Results
Friction velocity u* [m/s]
Cell height Δy [μm]
Boundary layer δ [mm]
Recommended model
Law of the Wall — u⁺ vs y⁺
Model Selection Guide
Model Performance Comparison
ModelFree ShearAdverse ∂P/∂xSeparationHeat TransferRotationCost
k-ε Std⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐Low
k-ε RNG⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐Low
k-ε Real.⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐Low
k-ω Std⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐Low
k-ω SST⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐Low–Med
SA⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐Lowest
LES⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐Very High
Theory & Key Formulas

Viscous sublayer ($y^+<5$):

$$u^+ = y^+$$

Log-law region ($y^+>30$):

$$u^+ = \frac{1}{\kappa}\ln(y^+) + B \quad (\kappa=0.41,\; B=5.2)$$

Friction velocity: $u^* = \sqrt{\tau_w/\rho}$,   $C_f \approx 0.027\,Re_L^{-1/7}$

Inlet turbulence: $k = \tfrac{3}{2}(T_u U)^2$,   $\varepsilon = C_\mu^{3/4}k^{3/2}/L$,   $\omega = k^{1/2}/(C_\mu^{1/4} L)$

What is y⁺ and Why Does Turbulence Model Choice Matter?

🙋
What exactly is this "y⁺" value that keeps popping up in the simulator? And why do I have to pick between all these different turbulence models like k-ε and SST?
🎓
Great starting question. Basically, y⁺ is a dimensionless wall distance. It tells you how far your first mesh cell is from the wall, scaled by the local friction velocity. In practice, its value dictates how your CFD solver "sees" the flow near the wall. Try moving the Reynolds Number (Re) slider in the simulator above—you'll see the recommended first-cell height change dramatically. That's because y⁺ depends on Re.
🙋
Wait, really? So if I get y⁺ wrong, my simulation is just... wrong? And how do I know which model to pick?
🎓
Pretty much, yes! A common case is using a "wall function" (which assumes your first cell is in the turbulent log-layer) when your mesh is actually fine enough to resolve the viscous sublayer. The model choice is tied to this. For instance, the k-ω SST model is robust and accurate for external aerodynamics (like a car or wing) and works well with a fine mesh (y⁺≈1). The Spalart-Allmaras model is popular in aerospace for attached flows. When you change the Reference Velocity and Length Scale parameters, the calculator updates the recommended inlet turbulence values for each model, which is crucial for realistic results.
🙋
So the "Turbulence Intensity" and "Length Scale" I put in are super important for the inlet? And what's the deal with LES?
🎓
Exactly. Those inlet values seed the turbulence in your entire domain. The simulator uses them to calculate the specific variables ($k$, $\epsilon$, $\omega$) each RANS model needs. For example, set Tu=5% and L=0.1m for a pipe flow inlet. LES (Large Eddy Simulation) is a different beast—it directly resolves large turbulent eddies and only models the small ones. It's incredibly accurate for unsteady flows (like wind around a building) but requires a massively fine mesh everywhere, not just at walls, making it very expensive. It's the gold standard but often impractical for industrial design cycles.

Physical Model & Key Equations

The foundation of near-wall modeling is the Law of the Wall. It describes the universal velocity profile from the viscous sublayer into the turbulent region. The key is matching your mesh resolution to the correct layer.

$$u^+ = y^+ \quad \text{for}\quad y^+ < 5$$ $$u^+ = \frac{1}{\kappa}\ln(y^+) + B \quad \text{for}\quad y^+ > 30$$

Here, $u^+ = U/u_\tau$ is the dimensionless velocity, $y^+ = y u_\tau / \nu$ is the dimensionless wall distance, $u_\tau = \sqrt{\tau_w / \rho}$ is the friction velocity, and $\kappa=0.41$, $B=5.2$ are constants. Your first cell's $y^+$ value determines which formula is applicable.

To start a RANS simulation, you need initial values for the turbulence variables. The simulator calculates these from the more intuitive Turbulence Intensity (Tu) and Length Scale (L) you provide.

$$k = \frac{3}{2}(Tu \cdot U)^2, \quad \epsilon = \frac{C_\mu^{3/4}k^{3/2}}{L}, \quad \omega = \frac{\sqrt{k}}{C_\mu^{1/4} L}$$

Here, $k$ is turbulent kinetic energy, $\epsilon$ is its dissipation rate, $\omega$ is specific dissipation rate, $U$ is the reference velocity, and $C_\mu=0.09$ is a model constant. These formulas bridge the gap between your engineering estimate and the precise numbers the CFD solver requires.

Real-World Applications

External Aerodynamics (Cars, Aircraft): The k-ω SST model with a fine mesh (y⁺≈1) is the industry standard. It accurately captures flow separation and pressure drag, which is critical for designing fuel-efficient vehicles. The simulator's y⁺ calculator helps you determine the exact first-cell height needed for your chosen Reynolds number.

Internal Flows (Pipes, Heat Exchangers): For fully developed turbulent flow in ducts, the standard k-ε model with wall functions (target y⁺≈30-300) is often sufficient and computationally cheap. You'd use the simulator to set a realistic inlet, like Tu=3-5% and L equal to the pipe hydraulic diameter.

Aerospace & Turbomachinery: The Spalart-Allmaras one-equation model is frequently used for simulating flow over wings and through compressors where the flow remains largely attached. Its robustness and lower cost make it suitable for initial design phases.

Wind Engineering & Environmental Flows: Simulating unsteady wind loads on buildings or pollutant dispersion requires capturing large-scale turbulence. LES is the most accurate method here, but its cost limits it to final validation studies. For these cases, setting the inlet turbulence correctly (e.g., Tu=10-20% for an atmospheric boundary layer) is paramount, which this tool helps you do.

Common Misconceptions and Points to Note

First, there is a misconception that "as long as y+ is correct, everything is fine". While achieving the correct y+ is indeed the first step for near-wall meshing, it is not sufficient on its own. For example, even if you set y+≈1, having too few cell layers in the wall-normal direction (e.g., less than 5 layers) will fail to resolve the velocity gradient across the entire boundary layer, leading to inaccurate predictions of flow separation. As a rule of thumb, you often need to stack 10 to 15 or more mesh layers to adequately cover the entire boundary layer.

Next, avoid treating recommended y+ values as absolute, divine numbers. The guideline a tool might give, such as "y+≈30 for the k-ε model," is merely a starting point. If your actual flow field is complex (featuring strong pressure gradients, separation, or reattachment), you might need to use a smaller y+ (e.g., 10–20). It's crucial to maintain flexibility: always check simulation results for wall shear stress and pressure distribution, and be prepared to remesh if necessary.

Finally, do not arbitrarily set the inflow boundary conditions for "turbulence intensity" and "length scale". These values directly impact the initial conditions of the calculation and significantly influence flow development. For instance, if you are mimicking a wind tunnel experiment, you should use experimental values. When data is unavailable, common starting points are a few percent intensity for internal flows (like piping) and 0.5–1% for external flows (like around a vehicle). However, simply using defaults is not professional practice; verifying their impact through sensitivity analysis is the mark of an expert.