6. Entropy and the Second Law of Thermodynamics
6.9 The second law of thermodynamics for open systems
Entropy can be transferred to a system via two mechanisms: (1) heat transfer and (2) mass transfer. For open systems, the second law of thermodynamics is often written in the rate form; therefore, we are interested in the time rate of entropy transfer due to heat transfer and mass transfer.
˙Sheat=dSheatdt≅∑˙QkTk˙Sheat=dSheatdt≅∑˙QkTk
˙Smass=∑dSmassdt=∑˙mksk˙Smass=∑dSmassdt=∑˙mksk
where
˙m˙m: rate of mass transfer
˙Qk˙Qk: rate of heat transfer via the location kk of the system boundary, which is at a temperature of TkTk in Kelvin
˙Sheat˙Sheat: time rate of entropy transfer due to heat transfer
˙Smass˙Smass: time rate of entropy transfer that accompanies the mass transfer into or out of a control volume
sksk: specific entropy of the fluid
Applying the entropy balance equation, Δentropy=+in−out+genΔentropy=+in−out+gen, to a control volume, see Figure 6.9.1, we can write the following equations:
- General equation for both steady and transient flow devices
dSc.v.dt=(∑˙misi+∑˙Qc.v.T)−(∑˙mese)+˙Sgen (˙Sgen≥0)dSc.v.dt=(∑˙misi+∑˙Qc.v.T)−(∑˙mese)+˙Sgen (˙Sgen≥0)
- For steady-state, steady-flow devices, dSc.v.dt=0dSc.v.dt=0; therefore,
∑˙mese−∑˙misi=∑˙Qc.v.T+˙Sgen (˙Sgen≥0)∑˙mese−∑˙misi=∑˙Qc.v.T+˙Sgen (˙Sgen≥0)
- For steady and isentropic flow devices, ˙Qc.v.=0˙Qc.v.=0 and ˙Sgen=0˙Sgen=0; therefore,
∑˙mese=∑˙misi∑˙mese=∑˙misi
where
˙m˙m: rate of mass transfer of the fluid entering or leaving the control volume via the inlet ii or exit ee, in kg/s
˙Qc.v.˙Qc.v.: rate of heat transfer into the control volume via the system boundary (at a constant TT), in kW
Sc.v.Sc.v.: entropy in the control volume, in kJ/K
dSc.v.dtdSc.v.dt: time rate of change of entropy in the control volume, in kW/K
˙Sgen˙Sgen: time rate of entropy generation in the process, in kW/K
ss: specific entropy of the fluid entering or leaving the control volume via the inlet ii or exit ee, in kJ/kgK
TT: absolute temperature of the system boundary, in Kelvin

Example 1
The diagrams in Figure 6.9.e1 show a reversible process in a steady-state, single flow of air. The letters i and e represent the initial and final states, respectively. Treat air as an ideal gas and assume ΔKE=ΔPE=0. Are the change in specific enthalpy Δh=he−hi, specific work w, and specific heat transfer q positive, zero, or negative values? What is the relation between w and q?

Solution:
The specific work can be evaluated mathematically and graphically.
(1) Mathematically,
∵ve>vi
∴w=∫eiPdv > 0
(2) Graphically, the specific work is the area under the process curve in the P−v diagram; therefore w is positive, see Figure 6.9.e2.
In a similar fashion, the specific heat transfer can also be evaluated graphically and mathematically.
(1) Graphically,
∵ds=(δqT)rev
∴qrev=∫eiTds=T(se−si) > 0
For a reversible process, the area under the process curve in the T−s diagram represents the specific heat transfer of the reversible process; therefore q=qrev is positive, see Figure 6.9.e2.
(2) The same conclusion, qrev>0, can also be derived from the second law of thermodynamics mathematically, as follows.
˙m(se−si)=∑˙QTsurr+˙Sgen
For a reversible process, ˙Sgen= 0, and the fluid is assumed to be always in thermal equilibrium with the system boundary, or T=Tsurr; therefore,
qrev=˙Q˙m=T(se−si)>0
The change in specific enthalpy can then be evaluated. For an ideal gas,
Δh=he−hi=Cp(Te−Ti)
∵Te=Ti
∴he=hi and Δh=0
Now, we can determine the relation between w and qrev from the first law of thermodynamics for control volumes.
∵˙m(he−hi)=˙Qrev−˙W=0
∴˙Qrev=˙W
∴qrev=w
In this reversible process, the specific heat transfer and specific work must be the same. Graphically, the two areas under the P−v and T−s diagrams must be the same.

Practice Problems
Media Attributions
- Entropy transfers and entropy generation through a C.V. © Pbroks13 is licensed under a Public Domain license
An isentropic process refers to a process that is reversible and adiabatic. The entropy remains constant in an isentropic process.