20 Conservation of Energy: Energy Equation & Bernoulli’s Equation
Introduction
Energy is defined as the ability to do work, which is a very useful property in engineering. There are many types of energy, including potential, kinetic, chemical, electrical, nuclear, etc. For thermodynamic analyses, energy can be classified into two categories: macroscopic energy and microscopic energy. Macroscopic energy is energy that a whole system possesses with respect to a fixed external reference, and in thermodynamics, these are potential and kinetic energies. Microscopic energy is the energy contained in the system at the molecular level. A system can be defined as a collection of matter of fixed identity.
When developing the energy equation for a fluid flow, the applicable physical principle is a thermodynamic one in that energy cannot be created or destroyed but only converted from one form to another. This principle is formally embodied in the first law of thermodynamics applied to a system of a given (fixed) mass, i.e.,
(1)
where is the change in the net heat added to the system (such as from a thermal source),
is the change in the net work done on the system (such as mechanical work), and
is the change in internal energy of the mass inside that system, the principle being illustrated in the schematic below. Notice that
is positive when heat is added to the system and negative when heat is lost. Likewise,
is positive when work is done on the system and negative when the system does work.

Internal energy can be considered the sum of the macroscopic kinetic and potential energy of the molecules comprising the fluid and their microscopic internal energy, e.g., temperature effects. Indeed, when dealing with thermodynamic relations, then for a perfect gas the internal energy is a function of temperature alone, i.e.,
(2)
Therefore, another way of writing the first law of thermodynamics for a fixed system is
(3)
If the system does no external work, all the heat added will manifest as an increase in internal energy, e.g., an increase in temperature. Of course, heat and work can be added to or subtracted from an engineering system, i.e., they can be transferred across the system’s boundaries.
The system’s energy can be viewed as being associated with that system’s specific amount of mass. Therefore, for a fluid flow, the energy terms in the resulting equations are usually written as an energy per unit mass, i.e., per fluid element of “” in the spirit of the differential calculus. This approach is also consistent with the previous derivations of the equations that applied to the conservation of mass and momentum. If
is the heat added per unit mass and
is the work done per unit mass, then the conservation of energy in this differential form is
(4)
Learning Objectives
- Set up the most general form of the energy equation in integral form.
- Know how to simplify the energy equation into various, more practical forms.
- Understand how to derive a surrogate for the energy equation for steady, incompressible, inviscid flow, called the Bernoulli equation.
- Learn how to solve some fundamental engineering problems using the energy equation.
Setting Up the Energy Equation
As before, consider a fluid flow through a fixed finite control volume bounded by a surface of area
, as shown in the figure below. The flow velocity is
at any point inside the control volume or on the control surface. At a point on the control surface, the unit normal,
, and the unit normal vector area,
, can be defined. Also, let
be an elemental fluid volume inside the control volume, which will contain a fluid of elemental mass
.

The objective is to develop an analogous equation to the continuity and momentum equations for energy conservation as it applies to a fluid flow. As will be shown, however, the resulting energy equation describes a power balance equation for the fluid system, i.e., a balance of the rate of work done on the flow versus the rate of energy added to the flow and/or conversion from one form of energy in the flow to another.
Heat Addition
An increment in energy, , can be added to the elemental fluid volume
in the form of heat,
so that
. Heat energy can be added (or subtracted) by conduction, convection, or radiation, e.g., because of a temperature difference. However, heat energy is often added to a system through combustion, e.g., the liberation of heat energy from stored chemical energy in a fuel. Therefore, the rate of volumetric heat addition will be
(5)
If the flow is viscous, then frictional effects can also add heat. This latter effect can be important on a high-speed (supersonic) aircraft or a spacecraft during re-entry into the Earth’s atmosphere. While viscous heating effects must be recognized as a complicated process involving the consideration of shear stresses and thermal effects from shock wave formation in a high-speed fluid flow, for now, the effects can be cumulatively denoted by . Therefore, for the volume of fluid, then
(6)
Caution: Symbol conflict is not uncommon between branches of engineering. In this case, is used for heat, and
means the rate of heat addition. In other contexts,
can mean volume flow rate. It is essential to avoid such conflicts, which can be done by redefining a new symbol. For example, the volume flow rate can be defined as
.
Work
If some work is done on the system, i.e., per unit mass, the system’s energy will increase further. Work can be done by the effects of forces resulting from the action of pressure and/or body forces and/or viscous shear and/or mechanical work. Remember that work is equivalent to a force times a distance, and power is the rate of doing work; therefore, power is equivalent to the product of a force and a velocity.
In the case of pressure effects, a pressure force arises from the pressure acting over an area, i.e., for a point on the control surface then , the minus sign indicating that the pressure force acts inward for an outward-pointing
(by convention). Therefore, following the same type of process used for the derivation of the momentum equation, the work done by the pressure forces can be expressed as
(7)
Similarly, the effects of body forces can be written as
(8)
In the case of viscous work, this contribution can be written as for the same reason as heat addition from viscous effects. This term is the rate of work done by viscous stresses acting on the control volume over the control surface.
Finally, some mechanical work could be added to the system, say , an example being the work done by a pump. Work can also be extracted from a fluid flow, such as with a turbine, fan, or propeller. Therefore, adding all the contributions together gives
(9)
Internal Energy
The next step is to examine the internal energy inside the control volume. Energy has the ability to do work, so this is an important part of the energy equation. This form of energy will comprise some “temperature” energy or the microscopic kinetic energy per unit mass of the fluid molecules, , some macroscopic kinetic energy per unit mass of the fluid,
, and some macroscopic potential energy per unit mass,
. In general, internal energy can be written as
(10)
where the resultant velocity is obtained from
.
Notice that the microscopic energy of the fluid molecules, , can be considered as a sum of their translational kinetic, rotational, and vibrational energy, as suggested in the schematic below. The internal potential energy at the molecular level also contributes to total internal energy, e.g., molecular bonding, chemical, and nuclear energy. However, it is unnecessary to consider such latter effects at the present level of analysis. The best way of thinking about the internal energy of a fluid is in terms of its temperature.

The temperature of the fluid, , is proportional to the average total energy of the molecules,
. This molecular relationship is usually written as
, where
is known as Boltzmann’s constant. In this latter form, however, it strictly holds for monoatomic gases because they have three degrees of translational freedom, i.e., kinetic energy only. A thermal gradient, for example, will cause the molecules to move faster in the direction of increasing temperature. Thermal energy will be transferred from the hotter part of the gas to the cooler part, basically a statement of the second law of thermodynamics, i.e., energy flows “downhill.”
Diatomic gases, such as nitrogen and oxygen, which comprise about 98% of air, also have two degrees of freedom of rotational motion and two degrees of vibrational motion, the latter being important only at higher temperatures. Therefore, their total internal energy will be related using at lower temperatures and
at higher temperatures.
The macroscopic kinetic energy per unit mass of the fluid per unit mass, , and potential energy per unit mass,
, can be interpreted within the framework of a continuum model, as shown in the schematic below. Increasing the velocity of the fluid volume or parcel will increase its kinetic energy, and increasing the height of the fluid or its pressure “head” will increase its potential energy. Some work on the fluid must be done to increase either, which requires energy.

Energy in & Out of Control Volume
The total energy will then be obtained by integration over the entire mass of fluid contained within the control volume, remembering that mass can also flow across the control surface from the control volume. Across the element , the mass flow rate will be
. Therefore, the total energy flow rate across the entire surface of the control volume then follows by integration, i.e.,
(11)
In addition, unsteady effects may be present so that the energy in the system can change because of temporal variations of the flow field properties inside . For this contribution then, the total energy inside the control volume is
(12)
and so the time rate of change of energy inside the control volume will be
(13)
Finally, adding these two latter terms together (Eqs. 11 and 13) gives
(14)
Final Form of the Energy Equation
Now, all of the parts that make up the final form of the energy equation are available in its integral form. To this end, the principle of conservation of energy has been applied to a fluid flowing through a finite control volume that may have heat added or removed, and/or mechanical work is done on the fluid or extracted from it.
Because energy is conserved, then in words, it can be stated that: “The rate of heat added plus the rate of doing work on the flow will be equal to the total rate of change of energy of the flow,” i.e.,
(15)
which is just the first law of thermodynamics, where is positive when heat is added to the system, and
is positive when work is done on the system.
(16)
which is mathematically the most general form of the energy equation. Rewriting it again without the components being identified gives
(17)
This latter equation (Eq. 17) now completes the set of three conservation equations, i.e., mass (continuity), momentum, and energy.
Recall for completeness that the continuity equation is
(18)
and the momentum equation is
(19)
In such collective equations, the unknown parameters may include the velocities, pressures, densities, and temperatures, although not all quantities may be unknown or required in any given problem. A fourth equation is also available to round out the set, namely the equation of state , which is “handy” because it reduces the number of unknown properties by one.
Simplifications of the Energy Equation
The general form of the energy equation in Eq. 17 may look somewhat forbidding, and it is if written out in its entirety. Nevertheless, as with the other conservation equations, the general form can be written in various simplified forms depending on the assumptions that might be made (and justified!), e.g., steady flow, absence of body forces, no heat added to the system, no mechanical work, no viscous forces, one-dimensional flow, etc. However, because thermodynamic principles are being used here, caution must be applied in using the energy equation to ensure that the needed terms are retained in all potential simplification processes. Remember that in engineering problem solving, any over-simplification of the governing equations without careful justification is likely to meet with disastrous predictive outcomes.
Single Steam System
By way of illustrating the steps that could be used in the simplifications of the energy equation, many practical engineering problems involve fluid systems with just one inlet and one outlet, the mass flow rate through such a system being constant, which are sometimes referred to as single-stream systems. A general depiction of such a single-stream system is shown in the figure below, where some flow comes in at one side of the system and exits on the other. Notice that, in general, there could be a difference in the heights of the inlet and the outlet, so the gravitational potential energy or “head” terms must be retained.

For such a single-stream system, the general form of the energy equation can be reduced to the form
(20)
where the subscripts 1 and 2 refer to the inlet and outlet conditions, respectively.
The left-hand side of the preceding equation represents the energy input, and the right-hand side represents the energy output. The energy input, in this case, comes from the rate of heat transfer to the fluid , the rate of mechanical work being done on the fluid
(such as through a shaft driven from outside of the system by a pump), as well as any work done by the pressure forces.
In such a system, the mass flow through the system is conserved (mass inside the system is constant if the flow is steady), so based on per unit mass, which means dividing the terms in the equations through by , then Eq. 20 becomes
(21)
which is a common form of the steady flow energy balance in thermodynamics. Rearranging this equation gives
(22)
The latter term in Eq. 22 can be viewed as the sum of the frictional losses, i.e., the value of in accordance with the second law of thermodynamics. Such losses can be considered unavailable energy, most likely lost from a system as heat conduction, radiation, or viscosity.
Another way to write this previous equation is just
(23)
(24)
which is often called the mechanical energy equation in terms of work per unit mass.
and
and
Therefore, the equation has been confirmed to be dimensionally homogeneous with units of . Remember that work,
, has units of
, therefore, units of
represent work per unit mass.
Special Case: No Losses
Now, suppose the flow is ideal with no irreversible processes such as friction, then the total energy must be conserved. Then the energy loss term , i.e., in that case, the internal energy does not change from frictional effects. Now, an even simpler form of the energy conservation equation is available, i.e.,
(25)
or in terms of power, so bringing the back, gives
(26)
Mechanical Work
Remember that adding or subtracting mechanical work, , to a flow is common in aerospace thermodynamic systems, such as utilizing a pump, fan, turbine, or propeller,
can be positive or negative. The addition or subtraction of mechanical work to or from the system may appear as a change in the flow’s kinetic energy and/or to the potential energy of the flow and/or to the internal temperature and/or pressure in the system or any combination.
In the case of a basic pump, which adds energy and does work on the fluid system, then
(27)
and for the turbine, which takes energy and work from the fluid system to produce mechanical work and power output at a shaft, then
(28)
Therefore, another way of writing the energy equation is
(29)
Finally, if the fluid is assumed to be incompressible, i.e., , then
(30)
or in terms of per unit mass (again, divide by ), then
(31)
which is called the extended Bernoulli equation.
Energy Equation in Terms of “Head”
Civil and hydraulic engineers, who deal primarily with liquids rather than gases, often express the energy equation in terms of pressure head and specific weight. The pressure head or the static pressure head, , is the height of a liquid column corresponding to a particular pressure value so that it will have units of length, i.e., meters or feet. After doing some problems with the energy equation, it will be apparent that using a pressure head is a convenient concept.
Specific Weight
The specific weight is the weight of a unit volume of a fluid. The symbol is often used for specific weight, but this choice causes a symbol conflict with aerospace and mechanical engineers who use
as the ratio of specific heats. Therefore, specific weight can be denoted by the symbol
, i.e.,
(32)
or by rearrangement, then
(33)
Using the specific weight, which can be obtained by dividing through Eq. 36 by , the incompressible energy equation in terms of the pressure head can be written as
(34)
(35)
where the units of all terms are now length, so m or ft. If frictional losses are included, which can also be expressed in terms of head, i.e., , then
(36)
Pressure Head of a Pump or Turbine
The power, , of a pump or turbine can be expressed as
(37)
The mass flow rate, , is
(38)
where is the volume flow rate. Therefore,
(39)
Of course, no pump or turbine can be 100% efficient, so if the efficiency is , then the power is
(40)
Therefore, in the case of a pump (energy in) of power , then
(41)
In the case of a turbine (energy out) of power , then
(42)
Worked Example #1 – Using the energy equation to calculate pumping power
Use conservation of energy principles to calculate the power of a hydraulic pump that must deliver the fluid (oil) from one location to another. The pump is 75% efficient in converting mechanical input work to pressure. The inlet pressure, , is 100 kPa, and the outlet pressure,
, is 500 kPa. The diameter of the inlet pipe,
, is 10 cm, and the outlet pipe,
, is 5 cm. The flow rate,
, is 60 m3/hr. The height difference,
, is 3.2 m. The density of the hydraulic fluid is 850 kg/m3. Assume the internal fluid losses are equivalent to 1.4 m of static pressure head.
First, it is necessary to find the inlet and outlet velocities, and
, respectively, using
and for , then
The relevant form of the energy equation is
so solving for gives
Inserting the known values gives
The power required from the pump is
and inserting the numerical values gives
Bernoulli’s Equation
By assuming incompressible flow and that no mechanical work is introduced into or taken out of the fluid system, then and so Eq. 36 becomes
(43)
This latter equation can then be rearranged into the form
(44)
or simply that
(45)
which is known as the Bernoulli equation or Bernoulli’s principle after Daniel Bernoulli.
Notice that the Bernoulli equation has units of pressure. It will be apparent that the Bernoulli equation is a statement of energy conservation in that a fluid exchanges its specific kinetic energy for pressure, either static or potential, the specific kinetic energy being the kinetic energy per unit volume.
A more general form of the Bernoulli equation, which often appears in many sources, is to leave it in an unintegrated form, i.e.
(46)
After integration then
(47)
Assuming incompressible flow gives
(48)
or
(49)
as has been written down previously.
The Bernoulli equation is one of the most famous fluid mechanics equations and is used to solve many practical problems. It has been derived here as a particular degenerate case of the general energy equation for a steady, inviscid, incompressible flow. Still, it can also be derived in several other ways. Remember that it is not an energy equation per se because it has units of pressure, so it is often referred to as a surrogate of the energy equation.
Alternative Derivation of Bernoulli’s Equation
In terms of another physically intuitive derivation of the Bernoulli equation, consider the figure below, which represents a streamtube flow of an ideal fluid that is steady, incompressible, and inviscid. At the inlet to the streamtube, the cross-sectional area is with flow velocity
and at a height
from a reference level. At the outlet, the area is
, and the velocity is
at height
. In a given time, a mass of fluid
can be considered to have moved in the streamtube from the inlet to the outlet.

Let be the pressure acting uniformly at the inlet at station 1. Because pressure acts inward, the pressure creates a force pushing the fluid downstream toward the outlet. The work done by the pressure force here will be
(50)
remembering that work is equal to force times distance. Let be the pressure acting uniformly at the outlet at station 2. In this case, the work done by the pressure force will be
(51)
the minus sign indicates that the pressure force here acts upstream opposite to the fluid flow. In addition, there will be work done under gravity, which will be
(52)
where the mass , and the minus sign means that work must be put into the fluid system to increase its potential energy. Therefore, the total external work is
(53)
The kinetic energy of the flow must now be considered. The change in kinetic energy of the fluid as it moves through the streamtube is
(54)
The application of the principle of conservation of energy requires that
(55)
so that
(56)
Notice also that conservation of mass (the continuity equation) requires that
(57)
or just
(58)
so
(59)
Cancelling out the volume and rearranging this latter equation gives
(60)
or
(61)
which, again, is the Bernoulli equation.
Caution: Remember that in the derivation of the Bernoulli equation, the flow has been assumed to be steady and incompressible with negligible frictional losses (i.e., an ideal fluid) and where no mechanical work is added or subtracted. While the Bernoulli equation is found to have many practical applications, it should be remembered that it has been derived based on these prior assumptions, so its practical use requires considerable justification and caution in actual application.
Worked Example #2 – Pressure change in a contraction
Air flows at low speed through a pipe with a volume flow rate of 0.135 m/s. The pipe has an inlet section diameter of 21 cm and an outlet section diameter of 9 cm. A water manometer measures the pressure difference between the inlet and outlet sections. Assuming no frictional losses, determine the differential height
shown on the manometer. Take the density of air to be 1.21 kg/m
and the density of water to be 1,000 kg/m
. Make any assumptions you feel are justified.

From the information, assuming a one-dimensional, steady, incompressible, inviscid flow seems reasonable. The flow rates, velocities, and Mach numbers are low enough that compressibility effects can be neglected. Let the inlet be condition 1 and the outlet condition 2. The continuity equation relates the inlet and outlet conditions, i.e.,
Or because the flow is assumed incompressible, then just
It follows that
and
so it is possible to calculate , i.e.,
and also , i.e.,
so that
and
which are much lower than a Mach number of 0.3, so the assumption of incompressible flow is justified.
The pressure difference between points 1 and 2 is needed, which requires some form of the energy equation. Using the Bernoulli equation is justified because the information given is for an incompressible, frictionless flow. The Bernoulli equation is
so
Inserting the values for ,
and
gives
In terms of , which is the differential height on the manometer, then
so solving for , gives
Other Compressible Forms of the Bernoulli Equation
The unintegrated form of the Bernoulli equation is
(62)
Recall that for an incompressible flow, the first term is
(63)
so the classic Bernoulli equation is recovered, i.e.,
(64)
Isothermal Process
For an isothermal process, then = constant, so from the equation of state, then
(65)
or
(66)
Therefore,
(67)
and so the Bernoulli equation for an isothermal flow is
(68)
Adiabatic Process
Another case of a compressible flow is an adiabatic process characterized by the relationship
(69)
where is the ratio of specific heats. Solving for the density
gives
(70)
As previously derived, the unintegrated form of the Bernoulli equation can be written as
(71)
Substituting for into the first term gives
(72)
Therefore, another form of the Bernoulli equation for the steady, adiabatic, compressible flow of a gas becomes
(73)
Summary & Closure
Applying the principle of energy conservation to fluid flow results in a rather formidable-looking equation in its more general form. The energy equation is developed from thermodynamic principles, i.e., the first law of thermodynamics, and uses the concepts of heat, work, and power. The types of energy are internal, potential, and kinetic energy, all of which are involved in most fluid problems. The energy equation is a power equation based on its units, i.e., the rate of doing work. When thermodynamic principles are involved in fluid flow problems, the equation of state is also helpful in establishing the relationships between the known and unknown quantities.
The most common application of the energy equation is to so-called single-stream systems, in which a certain amount of fluid energy comes into a system where work is added or extracted. Then, the energy can come out of the system in another form. Further simplifying the energy equation to incompressible, inviscid flows without energy addition leads to the Bernoulli equation, which can be used successfully in many practical problems to relate pressures and flow velocities. The Bernoulli equation is also a statement of energy conservation, i.e., fluid exchanges its specific kinetic energy for static or potential pressure. Nevertheless, the Bernoulli equation must be used carefully and consistently applied within the assumptions and limitations of its derivation.
5-Question Self-Assessment Quickquiz
For Further Thought or Discussion
- The energy equation is often called a redundant equation for analyzing incompressible, inviscid flows. Why?
- What are the three main assumptions used in deriving the Bernoulli equation?
- The flow through the turbine blades of a jet engine can be modeled using the incompressible form of the Bernoulli equation. True or false? Explain.
- The Bernoulli equation can be used to analyze the flow through a propeller operating at low flow speeds. Explain how to do that.
Additional Online Resources
To learn more about the energy equation, as well as the Bernoulli equation and its uses, check out some of these online resources:
- A good video on the first law of thermodynamics and internal energy.
- Video sequence from Dr. Biddle’s YouTube channel on fluid mechanics.
- A video lecture describing the derivation of the energy equation for a fluid.
- Video on conservation of energy in control volume form.
- This a great video on better understanding the Bernoulli equation.
- The use of graphics in this video reinforces the meaning of the Bernoulli equation.
- Another good video describing the applications of the Bernoulli equation.