Engineering

What is the Darcy–Weisbach equation?

Short answer

The Darcy–Weisbach equation gives the head or pressure lost to friction when fluid flows through a full pipe. Head loss equals the friction factor times length over diameter times velocity squared over twice gravity. It applies to any Newtonian fluid and flow regime. The friction factor depends on the Reynolds number and pipe roughness, and comes from the Colebrook equation or an approximation.

The Darcy–Weisbach equation is the standard way to calculate friction loss in a pipe. It works for water, oil, air at low speed and any other Newtonian fluid, in laminar or turbulent flow, which is why it is preferred over empirical formulas such as Hazen–Williams when the fluid or conditions vary.

What is the formula for head loss in Darcy–Weisbach?

In head form (meters or feet of fluid) and pressure form:

  • h_f = f * (L / D) * (v^2 / (2 * g))
  • ΔP = f * (L / D) * (ρ * v^2 / 2)

Here f is the Darcy friction factor (dimensionless), L the pipe length, D the inside diameter, v the mean velocity, g gravitational acceleration and ρ the fluid density. Use consistent units. The Darcy friction factor is four times the Fanning friction factor used in some chemical engineering texts, so check which one a table or formula gives.

How do I find the friction factor in Darcy–Weisbach?

Everything hard about the equation is in f. It depends on the Reynolds number, Re = ρ * v * D / μ, and the relative roughness ε / D, where ε is the pipe wall roughness.

  • Laminar flow (Re below about 2,000): f = 64 / Re.
  • Turbulent flow: the Colebrook equation, 1 / SQRT(f) = -2 * LOG10(ε / (3.7 * D) + 2.51 / (Re * SQRT(f))). It is implicit in f, so it needs iteration, Goal Seek or a Moody chart, which is a plot of the same relationship.
  • The Swamee–Jain equation is an explicit approximation: f = 0.25 / LOG10(ε / (3.7 * D) + 5.74 / Re^0.9)^2. It is published for Re from 5,000 to 100 million and ε / D from 0.000001 to 0.01, and stays within about 1 percent of Colebrook in that range.
  • Between roughly 2,000 and 4,000 the flow is transitional and no formula is reliable.

How much head loss occurs in 100 m of 100 mm steel pipe?

Water at 20 °C (density 998 kg/m³, viscosity 1.002 mPa·s) flows at 10 L/s through 100 m of 100 mm commercial steel pipe, with roughness taken as 0.045 mm.

Quantity Value
Velocity 1.273 m/s
Reynolds number about 126,800
Relative roughness ε / D 0.00045
f by Colebrook 0.01951
f by Swamee–Jain 0.01960
Head loss h_f 1.61 m
Pressure drop ΔP 15.8 kPa

The head loss is 0.01951 * (100 / 0.1) * (1.273^2 / (2 * 9.81)) = 1.61 m, and multiplying by ρ * g converts it to about 15,780 Pa. The two friction factors differ by under half a percent, which is why Swamee–Jain is common in spreadsheets where an iterative solve is awkward.

How do fittings and valves add to the total head loss?

Valves, bends and entrances add losses of the form h = K * v^2 / (2 * g), where K is a loss coefficient from the fitting's data sheet. A system calculation adds the straight-pipe friction, the fitting losses and any elevation change. Pump selection then compares that total against the pump curve.

When can I use the Darcy–Weisbach equation?

The equation assumes a full pipe, constant diameter between the points considered and incompressible flow. For gases it holds when the pressure drop is small relative to the absolute pressure. For partly full pipes and open channels a different approach, such as Manning's equation, applies.

The pipe pressure drop calculator sheet applies the Darcy–Weisbach method in a workbook with live formulas, so you can check a hand calculation like the one above against it.