All pipes carrying fluids experience lossesÂ
of pressure caused by friction and turbulence  of the flow. It affects seemingly simpleÂ
things like the plumbing in your house  all the way up to the design of massive, wayÂ
more complex, long-distance pipelines. I’ve  talked about many of the challenges engineersÂ
face in designing piped systems, including  water hammer, air entrainment, and thrust forces.Â
But, I’ve never talked about the factors affecting  how much fluid actually flows through a pipeÂ
and the pressures at which that occurs. So,  today we’re going to have a little fun, testÂ
out some different configurations of piping,  and see how well the engineering equationsÂ
can predict the pressure and flow.  Even if you’re not going to use the equations,Â
hopefully, you’ll gain some intuition from seeing  how they work in a real situation. I’m Grady andÂ
this is Practical Engineering. In today’s episode,  we’re talking about closed conduitÂ
hydraulics and pressure drop in pipes. This video is sponsored by HelloFresh,Â
America’s number 1 meal kit. More on that later. I love engineering analogies, and in this case,Â
there are a lot of similarities between electrical  circuits and fluids in pipes. Just like allÂ
conventional conductors have some resistance  to the flow of current, all pipes impart someÂ
resistance to the flow of the fluid inside,  usually in the form of friction and turbulence.Â
In fact, this is a lovely analogy because  the resistance of a conductor is both a functionÂ
of the cross-sectional area and length of the  conductor—the bigger and shorter the wire, theÂ
lower the resistance. The same is true for pipes,  but the reasons are a little different. The fluidÂ
velocity in a pipe is a function of the flow rate  and the pipe’s area. Given a flowrate, aÂ
larger pipe will have a lower velocity,  and a small pipe will have a higher velocity.Â
This concept is critical to understanding the  hydraulics of pipeline design because friction andÂ
turbulence are mostly a result of flow velocity. I built this demonstration that should helpÂ
us see this in practice. This is a manifold  to test out different configurations of pipes andÂ
see their effect on the flow and pressure of the  fluid inside. It’s connected to my regularÂ
tap on the left. The water passes through  a flow meter and valve, past some pressureÂ
gauges, through the sample pipe in question,  and finally through a showerhead. IÂ
picked a showerhead since, for many of us,  it’s the most tangible and immediate connectionÂ
we have to pressure problems in plumbing. It’s  probably one of the most important factors in theÂ
difference between a good shower, and a bad one.  Don’t worry, all this water will be givenÂ
to my plants which need it right now anyway. I used these clear pipes because theyÂ
look cool, but there won’t be much to see  inside. All the information we need will showÂ
up on the gauges (as long as I bleed all the  air from the lines each time). The first oneÂ
measures the flow rate in gallons per minute,  the second one measures the pressureÂ
in the pipe in pounds per square inch,  and the third gauge measures the differenceÂ
in pressure before and after the sample  (also called the head loss) in inches of water. InÂ
other words, this gauge measures how much pressure  is lost through friction and turbulence in theÂ
sample - this is the one to keep your eye on. In  simple terms, it’s saying how far do you have toÂ
open the valve to achieve a certain rate of flow.  I know the metric folks are giggling at theseÂ
units. For this video, I’m going to break my  rule about providing both systems of measurementÂ
because these values are just examples anyway.  They are just nice round numbers that are easyÂ
to compare with no real application outside the  demo. Substitute your own preferred units if youÂ
want, because it won’t affect the conclusions. There are a few methods engineers use to estimateÂ
the energy losses in pipes carrying water,  but one of the simplest is the Hazen-WilliamsÂ
equation. It can be rearranged in a few ways,  but this way is nice because it has the variablesÂ
we can measure. It says that the head loss (in  other words the drop in pressure from one end of aÂ
pipe to the other) is a function of the flow rate,  and the diameter, length, and roughness ofÂ
the pipe. Now - that’s a lot of variables,  so let’s try an example to show how this works.Â
First, we’ll investigate the effect the length  of the pipe has on head loss. I’m startingÂ
with a short piece of pipe in the manifold,  and I’m testing everything at three flow rates:Â
0.3, 0.6, and 0.9 gallons per minute (or gpm). At 0.3 gpm, we see pressure drop across the pipeÂ
is practically negligible, just under half an  inch. At 0.6 gpm, the head loss is about an inch.Â
And, at 0.9 gpm, the head loss is just over 3  inches. Now I’m changing out the sample for a muchÂ
longer pipe of the same diameter. In this case,  it’s 20 times longer than the previous example.Â
Length has an exponent of 1 in the Hazen-Williams  equation, so we know if we double the length,Â
we should get double the head loss. And if we  multiply the length times 20, we should see theÂ
pressure drop increase by a factor of 20 as well.  And sure enough, at a flow rate of 0.3 gpm, weÂ
see a pressure drop across the pipe of 7.5 inches,  just about 20 times what it was with the shortÂ
pipe. That’s the max we can do here - opening  the valve any further just overwhelms theÂ
differential pressure gauge. There is so much  friction and turbulence in this long pipe that IÂ
would need a different gauge just to measure it. Length is just one factor that influences theÂ
hydraulics of a pipe. This demo can also show  how the pipe diameter affects the pressureÂ
loss. If I switch in this pipe with the same  length as the original sample but which hasÂ
a smaller diameter, we can see the additional  pressure drop that occurs. The smaller pipeÂ
has â…” the diameter of the original sample,  and diameter has an exponent of 4.9 in ourÂ
equation. That’s because, as I mentioned before,  changing the diameter changes the fluid velocity,Â
and friction is all about velocity. We expect the  pressure drop to be 1 over (â…”)^4.9 or about 7Â
times higher than the original pipe. At 0.3 gpm,  the pressure drop is 3 inches. That’sÂ
about 6 times the original. At 0.6 gpm,  the pressure drop is 7.5 inches, aboutÂ
7 times the original. And at 0.9 gpm,  we’re off the scale. All of that is to say, we’reÂ
getting close to the correct answers, but there’s  something else going on here. To explore thisÂ
even further, let’s take it to the extreme. We’ll swap out a pipe with a diameter 5 timesÂ
larger than the original sample. In this case,  we’d expect the head loss to be 1 over 5^4.3,Â
basically a tiny fraction of that measured with  the original sample. Let’s see if this is theÂ
case. At 0.3 gpm, the pressure drop is basically  negligible just like last time. At 0.6 and 0.9Â
gpm, the pressure drop is essentially the same as  the original. Obviously, there’s more to the headÂ
loss than just the properties of the pipe itself,  and maybe you caught this already. There isÂ
something conspicuous about the Hazen-Williams  equation. It estimates the friction in a pipe,Â
but it doesn’t include the friction and turbulence  that occurs at sudden changes in direction orÂ
expansion and contraction of the flow. These  are called minor losses, because for long pipesÂ
they usually are minor. But in some situations  like the plumbing in buildings or my littleÂ
demonstration here, they can add up quickly. Every time a fluid makes a sudden turn (likeÂ
around an elbow) or expands or contracts (like  through these quick-release fittings), itÂ
experiences extra turbulence, which creates  an additional loss of pressure. Think of it likeÂ
you are walking through a hallway with a turn. You  anticipate the turn, so you adjust your pathÂ
accordingly. Water doesn’t, so it has to crash  into the side - and then change directions.Â
And, there is actually a formula for these minor  losses. It says that they are a function of theÂ
fluid’s velocity squared and this k factor that  has been measured in laboratory testing for anyÂ
number of bends, expansions, and contractions.  As just another example of this, here’s a sampleÂ
pipe with four 90-degree bends. If you were just  calculating pressure loss from pipe flow, youÂ
would expect it to be insignificant. Short,  smooth pipe of an appropriate diameter. TheÂ
reality is that, at each of the flow rates tested  in the original straight pipe sample, this one hasÂ
about double the head loss, maxing out at nearly  6 inches of pressure drop at 0.9 gpm. EngineersÂ
have to include “minor” losses to the calculated  frictional losses within the pipe to estimate theÂ
total head loss. In my demo here, except for the  case of the 20’ pipe, most of the pressure dropÂ
between the two measurement points is caused by  minor losses through the different fittings in theÂ
manifold. It’s why, in this example, the pressure  drop is essentially the same as the original. EvenÂ
though the pipe is much larger in diameter, the  expansion and contraction required to transitionÂ
to this large pipe make up for the difference. One clarification to this demo I want to make:Â
I’ve been adjusting this valve each time to keep  the flow rate consistent between each exampleÂ
so that we make fair comparisons. But that’s not  how we take showers or use our taps. MaybeÂ
you do it differently, but I just turn the  valve as far as it will go. The resulting flowÂ
rate is a function of the pressure in the tap  and the configuration of piping alongÂ
the way. More pressure or less friction  and turbulence in the pipes and fittingsÂ
will give you more flow (and vice versa). So let’s tie all this new knowledgeÂ
together with an example pipeline.  Rather than just knowing the totalÂ
pressure drop from one end to another,  engineers like to draw the pressure continuouslyÂ
along a pipe. This is called the hydraulic grade  line, and, conveniently, it represents theÂ
height the water would reach if you were to tap  a vertical tube into the main pipe. With aÂ
hydraulic grade line, it’s really easy to see  how pressure is lost through pipe friction.Â
Changing the flow rate or diameter of the pipe  changes the slope of the hydraulic grade line.Â
It’s also easy to see how fittings create minor  losses in the pipe. This type of diagramÂ
is advantageous in many ways. For example,  you can overlay the pressure rating of the pipeÂ
and see if you’re going above it. You can also  see where you might need booster pump stationsÂ
on long pipelines. Finally, you can visualize how  changes to a design like pipe size, flow rate,Â
or length affect the hydraulics along the way. Friction in pipes? Not necessarily theÂ
most fascinating hydraulic phenomenon. But,  most of engineering is making compromises, usuallyÂ
between cost and performance. That’s why it’s so  useful to understand how changing a design canÂ
tip the scales. Formulas like the Hazen-Williams  and the minor loss equations are just as usefulÂ
to engineers designing pipelines that carry  huge volumes of fluid all the way down toÂ
homeowners fixing the plumbing in their houses.  It’s intuitive that reducing the length of a pipeÂ
or increasing its diameter or reducing the number  of bends and fittings ensures that more of theÂ
fluid’s pressure makes it to the end of the line.  But engineers can’t rely just on intuition.Â
These equations help us understand how much  of an improvement can be expected without havingÂ
to go out to the garage and test it out like IÂ Â did. Pipe systems are important to us,Â
so it’s critical that we can design them  to carry the right amount of flow without tooÂ
much drop in pressure from one end to the other. It’s time for everyone’s favorite segment of  me trying to cook while my wifeÂ
tries to capture that on video. “And… Action!” “Who cut this tiny hole in the cheese?” Goofing around in the kitchen is oneÂ
of our favorite things to do together.  That’s why we’re thankful forÂ
HelloFresh, the sponsor of this video,  for converting cooking from a chore intoÂ
our favorite thing to do on date night. “So delizioso!” Sometimes, the hardest part aboutÂ
dinner is just deciding what to have,  so it’s nice to have HelloFresh curatingÂ
delicious and healthy recipes so we don’t have to. “How’s it feel?” The pre-portioned ingredients mean there’s lessÂ
prep and less food waste, and the packaging is  mostly recyclable or already recycled content.Â
HelloFresh also helps us get dinner ready quickly  on the days we don’t feel like planning, prep, andÂ
shopping. We get to skip straight to the fun part. “Ewww!” Go try it yourself at HelloFresh.com and use  code PRACTICAL12 to get 12 freeÂ
meals, including free shipping. Supporting our sponsors helps support thisÂ
channel. That’s HelloFresh.com and use code  PRACTICAL12. Thanks, HelloFresh, and thankÂ
YOU for watching. Let me know what you think.
I wondered whether he was going to mention Darcy-Weisbach.
Grady's videos are so consistently high quality, yet accessible
former process engineer here, this video is GREAT
Man, I needed this last term. He does make good videos though.
Saw this just as I got done modelling a Water Network and doing Fire Hydrant Residual pressure analysis.
Shouldn't he be taking the second pressure reading at the section of pipe with the smaller/larger diameter rather than at the section with with same diameter as the original pipe? I feel like the math he described only accounted for one size step change, but the reading was actually showing two. Either way, still a really good video!