Energy conservation is a cornerstone of fluid dynamics, governing how energy transfers and converts within fluid systems. Whether you're analyzing flow through a pipe, sizing a pump, or predicting cavitation, the energy equation is the tool that ties everything together. This guide covers the forms of energy in fluids, the steady and unsteady energy equations, Bernoulli's equation, energy losses, and the role of pumps and turbines.
Principle of Conservation of Energy
Energy cannot be created or destroyed; it can only convert from one form to another. In fluid dynamics, this principle lets you track where energy goes as fluid moves through a system. You apply it by drawing a control volume around the region of interest and balancing all the energy entering, leaving, and stored within that volume. The principle holds for both steady and unsteady flows, making it one of the most versatile tools in the subject.
Types of Energy in Fluids
Three forms of energy matter most when analyzing fluid systems: kinetic, potential, and internal.
Kinetic Energy of Fluids
Kinetic energy comes from the fluid's motion. A faster-moving fluid carries more kinetic energy. For a fluid element of mass moving at velocity :
On a per-unit-mass basis (which is how it usually appears in the energy equation), this becomes . Think of water accelerating through a nozzle or wind striking a turbine blade: both are cases where kinetic energy plays a central role.
Potential Energy of Fluids
Potential energy is stored energy due to the fluid's elevation in a gravitational field. For a fluid element of mass at height above a reference datum:
Per unit mass, this is simply , where is the elevation. Water sitting in an elevated reservoir has high potential energy relative to the turbine at the base of the dam. Choosing your reference datum consistently is critical; pick one and stick with it for the entire problem.
Internal Energy of Fluids
Internal energy accounts for the molecular-level motion and intermolecular forces within the fluid. It depends on temperature and pressure and includes both sensible heat (temperature-related) and latent heat (phase-change-related).
For incompressible flows at roughly constant temperature, changes in internal energy are often negligible. But in compressible flows (gases at high speed) or systems involving heat transfer, internal energy changes become significant. Hot exhaust gas in a jet engine or steam undergoing condensation are classic examples.
Energy Equation for Steady Flows
Derivation of the Steady Flow Energy Equation
To derive the steady flow energy equation, you apply conservation of energy to a fixed control volume with one inlet and one outlet. Under steady conditions, fluid properties at any point don't change with time, so there's no energy accumulation inside the control volume.
The balance is straightforward: energy carried in by the fluid plus any heat added equals energy carried out by the fluid plus any shaft work extracted. "Energy carried" includes kinetic energy, potential energy, internal energy, and the work done by pressure forces pushing the fluid through the control volume (called flow work).
Terms in the Steady Flow Energy Equation
The full steady flow energy equation, written per unit mass between an inlet (1) and outlet (2), is:
where is the specific enthalpy (internal energy plus flow work ), is heat transfer per unit mass, and is shaft work per unit mass.
Each term has a clear physical meaning:
- Kinetic energy term : energy from fluid motion
- Potential energy term : energy from elevation
- Flow work term : work done by pressure forces to push fluid through the control surface
- Heat transfer : thermal energy added to or removed from the fluid
- Shaft work : mechanical work from pumps (energy in) or turbines (energy out)
Assumptions and Limitations
The standard form of this equation assumes:
- Steady flow: properties at each point are constant in time
- Single inlet, single outlet: more complex systems need extended forms
- No chemical reactions or phase changes (unless you explicitly account for them in the enthalpy)
- Uniform properties across each cross-section (one-dimensional flow assumption)
In real systems, viscous effects and friction losses are present. These are often handled by adding a head loss term rather than being neglected entirely.
Energy Equation for Unsteady Flows
Time-Dependent Energy Equation
When flow conditions change with time, you need the unsteady (transient) form of the energy equation. The general differential form is:
Here, is the total specific energy (internal + kinetic + potential), is the heat flux vector, and represents body forces per unit mass. This equation captures how energy at every point in the flow field evolves over time.

Local and Convective Acceleration Terms
The two terms on the left side of the equation capture different physics:
- Local acceleration term : the rate at which energy changes at a fixed point in space. This term is zero in steady flow.
- Convective acceleration term : the rate at which energy changes because fluid with different energy levels is being carried (convected) through that point.
Together, these terms form the material derivative of energy, tracking how energy changes for a fluid element as it moves through space and time.
Transient Flow Examples
Unsteady energy analysis is needed in situations like:
- Pump or turbine startup/shutdown: flow accelerates or decelerates, and energy distribution shifts rapidly
- Valve operations: sudden opening or closing creates pressure transients
- Water hammer: pressure surges in pipelines caused by abrupt flow changes, which can produce dangerously high pressures
- Pulsating flows: blood flow in arteries or reciprocating pump systems where conditions vary cyclically
Application of the Energy Equation
Bernoulli's Equation for Incompressible Flow
Bernoulli's equation is a simplified version of the steady flow energy equation. It applies along a streamline for an incompressible, inviscid (frictionless) fluid with no heat transfer or shaft work:
This is one of the most frequently used equations in fluid mechanics. It directly connects pressure, velocity, and elevation: if velocity increases (say, through a constriction), pressure must decrease, and vice versa.
Restrictions on Bernoulli's Equation
Bernoulli's equation is powerful but has strict conditions. It only applies when:
- The fluid is incompressible (constant density, so liquids or low-speed gas flows)
- The flow is steady (no time variation)
- The flow is inviscid (friction and viscous losses are negligible)
- You follow a single streamline (or the flow is irrotational, in which case it holds between any two points)
- There is no shaft work (no pumps or turbines between your two points)
- There is no significant heat transfer
Violating any of these conditions gives incorrect results. This is the single most common mistake students make: applying Bernoulli where it doesn't belong.
Examples of Bernoulli's Equation
- Venturi meter: the fluid speeds up through a throat, pressure drops, and you measure the pressure difference to calculate flow rate
- Tank draining (Torricelli's theorem): fluid exits a hole at the bottom of a tank with velocity , where is the height of fluid above the hole
- Airfoil lift: faster flow over the top surface creates lower pressure than the slower flow underneath, producing a net upward force
- Pipe with varying cross-section: use continuity () together with Bernoulli to find pressures and velocities at different sections
Energy Losses in Fluid Systems
Real fluid systems always dissipate energy through friction and turbulence. These losses appear as a drop in the total mechanical energy (or equivalently, as a "head loss" ) and are added to the energy equation:
Major and Minor Losses
- Major losses: friction along straight sections of pipe or duct. These dominate in long pipeline systems.
- Minor losses: energy dissipated at fittings, valves, bends, expansions, contractions, and other flow disturbances. Despite the name, minor losses can be substantial in short systems with many fittings.
Both are expressed as head loss and summed to get the total system loss.
Friction Losses in Pipes
Friction losses depend on the flow regime (laminar vs. turbulent), pipe roughness, and pipe geometry. The Darcy-Weisbach equation is the standard tool:
where is the Darcy friction factor, is the pipe length, is the pipe diameter, and is the mean flow velocity.
To find :
- Calculate the Reynolds number:
- Determine the relative roughness: , where is the pipe wall roughness
- Look up on the Moody diagram, or use an empirical correlation like the Colebrook equation
For laminar flow (), the friction factor is simply .
Local Losses in Fittings and Valves
Each fitting or valve has an associated loss coefficient (). The head loss through that component is:
or equivalently as a pressure drop:
Loss coefficients are tabulated for standard components (a 90° elbow might have to depending on the type). You sum up all the minor losses in the system alongside the major losses to get the total head loss.

Pumps and Turbines
Pumps and turbines are the devices that add or remove mechanical energy from a fluid system. They appear in the energy equation as shaft work terms.
Pump Work and Efficiency
A pump adds energy to the fluid, increasing its pressure, velocity, or elevation. The hydraulic power delivered to the fluid is:
where is the volumetric flow rate and is the pump head (the energy added per unit weight of fluid). You can also write this as when working with pressure rise directly.
Pump efficiency relates the useful hydraulic power to the shaft power input:
Efficiency is always less than 100% due to mechanical friction, leakage, and hydraulic losses within the pump.
Turbine Work and Efficiency
A turbine extracts energy from the fluid, converting it to mechanical shaft work. The available hydraulic power is:
where is the turbine head (energy extracted per unit weight of fluid).
Turbine efficiency is the inverse ratio compared to pumps:
The shaft power output is always less than the available hydraulic power due to internal losses.
Net Positive Suction Head (NPSH)
NPSH quantifies how much pressure is available at the pump inlet above the fluid's vapor pressure. It determines whether the pump will cavitate.
- NPSH available (NPSHA): determined by the system layout (reservoir pressure, elevation, pipe losses leading to the pump inlet, and the fluid's vapor pressure)
- NPSH required (NPSHR): a property of the pump itself, provided by the manufacturer, and it varies with flow rate
The operating rule is simple: NPSHA must exceed NPSHR at all operating conditions. If it doesn't, the pressure at the pump inlet drops below the vapor pressure and cavitation begins.
Cavitation and Its Effects
Causes of Cavitation
Cavitation occurs when the local static pressure in a fluid drops below the fluid's vapor pressure at that temperature. Vapor bubbles form in the low-pressure region and then collapse violently when they move into higher-pressure zones.
Common causes include:
- High fluid velocities that create low-pressure zones (think of the suction side of a pump impeller)
- Abrupt geometric changes like sharp contractions or valve throttling
- Insufficient suction head in pump systems
- Elevated fluid temperatures, which raise the vapor pressure and make cavitation more likely
Consequences of Cavitation
When vapor bubbles collapse, they generate intense, localized pressure spikes (potentially hundreds of MPa) and extreme temperatures at microscopic scales. The effects include:
- Surface erosion and pitting on impellers, valve seats, and propeller blades
- Increased noise and vibration, often described as a rattling or gravel-like sound
- Reduced performance: pump head and efficiency drop noticeably
- Premature component failure if cavitation persists
Prevention of Cavitation
Preventing cavitation comes down to keeping local pressures above the vapor pressure:
- Design the system for adequate NPSHA by minimizing suction-side pipe losses and keeping the pump close to the supply reservoir
- Reduce fluid velocity at critical locations through larger pipe diameters or gentler geometry transitions
- Lower the fluid temperature if practical, since this reduces the vapor pressure
- Use cavitation-resistant materials (stainless steel, specialized coatings) for surfaces exposed to unavoidable low-pressure zones
- Control dissolved gas content and monitor fluid quality, since dissolved gases lower the effective cavitation threshold
Numerical Problems and Solutions
Problem-Solving Strategies
A systematic approach makes energy problems much more manageable:
- Sketch the system and label all known quantities (pressures, velocities, elevations, pipe dimensions)
- Choose your control volume and identify the inlet and outlet sections
- List your assumptions: Is the flow steady? Incompressible? Are losses significant? Is there shaft work?
- Select the right equation: Bernoulli for simple inviscid cases, the full energy equation when losses, pumps, or turbines are involved
- Solve algebraically before plugging in numbers, and check units at every step
- Verify your answer: Does the pressure drop make physical sense? Is the velocity reasonable? Does the head loss come out positive?
Common Pitfalls and Misconceptions
- Applying Bernoulli where it doesn't apply: If there's friction, a pump, a turbine, or compressible flow, you need the full energy equation with loss and work terms
- Forgetting to include all losses: In real pipe systems, you must account for both major (friction) and minor (fittings) losses
- Sign errors with shaft work: Pumps add energy (positive ), turbines remove energy (positive subtracted from the energy)
- Inconsistent reference datums: Pick one elevation reference and use it everywhere
- Ignoring NPSH: A pump calculation isn't complete until you've verified that NPSHA > NPSHR
Practice Problems and Answers
To build confidence with energy conservation problems, work through examples that cover:
- Applying Bernoulli's equation to find velocities and pressures in converging/diverging sections
- Using the extended energy equation with head loss terms for real pipe systems
- Sizing pumps by calculating required head and checking NPSH
- Determining turbine power output from a given flow rate and head
- Identifying whether cavitation will occur at a specific operating point
For each problem, follow the step-by-step strategy above. Write out your assumptions explicitly, and always check whether your chosen equation is valid for the situation before solving.