Fluid dynamics · Guide

Pipe-flow calculations: a step-by-step workflow

Calculate pipe velocity, Reynolds number, friction and fitting losses in order. Include elevation and pressure boundaries in a transparent worked example.

A pipe-flow calculation is a sequence: define the fluid state, convert the flow rate, calculate velocity, identify the regime, obtain a matching friction factor, then balance energy between explicit endpoints. Starting with a friction equation before establishing these inputs makes unit and model errors harder to notice.

Establish state and geometry

Use actual internal diameter, not nominal pipe size. Record straight lengths, fittings, changes of diameter and elevations. For a liquid treated as incompressible, take density and viscosity at a representative temperature. A gas with significant pressure change may need a compressible model rather than a constant-density pipe estimate.

Convert the volume flow to m³/s before using V = 4Q/(πD²). Then compute Re = ρVD/μ = VD/ν. For fully developed laminar flow in a circular pipe, the Darcy friction factor is 64/Re. Transition conditions and developing flow need care; turbulent flow requires a correlation or chart using Reynolds number and roughness.

Keep friction-factor conventions explicit

The Darcy-Weisbach pressure-loss expression is:

Δpstraight = fD (L/D) ρV²/2.

The corresponding head loss is hL = fD (L/D) V²/(2g). A Fanning factor is one quarter of the Darcy factor, so entering it into this expression underpredicts loss by four.

Fittings can be represented by Δpfittings = ΣK ρV²/2, provided each coefficient uses the indicated reference velocity. Do not apply one velocity to every component in a system with several diameters.

The DOE fluid-flow handbook describes both straight-pipe friction and component losses, including equivalent-length representations.

Original system example

Assume Q = 0.002 m³/s, D = 0.040 m, L = 15 m, ρ = 1,000 kg/m³ and μ = 0.001 Pa·s. Mean velocity is 1.592 m/s and Reynolds number is about 63,700.

Assume a verified Darcy factor of 0.024 and a combined K of 3.0 at this diameter. The velocity-pressure term is 1,267 Pa. Straight-pipe loss is 0.024 × 375 × 1267 = 11.4 kPa. Fitting loss is 3.80 kPa. Total dissipative loss is 15.2 kPa, equivalent to about 1.55 m of this liquid.

If two large open reservoirs differ in elevation by 4 m, their surface velocities are negligible and their surface pressures are equal. Required pump head at this assumed flow is then approximately 4 + 1.55 = 5.55 m. It is a system requirement, not a prediction of the flow a particular pump will deliver. The actual operating point requires the pump curve.

Check sensitivity and missing conditions

Diameter enters through both velocity and length-to-diameter ratio, so a modest diameter error can strongly affect loss. Roughness, partially closed valves and fluid temperature also matter. A system with unknown flow usually requires iteration because the friction factor depends on Reynolds number.

Use the Darcy-Weisbach tool for a specified case. Use Poiseuille's law only for its laminar circular-tube assumptions. Include entrance effects, cavitation and transients separately when those phenomena are relevant.

Sources & further reading