 # Chris Fox's Engineering Section

## Second Law of Thermodynamics

"It is impossible to convert heat into work without transferring heat from a hotter to a colder body."

Second Law of Thermodynamics, Kelvin-Planck Version

"It is impossible to transfer heat from a colder to a hotter body without work being done."

Second Law of Thermodynamics, Clausius Version

If, at any stage in a process, everything can be reversed, and the system and surroundings restored to their original states, the process is said to be reversible.

As an example, it is possible for heat to flow from a hot to a cold reservoir without any of it being converted to work. If this process were reversible, heat could flow from the cold to the hot reservoir without work being done. A reversible process is the most efficient type of process.

Consider a system that takes Q1 of heat from a hot reservoir, transfers Q2 of heat to a cold reservoir and generates W of work. This is coupled with a reversible process that uses work to transfer heat in the opposite direction. The absolute temperatures of the hot and cold reservoirs shall be denoted by T1 and T2 respectively. For the allowed process (i.e. the former), Q2 and W shall be QA and WA respectively; and for the reversible process, Q2 and W shall be QR and WR respectively. Let us assume WR<WA.

Overall, the arrangement absorbs QR-QA of heat and delivers WA-WR of work. For the allowed process, Q1=WA+QA; and for the reversible process, Q1=WR+QR. If Q1 has the same value for both processes, WA+QA=WR+QR. Rearranging gives QR-QA=WA-WR. However, this is not allowed: if I understand correctly, a net transfer of heat from the cold reservoir requires that WR>WA. Whatever the reason, WA≥WR and WR≥WA both apply only if WA=WR.

The two versions of the Second Law are equivalent in that when an engine that violates one version is coupled with a normal engine that transfers heat in the opposite direction (to or from the hot reservoir), the net result is an engine that violates the other version. For example, an engine that violates Kelvin-Planck absorbs Q1 of heat from the hot reservoir and performs an equivalent amount of work. This is coupled with a normal engine that absorbs Q2 of heat from the cold reservoir, does W of work and delivers Q2+W of heat to the hot reservoir. But because W=Q1, Q2+W=Q1+Q2. The arrangement therefore delivers a net amount Q2 of heat to the hot reservoir, thereby violating Clausius.

An engine that violates Clausius transfers Q2 of heat from the cold to the hot reservoir. This is coupled with a normal engine that absorbs Q1 of heat from the hot reservoir, transfers Q2 of heat to the cold reservoir and produces W of work. The net amount of heat taken from the hot reservoir equals Q1-Q2. But this also equals the work done by the normal engine. The arrangement therefore violates Kelvin-Planck.

Efficiency (η) is defined as the energy output divided by the energy input. In the case of an engine that takes heat from a hot reservoir and generates work, η=W/Q1. Because Q1=W+Q2, η=(Q1-Q2)/Q1=1-Q2/Q1. All reversible processes have the same efficiency between two reservoirs; for a reversible engine, therefore, Q2/Q1 has the same value regardless of the quantity of heat absorbed and is a function of T1 and T2.

Imagine that a reservoir of absolute temperature TI lies between the hot and cold reservoirs. It receives QI of heat from the hot reservoir and discharges the same amount towards the cold reservoir. Q2/Q1=(Q2/QI)(QI/Q1). Because, for a reversible engine, Q2/Q1=f(T2,T1), it follows that Q2/Q1=f(T2,TI)f(TI,T1). f(T2,T1)=φ(T2)/φ(T1), or {φ(T2)/φ(TI)}{φ(TI)/φ(T1)}. Therefore, Q2/Q1=φ(T2)/φ(T1). From this we get Q2/Q1=T2/T1, and rearranging this gives Q2=Q1T2/T1. When the engine is operating, Q1 and T1 both have non-zero values, in which case Q2=0 only when T2=0.

From the above, we can deduce that the efficiency of our engine, η=1-T2/T1=(T1-T2)/T1. The original efficiency equation, η=W/Q1, can also be written as η=W/(W+Q2). Rearranging gives ηW+ηQ2=W, and in turn Q2=W(1-η)/η.

Consider an engine that takes Q2 of heat from the cold reservoir, does W of work and transfers Q1 of heat to the hot reservoir. Because Q1=Q2+W, W=Q1-Q2. Dividing both sides by Q2 and rearranging gives W=Q2(Q1/Q2-1). For a reversible process, this becomes W=Q2(T1/T2-1). The power of the engine is given by dW/dt=(dQ2/dt){(T1-T2)/T2}.

A reversible engine is the most efficient engine possible. Real engines are not perfectly reversible and are therefore less efficient.

The Carnot cycle consists of alternate isothermal (where the temperature is constant) and adiabatic processes. It is represented on a pressure-volume graph by a distorted square. The exact shape of the graph can be calculated, but an approximation can be drawn as follows. Starting from the top left corner and working clockwise, label the corners A, B, C and D. Then stretch the square along the line running from A to C. Finally, bend the sides so that their centres are displaced downwards or to the left. The cycle operates clockwise as denoted on the graph, so that the isothermal expansion AB is followed by the adiabatic expansion BC. The other two processes are both contractions.

A reversible cycle is a physical process that is carried out very slowly (quasistatically) in such a way that the system and its surroundings can be returned to their initial states. Consider, for example, the cycle ABA, where A and B are two points on a pressure-volume graph. Line 1 runs from A to B, line 2 runs from B to A and line 3 is an alternative route from B to A.

Entropy (S) is a measure of disorder in a system. It is defined using the equation dS=δQ/T, where δQ = heat transfer. For a reversible cycle, dS=0; this is known as the Clausius inequality.

For our cycle, therefore, ∫1 δQ/T + ∫2 δQ/T = 0 and ∫1 δQ/T + ∫3 δQ/T = 0, where the subscripts denote the path numbers. It follows that ∫2 δQ/T = ∫3 δQ/T. This shows that ∫δQ/T is independent of the path taken and depends only on the start and end points. So ∫AB dS = SB-SA.

Because δQ=dU+pdV, and because dU=cvdT for unit mass, dS=cvdT/T+pdV/T. Given that pV=nRT, dS=cvdT/T+nRdV/V. Integrating this gives ∫dS=cv∫dT/T+nR∫dV/V. This leads to ∫ab dS = cv [ln T]ab + nR [ln V]ab = cv ln (Tb/Ta) + nR ln (Vb/Va). On another point, Vb/Va=(Tbpa)/(Tapb).