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:
where
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
Note that for a reversible cycle,
Therefore, the following equation exists for a reversible cycle.
For an irreversible cycle operating between the same two heat reservoirs at constant temperatures of
Therefore,
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.

Let us apply the inequality of Clausius to a reversible cycle consisting of two reversible processes 1
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
The infinitesimal change of entropy in a reversible process can thus be written as
where
Entropy is an extensive property; its corresponding intensive property is called specific entropy,
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?

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
This integral can be shown graphically as the shaded area under the T-S curve of the reversible process, see Figure 6.5.e2.

(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

Solution:
The
From the definition of entropy,
The process is reversible; therefore,
The specific heat transfer is
From the
The specific heat transfer in a reversible process can be shown graphically as the area under the process line in the
Apply the first law of thermodynamics to the piston-cylinder (closed system),
In conclusion, the reversible expansion process illustrated in the
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
We may change the above inequality to an equation by introducing entropy generation,
This relation is valid for all processes with the “

It is important to note that
- Entropy generation,
, is a measure of the irreversibilities in a process. is NOT a property of the system. It depends on the path of a process; the more irreversible a process is, the larger is. - Entropy
is a thermodynamic property of the system. It is a state function. depends on the initial and final states only, not on the path of a process. - In general,
. may be positive or negative, but 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,

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
where
The change of entropy in the universe can be written in terms of entropy generation as
Since the universe is an isolated system, heat transfer across the universe boundary
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.
where
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
Take a heat pump as an example. We may prove that any heat pump that violates the Clausius statement would have

Now, we have proven that any heat pump that violates the Clausius statement would have
In summary, the second law of thermodynamics requires that any process or cycle proceeds in the direction that obeys
- Actual, irreversible process or cycle:
- Carnot, reversible process or cycle:
- Impossible process or cycle:
Practice Problems
Entropy is a thermodynamic property, which quantifies the degree of disorder of a system resulting from the dispersal of energy and matter in a process.
Specific entropy is the entropy per unit mass of a system.