6. Entropy and the Second Law of Thermodynamics

6.5 Entropy and entropy generation

6.5.1 The inequality of Clausius

The inequality of Clausius states that for any cycle, reversible or irreversible, there exists the following relation:

 

[latex]\displaystyle\oint\dfrac{\delta Q}{T}\le0\ \ \ \ \ \ \ \ \mathrm{(``="\ for\ reversible\ cycles;\ ``<"\ for\ irreversible\ cycles)}[/latex]

 

where  [latex]\delta Q[/latex]  represents the differential amount of heat transfer into or out of a system through an infinitesimal part of the system boundary. [latex]\delta Q[/latex]  is positive for heat transfer into the system and is negative for heat transfer out of the system. [latex]T[/latex] is the absolute temperature at the infinitesimal part of the system boundary, where the heat transfer occurs.  The cyclic integral symbol [latex]\oint[/latex] indicates that the integration must be done for the entire cycle. In other words, all heat transfer into and out of the system, as well as their corresponding boundary temperatures, must be considered in the integral.

 

The inequality of Clausius applies to all cycles. We will prove it by using the heat engine cycle, Figure 6.1.3, as an example. For a reversible heat engine cycle operating between a heat source at a constant temperature of [latex]T_H[/latex] and a heat sink at a constant temperature of [latex]T_L[/latex], the cyclic integral can be written as

 

[latex]\displaystyle\oint\left(\dfrac{\delta Q}{T}\right)_{rev} = \left(\dfrac{Q_H}{T_H}\right)_{rev} + \left(\dfrac{-Q_L}{T_L}\right)_{rev}[/latex]

 

Note that for a reversible cycle,

 

[latex]\left(\displaystyle\dfrac{T_H}{T_L}\right)_{rev} = \left(\displaystyle\dfrac{Q_H}{Q_L}\right)_{rev}[/latex]

 

Therefore, the following equation exists for a reversible cycle.

 

[latex]\displaystyle\oint\left(\dfrac{\delta Q}{T}\right)_{rev} =0[/latex]

 

For an irreversible cycle operating between the same two heat reservoirs at constant temperatures of [latex]T_H[/latex] and [latex]T_L[/latex], we assume that the heat absorbed from the heat source, [latex]Q_H[/latex], remains the same as that in the reversible cycle,

 

[latex]\because Q_{H, rev} = Q_{H, irrev} = Q_{H}[/latex]    and     [latex]W_{rev} > W_{irrev}[/latex]

 

[latex]\therefore Q_{L, rev} < Q_{L, irrev}[/latex]

 

[latex]\therefore \left(\dfrac{Q_H}{Q_L}\right)_{irrev} < \left(\dfrac{Q_H}{Q_L}\right)_{rev}[/latex]    and   [latex]\left(\dfrac{Q_H}{Q_L}\right)_{rev}=\left(\dfrac{T_H}{T_L}\right)_{rev}[/latex]

 

[latex]\therefore \left(\dfrac{Q_H}{Q_L}\right)_{irrev} < \left(\dfrac{T_H}{T_L}\right)_{rev}[/latex]     and   [latex]\left(\dfrac{T_H}{T_L}\right)_{rev}=\left(\dfrac{T_H}{T_L}\right)_{irrev}[/latex]

 

[latex]\therefore \left(\dfrac{Q_H}{T_H}\right)_{irrev} < \left(\dfrac{Q_L}{T_L}\right)_{irrev}[/latex]

 

Therefore,

 

[latex]\displaystyle\oint\left(\dfrac{\delta Q}{T}\right)_{irrev} = \left(\dfrac{Q_H}{T_H}+\dfrac{-Q_L}{T_L}\right)_{irrev} = \left(\dfrac{Q_H}{T_H}\right)_{irrev} - \left(\dfrac{Q_L}{T_L}\right)_{irrev}  <  0[/latex]

 

Now, we have proven the inequality of Clausius for heat engine cycles. A similar procedure may be applied to prove the inequality of Clausius for refrigerator and heat pump cycles.

6.5.2 Definition of entropy

Why is the inequality of Clausius important? The cyclic integral is either equal to or less than zero depending on the nature of the cycle: reversible or irreversible. The inequality of Clausius provides a basis for introducing the concepts of entropy and entropy generation. Both concepts are important in the second law of thermodynamics.

 

A reversible cycle consisting of two paths: path A and path B
Figure 6.5.1 A reversible cycle consisting of path A and path B

Let us apply the inequality of Clausius to a reversible cycle consisting of two reversible processes 1[latex]\to[/latex]2 via path A and 2[latex]\to[/latex]1 via path B, see Figure 6.5.1.

 

[latex]\begin{align*} \because \displaystyle\oint \left(\dfrac{\delta Q}{T}\right)_{rev} &= \int_{1}^{2}\left(\dfrac{\delta Q}{T}\right)_{path A} + \int_{2}^{1}\left(\dfrac{\delta Q}{T}\right)_{path B} \\ &= \int_{1}^{2}\left(\dfrac{\delta Q}{T}\right)_{path A} - \int_{1}^{2}\left(\dfrac{\delta Q}{T}\right)_{path B}=0 \end{align*}[/latex]

 

[latex]\therefore \displaystyle\int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right)_{path A} = \displaystyle\int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right)_{path B}[/latex]

 

The above equation indicates that the integral between the two states 1 and 2 of any reversible processes depends only on the two states, not on the paths; therefore, the integral [latex]\displaystyle\int_{1}^{2}\left(\dfrac{\delta Q}{T}\right)_{rev}[/latex] is a state function and must be related to a thermodynamic property. We define such thermodynamic property as entropy, [latex]S[/latex], and the change in entropy between two states can be expressed as

 

[latex]\displaystyle\Delta S = S_2-S_1=\int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right)_{rev}[/latex]

 

The infinitesimal change of entropy in a reversible process can thus be written as

 

[latex]dS=\left(\dfrac{\delta Q}{T}\right)_{rev}[/latex]

 

where [latex]S[/latex] is the entropy and [latex]T[/latex] is the absolute temperature. The common SI units for entropy are kJ/K or J/K. It is important to note that entropy, [latex]S[/latex], is a state function; [latex]\Delta S[/latex] in a process depends on the initial and final states, not on the path of the process.

 

Entropy is an extensive property; its corresponding intensive property is called specific entropy, [latex]s = \dfrac{S}{m}[/latex], and its common SI units are kJ/kgK or J/kgK.

 

Example 1

Consider a reversible process and an irreversible process from states 1 to 2, as shown in the T-S diagram, Figure 6.5.e1. Answer the following questions

(1) Is the change in entropy, ΔS, the same or different in these two processes?

(2) Is it possible to show the heat transfer of the reversible process in the T-S diagram?

(3) Is it possible to show the heat transfer of the irreversible process in the T-S diagram?

T-S diagram for a reversible process and an irreversible process with the same initial and final states
Figure 6.5.e1 T-S diagram for a reversible process and an irreversible process with the same initial and final states

Solution:

(1) Entropy is a state function. The two processes have the same initial and final states, therefore, the same ΔS.

(2) From the definition of entropy, the heat transfer in the reversible process can be found from

[latex]Q_{rev}=\displaystyle\int_{1}^{2} {\left(\delta Q\right)}_{rev} = \int_{1}^{2} \left(TdS\right)_{rev}[/latex]

This integral can be shown graphically as the shaded area under the T-S curve of the reversible process, see Figure 6.5.e2.

T-S diagram: the shaded area represents the heat transfer of a reversible process.
Figure 6.5.e2 T-S diagram: the shaded area represents the heat transfer of a reversible process.

(3) The heat transfer of the irreversible process cannot be simply calculated without additional information, and it cannot be shown in the T-S diagram.

 

Example 2

A reversible process from states 1[latex]\to[/latex]2 in a piston-cylinder is shown in Figure 6.5.e3. Determine whether the change in specific internal energy [latex]\Delta u=u_2-u_1[/latex], specific work w, and specific heat transfer q are positive, zero, or negative.

P-v and T-s diagrams of a reversible process
Figure 6.5.e3 P-v and T-s diagrams of a reversible process

Solution:

The [latex]P-v[/latex] diagram shows an expansion process in the piston-cylinder. Its specific boundary work can be shown as the shaded area in the [latex]P-v[/latex] diagram, see Figure 6.5.e3. It can also be expressed as

[latex]{}_{1}w_{2} = \displaystyle\int_{1}^{2} Pdv > 0[/latex]

From the definition of entropy,

[latex]dS=\left(\displaystyle\frac{\delta Q}{T}\right)_{rev}[/latex]

The process is reversible; therefore,

[latex](\delta Q)_{rev} = TdS[/latex]

[latex]\therefore \; {}_{1}Q_{2} = Q_{rev} =  \displaystyle\int_{1}^{2} (\delta Q)_{rev} = \displaystyle\int_{1}^{2} TdS [/latex]

The specific heat transfer is

[latex]{}_{1}q_{2} = \dfrac{{}_{1}Q_{2}}{m} = \displaystyle\int_{1}^{2} Tds[/latex]

From the [latex]T-s[/latex] diagram in Figure 6.5.e3, [latex]s_1 = s_2[/latex]; therefore,

[latex]{}_{1}q_{2} = 0[/latex]

The specific heat transfer in a reversible process can be shown graphically as the area under the process line in the [latex]T-s[/latex] diagram. Note: this statement is only true for reversible processes; it is not valid for irreversible processes!

 

Apply the first law of thermodynamics to the piston-cylinder (closed system),

[latex]\Delta u = {}_{1}q_{2} - {}_{1}w_{2} = 0 - {}_{1}w_{2} < 0[/latex]

In conclusion, the reversible expansion process illustrated in the [latex]P-v[/latex] and [latex]T-s[/latex] diagrams in Figure 6.5.e3 has a positive boundary work and zero heat transfer (adiabatic). The specific internal energy decreases in the process.

6.5.3 Entropy generation, Sgen

 

Entropy generation is another important concept in the second law of thermodynamics. Let us consider a cycle consisting of two processes; process 2[latex]\to[/latex]1 is a reversible process and process 1[latex]\to[/latex]2 can be any process, either reversible or irreversible, see Figure 6.5.2. We will apply the definition of entropy and the inequality of Clausius in the following derivations.

 

[latex]\because \Delta S = S_2-S_1=\displaystyle\int_{1}^{2}\left(\dfrac{\delta Q}{T}\right)_{rev}[/latex]

 

[latex]\begin{align*} \therefore\displaystyle\oint \dfrac{\delta Q}{T} &= \displaystyle\int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right) + \displaystyle\int_{2}^{1}\left(\displaystyle\frac{\delta Q}{T}\right)_{rev} \\&= \displaystyle\int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right) - \displaystyle\int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right)_{rev} \\ &= \displaystyle\int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right) - (S_2 - S_1) \le 0 \end{align*}[/latex]

 

[latex]\therefore (S_2-S_1) \ge \displaystyle\int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right)[/latex]

 

We may change the above inequality to an equation by introducing entropy generation, [latex]S_{gen} \ge 0[/latex], to the right side; therefore,

 

[latex]\Delta S = (S_2-S_1) = \displaystyle\int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right) + S_{gen} \hspace{3em}  \left( S_{gen} \ge 0\right)[/latex]

 

This relation is valid for all processes with the “[latex]=[/latex]” sign for reversible processes, and the “[latex]>[/latex]” sign for irreversible processes. The differential form of the relation can be expressed as

 

[latex]dS=\displaystyle\frac{\delta Q}{T}+\delta S_{gen} \hspace{3em}  \left( \delta S_{gen} \ge 0\right)[/latex]

 

A cycle consisting of reversible and/or irreversible processes for introducing entropy generation
Figure 6.5.2 A cycle consisting of reversible and/or irreversible processes for introducing entropy generation

It is important to note that [latex]S_{gen}[/latex] and [latex]\Delta S[/latex] are different concepts.

  • Entropy generation, [latex]S_{gen}[/latex], is a measure of the irreversibilities in a process. [latex]S_{gen}[/latex] is NOT a property of the system. It depends on the path of a process; the more irreversible a process is, the larger [latex]S_{gen}[/latex] is.
  • Entropy [latex]S[/latex] is a thermodynamic property of the system. It is a state function. [latex]\Delta S[/latex] depends on the initial and final states only, not on the path of a process.
  • In general, [latex]\Delta S \neq S_{gen}[/latex]. [latex]\Delta S[/latex] may be positive or negative, but [latex]S_{gen}[/latex] must be positive for irreversible processes or zero for reversible processes.

Why is entropy generation important? how does it play a role in the universe? The universe is everything, including all the matter and energy that could possibly exist in all space and time. We may treat the universe as an isolated system because nothing exists outside the universe. From the entropy generation, [latex]S_{gen} \ge 0[/latex], we can prove that the entropy in the universe always increases due to the existence of irreversibilities in nature and in all human activities.

 

The universe as an isolated system
Figure 6.5.3 The universe as an isolated system

Let us define a system in the universe and everything outside the system boundary as the surroundings, see Figure 6.5.3. The change of entropy in the universe can be written as

[latex]\Delta S_{univ} = \Delta S_{sys} + \Delta S_{sur}[/latex]

 

where [latex]\Delta S_{univ}\; , \Delta S_{sys}[/latex], and [latex]\Delta S_{sur}[/latex] represent the changes of entropy in the universe, the system, and its surroundings, respectively.

 

The change of entropy in the universe can be written in terms of entropy generation as

 

[latex]\Delta S_{univ} = \displaystyle\int_{1}^{2}\left(\dfrac{\delta Q}{T}\right) + (S_{gen})_{univ}[/latex]     and    [latex](S_{gen})_{univ} \ge 0[/latex]

 

Since the universe is an isolated system, heat transfer across the universe boundary [latex]Q=0[/latex]. In addition, since all real processes happening in the universe are irreversible, we can drop the “[latex]=[/latex]” sign in the inequality; therefore,

 

[latex](S_{gen})_{univ} = \Delta S_{univ} = \Delta S_{sys} + \Delta S_{sur} > 0[/latex]

 

The above relation indicates that the entropy generation in the universe is always a positive number due to the irreversibilities in all real processes. As a result, the entropy in the universe always increases. This concept can be expressed in a general format as follows if we divide the universe into a number of subsystems.

 

[latex](S_{gen})_{univ} = \Delta S_{univ} = \Delta S_{sys,1} + \Delta S_{sys,2} +...+\Delta S_{sys,n}= \sum_{i=1}^{n}\Delta S_{sys,i} > 0[/latex]

 

where [latex]\Delta S_{sys,i}[/latex] is the change of entropy in the subsystem, i, in the universe.

6.5.4 The second law of thermodynamics expressed in terms of entropy generation, Sgen

The second law of thermodynamics was previously described with the Kelvin-Planck and Clausius statements. In fact, any device that violates the Kelvin-Planck or Clausius statements must have [latex]S_{gen}<0[/latex].

 

Take a heat pump as an example. We may prove that any heat pump that violates the Clausius statement would have [latex]S_{gen}<0[/latex]. A heat pump that violates the Clausius statement would have [latex]Q_H=Q_L[/latex] from the first law of thermodynamics, see Figure 6.5.4. Note that entropy is a state function. For the heat pump cycle, the initial and final states are the same; therefore, [latex]\Delta S=0[/latex]. The change of entropy in the heat pump cycle can be expressed as follows,

 

[latex]\because \Delta S = \displaystyle \int_{1}^{2}\left(\displaystyle\frac{\delta Q}{T}\right) + S_{gen} = \dfrac{-Q_H}{T_H} + \dfrac{Q_L}{T_L} + S_{gen} =0[/latex]    and    [latex]T_H>T_L[/latex]

 

[latex]\therefore S_{gen} = \dfrac{Q_H}{T_H} - \dfrac{Q_L}{T_L} = Q_H\left(\dfrac{1}{T_H} - \dfrac{1}{T_L}\right) < 0[/latex]

 

A heat pump violating the Clausius statement
Figure 6.5.4 A heat pump violating the Clausius statement

 

Now, we have proven that any heat pump that violates the Clausius statement would have [latex]S_{gen}<0[/latex]. A similar procedure may be applied to prove that any heat engine that violates the Kelvin-Planck statement would have [latex]S_{gen}<0[/latex].

 

In summary, the second law of thermodynamics requires that any process or cycle proceeds in the direction that obeys [latex]S_{gen}\ge 0[/latex], in which the “[latex]=[/latex]” sign applies to the ideal Carnot cycles and the “[latex]>[/latex]” sign applies to any real, irreversible cycles or processes.

  • Actual, irreversible process or cycle:  [latex]S_{gen}>0[/latex]
  • Carnot, reversible process or cycle:    [latex]S_{gen}=0[/latex]
  • Impossible process or cycle:                 [latex]S_{gen}< 0[/latex]

 

Practice Problems

definition

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Introduction to Engineering Thermodynamics Copyright © 2022 by Claire Yu Yan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book