What are pipe losses and how to calculate friction factor?
The Friction Factor Calculator estimates the Darcy friction factor for pipe flows using the Moody approximation of the Colebrook-White equation. This value is essential for computing energy losses (head loss) and pressure drops in piping systems via the Darcy-Weisbach equation.
Head Loss and the Darcy-Weisbach Equation
When a fluid flows through a pipe, friction between the fluid and the pipe wall causes a loss in energy — the head loss (hf). The Darcy-Weisbach equation relates head loss to the friction factor:
where: hf = head loss (m or ft), f = Darcy friction factor, L = pipe length, D = pipe diameter, V = flow velocity, g = gravitational acceleration
The corresponding pressure drop is:
How to Calculate the Friction Factor
The friction factor depends on the Reynolds number (Re) and the relative roughness (ε/D):
- Re = V × D / ν — Reynolds number (V = velocity, D = diameter, ν = kinematic viscosity)
- ε/D — ratio of surface roughness to pipe diameter
Flow Regimes:
| Regime | Reynolds Number | Formula |
|---|---|---|
| Laminar | Re < 2,300 | f = 64 / Re (Hagen-Poiseuille) |
| Transitional | 2,300 ≤ Re < 4,000 | Unpredictable — approximation only |
| Turbulent | Re ≥ 4,000 | Moody approximation (see below) |
Moody Approximation (Turbulent Flow)
This calculator uses Moody's explicit approximation of the implicit Colebrook-White equation for turbulent flow:
Valid range:
- Reynolds number: 4,000 to 5×10⁸
- Relative roughness (ε/D): < 0.01
Example: Using the Moody Chart Calculator
Suppose water at 20°C flows through a 100 mm commercial steel pipe (ε = 0.046 mm) at 1.5 m/s over 30 m.
- Reynolds number: Re = 1.5 × 0.1 / 1.004×10⁻⁶ ≈ 149,402 → Turbulent
- Relative roughness: ε/D = 0.046/100 = 0.00046
- Moody approximation: f = 0.0055 × [1 + (2×10⁴ × 0.00046 + 10⁶/149402)^(1/3)] ≈ 0.01710
- Head loss: hf = 0.0171 × 30 × 1.5² / (2 × 9.807 × 0.1) ≈ 0.588 m
- Pressure drop: Δp = 998 × 9.807 × 0.588 ≈ 5,753 Pa ≈ 5.75 kPa
Typical Surface Roughness Values
| Material | Roughness ε (mm) | Roughness ε (in) |
|---|---|---|
| Commercial steel / Wrought iron | 0.046 | 0.0018 |
| Cast iron | 0.26 | 0.01 |
| Galvanized steel | 0.15 | 0.006 |
| PVC / Plastic pipe | 0.003 | 0.00012 |
| Copper / Drawn tubing | 0.0015 | 0.000059 |
| Concrete (rough) | 0.9–9 | 0.035–0.35 |
| Smooth glass | ~0 | ~0 |
FAQs
- What is the difference between Darcy and Fanning friction factor?
- The Darcy friction factor (used here) is 4× the Fanning friction factor. The Darcy-Weisbach equation uses the Darcy value. Always verify which convention a formula uses.
- Why does the calculator use Moody's approximation instead of Colebrook-White?
- The Colebrook-White equation is implicit (f appears on both sides) and must be solved iteratively. Moody's explicit approximation is accurate to within 2% for the valid range and requires only direct calculation.
- What is kinematic viscosity (cSt)?
- Kinematic viscosity ν = dynamic viscosity μ / density ρ. 1 cSt = 1 mm²/s = 10⁻⁶ m²/s. Water at 20°C has ν ≈ 1.004 cSt; at 60°F ≈ 1.13 cSt.
- When does laminar flow occur in pipes?
- When Re < 2,300. The fluid moves in smooth, parallel layers. Friction factor is simply f = 64/Re regardless of surface roughness.
- Does surface roughness matter in laminar flow?
- No — in laminar flow (Re < 2,300) the friction factor depends only on the Reynolds number, not the pipe roughness.