Skip to content
    Engineering / Navier-Stokes Reynolds-Averaged Closure Core

    Navier-Stokes (RANS) Calculator

    Two-dimensional Reynolds-averaged flow solver with wall functions, velocity and pressure fields, and a laminar baseline for comparison.

    ToolCalculatorExecutionIn browserCategoryEngineering
    ZorvLabs Flow Lab

    Navier–Stokes Reynolds-Averaged Closure Core

    Square duct · RANS/Boussinesq · algebraic mixing-length closure · 2D/3D field views
    Residual 6.01e-4 · Iterating
    Bulk Reynolds
    126368723
    Wall Shear
    356.1111
    Friction Velocity
    17.0500
    Friction Factor
    0.0002
    Max ν_t/ν
    250.00
    Iterations
    700
    2D Field View

    Cross-section heatmap

    RANS closure · u / U_b0.000.260.530.791.05widthheight
    3D Field View

    Isometric surface

    3D isometric surface · RANS closure · u / U_bxzy
    Profiles & Convergence

    RANS vs laminar and residual history

    Horizontal centerline u/U_b0.000.0000.2513.0610.5026.1220.7539.1841.0052.245
    Vertical centerline u/U_b0.000.0000.2513.0610.5026.1220.7539.1841.0052.245
    Eddy viscosity ratio ν_t/ν0.000.0000.2562.5000.50125.0000.75187.5001.00250.000
    Residual history0.001e-30.251e-30.501e-20.751e-11.001e-1
    Field Summary

    Cross-section samples

    Pointu/U_bν_t/ντ_td_w
    (0, 0)0.00000.00000.000e+00.0000
    (11, 11)1.0505250.00002.128e+00.2558
    (22, 22)1.1004250.00001.933e-10.4884
    (33, 33)1.0659250.00001.816e+00.2326
    (43, 43)0.00000.00000.000e+00.0000
    Validation Notes

    Assumptions and limits

    This is a steady, incompressible, fully developed RANS duct model closed with an algebraic eddy-viscosity relation. It is exact for the stated model, not DNS.

    The Reynolds stress tensor is closed through the Boussinesq hypothesis, which is the standard eddy-viscosity family used in RANS practice. NASA’s turbulence resource is the authoritative verification hub for such models. citeturn843952search13turn843952search9turn487996search2turn187365search11

    The wall closure is a Prandtl mixing-length form with damping; NASA documents discuss algebraic models and their role in engineering turbulence prediction. citeturn187365search4turn187365search0turn487996search4

    ●RANS CLOSURE NODE ACTIVE//ρ=1.225 kg/m³//μ=1.810e-5 Pa·s//Δp/L=24.00 Pa/m//uτ=17.0500//Residual 6.01e-4
    engineering methodology

    A clear path from inputs to results.

    Reynolds averaging turns the Navier-Stokes equations into a solvable system by modelling the turbulent stress term. This solver computes a two-dimensional mean flow field with a wall-function closure, and shows the laminar solution alongside so the effect of turbulence is visible rather than asserted.

    Step-by-step methodWorked exampleAssumptions explained

    How to use

    1. Choose the geometry preset — cavity or channel.
    2. Set the fluid density and dynamic viscosity.
    3. Enter the driving pressure gradient.
    4. Tune the wall-function constants κ and A⁺, or leave the standard values.
    5. Set the grid resolution, iteration count, tolerance and relaxation factor.
    6. Compare the turbulent field with the laminar baseline and check convergence.

    The formula

    Reference: Reynolds (1895) averaging; Launder & Spalding (1974) wall-function treatment.

    Worked example

    Channel flow at ρ = 1.225, μ = 1.81×10⁻⁵

    Inputs
    • Air at 1.225 kg/m³ and 1.81×10⁻⁵ Pa·s.
    • Unit velocity and length scale.
    • κ = 0.41, A⁺ = 26.
    Calculation path
    1. 1

      Reynolds number: ρUL/μ = 1.225 × 1 × 1 / 1.81×10⁻⁵ = 67,680.

    2. 2

      That is well above 4,000, so the flow is turbulent and a closure is required.

    3. 3

      Log-law velocity at y⁺ = 100: u⁺ = (1/0.41)·ln(100) + 26 = 37.2.

    4. 4

      The viscous sublayer (y⁺ < 5) instead follows u⁺ = y⁺.

    5. 5

      The solver iterates the mean momentum equations until the residual falls below the tolerance.

    Result

    Re 67,680 · u⁺ = 37.2 at y⁺ = 100 · turbulent mean field distinct from the laminar baseline.

    Interpreting the result

    The wall function is the part that matters most: it bridges the viscous sublayer, where the grid cannot afford cells, to the log region. Choosing A⁺ or κ badly shifts the entire near-wall profile. The laminar baseline is there to show that at this Reynolds number the two solutions differ substantially — turbulence is not a small correction.

    Assumptions & limitations

    • Two-dimensional, steady, incompressible flow.
    • Boussinesq eddy-viscosity closure with wall functions rather than a full low-Re turbulence model.
    • Constant fluid properties.
    • The grid is coarse enough that wall functions are appropriate; resolving y⁺ < 1 would need a different closure.

    Frequently asked questions

    What does Reynolds averaging actually do?

    It splits each quantity into a mean and a fluctuating part, then averages the equations. The nonlinear term produces the Reynolds stress, which is unknown — hence the need for a closure model.

    Is RANS accurate enough for design?

    For attached, statistically steady flows it is the workhorse of industrial CFD. It struggles with separation, swirl and transient phenomena, where LES or hybrid methods are needed.

    What is a wall function?

    An algebraic bridge that imposes the known log-law profile between the wall and the first grid cell, avoiding the need to resolve the viscous sublayer.

    Why compare against a laminar baseline?

    Because at low Reynolds numbers the laminar solution is correct, and at high ones the difference quantifies how much the turbulence model is doing. Without that reference the output is hard to sanity-check.

    Methodology last reviewed 2026-10-06. Results are informational and not financial or engineering advice — see our disclaimer.