Pipe flow and pump selection
Moving a liquid from one tank to another, choosing the pump and checking that it does not cavitate. This topic explains the energy equation written in heads, how friction losses (Reynolds, Darcy–Weisbach, Colebrook and the Moody chart) and fitting losses are computed, how the system and pump curves are built and why the flow that runs is the one where they cross; it ends with power, NPSH and a guide to the «Pipes and pumps» simulator.
Energy per unit weight: heads
A liquid in a pipe carries energy in three forms: by its position (potential), by its pressure (the work it can do by pushing) and by its velocity (kinetic). In hydraulics they are counted per unit weight of liquid, in J/N = m: each term is a head in meters of liquid, and all of them can be drawn above the same datum.
For a stretch with steady flow between a section 1 and a section 2 (a control volume with one inlet and one outlet), the first law says that the energy entering with the liquid, plus the pump work, equals the energy leaving plus what turns into heat. Per unit mass:
Friction turns mechanical energy into internal energy (the liquid warms slightly) and heat: that term is always positive (second law) and is not recovered. Dividing by gives the energy equation in heads, with the head the pump adds and the head loss:
is the friction loss along the pipe and the loss in the fittings («minor» losses). With no pump and no losses it becomes Bernoulli's equation: constant. It holds for steady, incompressible, frictionless flow; in a long pipe it fails, because friction eats meters of head, and it does not apply across pumps or turbines.
Between the surfaces of two large open tanks, and (the level hardly moves). The head the pump must give is then the simulator's formula:
The kinetic energy with which the liquid enters tank (2) is not recovered: it is dissipated in eddies and counted as the exit loss, a fitting with . If at (2) the liquid leaves as a free jet into the air, the term is the same, : it is also written as a fitting with .
Continuity and mean velocity
In steady flow the mass entering through one section leaves through the other: . A liquid is practically incompressible, so the flow rate (m³/s) is the same at every section:
The velocity is not the same across the section: it is zero at the wall (the liquid does not slip) and maximum on the axis. is its mean, the one with . In a pipe of constant diameter does not change along the pipe, and since , half the diameter multiplies the velocity by 4. In water installations 0.5 to 5 m/s is usual. Watch the units: Q in L/s is divided by 1000, and so is D in mm.
Viscosity and the Reynolds number
Viscosity measures how much a fluid resists deforming: in layered flow, the shear stress is . is the dynamic viscosity (Pa·s; 1 cP = 1 mPa·s = 0.001 Pa·s) and the kinematic one (m²/s). In liquids falls sharply on heating: for water, from 1.309 mPa·s at 10 °C to 0.3546 mPa·s at 80 °C.
The Reynolds number compares inertial forces, which amplify disturbances, with viscous forces, which damp them. With the scale for inertia and for the viscous stress:
| Regime | Re | Friction factor | Friction loss |
|---|---|---|---|
| Laminar: orderly layers | < 2300 | , exact; independent of roughness | |
| Transition | 2300 – 4000 | Uncertain: the flow alternates between both | — |
| Turbulent: eddies | > 4000 | : Colebrook or the Moody chart | to |
Friction loss: Darcy–Weisbach
Take a cylinder of liquid of diameter and length in a stretch where the velocity profile no longer changes (fully developed flow). It does not accelerate, so the forces balance: the pressure difference pushes it, its weight holds it back if the pipe rises, and the wall holds it back with the shear stress on its side surface :
The friction loss is exactly the drop of the hydraulic grade line (the velocity is the same at both sections). What is missing is , which depends on , , , and the roughness ; dimensional analysis groups them as . Calling the friction factor gives the Darcy–Weisbach equation:
It holds in any regime: all the physics is in . With it becomes : the diameter enters to the fifth power, and 10% less diameter gives about times more loss.
Laminar flow: Hagen–Poiseuille and f = 64/Re
In laminar flow everything can be solved. The same balance on a cylinder of radius gives (with the drop of ); with the profile integrates to a parabola, and integrating it over the section gives the flow:
So in laminar flow exactly, with no roughness: the asperities sit inside slowly moving liquid near the wall. The loss is proportional to and to : twice the flow, twice the loss (in turbulent flow it would be about 3.5 times). The simulator computes laminar with the Hagen–Poiseuille form, which is the same calculation.
Roughness, Colebrook and the Moody chart
In turbulent flow there are eddies throughout the pipe except in a very thin viscous sublayer next to the wall, which thins as Re grows. If the wall asperities (of mean height , the absolute roughness) stay inside it, the pipe behaves as smooth and depends only on Re; if they stick out well beyond it, the flow is fully rough and depends only on the relative roughness . In between, both matter. The Colebrook equation joins the two limits:
With it is the smooth-pipe law; with , the fully rough law, , with no Re. It is a correlation fitted to tests on commercial pipes: its uncertainty is larger than the difference from the explicit formulas below.
How to solve it: fixed-point iteration
appears on both sides. With , repeat until stops changing. It always converges, and fast, because the right side changes little with (its derivative is much less than 1). With the data of example 1 (, ) and starting from :
| 0 | 7.0711 | 0.020000 |
| 1 | 7.2324 | 0.019117 |
| 2 | 7.2135 | 0.019218 |
| 3 | 7.2157 | 0.019206 |
| 4 | 7.2154 | 0.019208 |
| … converges | 7.21546 | 0.019208 |
Three or four rounds give four digits. The simulator starts from the explicit Swamee–Jain formula, goes on to machine precision, and compares the result with Haaland's (within 1–2% of Colebrook in their range):
The Moody chart
It is the plot of against Re, on logarithmic scales, with a Colebrook curve for each and the laminar line . To use it: compute Re and , go up from Re to the curve of that roughness (interpolating by eye between two curves) and read on the left. To the right of the dashed line the curves are flat: fully rough flow.
Minor losses: the coefficient K
Entrances, elbows, valves, tees, reducers and the exit turn the flow, separate it from the wall and create eddies that dissipate energy. They are modeled with a loss coefficient that multiplies the velocity head of the pipe; with identical fittings of each kind:
A K that can be derived: the sudden expansion
When a pipe of area opens into one of area , the jet spreads with eddies. With the momentum equation (assuming the upstream pressure acts on the annular face of the expansion) and the energy equation, the Borda–Carnot loss follows:
If the pipe discharges into a large tank, the whole velocity head is lost: that is why the exit has , with no table. The other values are measured: they depend on the exact geometry (elbow radius, valve type and how open it is, flanged or threaded, size) and change from one manufacturer and one book to another.
Equivalent length. A fitting loses the same as meters of straight pipe. In example 4, amounts to m against 200 m of pipe: minor losses are «minor» when the pipe is long ( against ). In short runs with many fittings they can dominate.
The system curve
The head the installation needs depends on the flow. Combining the energy equation with Darcy–Weisbach and :
is the static head: it must be overcome even if the liquid does not move. The rest is losses, almost a parabola : in fully rough flow is constant and the parabola is exact; otherwise falls slightly as Re grows and the curve rises somewhat less than (in laminar flow friction is linear in ). The simulator recomputes at every flow, so its curve is the exact one.
What moves it: a higher or pressurized destination tank shifts it all up; a more closed valve, or a longer, rougher or narrower pipe, makes it steeper.
The pump curve
A centrifugal pump gives more head the less flow passes: its curve starts at the shutoff head () and falls. The manufacturer gives it in the catalog, with the efficiency and the required NPSH. To work with it, a parabola is fitted to the points read, by least squares: the , , that minimize . Setting the three partial derivatives to zero gives the normal equations:
With three points the parabola passes exactly through them; with more, it is the closest one; with two, the simulator takes (). The efficiency is fitted the same way (with a single flow carrying η, it is taken as constant). Beyond the last point the curve is followed only while it falls and stays above , and an operating point there is an extrapolation.
Pumps in series and in parallel
Two pumps in series carry the same flow and add heads: . In parallel they share the head and add flows: . To study them in the simulator, type the points of the combined curve: with two identical pumps, in series double each H; in parallel, each Q.
The operating point
The pump gives and the installation asks for . The flow that really runs is the one that makes them equal, the operating point. It is stable: with less flow the pump would give more head than needed and the liquid would speed up; with more, the head would fall short and it would slow down. The pump does not «give 20 L/s»: the crossing decides the flow.
The simulator looks for the crossing by stepping the flow in 400 intervals up to the end of the pump curve and refining it by bisection; with several crossings it takes the one with the largest flow (the stable one) and says so. If at zero flow the pump gives less head than the static head, there is no flow and the card says «none».
How to change the operating point. By closing a valve: more , the system curve steepens and the flow falls, but the energy is lost in the valve (example 6). Or by changing the pump speed: with the same impeller, the affinity laws say , and . To see another speed in the simulator, multiply each catalog Q by and each H by .
Gravity flow: negative H
If the outlet is lower (or at a lower pressure), : at small flows the installation «asks» for a negative head, because gravity pushes more than the losses use. The liquid speeds up until the losses eat the whole drop: the gravity flow is the one that makes :
Since depends on through Re, iterate: assume (the fully rough value is a good start), solve for , compute Re and a new , and repeat (example 3). The simulator, with no pump, finds the same flow by bisection on .
Hydraulic power and efficiency
Every second a weight (N/s) of liquid passes and the pump gives it joules per newton: the hydraulic power is the product. The motor delivers more to the shaft, because the pump loses to fluid friction in the impeller, internal leakage and mechanical friction; the ratio is the efficiency:
The efficiency has a maximum, the best efficiency point; a good selection puts the operating point near it, and the motor is chosen somewhat larger than the shaft power. In example 4, (Q in L/s) is largest where : L/s, with η = 75.4%.
Cavitation and NPSH
At the impeller inlet the pressure is the lowest in the installation. If it reaches the liquid's vapor pressure , the liquid boils right there; the bubbles travel to higher pressure and collapse suddenly. This is cavitation: a gravel-like noise, vibration, loss of head and efficiency and, over time, a pitted impeller.
Write the energy equation from the surface of the suction tank (absolute pressure , level above the pump axis, ) to the pump inlet (e), and define the NPSH (net positive suction head) as the total head at the inlet above the vapor head:
is absolute (101.325 kPa at sea level with an open tank, less at altitude), is negative if the liquid is below the pump and is the loss in the suction pipe at the operating flow. The manufacturer gives the required NPSH, which grows with the flow. There is no cavitation if , with the margin your course or the manufacturer asks for.
To gain NPSH: raise the level or lower the pump (), shorten and widen the suction pipe and remove fittings from it (), cool the liquid () or pressurize the tank. Never throttle the flow with a valve on the suction side.
Temperature and fluid: what changes
The simulator takes , and from the site's tables (the same as «Thermodynamic tables»: each fluid's reference equation of state and its viscosity model), at 1 atm and the temperature you type. Water:
| T (°C) | ρ (kg/m³) | μ (mPa·s) | ν (10⁻⁶ m²/s) | (kPa) | (m) |
|---|---|---|---|---|---|
| 10 | 999.7 | 1.309 | 1.310 | 1.228 | 0.125 |
| 20 | 998.2 | 1.005 | 1.007 | 2.339 | 0.239 |
| 40 | 992.2 | 0.6547 | 0.6598 | 7.385 | 0.759 |
| 60 | 983.2 | 0.4671 | 0.4751 | 19.95 | 2.069 |
| 80 | 971.8 | 0.3546 | 0.3649 | 47.41 | 4.975 |
Heating water from 10 to 80 °C, falls only 2.8%, drops below a third and is multiplied by almost 40. With less viscosity Re rises and falls (except in fully rough flow): the pipe of example 1 at 80 °C has Re = 209 400, and m, against 6.858 m at 20 °C. In laminar flow the effect is direct, . And the available NPSH drops with temperature, because grows:
| Liquid at 20 °C | ρ (kg/m³) | μ (mPa·s) | ν (10⁻⁶ m²/s) | (kPa) |
|---|---|---|---|---|
| Ethanol | 789.4 | 1.194 | 1.513 | 5.876 |
| Methanol | 791.0 | 0.5855 | 0.7402 | 13.03 |
| Toluene | 866.9 | 0.5875 | 0.6777 | 2.919 |
| n-Hexane | 659.4 | 0.3132 | 0.4750 | 16.16 |
With «Other liquid (ρ and μ)» you type the density and viscosity of any liquid (an oil, glycerin, a mixture). Since there is no vapor pressure, NPSH is disabled.
Using the simulator
In Engineering → Pipes and pumps you solve one pipeline of constant diameter between two points, (1) and (2), usually the surfaces of two tanks. The data go on the left, in this order:
- Fluid: «Liquid» (Water, Ethanol, Methanol, Toluene, n-Hexane or «Other liquid (ρ and μ)») and its «Temperature» in °C; with «Other liquid», «Density ρ» in kg/m³ and «Viscosity μ» in Pa·s.
- Flow and pipe: «Flow rate Q» and its «Flow unit» (L/s, m³/s, m³/h or L/min; changing it also converts the pump's Q values), «Inside diameter D» and «Roughness ε» in mm, and «Length L» in m.
- Between the two points: «Elevation z₂ − z₁» in m (negative if (2) is lower) and «Pressure p₂ − p₁» in kPa (0 between open tanks).
- Minor losses: one row per kind of fitting with its name, «K» and «Qty»; «+ Fitting» adds a row and × removes it. The title shows the sum ΣK. Do not forget the entrance and the exit (K = 1).
- Pump: with «Pump curve (operating point)» checked, one row per catalog point: Q (in the flow unit), H in m and η in % (optional, for the shaft power); «+ Point» adds one. Unchecked, there is no pump.
- NPSH: «Compute the available NPSH» opens «Pressure at the tank» (kPa, absolute), «Level above the pump» (m, negative if the liquid is below), «Suction losses» (m) and «NPSH required» (m, optional).
- Examples: «Load an example» brings the tool's cases; examples 1 to 5 of this topic are those cases.
On the right come the result cards:
| Card | What it says |
|---|---|
| Mean velocity | and the velocity head . |
| Reynolds number | Re and the regime: laminar (Re < 2300), transition or turbulent. |
| Friction factor f | and where it comes from: 64/Re, or Colebrook with . |
| Friction loss · Minor losses | with the pressure drop ; with ΣK. |
| System head at Q | at the flow typed and its hydraulic power; if negative, «head to spare: it flows by gravity alone». |
| Operating point · Pump power | With a pump: Q and H at the crossing, η, and the shaft power (the hydraulic one if there is no η). |
| Gravity flow | With no pump and a negative static head: the flow that makes H = 0, with V and Re. |
| NPSH available | and, if you typed it, the required one. |
Below come the warnings (⚠) and the Curves and Moody chart card: on the left, the system curve (blue) and the pump curve (orange) with the catalog points, the point at your flow and the operating point (red, with its flow and head), or the gravity flow on H = 0; on the right, the Moody chart computed with Colebrook, with the curve of your ε/D highlighted and the (Re, f) point of your pipe. The axes grow so that the points stay inside. Underneath, the source of the liquid properties is cited.
Step by step repeats the calculations with the numbers substituted: properties, V and Re, , and , the energy equation, the fitted pump curve and the operating point, the gravity flow and the NPSH. The Detailed solution (PDF) button builds a document to study from: the problem statement with a sketch of the installation, the key idea and the warnings, and every step explained, with the Colebrook iteration table and why it converges, the check with Swamee–Jain and Haaland (or with Hagen–Poiseuille in laminar flow), the fittings table, the least-squares fit with its normal equations, the operating point, the power, the gravity flow and the NPSH.
The warnings and what to do
| Warning (summarized) | What it means and what to do |
|---|---|
| «Re = … is in the transition zone (2300–4000)» | is uncertain; Colebrook is used. Take the result as approximate. |
| «ε/D = … is larger than on the Moody chart (up to 0.05)» | Almost always ε or D in another unit: both go in mm. |
| «V = … m/s is very high» or «almost zero» | Outside the usual range (0.5–5 m/s): check the flow, its unit and the diameter. |
| Unusable pump points (negative Q or H, a single flow, H rising) | «The operating point is not computed» until they are fixed. |
| «The operating point falls beyond the pump curve points» | It is an extrapolation: add catalog points at higher flow. |
| «The pump curve crosses the system curve at N points» | The one with the largest flow, the stable one, is taken. |
| «NPSH available (…) below the required (…): the pump will cavitate» (or equal, or ≤ 0) | Raise the level, lower the pump, reduce the suction losses or cool the liquid. |
| With «Other liquid»: ρ outside 50–25 000 kg/m³ or μ outside 10⁻⁶–10⁵ Pa·s | Most likely a unit: g/cm³ (× 1000) or cP (× 0.001). |
- The flow must be positive: the liquid goes from (1) to (2). For the opposite direction, swap the two points (change the sign of z₂ − z₁ and p₂ − p₁).
- ε ≥ 0 (0 = smooth pipe) and smaller than D/2; K ≥ 0 and the quantities, whole numbers.
- The temperature must keep the liquid liquid at 1 atm: if it would freeze or boil, the message gives the limit.
- An empty or impossible field gives a message saying what is missing, and nothing is computed until it is fixed. ↶ and ↷ in the header undo and redo the changes.
Common mistakes
- Putting D in mm or Q in L/s into Re or Darcy–Weisbach: everything in m and m³/s.
- Reading the Moody chart with instead of , or using the Fanning factor (four times smaller).
- Using in turbulent flow, or thinking roughness matters in laminar flow.
- Forgetting the exit loss (), or counting it twice: as a fitting and also as .
- Choosing the pump by the flow asked for without crossing the curves: the real flow is set by the operating point.
- Computing the NPSH with gauge pressure (it is absolute), without subtracting , or at the flow asked for instead of the operating flow.
- Assuming in laminar flow (it is ) or with a fixed when the flow changes a lot.
Worked examples
Example 1Head loss in a smooth pipe
Solution
- Properties at 20 °C (the site's tables): kg/m³ and Pa·s.
- m², m/s and m.
- : turbulent. .
- Colebrook by iteration from (): , then 7.2135, 7.2157, 7.2154… (table in the Colebrook section): .
- m and kPa. The power friction uses is kW.
- With 6 L/s, Re doubles and falls to 0.01672: m, 3.48 times more (not 4, because falls). At this Re the 0.0015 mm asperities are almost hidden in the viscous sublayer: with it would give .
Solve it in Simuveliq
- In Engineering → Pipes and pumps, «Load an example» → Friction only: 150 m of smooth 50 mm pipe, 3 L/s.
- The cards give «Mean velocity» 1.528 m/s, «Reynolds number» 75890 turbulent, «Friction factor f» 0.01921 and «Friction loss» 6.858 m with Δp = 67.14 kPa. Step 3 says Colebrook converges in 14 iterations from Swamee–Jain, and that this one gives −0.59% and Haaland −1.1%.
- Change «Flow rate Q» to 6: the loss becomes 23.88 m. On the Moody chart the red point moves right, along the ε/D = 3·10⁻⁵ curve.
Example 2Oil in laminar flow
Solution
- m² and m/s.
- : laminar.
- , with no roughness. m.
- Check with Hagen–Poiseuille: m. kPa.
- With 0.6 L/s, Re = 275 (still laminar) and m: exactly twice. Roughness changes nothing.
Solve it in Simuveliq
- «Load an example» → Oil (ρ = 900, μ = 0.1 Pa·s): laminar flow. «Liquid» is «Other liquid (ρ and μ)», with «Density ρ» 900 and «Viscosity μ» 0.1.
- «Reynolds number» 137.5 «laminar (Re < 2300)», «Friction factor f» 0.4654 «64/Re» and «Friction loss» 10.64 m with Δp = 93.87 kPa. The PDF solution checks with Hagen–Poiseuille.
- Change «Roughness ε»: nothing changes. Change «Flow rate Q» to 0.6: 21.27 m.
Example 3Gravity flow between two reservoirs
Solution
- Energy equation between the surfaces (no pump, , ): , with . So .
- At 15 °C: kg/m³, Pa·s, m²/s; .
- Round 0, with the fully rough : , . Then m/s, and Colebrook gives .
- Round 1: m/s, , . Round 2: m/s, , and no longer changes in four digits.
- m³/s. Check: m and m add up to the 20 m.
Solve it in Simuveliq
- «Load an example» → By gravity: what flow does a 20 m drop give? «Elevation z₂ − z₁» is −20 (point 2 is lower) and the pump is unchecked.
- The «Gravity flow» card gives 7.499 L/s with V = 1.492 m/s · Re = 104200. The flow typed (5 L/s) is only a point on the curve: «System head at 5 L/s» −10.94 m, «head to spare: it flows by gravity alone».
- In the chart, the system curve starts at −20 m and the red point is where it crosses H = 0.
Example 4Operating point of a pump
Solution
- At 20 L/s: m/s, m, , and Colebrook gives .
- m; and m. (a) m (hydraulic power 5.632 kW).
- Pump curve (Q in L/s): , , , , , , , . The normal equations give , , .
- System approximated as with : , that is , L/s. Recomputing at that flow (what the simulator does): L/s and m.
- Efficiency: with three points, , and = 75.2%. kW and kW.
Solve it in Simuveliq
- «Load an example» → Pump water 15 m up through 200 m of 100 mm pipe. «Minor losses» has the four rows (ΣK = 5.3) and «Pump» the four points.
- «System head at 20 L/s» 28.77 m (hydraulic power 5.632 kW), «Operating point» 20.47 L/s with H = 29.4 m · η = 75.2% and «Pump power» 7.837 kW shaft (hydraulic 5.89 kW). Step 6 writes the fitted curve 39.95 − 0.055·Q − 0.0225·Q²; the PDF, the normal equations with these sums.
Example 5Does the pump cavitate? Available NPSH
Solution
- At 60 °C (the site's tables): kg/m³ and kPa.
- m and m.
- m, less than 4 m: it cavitates.
- At 20 °C: kg/m³, kPa, so m: no cavitation, with a 1.5 m margin. Temperature alone (the vapor head goes from 0.239 to 2.069 m) makes the difference.
- At 60 °C it takes m: the level can be at most 3.84 m below the pump, with no margin; with a 0.5 m margin, 3.34 m.
Solve it in Simuveliq
- «Load an example» → Pump lifting from a sump 4 m below: NPSH. In the NPSH panel: «Pressure at the tank» 101.325, «Level above the pump» −4, «Suction losses» 0.6 and «NPSH required» 4.
- The «NPSH available» card gives 3.84 m (required 4 m) and the warning «NPSH available (3.84 m) below the required (4 m): the pump will cavitate» appears. The last step has the calculation with p_v = 19.95 kPa. The operating point of this installation is 26.11 L/s.
- Change «Temperature» to 20: 5.512 m and the warning goes away. Go back to 60 and set «Level above the pump» to −3.84: the available NPSH becomes 4 m, just the required one.
Example 6Regulating the flow with a valve
Solution
- At 20 L/s the pump gives m and the system without the valve needs 28.77 m.
- The valve must use up the difference, m , with m: .
- With , the new operating point is 20 L/s at 29.85 m, where = 75%. kW, against 7.837 kW without the valve.
- The valve loses W, 2.7% of the shaft power: throttling is simple but wastes energy; slowing the pump down would give the same flow without that loss.
Solve it in Simuveliq
- The button opens example 4 with one more row in «Minor losses»: «Throttling valve», K = 3.28 (ΣK = 8.58).
- «Operating point» 20 L/s with H = 29.85 m · η = 75% and «Pump power» 7.792 kW shaft. In the chart the system curve is steeper and the red point falls at 20 L/s.
- Try other K values in that row to see the flow fall; with 0 you are back at 20.47 L/s.