Why Friction Matters
Every drop of water flowing through a pipe loses energy to friction against the pipe wall and internal turbulence. This energy loss — expressed as head loss in metres of fluid — determines the pressure available at the downstream end and dictates pump sizing, pipe selection, and system economics. The Darcy-Weisbach equation provides a universal framework for calculating these losses across any fluid, pipe material, and flow regime.
The Darcy-Weisbach Equation
Head loss hf = f(L/D)(V²/2g) separates the problem into geometry (L/D), kinetic energy (V²/2g), and fluid-surface interaction (friction factor f). The critical challenge is determining f, which depends on whether flow is laminar or turbulent, and on the pipe's relative roughness ε/D. For laminar flow, f = 64/Re is exact. For turbulent flow, the implicit Colebrook equation must be solved iteratively or read from the Moody chart.
The Moody Chart
Lewis Moody's 1944 chart remains one of the most-used diagrams in engineering. It plots friction factor versus Reynolds number for a family of relative roughness curves. The laminar line (f = 64/Re) occupies the left, followed by a shaded transition zone, then fully turbulent curves that flatten at high Reynolds numbers where roughness dominates. This simulation generates the Moody chart dynamically and highlights your operating point.
Practical Design
In practice, engineers select pipe diameter to keep velocity between 1-3 m/s for water systems — fast enough to prevent sedimentation, slow enough to limit friction loss and noise. The fifth-power relationship between diameter and head loss (hf ∝ 1/D⁵ at constant flow) means even small increases in pipe size dramatically reduce energy costs over the system's lifetime.