6. Entropy and the Second Law of Thermodynamics
6.10 Applications of the second law of thermodynamics in open systems
When solving problems in a control volume, the first and second laws of thermodynamics are often used together with the continuity equation and the thermodynamic tables or the ideal gas equation. The following strategy may be adapted:
- Set up a proper control volume to enclose the device of interest and identify the flow condition, i.e., steady or transient flow, through the control volume.
- Determine the relations among the mass flow rates at the inlet(s) and outlet(s) by using the continuity equation.
- Find the fluid properties at the inlet(s) and outlet(s), such as,
, by using the thermodynamic tables or equations, e.g., for an ideal gas, solid or liquid. - Determine the rate of heat transfer,
, or other unknowns by applying the first law of thermodynamics for open systems; - Determine the rate of entropy generation,
, or other unknowns by applying the second law of thermodynamics for open systems.
Example 1
Steam is used to provide heating to air in a building through a well-insulated heat exchanger, see Figure 6.10.e1.
- Saturated steam at 100oC enters the heat exchanger at a mass flow rate of 0.5 kg/s and leaves the heat exchanger as a saturated liquid at 100oC
- Air enters the heat exchanger at 5oC, 101 kPa, and leaves at 25oC, 101 kPa.
Assume air is an ideal gas. Determine the mass flow rate of air and

Solution:
Analysis
- The mass flow rate of air can be found by using the first law of thermodynamics
- The rate of entropy generation can be found by using the second law of thermodynamics. Note that the heat exchanger is well-insulated.
- The following properties are needed in order to complete the calculations:
- For the steam-water stream:
- For the air stream:
- For the steam-water stream:
Now, let us solve the problem in detail.
From Table A1, we can find the specific enthalpies and specific entropies of the saturated steam and saturated liquid water at 100oC.
h1 = hg = 2675.57 kJ/kg , h2 = hf = 419.17 kJ/kg
s1 = sg = 7.3541 kJ/kgK, s2 = sf = 1.3072 kJ/kgK
From Table G1 for air: Cp = 1.005 kJ/kgK, R = 0.287 kJ/kgK
Now, we can complete the calculations. The mass flow rate of air is
The rate of entropy generation is
Comment:
The heat transfer process is irreversible; therefore, the rate of entropy generation is greater than zero.
Example 2
R134a at 300 kPa, 20°C is heated to 50°C isobarically in a heat exchanger. The mass flow rate of R134a is 1.5 kg/s. The heat at a rate of

Solution:
The control volume is set up to enclose both the heat pump and heat exchanger, as shown in Figure 6.10.e2.
From Table C1, we can tell that, at the given pressures and temperatures, R134a remains a superheated vapour at both the inlet and the outlet of the heat exchanger. The specific enthalpies and specific entropies of R134a can be found in Table C2.
- At the inlet, P1 = 300 kPa, T1= 20oC; therefore, h1 = 416.24 kJ/kg, s1 = 1.7876 kJ/kgK
- At the outlet, P2 = 300 kPa, T2 = 50oC; therefore, h2 = 443.31 kJ/kg, s1 = 1.8755 kJ/kgK
Apply the first law of thermodynamics to the control volume.
For the heat pump
Combine the above three relations, we can derive
Apply the second law of thermodynamics to the control volume.
Comment:
The rate of entropy generation in this control volume (consisting of both heat exchanger and heat pump) is positive; therefore, it is very likely that this setup can work in reality, and the processes in the heat exchanger and heat pump are irreversible.
To further verify this, we can calculate the rate of entropy generation for each individual device, i.e., heat exchanger and heat pump, separately. However, with the given information, there exists a challenge to evaluate the amount of entropy transfer due to the heat transfer provided by the heat pump to the heat exchanger. Strictly speaking,
Here, let us perform a simplified calculation to demonstrate the concept. Assume that
Apply the second law of thermodynamics to the heat pump. Note that
Furthermore, the COP of the Carnot cycle operating between the heat sink of 280 K and the heat source of 308.15 K is
Because
Similarly, let us apply the second law of thermodynamics to the heat exchanger.
Because
Example 3
Consider an adiabatic two-stage compressor having an intercooler, as shown in Figure 6.10.e3.
- Air at 10°C, 101 kPa enters the first stage of the compressor and is compressed to 300 kPa, 150°C.
- After being cooled to 30°C in a well-insulated intercooler, the air then enters the second stage cylinder and is compressed to 900 kPa.
Assume that (1) the pressure drop in the intercooler is negligible, (2) air is an ideal gas, and (3) the two compression processes are polytropic with the same polytropic exponent. Determine
- The total specific work of the two-stage compressor.
- The specific entropy generation in each of the two stages.
- The total specific entropy generation in the system consisting of the two-stage compressor and the intercooler, assuming a constant temperature of 30°C at the system boundary.
- Assume there is no intercooler. The air from the first stage enters directly to the second stage and is compressed to 900 kPa, what is the air temperature at the exit of the second stage? What is the total specific work of the compressor? Assume the polytropic exponent remains the same in both stages.

Solution:
(1) Assume air is an ideal gas. From Table G1 for air: R = 0.287 kJ/kgK, Cp = 1.005 kJ/kgK.
The compressor is adiabatic with the following inlet and outlet conditions for each stage:
- Stage 1
- Inlet P1 = 101 kPa, T1 = 10°C
- Outlet P2 = 300 kPa, T2 =150°C
Therefore, the specific work of stage 1 is
The polytropic exponent can be found by combining the polytropic relation and the ideal gas law.
- Stage 2
- Inlet P3 = 300 kPa, T3 = 30°C
- Outlet P4 = 900 kPa
The air temperature at the outlet of stage 2 can be found from the polytropic relation.
Therefore, the specific work of stage 2 is
The total specific work of the two stage compressor is
(2) Both stages are adiabatic; therefore, for each stage
For stage 1,
For stage 2,
(3) To calculate the total specific entropy generation in the system consisting of the compressor and the heat exchanger, we can set up the control volume as shown in Figure 6.10.e4.

The specific heat transfer rejected from the cooler to the surroundings is
Apply the second law of thermodynamics to the control volume as outlined in Figure 6.10.e4, we can find the total specific entropy generation.
Since
Therefore, the total specific entropy generation is
Comment:
Compare the results from part (2) and part (3),
(4) If the air is directly compressed from P1 = 101 kPa to P4 = 900 kPa in a polytropic process with n = 1.58486, then its final temperature at the exit of stage 2 will be
The specific work of the compressor will be
Comment:
Intercoolers are commonly used in multiple-stage compressors. Without intercoolers, the air temperature in the compressor may increase significantly, which may reduce the efficiency of the compressor. In addition, by comparing the specific work in part 1 and part 4,
Practice Problems
Media Attributions
- Two stage compressor with intercooler © Brian S. Elliott is licensed under a CC BY-SA (Attribution ShareAlike) license