📊 Moody Diagram Explorer
Interactive Colebrook-White friction factor diagram. Click or hover on the canvas to read f, Re, and ε/D at any point.
📝 Configuration
Key Equations:
Colebrook-White: 1/√f = −2 log₁₀[ε/(3.7D) + 2.51/(Re√f)]
Swamee-Jain: f = 0.25/[log₁₀(ε/(3.7D)+5.74/Re⁰·⁹)]²
Laminar: f = 64/Re
Colebrook-White: 1/√f = −2 log₁₀[ε/(3.7D) + 2.51/(Re√f)]
Swamee-Jain: f = 0.25/[log₁₀(ε/(3.7D)+5.74/Re⁰·⁹)]²
Laminar: f = 64/Re
📊 Interactive Moody Diagram
📘 Calculation Methodology
Mathematical Model
The Moody diagram maps friction factor f vs Reynolds number for different relative roughness values. The implicit Colebrook-White equation is solved iteratively. The Swamee-Jain explicit equation gives a direct approximation within ±1%.
Worked Example
For Re = 10⁵ and ε/D = 1.5×10⁻⁴ (commercial steel), the engine iterates Colebrook-White to convergence and also evaluates the Swamee-Jain formula, reporting both.
Diagram Features
- Log-log canvas with Re on x-axis and f on y-axis.
- Laminar line f = 64/Re for Re < 2300.
- Multiple roughness curves from smooth to fully rough.
- Click or hover on canvas to read interpolated f, Re, ε/D.
- Operating point highlighted when calculated.