Law of the Wall
Explore how pipe resistance, wall shear and near-wall velocity scaling describe the same flow state.
Physical inputs
Moody chart
Numerical summaryInputs, pipe resistance and wall scaling
Physical state
Pipe resistance
Wall scaling
About this model
This model links the velocity distribution close to the wall with the resistance of the whole pipe. The physical profile, wall-coordinate chart and Moody chart always represent the same flow state.
From the wall to the whole pipe
The physical view follows the velocity from the wall, where u = 0, to the pipe centreline. Laminar flow has a parabolic profile, while turbulent mixing makes the central part much flatter.
In turbulent flow, most of the rapid velocity change is concentrated in a thin layer next to the wall. The linked wall chart expands this region so the viscous, transitional and logarithmic parts of the profile can be seen together.
The Moody-chart connection
For fully developed pipe flow, the Darcy–Weisbach equation relates the head loss to the mean velocity:
Here f is the Darcy friction factor. The Moody chart shows how it depends on Reynolds number and relative roughness:
Changing velocity, diameter or roughness moves the Moody point and reshapes the linked velocity profile at the same time.
Why wall coordinates help
The friction factor determines the shear velocity u*, which rescales velocity and wall distance:
The colored bands identify the viscous sublayer, buffer region, logarithmic region and outer flow. The log-law color blends gradually into the outer region, because that transition is not sharp. The fractional-logarithmic control changes only how these distances are spaced on screen; the morph curves show where each level lies in the physical pipe.
How roughness becomes hydraulic
The hatched band shows the same physical roughness height ks in both velocity views. In wall coordinates it becomes
A surface can therefore behave as hydraulically smooth at low velocity and as rough at higher velocity. The guide uses ks+ < 5 for smooth turbulent flow, 5 ≤ ks+ < 70 for transitionally rough flow, and ks+ ≥ 70 for fully rough flow.