The Energy Equation

Real flow loses energy to friction, and a pump is the only way to buy it back.

Last time, two gauges on a level main disagreed because of a reducer. Here are two more, a mile apart on a level 8 in. main with no reducer at all. Same pipe, same flow, same elevation. The upstream gauge reads 60 psi, and the downstream one reads 52 psi.

Bernoulli's equation says they should agree. The pipe never changes diameter, so the water can't change speed, and it never changes height. Yet 8 psi has gone missing, and every water main in the country does the same thing. Where did it go?

The toll friction takes

Bernoulli's equation assumed no friction, and real water has plenty. It drags along the pipe wall and churns against itself in eddies, and that work turns into heat. The Hook's missing 8 psi is 8(144)/62.4=18.58(144)/62.4 = 18.5 ft of head, enough to warm the water by about two-hundredths of a degree Fahrenheit. The energy isn't destroyed, but it never comes back as pressure, speed, or height.

So the books need one more entry. The Handbook's Energy Equation, for steady incompressible flow, puts it on the downstream side:

P1γ+z1+v122g=P2γ+z2+v222g+hf\frac{P_1}{\gamma} + z_1 + \frac{v_1^2}{2g} = \frac{P_2}{\gamma} + z_2 + \frac{v_2^2}{2g} + h_f

The Handbook calls hfh_f "the head loss, considered a friction effect": all the head the water gives up between the sections. It sits with section 2 because the water paid it on the way: what arrives plus what was spent equals what set out. Pipe Friction computes hfh_f for a length of pipe. Here, a problem states it.

A loss is never negative, so unless a pump stands between them, total head always falls in the direction of flow. Run that backward and it tells you which way the water moves: from higher total head to lower, and the difference is hfh_f. Pressure alone doesn't decide it. Water draining down a vertical pipe usually moves toward higher pressure, because it gives up elevation head faster than friction takes it.

Now the Hook. In a level pipe of one diameter, continuity fixes the velocity head and the elevation head never changes, so the whole loss comes out of the pressure head. The Handbook gives that case on its own: P1−P2=γhfP_1 - P_2 = \gamma h_f. A row of standpipes, which the Handbook calls piezometers, shows it: the water in each stands a little lower than in the one before.

flow 1 2 3 P1/γ hf energy line v2/2g HGL
Standpipes along a level pipe of one diameter

The line through the water levels is the hydraulic grade line (HGL). It marks P/γ+zP/\gamma + z at every point. One velocity head above it runs the energy line, the total head, which the Handbook also calls the total head line and many problems call the energy grade line (EGL). Here both slope down at the same rate, and each drops by the head loss from one standpipe to the next.

Checkpoint
1 of 2

A pipe carries 0.12 m³/s of water from section 1, on a 300 mm pipe at elevation 20 m where the pressure is 400 kPa, to section 2, on a 200 mm pipe at elevation 26 m where the pressure is 300 kPa. What is the head loss between the sections?

m

Reducers and risers, with a loss

The reducer problem from Continuity and Bernoulli's Equation comes back with one more term. Pick two points, find each velocity head by continuity, turn the known pressure into a head, and solve for the other. Going downstream:

P2γ=P1γ+(z1−z2)+v12−v222g−hf\frac{P_2}{\gamma} = \frac{P_1}{\gamma} + (z_1 - z_2) + \frac{v_1^2 - v_2^2}{2g} - h_f

The loss always subtracts here: it's head the water arrives without. Often, though, the known pressure is the downstream one. A fixture at the top of a riser needs some minimum pressure, and the question is what the bottom has to supply. Solve the same equation for the other end:

P1γ=P2γ+(z2−z1)+v22−v122g+hf\frac{P_1}{\gamma} = \frac{P_2}{\gamma} + (z_2 - z_1) + \frac{v_2^2 - v_1^2}{2g} + h_f

Read it as a bill. The bottom pays for the pressure the top needs, the climb, any speed-up, and the loss. A sloping line works the same way, since only the rise enters the equation, not the slope.

Worked Example Pressure at the base of a riser
1 of 4

A vertical riser carries 0.20 cfs of water up 60 ft, from a 3 in. pipe at its base to a 2 in. pipe at its top. The fixture at the top needs 20 psi, and the head loss in the riser is 8 ft. What pressure is needed at the base?

A reservoir draining through a pipe

A favorite exam setup: a reservoir drains through a pipe, maybe ending in a nozzle, into the open air. Pick point 1 on the reservoir's surface and point 2 in the jet just outside the outlet. Both are open to the atmosphere, so both gauge pressures are zero. The surface drops so slowly that its velocity head is negligible. What's left is height turning into speed, minus the toll:

z1−z2=v222g+hf⇒v2=2g (z1−z2−hf)z_1 - z_2 = \frac{v_2^2}{2g} + h_f \quad\Rightarrow\quad v_2 = \sqrt{2g\,(z_1 - z_2 - h_f)}
z1 − z2 1 P1 = 0, v1 ≈ 0 2 v2 P2 = 0
Two points for a reservoir draining to the air

With no loss, this is the ideal 2gh\sqrt{2gh} of Tanks, Siphons, and Weirs: the water leaves as fast as if it had fallen from the surface. Every foot of loss is a foot it doesn't get to fall. The velocity is the jet's, so the flow is that velocity times the outlet's area, which is the nozzle's if there is one.

Checkpoint

A reservoir drains through a 6 in. pipe that ends in a 2 in. nozzle, discharging to the air 30 ft below the water surface. The total head loss is 6 ft. What is the flow rate?

cfs

Pumps add head, turbines take it

Friction only ever takes head away. A pump is the one thing in a pipeline that puts it back: its impeller does work on the water, raising the total head by the pump head, hph_p. A turbine runs the other way. The water does work on its blades, and it takes out the turbine head, hth_t. Both go into the energy equation:

P1γ+z1+v122g+hp=P2γ+z2+v222g+ht+hf\frac{P_1}{\gamma} + z_1 + \frac{v_1^2}{2g} + h_p = \frac{P_2}{\gamma} + z_2 + \frac{v_2^2}{2g} + h_t + h_f

The left side is what the water has to spend, and the right side is where it goes. The Handbook prints its energy equation only for flow "with no energy input (e.g., no pump)," so these two terms are yours to add, and a machine the system lacks gets a zero.

Between two reservoir surfaces, the pressures are atmospheric and the velocities negligible, so only the elevations, the machine, and the loss remain. A pump lifting water to a higher reservoir has to supply the lift and pay every toll on the way:

hp=(z2−z1)+hfh_p = (z_2 - z_1) + h_f

A turbine below a dam gets what's left of the drop after the tolls: ht=(z1−z2)−hfh_t = (z_1 - z_2) - h_f. The pump head is what Pump Head and Power turns into a power.

Two more questions move point 2. For the pressure at a point on the discharge line, put point 2 there and count only the loss between the reservoir and that point. For the highest elevation the pump can deliver the flow to, let the water arrive at an open surface, where the pressure and velocity heads are zero, and solve for z2=z1+hp−hfz_2 = z_1 + h_p - h_f.

Worked Example Pump head, then the discharge pressure
1 of 4

A pump lifts 2.0 cfs of water through an 8 in. pipeline from a reservoir with its surface at elevation 50 ft to one with its surface at 180 ft. The total head loss is 22 ft, of which 2 ft occurs before the pump's discharge flange, at elevation 40 ft. Find the pump head and the pressure at the discharge flange.

Losses at fittings

Not all the loss happens along the pipe. Every elbow, valve, and tee makes the water turn or squeeze, and the eddies it sheds churn energy into heat. The faster the water, the harder it churns, so the loss grows with the velocity head. The Handbook's section on Minor Losses in Pipe Fittings, Contractions, and Expansions writes it as

hf,fitting=C v22gh_{f,\text{fitting}} = C\,\frac{v^2}{2g}

where CC, which many problems write KK, is the number of velocity heads the fitting costs. The Handbook adds each hf,fittingh_{f,\text{fitting}} to the energy equation beside hfh_f, so a line's total loss is its friction plus every fitting's share. Problems usually state that total as one head loss, and this Lesson's hfh_f means the total. The Handbook says a specific fitting's CC "will be provided in the problem statement," but it does print the values where a pipe meets a reservoir:

v Sharp exit, C = 1.0 v Protruding entrance, C = 0.8 v Sharp entrance, C = 0.5 v Round entrance, C = 0.1
Loss coefficients at a pipe's exit and entrances

Adapted from the FE Reference Handbook, Minor Losses in Pipe Fittings, Contractions, and Expansions

Water swept around a sharp corner pulls away from the wall and has to spread out again, wasting half a velocity head. A rounded bell guides it in, and a pipe poking into the reservoir is worst, since water reaches its lip from every side, even from behind.

At an exit, the water carries its whole velocity head into the reservoir, and the still water churns all of it away, so C=1.0C = 1.0. Count that energy once. With point 2 on the receiving reservoir's surface, where v=0v = 0, the exit loss carries it. With point 2 in a free jet, there's no reservoir to churn it, and it stays in the equation as v22/2gv_2^2/2g. Never both.

When fittings are the only losses, as in a short pipe of one diameter between two reservoirs, the surfaces again drop the pressures and velocities. The difference in level pays for every coefficient:

z1−z2=(∑C)v22gz_1 - z_2 = \left(\sum C\right)\frac{v^2}{2g}
Checkpoint
1 of 2

A 6 in. line carries 1.2 cfs of water out of a reservoir through a sharp entrance, then through two elbows with C=0.3C = 0.3 each and an open gate valve with C=0.2C = 0.2, and into a second reservoir. What is the total minor loss?

ft

The same formula runs backward to measure a coefficient. Put gauges on either side of a valve in a level pipe of one diameter. The elevation and velocity heads match, so the whole pressure drop is the valve's loss:

ΔPγ=C v22g\frac{\Delta P}{\gamma} = C\,\frac{v^2}{2g}

A fitting's CC stays put as the flow changes, so its pressure drop follows the velocity head, which goes as the square of the velocity, and so of the flow.

Checkpoint
1 of 2

Gauges on either side of a globe valve in a level 100 mm water line read 18 kPa apart when the line carries 15 L/s. What is the valve's loss coefficient?

The grade lines

The two lines from the standpipe picture can now map a whole system: the HGL at P/γ+zP/\gamma + z, and the energy line one velocity head above it. Along a pipeline they follow a few rules:

  • Along a pipe, both slope down with friction, parallel where the diameter doesn't change.
  • At a fitting, both step down by its loss. At a pump, both jump up by hph_p, and at a turbine they drop by hth_t.
  • At an entrance, the energy line starts at the reservoir's surface and steps down by the entrance loss. At an exit, it drops by the whole velocity head onto the receiving surface, which the HGL meets.
  • The gap between them is the velocity head, so it widens in a smaller pipe.
pump valve P < 0 hp v2/2g P/γ energy line HGL entrance loss valve loss exit loss
Grade lines for a pump lifting water between two reservoirs

The picture's best trick is showing pressure. The vertical distance from the pipe up to the HGL is the pressure head there. Where the pipe climbs above the HGL, P/γ+zP/\gamma + z is less than zz, so the pressure is negative: the water is under suction. In the figure, the pump sits above the lower reservoir's surface, so the last stretch of its suction line runs above the HGL.

valve A B C energy line HGL
A gravity line between two reservoirs
Checkpoint

The figure shows a gravity line of one diameter between two reservoirs, with its hydraulic grade line and energy line. Which statements are true?

A.
The pressure head at C is the vertical distance from C up to the energy line.
B.
The pressure at B is below atmospheric.
C.
The gap between the two lines at A is the head lost between the upper reservoir and A.
D.
At the valve, both lines step down by the same amount.
E.
The pressure is highest at B, the highest point on the line.

Choosing the form

Every problem in this Lesson used one equation, trimmed to fit. Pick two points where you know the most, such as free surfaces, jets, and gauges, write the full equation, and strike whatever is zero. With losses including any entrance and exit, the usual systems trim to these:

Working forms of the energy equation
SystemTwo pointsWhat remains
Level pipe of one diameterTwo gaugesP1−P2=γhfP_1 - P_2 = \gamma h_f
Reducer, expansion, or riserTwo sectionsEvery term, with hfh_f
Reservoir draining to the airSurface, jetz1−z2=v22/2g+hfz_1 - z_2 = v_2^2/2g + h_f
Gravity flow between reservoirsBoth surfacesz1−z2=hfz_1 - z_2 = h_f
Pump between reservoirsBoth surfaceshp=z2−z1+hfh_p = z_2 - z_1 + h_f
Turbine between reservoirsBoth surfacesht=z1−z2−hfh_t = z_1 - z_2 - h_f
Checkpoint
1 of 2

Water flows through a long, level pipe of one diameter. Gauges 500 ft apart read 62 psi and 57 psi. Which statement is true?

A.
The velocity head falls by 11.5 ft between the gauges, as friction slows the water.
B.
The head loss is 5 ft, and it comes out of the pressure head.
C.
The head loss is 11.5 ft, shared between the pressure and velocity heads.
D.
The head loss is 11.5 ft, and all of it comes out of the pressure head.

Recap

  • Real flow loses head, and the loss goes on the downstream side: P1/γ+z1+v12/2g=P2/γ+z2+v22/2g+hfP_1/\gamma + z_1 + v_1^2/2g = P_2/\gamma + z_2 + v_2^2/2g + h_f. Water moves from higher total head to lower, whatever the pressures say.
  • In a level pipe of one diameter, only the pressure head falls: P1−P2=γhfP_1 - P_2 = \gamma h_f, at 2.31 ft of water per psi.
  • A pump adds hph_p on the upstream side, and a turbine's hth_t goes downstream with the losses. Between reservoir surfaces, hp=z2−z1+hfh_p = z_2 - z_1 + h_f.
  • Each fitting costs C v2/2gC\,v^2/2g: 0.5 for a sharp entrance, 0.8 protruding, 0.1 round, and 1.0 for an exit, whose velocity head counts only once. A fitting's pressure drop goes as the flow squared.
  • The HGL, P/γ+zP/\gamma + z, is the piezometer level, with the energy line one velocity head above. Both fall with friction and at fittings and jump at a pump. Where the pipe rises above the HGL, the pressure is negative.