Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Closed Systems

A Short Treatise for Energy Accounting

Illustration from the original text

Introduction

We wish to develop here a method of energy accounting applied to a fixed quantity of mass. This chapter 2 (closed systems) aims to answer two questions:

• How to quantify the work that can be received and provided by a body of fixed mass?

• What is reversibility, and why are we pursuing it?

2.1 Why Use a Closed System?

From now on, we want to describe and quantify energy transfers in fluids. We can adopt two different points of view to observe the fluid:

• Either we “cut out” a small piece of mass, which we closely follow as it moves along, and then quantify the energy transferred to it: this is what we call a closed system;

• Or we choose a fixed volume, which is constantly being crossed by a mass flow, and then quantify the energy transfers towards the volume: this is what we call an open system.

Of course, these two methods are equivalent: they will produce the same results. The choice of one or the other will simply make the analysis and quantification of transfers easier.

The use of a closed system is appropriate for analyzing machines with reciprocating motion (automotive engines, pumps and compressors, and generally all piston/cylinder machines). These machines divide the fluid into small quantities that are trapped in a chamber, where they are heated, cooled, compressed, or expanded (figure 2.1). It is then easy to identify a given mass quantity and quantify the transfers it undergoes.

A cutaway in a truck engine reveals three pistons in their cylinders. A closed system is a useful tool for studying the air trapped in a cylinder. The photographed engine is a diesel V8 from man.

Figure 2.1:A cutaway in a truck engine reveals three pistons in their cylinders. A closed system is a useful tool for studying the air trapped in a cylinder. The photographed engine is a diesel V8 from man.

Photo CC-by-sa Olivier Cleynen

On the contrary, to study what happens in a jet engine nozzle, for example, we would have difficulties identifying a given group of particles and quantifying the change in their properties. It would then be more convenient to use an open system, as we will study in chapter 3 (open systems).

Concretely, in this chapter, we want to quantify the work that can be done by a fluid in a cylinder. A car engine provides work because the air in the cylinders provides more work by expanding on the return stroke than it received by being compressed on the intake stroke (figure 2.2). How can we generate this? In order to answer this question, we need a robust method to quantify energy transfers.

Operating principle of an engine. When heat is supplied to a fluid in a closed reservoir, it increases the forces it exerts on the walls of the reservoir. By allowing the reservoir to deform, we let the fluid perform work.

Figure 2.2:Operating principle of an engine. When heat is supplied to a fluid in a closed reservoir, it increases the forces it exerts on the walls of the reservoir. By allowing the reservoir to deform, we let the fluid perform work.

Diagram CC-0 Olivier Cleynen

2.2 Accounting Conventions

2.2.1 The closed system

We refer to a closed system as an arbitrary study subject with boundaries impermeable to mass: a given set of particles, with fixed mass. All properties of this set (pressure, temperature, volume, etc.) can change, but it always involves the same molecules, not mixed with others. For example, a gas trapped in a cylinder and compressed by a piston (figure 2.3) is perfectly described with a closed system.

A typical closed system: a fixed mass quantity in a closed reservoir. A movable wall allows to compress it; we will also allow it to receive and lose heat.

Figure 2.3:A typical closed system: a fixed mass quantity in a closed reservoir. A movable wall allows to compress it; we will also allow it to receive and lose heat.

Diagram CC-0 Olivier Cleynen

2.2.2 Sign conventions

In order to quantify transfers, we will use the following sign convention, illustrated in figure 2.4:

• When they are positive, transfers QQ and WW indicate a receipt by the system.

• Conversely, when they are negative, transfers QQ and WW indicate a loss from the system. The system then supplies work WW and rejects heat QQ.

Sign conventions for a closed system. Incoming flows are positive, outgoing flows are negative; they are all represented with inward-pointing arrows. The mass quantity is constant.

Figure 2.4:Sign conventions for a closed system. Incoming flows are positive, outgoing flows are negative; they are all represented with inward-pointing arrows. The mass quantity is constant.

Thus, in the equations, we can systematically add the terms without needing to know the direction of the changes. Transfers are accounted for like in a bank account: expenses are negative and revenues are positive.

2.3 The First Law in a Closed System

The first law states that energy is indestructible (§1.1.2). If we supply 100J100 J of work to a closed system and it rejects 80J80 J in the form of heat, then “its” energy has increased by 20J20 J. We call this increase the change of internal energy, ΔU\Delta U. In the form of an equation, the first law in a closed system is expressed by the equation:

Q12+W12=ΔUQ_{1\rightarrow 2}+ W_{1\rightarrow 2}= \Delta U

for a stationary closed system; where ΔU=U2U1\Delta U = U_{2}- U_{1} is the change of internal energy (J)(J), W12W_{1\rightarrow 2} is the work received by the system (J)(J), and Q12Q_{1\rightarrow 2} is the heat received by the system (J)(J).

Unfortunately, internal energy UU is sometimes very difficult to measure. We shall see in chapters 4 and 5 that bodies store this internal energy in different ways, and that it is intimately related to temperature. By definition, internal energy UU is always positive, but its variation ΔU\Delta U can also be negative.

Equation 2/1 can be expressed with specific quantities:

q12+w12=Δuq_{1\rightarrow 2}+ w_{1\rightarrow 2}= \Delta u

for a stationary closed system; where Δu=u2u1\Delta u = u_{2}- u_{1} is the change of specific internal energy (Jkg1)(J kg^{-1}), w12w_{1\rightarrow 2} is the specific work received by the system (Jkg1)(J kg^{-1}), and q12q_{1\rightarrow 2} is the specific heat received by the system (Jkg1)(J kg^{-1}).

We can rewrite this equation 2/2 to express it in its differential form:

δq+δw=du\delta q + \delta w = du

for a stationary closed system; where dudu is the infinitesimal change of specific internal energy (Jkg1)(J kg^{-1}), δw\delta w is the (specific) infinitesimal work transfer (Jkg1)(J kg^{-1}), and δq\delta q is the (specific) infinitesimal heat transfer (Jkg1)(J kg^{-1}).

In this equation 2/3, the mathematical operators dd and δ\delta have slightly different meanings: dudu, an exact differential, represents an infinitesimal change that will integrate to Δu=u2u1\Delta u = u_{2}-u_{1}; on the other hand, an δw\delta w, inexact differential, represents an infinitesimal transfer that will integrate to w12w_{1\rightarrow 2}. This distinction is further elaborated in Appendix A4 p. 316.

When a fluid is brought back to its initial state (same pressure, same volume, same temperature), then it contains exactly the same amount of internal energy as before. The total energy it has received (in the form of heat or work) has therefore necessarily been returned to the surroundings in one form or another. We express this statement as follows:

Qcycle+Wcycle=0Q_{\mathrm{cycle}}+ W_{\mathrm{cycle}}= 0

for a complete thermodynamic cycle, where WcycleW_{\mathrm{cycle}} is the work received by the system (J)(J), and QcycleQ_{\mathrm{cycle}} is the heat received by the system (J)(J).

This equation 2/4 is the reason why the first law is often stated—without adding much to our simple statement in chapter 1 — in the following way: “When a system has completed a full thermodynamic cycle, the algebraic sum of the heat it has supplied and the work it has done is zero.”

2.4 Quantifying Work with a Closed System

Calculating work with fluids is delicate. We will proceed in three steps of increasing complexity:

• By replacing the fluid with a spring;

• By compressing the fluid infinitely slowly;

• By compressing the fluid rapidly.

2.4.1 Work as a function of volume, with a spring

Let’s start by imagining that the fluid within a closed system behaves like a metal spring (figure 2.5). This is an interesting modeling approach to begin our study. We had seen in §1.3 that the work supplied or received by a spring is expressed as:

WAB=FdlW_{\mathrm{A}\rightarrow \mathrm{B}}= -\int F dl

Today, since we are using a fluid, we want to express work in terms of pressure and volume rather than force and length.

Initially, we model the fluid inside the system with a metal spring.

Figure 2.5:Initially, we model the fluid inside the system with a metal spring.

Diagram CC-by-sa Olivier Cleynen

Pressure is defined as a force divided by an area:

pFAp \equiv \frac{F}{A}

where pp is the pressure (Pa)(Pa), FF is the force (N)(N), and AA is the area of the surface on which the force acts (m2)(m^{2}).

The SI unit of pressure is the Pascal,

1Pa1Nm21 Pa \equiv 1 N m^{-2}

but three other units are commonly used instead:

1bar1×105Pa1 bar \equiv 1 \times 10^{5}Pa
1kgf/cm2=9.80665×104Pa1 kg_{f}/cm^{2}= 9.806 65 \times 10^{4}Pa
1psi=6.894757×103Pa1 psi = 6.894 757 \times 10^{3}Pa

Note that atmospheric pressure at low altitude is of the order of one bar or one kilogram-force per square centimeter (patm.std.1atm1.01325bar14.7psi)(p_{\mathrm{atm.std}.}\equiv 1 atm \equiv 1.013 25 bar \approx 14.7 psi). Care is needed when reading pressure on measurement devices, which often indicate gauge pressure and not real pressure. This difference is described in Appendix A2 p. 314.

Volume can also be easily expressed. If the system is deformed by a piston with area AA, such that its length varies by dldl, we have:

dV=AdldV = Adl

where dVdV is the infinitesimal change in volume (m3)(m^{3}), AA is the area of the piston surface being displaced (m2)(m^{2}), and dldl is the infinitesimal change in length of the system corresponding to the piston displacement (m)(m).

In the SI system of units, volume is measured in m3m^{3}, but the student is likely accustomed to using at least one of three common units:

1L103m31 L \equiv 10^{-3}m^{3}
1USgal3.785411784×103m31 US gal \equiv 3.785 411 784 \times 10^{-3}m^{3}
1impgal4.54609×103m31 imp gal \equiv 4.546 09 \times 10^{-3}m^{3}

Let’s now express the work of a closed system in terms of volume and pressure. By inserting equations 2/5 and 2/10 into equation 1/11, we obtain:

WAB=ABFdl=ABFAAdlW_{\mathrm{A}\rightarrow \mathrm{B}}= -\int_{A}^{B} F dl = -\int_{A}^{B} \frac{F}{A} Adl
WAB=ABpdVW_{\mathrm{A}\rightarrow \mathrm{B}}= -\int_{A}^{B} pdV

for a closed system modeled by a spring, where WABW_{\mathrm{A}\rightarrow \mathrm{B}} is the work received by the system (J)(J), pp is the (uniform) internal pressure (Pa)(Pa),

and dVdV is the change in volume (m3)(m^{3}).

In order to quantify the work done on or by the system, we only need to know the relationship between pp and VV. In this case, this function p(V)p_{(V)} is directly related to the characteristic F(l)F_{(l)} of the spring. The spring stiffness and its geometry (regular or progressive coils) will ultimately determine the amount of work received or supplied by the system.

A powerful tool for understanding and analyzing work transfers is the pressure-volume diagram. In the case where the fluid is modeled by a spring, work can be visualized by the area under the curve (figure 2.6).

Pressure-volume diagram of a closed system modeled by a spring. In the case shown here, the volume is increasing (the piston moves away). The quantity $dV$ remains positive, and the work is negative: the system loses energy by doing work on the piston. This figure represents the same phenomenon as in fig. 1.3 p. 17, using different physical quantities.

Figure 2.6:Pressure-volume diagram of a closed system modeled by a spring. In the case shown here, the volume is increasing (the piston moves away). The quantity dVdV remains positive, and the work is negative: the system loses energy by doing work on the piston. This figure represents the same phenomenon as in fig. 1.3 p. 17, using different physical quantities.

Diagram CC-0 Olivier Cleynen

Illustration from the original text
Illustration from the original text

2.4.2 Work of a fluid in a slow process

When a fluid is compressed, the molecules it is made of are brought closer to each other (figure 2.7) and the collisions between them and against the walls become more frequent. On a macroscopic scale, this increase results in an increase in pressure.

A simplistic representation of a fluid being infinitely slowly compressed without heating it. The fluid sees its temperature and pressure increase.

Figure 2.7:A simplistic representation of a fluid being infinitely slowly compressed without heating it. The fluid sees its temperature and pressure increase.

Diagram CC-0 Olivier Cleynen

When the piston motion is infinitely slow, the fluid behaves like a spring being compressed.

Figure 2.8:When the piston motion is infinitely slow, the fluid behaves like a spring being compressed.

Diagram CC-by-sa Olivier Cleynen

We experimentally observe that when the motion is infinitely slow, a compressed fluid behaves exactly like a spring (figure 2.8). The condition “when the motion is infinitely slow” is of paramount importance, as we will see below.

If this condition is met, we can express the work received or supplied by the system in the same way as with the spring in the previous section:

WAB=pdVW_{\mathrm{A}\rightarrow \mathrm{B}}= -\int pdV

A B

wAB=pdvw_{\mathrm{A}\rightarrow \mathrm{B}}= -\int pdv

A for a closed system when volume changes are infinitely slow; where wABw_{\mathrm{A}\rightarrow \mathrm{B}} is the specific work received by the system (Jkg1)(J kg^{-1}), pp is the (uniform) internal pressure (Pa)(Pa),

and dvdv is the change in specific volume (m3kg1)(m^{3}kg^{-1}).

On a diagram representing pressure as a function of specific volume, this work wABw_{\mathrm{A}\rightarrow \mathrm{B}} is represented by the area under the curve from A to B, just like in figure 2.6. The shape of the curve, that is, the relationship between pp and vv as the fluid undergoes the process, will ultimately determine the quantity wABw_{\mathrm{A}\rightarrow \mathrm{B}}.

How exactly do fluids behave when they are compressed – in other words, by what type of “spring” can they be modeled? Experimentally, it is observed that when compressed, most gases have their pressure and volume related by a relation of the form pvk=p v^{k}= cst. with kk being a constant (figure 2.9). (An exception to this trend is found with liquid/vapors when they change phase, as we will see in chapter 5.)

Properties of a gas when compressed, represented on a pressure-volume diagram. The relationship is similar to what would be obtained with a spring with progressive coils.

Figure 2.9:Properties of a gas when compressed, represented on a pressure-volume diagram. The relationship is similar to what would be obtained with a spring with progressive coils.

Diagram CC-0 Olivier Cleynen

When heat is provided to the fluid while it is being compressed, its behavior becomes “stiffer”, and the pressure increases more rapidly (figure 2.10). Conversely, when heat is taken away from it during compression, the pressure increases less rapidly. These heat transfers therefore vary the amount of work required to compress the fluid between two given volumes. The case where no heat is added is called adiabatic: Q=0Q = 0. Care is needed here: adiabatic does not mean “at constant temperature”. When a fluid is compressed without heat input, its temperature increases. In a diesel engine, for example, the air in the cylinders can reach 900C900^{\circ}C before combustion – which is desirable, as we will see in chapter 7 (the second law).

In the three processes of figure 2.10, the relation of the form pvk=pv^{k}= cst. remains an appropriate model. The more heat is supplied during compression, the more rapidly the pressure increases – the exponent kk is then larger.

Conversely, if heat is taken away during compression, the pressure increases less rapidly and a curve closer to the horizontal (with a lower exponent k)k) is obtained. By removing enough heat, one can even maintain a constant pressure, as we will see in chapters 4 and 5. The exponent kk is then zero and we have p=pcst.p = p_{\mathrm{cst}.}.

Behavior of a fluid when infinitely slowly compressed. The more heat is supplied during compression, the more rapidly the pressure increases. The adiabatic curve represents the case where no heat transfer occurs $(Q = 0)$.

Figure 2.10:Behavior of a fluid when infinitely slowly compressed. The more heat is supplied during compression, the more rapidly the pressure increases. The adiabatic curve represents the case where no heat transfer occurs (Q=0)(Q = 0).

Diagram CC-0 Olivier Cleynen

Illustration from the original text
Illustration from the original text

2.4.3 Work of a fluid in a fast process

Things get more complicated when we compress and expand our fluid rapidly (figure 2.11). A complex and critically important phenomenon in thermodynamics occurs: the pressure on the wall differs from the “average pressure” inside the fluid.

Irreversible compression and expansion. When a fluid is rapidly compressed (left), the pressure on the piston wall is increased. During a rapid expansion (right), this pressure is decreased.

Figure 2.11:Irreversible compression and expansion. When a fluid is rapidly compressed (left), the pressure on the piston wall is increased. During a rapid expansion (right), this pressure is decreased.

In order to describe what happens inside the fluid, we can take the example of water in a bathtub being pushed with hands – like the object shown in figure 2.12 being moved in liquid water. When the object is moved away and brought closer abruptly, the pressure on its walls is not the same as when it is moved slowly.

In each case, the amount of work done on the fluid during compression is larger, and the amount of work done by the fluid during expansion is smaller.

We call this phenomenon irreversibility. It will be a great challenge in our quantitative study of thermodynamics and will make our conversions of work and heat even more difficult.

What happens in the cylinder filled with fluid when it is not compressed infinitely slowly? During a rapid compression, the pressure on the piston wall is greater than the average pressure inside the cylinder (figure 2.13). More energy is expended than necessary to carry out the displacement.

We could thus say that when compressed and expanded abruptly, a fluid behaves like a “fragile” spring, inside which something changes: it is not able to fully return all the mechanical energy it has stored.

If the received work is not equal to the work returned, then where did the excess energy go? This surplus of energy, supplied in the form of work by the piston, is converted into heat inside the fluid during the movements.

A solid object being moved in a water tank, with slow motion (above) and with fast motion (below). During fast motion, the pressure forces aiding the movement are weaker, and the forces opposing the movement are greater. In the limit of infinitely slow motion, these forces are equal.

Figure 2.12:A solid object being moved in a water tank, with slow motion (above) and with fast motion (below). During fast motion, the pressure forces aiding the movement are weaker, and the forces opposing the movement are greater. In the limit of infinitely slow motion, these forces are equal.

Diagram CC-0 Olivier Cleynen

Compressed fluid abruptly. The local pressure at the piston surface is higher than it would have been with slow movement.

Figure 2.13:Compressed fluid abruptly. The local pressure at the piston surface is higher than it would have been with slow movement.

Diagram CC-by-sa Olivier Cleynen

The process traced on a pressure-volume diagram (figure 2.14) is much more complex than in the case of an infinitely slow process. The average pressure inside the fluid increases more rapidly than it would in a slow motion.

During expansion, the opposite phenomenon occurs (figure 2.15): a zone of lower pressure forms in front of the piston wall, and the work done by the fluid on the piston is less than it would have been in the reversible case.

Irreversible adiabatic compression on a pressure-volume diagram. We draw the curve with dashes: it is not a continuous series of states because the fluid pressure is not homogeneous during the process. The path the fluid would have followed if the compression had been infinitely slow is represented with a solid line. During compression, the “surplus” of work supplied by the piston is converted into heat, even though the gas is perfectly isolated.

Figure 2.14:Irreversible adiabatic compression on a pressure-volume diagram. We draw the curve with dashes: it is not a continuous series of states because the fluid pressure is not homogeneous during the process. The path the fluid would have followed if the compression had been infinitely slow is represented with a solid line. During compression, the “surplus” of work supplied by the piston is converted into heat, even though the gas is perfectly isolated.

Diagram CC-0 Olivier Cleynen

Irreversible adiabatic expansion on a pressure-volume diagram. The work received by the piston is less than it would have been with a slow motion. The path followed by the fluid is represented with dashes, because the pressure is not homogeneous during the movement.

Figure 2.15:Irreversible adiabatic expansion on a pressure-volume diagram. The work received by the piston is less than it would have been with a slow motion. The path followed by the fluid is represented with dashes, because the pressure is not homogeneous during the movement.

Diagram CC-0 Olivier Cleynen

From a quantitative point of view, the more abrupt the movements on the fluid, the more the process will resemble one with heat input (“hardening” of the fluid and increase in the exponent kk during compressions, decrease in the exponent kk during expansions).

However, the work done on or by the fluid can no longer be simply calculated by integral, since the pressure inside the cylinder is not homogeneous at all. It is the pressure at the piston surface that would allow this work to be calculated. Unfortunately, no simple mathematical relationship describes this relationship between pressure and volume. An experimental measurement must be made each time.

Illustration from the original text
Illustration from the original text

2.4.4 Reversibility

Let’s take a few moments to reflect on what we have just described. Every time we compress a fluid “too quickly,” something happens that prevents us from recovering our work.

From an engineering perspective, a slow process is a limit case: one where dissipations are minimized. For example, the work required to compress a gas to 10 bar is minimal when the compression is reversible. Similarly, a turbine in which the expansion is reversible will extract the maximum work from a compressed fluid. On the contrary, in a car shock absorber, processes are made highly irreversible so that it does less work on the return path than was done on it on the outbound journey.

From a physics standpoint, the phenomenon of irreversibility is fascinating. Indeed, we start from collisions of molecules, a completely reversible phenomenon, to create an irreversible process: one that only goes in one direction! In order to bring the gas back to the state it was in before being abruptly compressed, we are forced to transfer heat away from it. It is surprising that without going against Newton’s laws, we have created a situation where we cannot go back by “doing the opposite”. Are there other irreversible processes? Can we quantify irreversibility? We will attempt to answer these questions in chapters 7 (the second law) and 8 (entropy).

In the meantime, we shall agree that three conditions must be met for a process to be reversible:

  1. The process must occur without friction. There should be no friction in the mechanical elements (for example, between piston and cylinder).

  2. The pressure in the fluid must be homogeneous. The movement of the walls must therefore be infinitely slow, and the fluid must move without turbulence or internal friction.

  3. The temperature difference between the fluid and its environment must be infinitely small. If heat is supplied or rejected, it must be transferred infinitely slowly.

These three conditions obviously exclude any real process—and in particular, any practical application in an engine! However, we will use them to establish an ideal theoretical limit for all of the real processes that we will study.

2.5 Quantifying Heat with a Closed System

At the risk of frustrating the student, we must immediately admit that we cannot directly quantify heat transfers. We will always proceed by deduction: by quantifying the change in energy and subtracting the work transfers, we obtain the amount of heat that has been transferred. Mathematically, in a closed system, we simply reuse equation 2/1 to obtain:

Q12=ΔUW12Q_{1\rightarrow 2}= \Delta U - W_{1\rightarrow 2}
q12=Δuw12q_{1\rightarrow 2}= \Delta u - w_{1\rightarrow 2}

for a closed system.

The entire difficulty in quantifying a heat transfer is now to predict and quantify the change in internal energy, ΔU\Delta U. For gases, UU is simply proportional to temperature; for liquids and vapors, the relationship is more complex. We will learn to quantify energy in fluids in chapters 4 (the ideal gas) and 5 (liquids and vapors).

Problems

Schematic modeling of a truck pneumatic suspension system. The piston, at the center, compresses a mass of air (in blue) when the trailer is

Figure 2.19:Schematic modeling of a truck pneumatic suspension system. The piston, at the center, compresses a mass of air (in blue) when the trailer is loaded.

Cross-sectional diagram of a small piston air compressor. The intake and exhaust valves are not shown.

Figure 2.20:Cross-sectional diagram of a small piston air compressor. The intake and exhaust valves are not shown.

Cutaway view of pistons and cylinders of an automobile engine.

Figure 2.21:Cutaway view of pistons and cylinders of an automobile engine.

Schematic representation of the operation of a four-cylinder engine. Pistons A and C are going up, and pistons B and D are going down. They

Figure 2.22:Schematic representation of the operation of a four-cylinder engine. Pistons A and C are going up, and pistons B and D are going down. They are all connected to the same motor shaft, not shown here.