IITIAN1997 STUDIO

Chemical Engineering Thermodynamics

Laws, real gases, VLE and equilibrium, solved.

Open the interactive studio →

Laws of thermodynamics, Carnot and entropy, equations of state (vdW, RK, SRK, Peng–Robinson), compression and nozzles, Maxwell relations, fugacity, activity coefficients, VLE and reaction equilibrium from the ASTU CHE241403 syllabus.

What is inside

  • Laws, entropy, Carnot and free energies
  • Equations of state, compression and refrigeration
  • Fugacity, activity coefficients and mixing
  • VLE, azeotropes and reaction equilibrium

Syllabus: ASTU CHE241403 Chemical Engineering Thermodynamics, semester 4, NEP 2020 (2024-25 onwards). Official syllabus PDF.

Basic concepts and the laws of thermodynamics

Topics: Fundamental concepts, zeroth law, point and path functions, internal energy, enthalpy, reversible and irreversible processes, heat capacity, heat effects of phase change, standard heat of reaction; first law and steady-flow processes; second and third laws, entropy, ideal-gas temperature scale, Carnot cycle, free energies, Gibbs–Duhem equation.

System, state, the zeroth and first laws

Thermodynamics studies energy and its transformations in systems at equilibrium. A system is the part of the universe we choose; it can be closed (no mass crosses the boundary) or open (flow). Its state is fixed by a few properties (for a pure single phase, any two intensive ones such as T and P). Properties such as T, P, U, H, S and G are point (state) functions: their change depends only on the end states. Heat Q and work W are path functions: they depend on how the change is carried out.

The zeroth law says two bodies each in thermal equilibrium with a third are in equilibrium with each other; it is the basis of temperature measurement. The first law is conservation of energy. For a closed system ΔU = Q − W (or dU = δQ − P dV for reversible expansion work). At constant volume Q = ΔU = ∫C_V dT; at constant pressure Q = ΔH = ∫C_P dT, where H = U + PV. For ideal gases C_P − C_V = R and U and H depend on temperature only. Phase changes absorb latent heat at constant T and P (ΔH_vap, ΔH_fus); Watson’s correlation scales ΔH_vap with temperature and Trouton’s rule estimates it as about 88 J/mol·K × T_b.

For an open system at steady state the first law becomes ΔH + Δ(u²/2) + gΔz = Q − W_s per unit mass. It describes turbines and compressors (W_s = −ΔH when adiabatic), throttling valves (ΔH = 0), nozzles (ΔH = −Δu²/2) and heat exchangers (Q = ΔH). A reversible process is one carried out through equilibrium states so that it can be reversed leaving no change anywhere; it gives the most work from an expansion and needs the least for a compression. Friction, finite temperature differences, unrestrained expansion and mixing make real processes irreversible.

  • State functions: T, P, U, H, S, G; path functions: Q, W.
  • Closed: ΔU = Q − W; open steady: ΔH + Δu²/2 + gΔz = Q − W_s.
  • Ideal gas: C_P − C_V = R; U, H = f(T) only.
  • Throttling: ΔH = 0.

Example: Steam enters a turbine at 10 kg/s with h = 3230 kJ/kg and leaves with h = 2600 kJ/kg; heat loss is 50 kW. Neglecting kinetic and potential energy, find the power.

  1. W_s = Q − ṁΔh = −50 − 10 × (2600 − 3230).
  2. = −50 + 6300 = 6250 kW.

Answer: 6.25 MW.

Example: 1 mol of an ideal gas (C_V = 1.5R) expands reversibly and isothermally at 300 K from 10 bar to 1 bar. Find Q, W, ΔU and ΔH.

  1. Isothermal ideal gas: ΔU = ΔH = 0.
  2. W = RT ln(P₁/P₂) = 8.314 × 300 × ln 10 = 5743 J.
  3. Q = W = 5743 J.

Answer: Q = W = 5.74 kJ; ΔU = ΔH = 0.

Second and third laws, entropy, Carnot and free energies

The second law has two classical statements: no cyclic device can turn heat from a single reservoir completely into work (Kelvin–Planck), and heat cannot flow by itself from cold to hot (Clausius). It defines entropy through dS = δQ_rev/T and states that for any process the entropy of the universe does not decrease: ΔS_total ≥ 0, with equality only for reversible processes. A Carnot engine (two isotherms and two adiabats, all reversible) working between T_H and T_C has the highest possible efficiency η = 1 − T_C/T_H, independent of the working fluid; this defines the thermodynamic (ideal-gas) temperature scale.

The third law says the entropy of a perfect crystal is zero at absolute zero, which allows absolute entropies to be tabulated. Combining the first and second laws gives the fundamental property relations dU = T dS − P dV, dH = T dS + V dP, dA = −S dT − P dV and dG = −S dT + V dP, with the Helmholtz energy A = U − TS and Gibbs energy G = H − TS. At constant T and P a system moves towards lower G, and equilibrium is where G is a minimum, which is why G is the key function for phase and reaction equilibrium.

For a mixture, G = Σ n_i μ_i, and at constant T and P the chemical potentials cannot all change independently: Σ x_i dμ_i = 0. This Gibbs–Duhem equation links the partial properties of components and is used to check the consistency of activity-coefficient data.

  • dS = δQ_rev/T; ΔS_universe ≥ 0.
  • Carnot: η = 1 − T_C/T_H; COP_R = T_C/(T_H − T_C).
  • dG = −S dT + V dP; equilibrium at minimum G.
  • Gibbs–Duhem: Σ x_i dμ_i = 0 (constant T, P).

Example: An inventor claims an engine taking heat at 600 K and rejecting at 300 K with 55 % efficiency. Is it possible?

  1. Carnot limit = 1 − 300/600 = 0.50.
  2. 55 % > 50 %.

Answer: Impossible: it would violate the second law.

Example: Find the entropy change when 1 kg of water is heated from 20 °C to 80 °C (c_p = 4.18 kJ/kg·K).

  1. ΔS = c_p ln(T₂/T₁).
  2. = 4.18 × ln(353.15/293.15) = 4.18 × 0.1862.

Answer: 0.778 kJ/K.

Example: 1 kg of water at 90 °C is mixed with 1 kg at 10 °C in an insulated vessel. Find the entropy generated.

  1. Final temperature = 50 °C = 323.15 K.
  2. ΔS_hot = 4.18 ln(323.15/363.15) = −0.4878 kJ/K; ΔS_cold = 4.18 ln(323.15/283.15) = +0.5523 kJ/K.
  3. S_gen = 0.5523 − 0.4878 = 0.0645 kJ/K.

Answer: 0.065 kJ/K > 0: mixing at different temperatures is irreversible.

Laws of thermodynamics

First law: ΔU = Q − W for a closed system; for flow systems the enthalpy H = U + PV is the useful energy. Heat capacities: Cp − Cv = R for ideal gases. Second law: heat flows from hot to cold by itself; entropy of an isolated system never decreases. For a reversible transfer, ΔS = Q/T.

Isothermal ideal-gas work W = nRT ln(V₂/V₁); adiabatic reversible process: PV^γ = constant.

  • ΔU = Q − W
  • Isothermal W = nRT ln(V₂/V₁)
  • ΔS = Q_rev/T

Example: 1 mol of ideal gas expands isothermally and reversibly at 300 K to double its volume. Find W.

  1. W = nRT ln 2 = 1 × 8.314 × 300 × 0.693.
  2. ≈ 1729 J.

Answer: ≈ 1.73 kJ

Example: Find the entropy change when 1 kg of ice melts at 0 °C (latent heat 334 kJ/kg).

  1. ΔS = Q/T = 334 000 / 273.15.
  2. ≈ 1223 J/K.

Answer: ≈ 1.22 kJ/K

Cycles, refrigeration and equilibrium

The Carnot cycle sets the limit: η = 1 − T_c/T_h. A refrigerator’s coefficient of performance is COP = T_c/(T_h − T_c) for a Carnot machine. Real cycles fall short because of irreversibilities.

Gibbs free energy G = H − TS decides spontaneity at constant T and P (ΔG < 0). At equilibrium ΔG° = −RT ln K.

  • η_Carnot = 1 − T_c/T_h
  • COP_ref = T_c/(T_h − T_c)
  • ΔG° = −RT ln K

Example: Find the Carnot efficiency between 500 K and 300 K.

  1. η = 1 − 300/500.
  2. = 0.4 = 40 %.

Answer: 40 %

Example: Find the Carnot COP of a refrigerator between −10 °C and 30 °C.

  1. T_c = 263 K, T_h = 303 K.
  2. COP = 263/40 ≈ 6.6.

Answer: ≈ 6.6

Point (state) functions vs path functions; zeroth law and temperature. First law: closed ΔU = Q − W, open steady ΔH + Δu²/2 + gΔz = Q − W_s; heat capacities, latent heats, standard heat of reaction. Second law: entropy dS = δQ_rev/T, ΔS_universe ≥ 0, Carnot efficiency 1 − T_C/T_H, thermodynamic temperature scale. Third law: S = 0 for a perfect crystal at 0 K. Free energies A = U − TS, G = H − TS; fundamental relations; equilibrium at minimum G; Gibbs–Duhem Σx_i dμ_i = 0.

  • Throttling is isenthalpic; real gases cool on throttling below the inversion temperature (Joule–Thomson).
  • Reversible work is the maximum (expansion) or minimum (compression).
  • Carnot efficiency depends only on temperatures.
  • Gibbs–Duhem checks consistency of VLE data.

Key formulas

  • ΔU = Q − W
  • ΔH + Δu²/2 + gΔz = Q − W_s
  • η = 1 − T_C/T_H
  • dG = −S dT + V dP
  • Σ x_i dμ_i = 0

Practice questions

Which is a path function?

  1. Internal energy
  2. Enthalpy
  3. Work
  4. Entropy
Show the answer

Answer: C. Work Depends on the route.

For an ideal gas, C_P − C_V equals

  1. 0
  2. R
  3. γ
  4. RT
Show the answer

Answer: B. R Mayer relation.

A throttling process is

  1. isothermal
  2. isenthalpic
  3. isentropic
  4. isochoric
Show the answer

Answer: B. isenthalpic ΔH = 0.

The maximum efficiency of an engine between 500 K and 300 K is

  1. 40 %
  2. 60 %
  3. 50 %
  4. 100 %
Show the answer

Answer: A. 40 % 1 − 300/500.

At constant T and P, equilibrium corresponds to a minimum of

  1. U
  2. H
  3. A
  4. G
Show the answer

Answer: D. G Gibbs energy.

The third law states that the entropy of a perfect crystal at 0 K is

  1. infinite
  2. zero
  3. R
  4. negative
Show the answer

Answer: B. zero Absolute entropy.

Theory questions

State the first law for a steady-flow process and apply it to a nozzle, a throttle valve, a turbine and a heat exchanger. (6 marks)

Show the model answer

Steady flow: Δh + Δ(u²/2) + gΔz = q − w_s per unit mass. Nozzle (adiabatic, no work, Δz ≈ 0): u₂² = u₁² + 2(h₁ − h₂), enthalpy turns into kinetic energy. Throttle valve (adiabatic, no work, KE negligible): h₂ = h₁, isenthalpic, used in refrigeration and calorimetry. Turbine (adiabatic, KE/PE negligible): w_s = h₁ − h₂ (power out). Heat exchanger (no work): q = Δh for each stream, and for an insulated exchanger ṁ_h Δh_h + ṁ_c Δh_c = 0.

Explain the Carnot cycle and prove that no engine can be more efficient than a Carnot engine between the same reservoirs. (6 marks)

Show the model answer

Carnot cycle: reversible isothermal expansion at T_H (absorbs Q_H), reversible adiabatic expansion to T_C, reversible isothermal compression at T_C (rejects Q_C), reversible adiabatic compression back. η = 1 − Q_C/Q_H = 1 − T_C/T_H. Proof: suppose engine E has η_E > η_Carnot. Run the Carnot engine in reverse (as a refrigerator) driven by part of E’s work, taking Q_C from the cold reservoir and delivering Q_H to the hot one. The combination would take net heat from the cold reservoir and deliver net work with no other effect, or transfer heat from cold to hot with no work, violating the Kelvin–Planck/Clausius statements. Hence η ≤ η_Carnot; all reversible engines between the same reservoirs have the same efficiency.

Real gases, flow processes and property relations

Topics: Equations of state, compressibility charts; thermodynamics of flow processes, single and multistage compression, expansion through nozzles; refrigeration; Maxwell relations and thermodynamic functions of pure substances; residual properties, property tables and diagrams; PVT behaviour, van der Waals equation, virial expansion, law of corresponding states.

PVT behaviour and equations of state

A pure substance shows solid, liquid and vapour regions on a PT diagram, with sublimation, fusion and vaporisation curves meeting at the triple point; the vaporisation curve ends at the critical point (T_c, P_c), above which liquid and vapour cannot be distinguished. On a PV diagram isotherms below T_c have a flat two-phase section under a dome; the critical isotherm has a point of inflection at the critical point, where (∂P/∂V)_T = 0 and (∂²P/∂V²)_T = 0.

The compressibility factor Z = PV/RT measures departure from ideal-gas behaviour. The virial equation Z = 1 + B/V + C/V² + … (or 1 + B′P + …) has a firm theoretical basis; truncated after B it suits low and moderate pressures. Cubic equations: van der Waals P = RT/(V − b) − a/V², with a = 27R²T_c²/64P_c and b = RT_c/8P_c from the critical conditions; Redlich–Kwong, Soave–Redlich–Kwong and Peng–Robinson improve the attraction term and are used in process simulators. Solved for Z they give one or three real roots; in the two-phase region the largest is the vapour, the smallest the liquid.

The law of corresponding states says that all fluids at the same reduced temperature T_r = T/T_c and pressure P_r = P/P_c have about the same Z. Pitzer improved it with the acentric factor ω (a measure of molecular non-sphericity defined from the vapour pressure at T_r = 0.7): Z = Z⁰ + ωZ¹ (Lee–Kesler tables), or for the virial form B P_c/RT_c = B⁰ + ωB¹ with B⁰ = 0.083 − 0.422/T_r^1.6 and B¹ = 0.139 − 0.172/T_r^4.2.

  • Z = PV/RT; Z < 1 attraction, Z > 1 repulsion.
  • vdW: a = 27R²T_c²/(64P_c), b = RT_c/(8P_c).
  • Corresponding states: Z = Z⁰(T_r, P_r) + ωZ¹(T_r, P_r).
  • Pitzer virial: Z = 1 + (B⁰ + ωB¹)P_r/T_r.

Example: Estimate Z for methane at 300 K and 50 bar with the Pitzer virial correlation (T_c = 190.6 K, P_c = 45.99 bar, ω = 0.012).

  1. T_r = 1.574, P_r = 1.087.
  2. B⁰ = 0.083 − 0.422/1.574^1.6 = 0.083 − 0.2042 = −0.1212; B¹ = 0.139 − 0.172/1.574^4.2 = 0.1134.
  3. Z = 1 + (−0.1212 + 0.012 × 0.1134) × 1.087/1.574 = 1 − 0.0828.

Answer: Z ≈ 0.917: the ideal-gas law would overstate the volume by about 9 %.

Example: Find the van der Waals constants for CO₂ (T_c = 304.2 K, P_c = 73.83 bar).

  1. a = 27R²T_c²/(64P_c) = 27 × 8.314² × 304.2²/(64 × 73.83 × 10⁵).
  2. = 27 × 69.12 × 92 538/(4.725 × 10⁸) = 0.3655 Pa·m⁶/mol².
  3. b = RT_c/(8P_c) = 8.314 × 304.2/(8 × 73.83 × 10⁵) = 4.28 × 10⁻⁵ m³/mol.

Answer: a ≈ 0.365 Pa·m⁶/mol², b ≈ 4.28 × 10⁻⁵ m³/mol.

Flow processes, refrigeration, Maxwell relations and residual properties

Compression of gases follows the steady-flow energy balance W_s = ΔH for adiabatic machines. For an ideal gas compressed reversibly and adiabatically, W = (γRT₁/(γ − 1))[(P₂/P₁)^((γ−1)/γ) − 1] per mole; isothermal compression needs only RT ln(P₂/P₁). Multistage compression with intercooling to the inlet temperature approaches the isothermal work; the total is least when every stage has the same pressure ratio (P₂/P₁)^(1/N). Real machines are rated by an isentropic efficiency η = W_isentropic/W_actual. In a nozzle the gas accelerates as its enthalpy falls; in a converging nozzle the throat velocity cannot exceed sonic, reached at the critical pressure ratio (2/(γ + 1))^(γ/(γ−1)).

A vapour-compression refrigerator runs the reversed cycle: evaporation at low pressure absorbs heat from the cold space, the compressor raises the vapour pressure, the condenser rejects heat, and a throttle valve returns the liquid. Its coefficient of performance COP = Q_C/W is at most T_C/(T_H − T_C). Eco-friendly design means refrigerants with zero ozone-depletion and low global-warming potential (ammonia, CO₂, hydrocarbons, HFOs) instead of CFCs and HCFCs.

Maxwell relations follow from the exactness of dU, dH, dA and dG: (∂T/∂V)_S = −(∂P/∂S)_V, (∂T/∂P)_S = (∂V/∂S)_P, (∂S/∂V)_T = (∂P/∂T)_V and (∂S/∂P)_T = −(∂V/∂T)_P. They let unmeasurable entropy derivatives be found from PVT data: for example dH = C_P dT + [V − T(∂V/∂T)_P] dP and dS = C_P dT/T − (∂V/∂T)_P dP. Residual properties M^R = M − M^ig (the difference between real and ideal-gas values at the same T and P) are computed from an equation of state, e.g. H^R/RT = −T∫(∂Z/∂T)_P dP/P and S^R/R = −T∫(∂Z/∂T)_P dP/P − ∫(Z − 1)dP/P. Property tables and charts (steam tables, P–H and T–S diagrams, Mollier h–s chart) present these results for engineering use.

  • Adiabatic compression: W = (γRT₁/(γ−1))[(P₂/P₁)^((γ−1)/γ) − 1].
  • Equal stage ratios minimise multistage work.
  • COP_R ≤ T_C/(T_H − T_C).
  • (∂S/∂P)_T = −(∂V/∂T)_P; M^R = M − M^ig.

Example: A refrigerator keeps a space at −10 °C and rejects heat at 35 °C. Find the Carnot COP and the power for 10 kW of cooling if the actual COP is 3.

  1. COP_Carnot = 263.15/(308.15 − 263.15) = 263.15/45 = 5.85.
  2. Actual power = 10/3 = 3.33 kW (Carnot would need 1.71 kW).

Answer: COP_Carnot = 5.85; 3.33 kW at COP 3.

Example: Use a Maxwell relation to find the entropy change of 1 mol of ideal gas compressed isothermally from 1 bar to 10 bar.

  1. (∂S/∂P)_T = −(∂V/∂T)_P = −R/P for an ideal gas.
  2. ΔS = −R ln(P₂/P₁) = −8.314 × ln 10.

Answer: −19.1 J/K.

Example: Air (γ = 1.4) at 300 K is compressed from 1 to 9 bar. Compare one stage with two intercooled stages (ideal).

  1. One stage: W = 3.5 × 8.314 × 300 × (9^0.2857 − 1) = 8730 × 0.8734 = 7625 J/mol.
  2. Two stages, ratio 3 each: W = 2 × 8730 × (3^0.2857 − 1) = 17 460 × 0.3687 = 6438 J/mol.
  3. Isothermal minimum = 8.314 × 300 × ln 9 = 5480 J/mol.

Answer: 7.63 kJ/mol vs 6.44 kJ/mol (isothermal limit 5.48 kJ/mol).

Cycles, refrigeration and equilibrium

The Carnot cycle sets the limit: η = 1 − T_c/T_h. A refrigerator’s coefficient of performance is COP = T_c/(T_h − T_c) for a Carnot machine. Real cycles fall short because of irreversibilities.

Gibbs free energy G = H − TS decides spontaneity at constant T and P (ΔG < 0). At equilibrium ΔG° = −RT ln K.

  • η_Carnot = 1 − T_c/T_h
  • COP_ref = T_c/(T_h − T_c)
  • ΔG° = −RT ln K

Example: Find the Carnot efficiency between 500 K and 300 K.

  1. η = 1 − 300/500.
  2. = 0.4 = 40 %.

Answer: 40 %

Example: Find the Carnot COP of a refrigerator between −10 °C and 30 °C.

  1. T_c = 263 K, T_h = 303 K.
  2. COP = 263/40 ≈ 6.6.

Answer: ≈ 6.6

PVT behaviour: triple and critical points, two-phase dome. Z = PV/RT; virial equation (low–moderate P); cubic EOS (vdW, RK, SRK, PR) with constants from critical properties; corresponding states with acentric factor (Pitzer, Lee–Kesler). Flow processes: adiabatic and isothermal compression, multistage with intercooling, isentropic efficiency, nozzles and choking. Refrigeration: vapour-compression cycle, COP ≤ T_C/(T_H − T_C), eco-friendly refrigerants. Maxwell relations, residual properties, property tables and charts.

  • Critical point: (∂P/∂V)_T = (∂²P/∂V²)_T = 0.
  • Acentric factor ω ≈ 0 for simple spherical molecules (Ar, CH₄).
  • Intercooling reduces work and outlet temperature.
  • Mollier (h–s) chart is used for steam turbines and nozzles.

Key formulas

  • P = RT/(V − b) − a/V²
  • Z = 1 + BP/RT
  • B⁰ = 0.083 − 0.422/T_r^1.6 ; B¹ = 0.139 − 0.172/T_r^4.2
  • (∂S/∂P)_T = −(∂V/∂T)_P
  • COP = Q_C/W

Practice questions

At the critical point, (∂P/∂V)_T is

  1. positive
  2. negative
  3. zero
  4. infinite
Show the answer

Answer: C. zero Inflection on the critical isotherm.

The law of corresponding states uses

  1. T_r and P_r
  2. T and P only
  3. density only
  4. molar mass
Show the answer

Answer: A. T_r and P_r Reduced variables.

For minimum total work in multistage compression, each stage should have

  1. equal work by design only
  2. equal pressure ratio
  3. equal pressure difference
  4. equal outlet volume
Show the answer

Answer: B. equal pressure ratio With equal intercooling.

(∂S/∂P)_T equals

  1. (∂V/∂T)_P
  2. −(∂V/∂T)_P
  3. (∂P/∂T)_V
  4. C_P/T
Show the answer

Answer: B. −(∂V/∂T)_P Maxwell relation from dG.

A residual property is the difference between the real value and the

  1. liquid value
  2. ideal-gas value at the same T and P
  3. critical value
  4. value at 0 K
Show the answer

Answer: B. ideal-gas value at the same T and P Definition.

Which refrigerant has zero ODP and very low GWP?

  1. R-12
  2. R-22
  3. Ammonia (R-717)
  4. R-11
Show the answer

Answer: C. Ammonia (R-717) Natural refrigerant.

Theory questions

Derive the van der Waals constants in terms of critical properties. (5 marks)

Show the model answer

At the critical point (∂P/∂V)_T = 0 and (∂²P/∂V²)_T = 0. From P = RT/(V − b) − a/V²: −RT_c/(V_c − b)² + 2a/V_c³ = 0 and 2RT_c/(V_c − b)³ − 6a/V_c⁴ = 0. Dividing gives V_c = 3b; then a = 9RT_cV_c/8 = 27RT_c b/8. Substituting into the equation: P_c = RT_c/(2b) − a/(9b²) = RT_c/(8b). So b = RT_c/(8P_c), a = 27R²T_c²/(64P_c), and Z_c = P_cV_c/RT_c = 3/8 = 0.375 (real fluids ≈ 0.23–0.29).

Derive the expression for work in multistage compression with perfect intercooling and show the condition for minimum work. (5 marks)

Show the model answer

For N stages with intercooling to T₁ between stages and ratios r_i, W = (γRT₁/(γ − 1)) Σ (r_i^k − 1), k = (γ − 1)/γ, with Π r_i = P₂/P₁. Minimise Σ r_i^k subject to the product constraint (Lagrange multipliers, or for two stages set dW/dP_x = 0 with r₁ = P_x/P₁, r₂ = P₂/P_x): gives P_x = √(P₁P₂), i.e. equal ratios r = (P₂/P₁)^(1/N). Then W_min = N(γRT₁/(γ − 1))[(P₂/P₁)^(k/N) − 1], which tends to RT₁ ln(P₂/P₁) as N → ∞.

Write the four Maxwell relations and use them to derive dH and dS in terms of measurable quantities. (6 marks)

Show the model answer

From dU = T dS − P dV: (∂T/∂V)_S = −(∂P/∂S)_V. From dH = T dS + V dP: (∂T/∂P)_S = (∂V/∂S)_P. From dA = −S dT − P dV: (∂S/∂V)_T = (∂P/∂T)_V. From dG = −S dT + V dP: (∂S/∂P)_T = −(∂V/∂T)_P. With S = S(T, P): dS = (C_P/T)dT + (∂S/∂P)_T dP = (C_P/T)dT − (∂V/∂T)_P dP. Then dH = T dS + V dP = C_P dT + [V − T(∂V/∂T)_P]dP. For an ideal gas the bracket is zero, so H depends on T only.

Solution thermodynamics

Topics: Fundamental property relations, chemical potential and equilibrium, partial properties; fugacity, fugacity coefficient, generalised correlations for fugacity coefficients, ideal and non-ideal solutions; activity-coefficient models; mixing processes: property changes of mixing, heat effects of mixing.

Chemical potential, partial properties and fugacity

For a mixture, d(nG) = (nV)dP − (nS)dT + Σ μ_i dn_i, where the chemical potential μ_i = [∂(nG)/∂n_i]_{T,P,n_j} is the partial molar Gibbs energy. Matter flows from high to low chemical potential, so phase equilibrium requires equal T, P and μ_i of every component in every phase. Any extensive property M has partial molar properties M̄_i = [∂(nM)/∂n_i]_{T,P,n_j}, and M = Σ x_i M̄_i (summability); Gibbs–Duhem says Σ x_i dM̄_i = 0 at constant T and P. Partial molar volumes, for example, explain why 50 mL ethanol + 50 mL water gives less than 100 mL.

Chemical potential is awkward because it goes to −∞ as a component vanishes. Lewis introduced the fugacity f: for a pure ideal gas μ = Γ(T) + RT ln P, and for any real fluid μ = Γ(T) + RT ln f, with f → P as P → 0. The fugacity coefficient φ = f/P is found from ln φ = ∫₀^P (Z − 1)dP/P, from an equation of state or from generalised correlations (ln φ = (P_r/T_r)(B⁰ + ωB¹), or Lee–Kesler charts). For a pure liquid, f = φ^sat P^sat exp[V^L(P − P^sat)/RT], the exponential being the Poynting factor. In a mixture each component has a fugacity f̂_i, and the equilibrium criterion becomes f̂_i^α = f̂_i^β.

  • μ_i = (∂(nG)/∂n_i) at constant T, P, n_j.
  • M = Σx_i M̄_i; Σx_i dM̄_i = 0.
  • ln φ = ∫(Z − 1)dP/P; Pitzer: ln φ = (P_r/T_r)(B⁰ + ωB¹).
  • Liquid: f = φ^sat P^sat × Poynting factor.

Example: At x₁ = 0.3 a binary has partial molar volumes V̄₁ = 55.2 and V̄₂ = 17.8 cm³/mol. Find the molar volume of the solution and the volume of 2 mol of it.

  1. V = x₁V̄₁ + x₂V̄₂ = 0.3 × 55.2 + 0.7 × 17.8.
  2. = 16.56 + 12.46 = 29.02 cm³/mol.
  3. 2 mol: 58.04 cm³.

Answer: 29.0 cm³/mol; 58.0 cm³ for 2 mol.

Example: Find the fugacity of liquid water at 100 °C and 50 bar (P^sat = 1.013 bar, V^L = 18.8 cm³/mol, φ^sat ≈ 1).

  1. Poynting = exp[V^L(P − P^sat)/RT] = exp[18.8 × 10⁻⁶ × (50 − 1.013) × 10⁵/(8.314 × 373.15)].
  2. = exp(92.1/3102) = exp(0.0297) = 1.030.
  3. f = 1.013 × 1.030 = 1.044 bar.

Answer: About 1.04 bar: pressure hardly changes a liquid’s fugacity.

Ideal and non-ideal solutions, activity coefficients and mixing

In an ideal solution f̂_i = x_i f_i (Lewis–Randall rule). Mixing then has ΔH_mix = 0 and ΔV_mix = 0, but ΔS_mix = −R Σ x_i ln x_i and ΔG_mix = RT Σ x_i ln x_i, both from the randomness of mixing. Real solutions are described by excess properties M^E = M − M^ideal, and by the activity coefficient γ_i = f̂_i/(x_i f_i), with ln γ_i the partial molar excess Gibbs energy divided by RT: G^E/RT = Σ x_i ln γ_i.

Activity-coefficient models are expressions for G^E/RT fitted to data. Margules: G^E/(RTx₁x₂) = A₂₁x₁ + A₁₂x₂, giving ln γ₁ = x₂²[A₁₂ + 2(A₂₁ − A₁₂)x₁]. van Laar: G^E/(RTx₁x₂) = A₁₂A₂₁/(A₁₂x₁ + A₂₁x₂). Wilson, NRTL and UNIQUAC are local-composition models suitable for multicomponent systems (NRTL and UNIQUAC also for liquid–liquid splitting); UNIFAC predicts γ from functional groups when no data exist. At infinite dilution ln γ₁^∞ = A₁₂, which is a convenient way to estimate the parameters.

Mixing processes release or absorb heat: ΔH_mix = H − Σx_iH_i = H^E. Dissolving sulphuric acid or NaOH in water is strongly exothermic, which is why acid is added to water. Heats of solution are tabulated per mole of solute as integral heats; enthalpy–concentration (H–x) diagrams, such as that for H₂SO₄–water, let mixing and dilution be solved graphically, including adiabatic mixing (the mixture point lies on the straight line between the two feeds).

  • Ideal: ΔH_mix = ΔV_mix = 0; ΔS_mix = −RΣx_i ln x_i.
  • γ_i = f̂_i/(x_i f_i); G^E/RT = Σx_i ln γ_i.
  • Margules, van Laar, Wilson, NRTL, UNIQUAC, UNIFAC.
  • ΔH_mix = H^E; acid into water.

Example: Find ΔS_mix and ΔG_mix at 25 °C for 1 mol of an equimolar ideal binary solution.

  1. ΔS = −R(0.5 ln 0.5 + 0.5 ln 0.5) = 8.314 × 0.6931 = 5.763 J/K.
  2. ΔG = −TΔS = −298.15 × 5.763 = −1718 J.

Answer: ΔS = 5.76 J/K, ΔG = −1.72 kJ (and ΔH = 0).

Example: For a one-parameter Margules system with A = 1.2, find γ₁ and γ₂ at x₁ = 0.4.

  1. ln γ₁ = A x₂² = 1.2 × 0.36 = 0.432 ⇒ γ₁ = 1.540.
  2. ln γ₂ = A x₁² = 1.2 × 0.16 = 0.192 ⇒ γ₂ = 1.212.

Answer: γ₁ = 1.54, γ₂ = 1.21 (positive deviation from Raoult’s law).

Chemical potential μ_i = partial molar Gibbs energy; equilibrium requires equal μ_i (or f̂_i) in all phases. Partial molar properties obey summability and Gibbs–Duhem. Fugacity f replaces pressure for real fluids; φ from ∫(Z − 1)dP/P, EOS or generalised (Pitzer) correlations; Poynting factor for liquids. Ideal solutions: ΔH_mix = ΔV_mix = 0, ΔS_mix = −RΣx ln x. Non-ideal: excess properties and activity coefficients from Margules, van Laar, Wilson, NRTL, UNIQUAC, UNIFAC. Heat of mixing = H^E; H–x diagrams.

  • μ_i → −∞ as x_i → 0; f̂_i → 0 instead.
  • φ < 1 when attractions dominate.
  • ln γ_i^∞ gives Margules/van Laar constants.
  • Large positive G^E can split the liquid into two phases.

Key formulas

  • μ_i = [∂(nG)/∂n_i]_{T,P,n_j}
  • ln φ = ∫₀^P (Z − 1) dP/P
  • f^L = φ^sat P^sat exp[V^L(P − P^sat)/RT]
  • G^E/RT = Σ x_i ln γ_i
  • ΔS_mix,id = −R Σ x_i ln x_i

Practice questions

The chemical potential of a component equals its

  1. partial molar enthalpy
  2. partial molar Gibbs energy
  3. molar volume
  4. fugacity
Show the answer

Answer: B. partial molar Gibbs energy Definition.

For an ideal gas the fugacity coefficient is

  1. 0
  2. 1
  3. P
  4. Z
Show the answer

Answer: B. 1 f = P.

For an ideal solution, ΔH_mix is

  1. positive
  2. negative
  3. zero
  4. RT
Show the answer

Answer: C. zero No energy change on mixing.

The Poynting factor corrects the fugacity of a liquid for

  1. temperature
  2. pressure above saturation
  3. composition
  4. gravity
Show the answer

Answer: B. pressure above saturation Usually small.

A model that predicts activity coefficients from functional groups is

  1. Margules
  2. van Laar
  3. UNIFAC
  4. Raoult
Show the answer

Answer: C. UNIFAC Group contribution.

Theory questions

Define fugacity and fugacity coefficient and derive ln φ = ∫₀^P (Z − 1) dP/P. (5 marks)

Show the model answer

At constant T, dG = V dP. For an ideal gas dG^ig = RT d ln P. Fugacity is defined so that for the real fluid dG = RT d ln f, with lim(P → 0) f/P = 1; φ = f/P. Subtracting: d(G − G^ig) = RT d ln φ = (V − RT/P)dP = (RT/P)(Z − 1)dP. Integrating from P = 0 (where φ = 1): ln φ = ∫₀^P (Z − 1) dP/P. With the virial form Z − 1 = BP/RT, ln φ = BP/RT.

What are activity coefficients? Explain the Margules and van Laar equations and how their constants are found. (5 marks)

Show the model answer

γ_i = f̂_i/(x_i f_i°) measures departure of component i from ideal-solution behaviour (Lewis–Randall standard state); ln γ_i = Ḡ_i^E/RT. Two-suffix Margules: G^E/RT = A x₁x₂ ⇒ ln γ₁ = A x₂², ln γ₂ = A x₁² (symmetric). Three-suffix: G^E/(RTx₁x₂) = A₂₁x₁ + A₁₂x₂ ⇒ ln γ₁ = x₂²[A₁₂ + 2(A₂₁ − A₁₂)x₁]. van Laar: ln γ₁ = A₁₂(1 + A₁₂x₁/(A₂₁x₂))⁻², ln γ₂ = A₂₁(1 + A₂₁x₂/(A₁₂x₁))⁻². Constants: from infinite-dilution values (ln γ₁^∞ = A₁₂, ln γ₂^∞ = A₂₁), from an azeotrope composition and pressure, or by least-squares fit of P–x–y data via modified Raoult’s law.

Phase equilibrium and chemical reaction equilibrium

Topics: Phase rule, Duhem’s theorem, pure-component phase equilibria, vapour–liquid equilibria, Raoult’s and modified Raoult’s law, high-pressure VLE, Henry’s law, equilibrium and phase stability, liquid–liquid, solid–liquid and vapour–liquid equilibria; reaction coordinate, equilibrium criteria for homogeneous and heterogeneous reactions, equilibrium constant, effect of temperature and composition, equilibrium conversion, phase rule and Duhem’s theorem for reacting systems, multi-reaction equilibria.

Phase rule and vapour–liquid equilibrium

Gibbs’ phase rule gives the number of intensive variables that can be fixed independently: F = 2 − π + N (π phases, N components), or F = 2 − π + N − r with r independent reactions. Pure water at its triple point has F = 0; a binary in VLE has F = 2, so fixing T and x₁ fixes P and y₁. Duhem’s theorem adds that for a closed system with known initial amounts, two variables (intensive or extensive) fix the whole state. For a pure substance, two-phase equilibrium follows the Clapeyron equation dP^sat/dT = ΔH/(TΔV), which with an ideal vapour gives the Clausius–Clapeyron form ln P^sat = A − B/T and leads to the Antoine equation.

VLE at low pressure is described by modified Raoult’s law y_i P = x_i γ_i P_i^sat. With γ = 1 it is Raoult’s law (ideal solution, ideal gas). Bubble-point calculations find P (or T) and y from x; dew-point calculations find P (or T) and x from y. Positive deviations (γ > 1) can create a maximum-pressure (minimum-boiling) azeotrope, as in ethanol–water; negative deviations a minimum-pressure azeotrope. At high pressure both phases are non-ideal: y_i φ̂_i^V P = x_i φ̂_i^L P (the φ–φ method with an EOS such as Peng–Robinson) or y_i φ̂_i P = x_i γ_i f_i^L.

For a gas that is supercritical or only slightly soluble, Henry’s law y_i P = x_i H_i applies, with Henry’s constant H_i rising with temperature for most gases. A liquid mixture is stable only if ΔG_mix is convex in composition (∂²ΔG_mix/∂x₁² > 0); otherwise it splits into two liquids (LLE), each component having the same activity x_iγ_i in both phases. Solid–liquid equilibrium of a solute in an ideal solution gives ln x_i = −(ΔH_fus/R)(1/T − 1/T_m), the ideal solubility and freezing-point curves.

  • F = 2 − π + N (− r for reactions).
  • Clausius–Clapeyron: ln P^sat = A − B/T.
  • Modified Raoult: y_iP = x_iγ_iP_i^sat.
  • Henry: y_iP = x_iH_i.
  • LLE: x_i^α γ_i^α = x_i^β γ_i^β.

Example: How many degrees of freedom have (a) water at its triple point, (b) a binary vapour–liquid mixture, (c) a gas mixture of N₂, H₂ and NH₃ in reaction equilibrium?

  1. (a) F = 2 − 3 + 1 = 0.
  2. (b) F = 2 − 2 + 2 = 2.
  3. (c) F = 2 − 1 + 3 − 1 = 3 (e.g. T, P and the N₂/H₂ ratio).

Answer: 0, 2 and 3.

Example: Henry’s constant for O₂ in water at 25 °C is about 4.4 × 10⁴ bar. Find the dissolved oxygen in water saturated with air at 1 bar.

  1. x_O₂ = y P/H = 0.21 × 1/44 000 = 4.77 × 10⁻⁶.
  2. Water ≈ 55.5 mol/L ⇒ O₂ = 4.77 × 10⁻⁶ × 55.5 = 2.65 × 10⁻⁴ mol/L.
  3. × 32 g/mol = 8.5 mg/L.

Answer: About 8.5 mg/L (measured ≈ 8.3 mg/L).

Chemical reaction equilibrium

For a reaction Σ ν_i A_i = 0 the mole numbers are n_i = n_i0 + ν_i ε, where ε is the reaction coordinate (extent). At constant T and P, equilibrium is where the total Gibbs energy is a minimum, i.e. Σ ν_i μ_i = 0. Writing μ_i = G_i° + RT ln(f̂_i/f_i°) gives Π (f̂_i/f_i°)^ν_i = K = exp(−ΔG°/RT), where ΔG° = Σ ν_i G_i° is the standard Gibbs energy change, found from tabulated Gibbs energies of formation.

K depends only on temperature. The van ’t Hoff equation d ln K/dT = ΔH°/(RT²) shows that K falls with temperature for exothermic reactions and rises for endothermic ones; integrated with constant ΔH°, ln(K₂/K₁) = −(ΔH°/R)(1/T₂ − 1/T₁), and more exactly with the heat-capacity terms. For ideal gases Π(y_i)^ν_i = K (P/P°)^(−ν), ν = Σν_i: if the number of moles decreases (ν < 0), higher pressure increases conversion; inerts act like lower pressure. For liquid-phase reactions activities x_iγ_i are used; for heterogeneous reactions pure solids and liquids have unit activity and drop out (as in CaCO₃ ⇌ CaO + CO₂, where K = P_CO₂/P°).

The equilibrium conversion is found by writing every y_i in terms of ε and solving the equilibrium equation. With several reactions, one extent per independent reaction is introduced and one equilibrium equation is written for each, solved simultaneously (or the total Gibbs energy is minimised directly, as simulators do). The phase rule for reacting systems subtracts the number of independent reactions and any special constraints.

  • n_i = n_i0 + ν_iε.
  • K = exp(−ΔG°/RT) = Π(f̂_i/f_i°)^ν_i.
  • van ’t Hoff: d ln K/dT = ΔH°/RT².
  • Ideal gas: Πy_i^ν_i = K(P/P°)^(−Σν).
  • Solids and pure liquids: activity = 1.

Example: For CO + H₂O ⇌ CO₂ + H₂, ΔG°₂₉₈ = −28.62 kJ and ΔH°₂₉₈ = −41.16 kJ. Estimate K at 800 K (constant ΔH°) and the equilibrium conversion for an equimolar CO–steam feed.

  1. ln K₂₉₈ = 28 620/(8.314 × 298.15) = 11.55.
  2. ln K₈₀₀ = 11.55 + (41 160/8.314)(1/800 − 1/298.15) = 11.55 − 10.42 = 1.13 ⇒ K = 3.1.
  3. Σν = 0 so pressure has no effect: ε²/(1 − ε)² = 3.1 ⇒ ε/(1 − ε) = 1.76 ⇒ ε = 0.64.

Answer: K ≈ 3.1 and about 64 % conversion of CO at 800 K.

Example: For N₂ + 3H₂ ⇌ 2NH₃ (Σν = −2), explain why plants run at about 150–300 bar and 400–500 °C.

  1. Σν = −2: Πy^ν = K(P/P°)², so conversion rises strongly with pressure.
  2. The reaction is exothermic (ΔH° = −92 kJ), so K falls with temperature: lower T is better for equilibrium.
  3. But the iron catalyst is too slow below about 400 °C; the compromise is 400–500 °C, high pressure, and recycle of unconverted gas.

Answer: High pressure for equilibrium, moderate temperature for an acceptable rate, recycle for overall conversion.

Phase rule F = 2 − π + N (− r); Duhem’s theorem. Clapeyron and Clausius–Clapeyron equations for pure-component equilibria. VLE: Raoult, modified Raoult (γ), φ–φ at high pressure, Henry’s law for gases; azeotropes; stability and LLE, SLE. Reaction equilibrium: extent ε, K = exp(−ΔG°/RT), van ’t Hoff temperature dependence, pressure and inert effects through Σν, heterogeneous reactions, equilibrium conversion and multi-reaction equilibria.

  • K depends on T only, not on P or composition.
  • Minimum-boiling azeotrope: positive deviation.
  • Pure solids and liquids have unit activity.
  • Inerts lower conversion when Σν < 0.

Key formulas

  • F = 2 − π + N − r
  • y_iP = x_iγ_iP_i^sat
  • K = exp(−ΔG°/RT)
  • ln(K₂/K₁) = −(ΔH°/R)(1/T₂ − 1/T₁)
  • Πy_i^ν_i = K(P/P°)^(−Σν)

Practice questions

For a binary system in VLE the degrees of freedom are

  1. 0
  2. 1
  3. 2
  4. 3
Show the answer

Answer: C. 2 F = 2 − 2 + 2.

Ethanol–water forms a

  1. maximum-boiling azeotrope
  2. minimum-boiling azeotrope
  3. ideal solution
  4. solid solution
Show the answer

Answer: B. minimum-boiling azeotrope Positive deviation.

The equilibrium constant depends on

  1. pressure
  2. temperature only
  3. composition
  4. catalyst
Show the answer

Answer: B. temperature only Standard-state property.

For an exothermic reaction, raising the temperature

  1. raises K
  2. lowers K
  3. leaves K unchanged
  4. makes K negative
Show the answer

Answer: B. lowers K van ’t Hoff.

Henry’s law is used for

  1. a solvent near x = 1
  2. a dilute dissolved gas
  3. azeotropes
  4. solids
Show the answer

Answer: B. a dilute dissolved gas Dilute solute.

In CaCO₃ ⇌ CaO + CO₂, K equals

  1. P_CO₂/P°
  2. [CaO]/[CaCO₃]
  3. 1
  4. P°/P_CO₂
Show the answer

Answer: A. P_CO₂/P° Solids have unit activity.

Theory questions

Derive the equilibrium constant from the criterion of minimum Gibbs energy and explain the effect of temperature and pressure. (6 marks)

Show the model answer

At constant T and P, dG^t = Σ μ_i dn_i = (Σ ν_iμ_i)dε; at equilibrium dG^t/dε = 0 ⇒ Σν_iμ_i = 0. With μ_i = G_i° + RT ln(f̂_i/f_i°): ΣνG_i° + RT ln Π(f̂_i/f_i°)^ν_i = 0 ⇒ Π(f̂_i/f_i°)^ν_i = exp(−ΔG°/RT) = K. Temperature: d ln K/dT = ΔH°/RT² (van ’t Hoff) — exothermic K decreases with T. Pressure: K is independent of P, but for ideal gases Πy_i^ν_i = K(P/P°)^(−ν); if ν < 0, raising P increases conversion; if ν > 0 it decreases it; ν = 0 no effect.

Explain bubble-point and dew-point calculations using modified Raoult’s law. (5 marks)

Show the model answer

BUBL P: given T, x: find P_i^sat(T) (Antoine) and γ_i(x, T); P = Σ x_iγ_iP_i^sat; y_i = x_iγ_iP_i^sat/P. DEW P: given T, y: P = 1/Σ(y_i/(γ_iP_i^sat)), but γ depends on unknown x, so iterate: start with γ = 1, find x_i = y_iP/(γ_iP_i^sat), normalise, update γ, repeat. BUBL T and DEW T: P fixed, T unknown; guess T (e.g. from mole-fraction-weighted T_i^sat), compute and adjust T until Σy_i = 1 (bubble) or Σx_i = 1 (dew), often using a reference component’s P^sat and relative volatilities.

Notes, examples and questions were written for this studio; the prescribed books are listed in the studio for reference.

Frequently asked questions

What is the Chemical Engineering Thermodynamics Studio?

Laws, real gases, VLE and equilibrium, solved. Laws of thermodynamics, Carnot and entropy, equations of state (vdW, RK, SRK, Peng–Robinson), compression and nozzles, Maxwell relations, fugacity, activity coefficients, VLE and reaction equilibrium from the ASTU CHE241403 syllabus.

What can I do in the Chemical Engineering Thermodynamics Studio?

Laws, entropy, Carnot and free energies; Equations of state, compression and refrigeration; Fugacity, activity coefficients and mixing; VLE, azeotropes and reaction equilibrium.

Is the Chemical Engineering Thermodynamics Studio free?

Yes. It is free and runs in your browser with no sign-up.

Open the interactive studio →