Skip to main content
Engineering LibreTexts

6.6: Entropy and entropy generation

  • Page ID
    88856
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    6.5.1 The inequality of Clausius

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

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

    where \delta Q represents the differential amount of heat transfer into or out of a system through an infinitesimal part of the system boundary. \delta Q is positive for heat transfer into the system and is negative for heat transfer out of the system. T is the absolute temperature at the infinitesimal part of the system boundary, where the heat transfer occurs. The cyclic integral symbol \oint 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 T_H and a heat sink at a constant temperature of T_L, the cyclic integral can be written as

    \[\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}\]

    Note that for a reversible cycle,

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

    Therefore, the following equation exists for a reversible cycle.

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

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

    \[\because Q_{H, rev} = Q_{H, irrev} = Q_{H}\]

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

    \[\therefore \left(\dfrac{Q_H}{Q_L}\right)_{irrev} < \left(\dfrac{Q_H}{Q_L}\right)_{rev}\]

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

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

    Therefore,

    \[\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\]

    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\to2 via path A and 2\to1 via path B, see Figure 6.5.1.

    \[\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*}\]

    \[\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}\]

    \[S\]

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

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

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

    where S is the entropy and T is the absolute temperature. The common SI units for entropy are kJ/K or J/K. It is important to note that entropy, S, is a state function; \Delta S 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, s = \dfrac{S}{m}, 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

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

    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\to2 in a piston-cylinder is shown in Figure 6.5.e3. Determine whether the change in specific internal energy \Delta u=u_2-u_1, 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 P-v diagram shows an expansion process in the piston-cylinder. Its specific boundary work can be shown as the shaded area in the P-v diagram, see Figure 6.5.e3. It can also be expressed as

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

    From the definition of entropy,

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

    The process is reversible; therefore,

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

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

    The specific heat transfer is

    \[{}_{1}q_{2} = \dfrac

    ParseError: invalid DekiScript (click for details)
    Callstack:
        at (Bookshelves/Mechanical_Engineering/Introduction_to_Engineering_Thermodynamics_(Yan)/06:_Entropy_and_the_Second_Law_of_Thermodynamics/6.06:_Entropy_and_entropy_generation), /content/body/div[2]/p[31]/span, line 1, column 1
    
    {m} = \displaystyle\int_{1}^{2} Tds\]

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

    \[{}_{1}q_{2} = 0\]

    The specific heat transfer in a reversible process can be shown graphically as the area under the process line in the T-s 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),

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

    In conclusion, the reversible expansion process illustrated in the P-v and T-s 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\to1 is a reversible process and process 1\to2 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.

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

    \[\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*}\]

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

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

    \[\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)\]

    This relation is valid for all processes with the “=” sign for reversible processes, and the “" class="latex mathjax" title=">" src="/@api/deki/files/59059/95a81a28652c14c0562699985a262099.png">” sign for irreversible processes. The differential form of the relation can be expressed as

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

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

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

    • Entropy generation, S_{gen}, is a measure of the irreversibilities in a process. S_{gen} is NOT a property of the system. It depends on the path of a process; the more irreversible a process is, the larger S_{gen} is.
    • Entropy S is a thermodynamic property of the system. It is a state function. \Delta S depends on the initial and final states only, not on the path of a process.
    • In general, \Delta S \neq S_{gen}. \Delta S may be positive or negative, but S_{gen} 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, S_{gen} \ge 0, 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

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

    where \Delta S_{univ}\; , \Delta S_{sys}, and \Delta S_{sur} 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

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

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

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

    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.

    \[(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\]

    where \Delta S_{sys,i} 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 S_{gen}<0.

    Take a heat pump as an example. We may prove that any heat pump that violates the Clausius statement would have S_{gen}<0. A heat pump that violates the Clausius statement would have Q_H=Q_L 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, \Delta S=0. The change of entropy in the heat pump cycle can be expressed as follows,

    \[\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\]

    \[\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\]

    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 S_{gen}<0. A similar procedure may be applied to prove that any heat engine that violates the Kelvin-Planck statement would have S_{gen}<0.

    In summary, the second law of thermodynamics requires that any process or cycle proceeds in the direction that obeys S_{gen}\ge 0, in which the “=” sign applies to the ideal Carnot cycles and the “" class="latex mathjax" title=">" src="/@api/deki/files/59059/95a81a28652c14c0562699985a262099.png">” sign applies to any real, irreversible cycles or processes.

    • Actual, irreversible process or cycle: S_{gen}0" class="latex mathjax" title="S_{gen}>0" src="/@api/deki/files/59082/06b0297b8c94b487262b45bd7b0793b8.png">
    • Carnot, reversible process or cycle: S_{gen}=0
    • Impossible process or cycle: S_{gen}< 0

    Query \(\PageIndex{1}\)


    This page titled 6.6: Entropy and entropy generation is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Claire Yu Yan (BC Campus) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.