Che1003: Process Engineering Thermodynamics
Che1003: Process Engineering Thermodynamics
THERMODYNAMICS
Enthalpy:
From First Law,
dU dQ dW
INTERNAL ENERGY
dU TdS pdV
H U pV
dH dU d(pV)
dU pdV Vdp
TdS pdV pdV Vdp
dH TdS Vdp
Helmholtz free energy:
It is defined as
A = U – TS
dA = dU - d(TS)
= TdS – pdV – TdS – SdT
dA = - pdV – SdT
Taking the partial derivative of M with respect to y and of N with respect to x yields
Since properties are continuous point functions and have exact differentials, the following is
true
The equations that relate the partial derivatives of properties P, v, T, and s of a simple
compressible substance to each other are called the Maxwell relations. They are obtained
from the four Gibbs equations. The first two of the Gibbs equations are those resulting from
the internal energy U and the enthalpy H.
dU T dS P dV
dH T dS V dP
The second two Gibbs equations result from the definitions of the Helmholtz function a and
the Gibbs function g defined as
A U Ts
dA dU T dS S dT
dA SdT P dV
G H TS
dG dH T dS S dT
dG S dT V dP
Setting the second mixed partial derivatives equal for these four functions yields the Maxwell
relations
The Gibbs Equations
First Law
dU = TdS - PdV
dH = TdS + VdP
dA = -SdT - PdV
dG = -SdT + VdP
dU = TdS - PdV
The Gibbs equation for dU is
dU=TdS-PdV
dS=0 dV=0
U U
P T
V S S V
↓V is held constant ↓ S is held constant
2U P 2U T
=
VS S V SV V S
P T
S V V S
M 2 z N 2 z M N
( )x , ( )y ( )x ( ) y
y xy x xy y x
P T
dU = TdS - PdV
S V V S
T V
dH = TdS + VdP
P S S P
S P
dA = -SdT - PdV
V T T V
S V
dG = -SdT + VdP
P T T P
Another way to write this last result is
The Clapeyron equation enables us to determine the enthalpy change associated with a
phase change, hfg, from knowledge of P, v, and T data alone.
Thermodynamic Relations
1. 2.
T p T V
DU = Q - W
V S S V p S S p
(a)
(b) DS = qrev/T
(c) H = U + pV 3. 4.
S p S V
(d) A = U – TS
(e) G = H - TS V T T V p T T p
M N
4. dG = -SdT + Vdp (a) (b) (e)
y x x y
14
The Maxwell Relations: The Magic Square
V A T
“Vat Ug Ship”
1. dU = TdS – pdV
S H P
T p T V
2. dH = TdS + Vdp V S S V p S S p
3. dA = -SdT - pdV
4. dG = -SdT + Vdp S p S V 15
V T T V p T T p
Material Equilibrium
G DG DH TDS const. T
V (4.51)
P T P
DG VdP
2
const. T
P1
• The composition of the vapour form of the mixture, above the liquid, is
not the same as that of the liquid mixture; it is richer in the molecules of
that component that has a greater tendency to escape from the liquid
phase.
• Fugacity has the same units as pressure (e.g., atm, psia, bars, etc.) 22
the fugacity of a real gas is an effective pressure which replaces the true
mechanical pressure in accurate chemical equilibrium calculations
23
dG RTdln p
24
dG RTdln f
f2
ΔG G2 G1 RT ln For any gas.
f1
p2 For ideal gas.
ΔG RT ln
p1
Thus in case of ideal gases,
f2 p2
f1 p1
i.e., f p
Proportionality constant is taken as unity.
For ideal gases, f = p.
25
As pressure is decreased, we
know real gases will increasingly
behave like ideal gases.
f f
lim 1 or
1 as p 0
p0 p p
26
Fugacity coefficient = f/p is defined as the ratio of
fugacity to the pressure. A dimensionless term
depends on nature of the gas, the pressure and the
temperature f
G G0 RT ln
f0
p
G G0 RT ln f f o
p0 ; 1 o
p p
p
G G0 RT ln RT ln
p0
p
G G0 RT ln RT ln
p0
Free Energy of real gas = free energy of ideal gas + RT ln
28
Substituting Gibb’s – Helmholtz equation
( G / T ) H
T p T2
ln f ln f0 H H 0
R 2 2
T p T p0 T T
29
ln f0
0
T p0
ln f H0 H
T p RT 2
30
Effect of pressure on fugacity:
Recall dG Vdp SdT
Under isothermal conditions, dG Vdp RTdln f
31
Fugacity determination
• Using Compressibility Factor, Z ( Z of a real gas is the ratio of its volume
to the Volume of an ideal gas at the same Temperature and Pressure)
• Using EOS.
• Using Values of enthalpy and entropy
32
Fugacity determination:
dG Vdp RTdln f Constant T
V Z
d ln f dp dp
RT p
We need to integrate this between p = 0 to the pressure at
which we want to determine fugacity.
As p 0, f p
And unfortunately, ln p p 0 is not defined.
To overcome this difficulty we add and subtract dP/P on
RHS of the above equation
33
Z
d ln f dp
p
1 1 Z
dp dp dp
p p p
Z 1
d ln p dp
p
f Z 1
d ln dp
p p
Z 1
d ln dp
p
34
Z 1
p p
d ln
0 0
p
dp
p p
Z 1 Z 1
p
ln p 0
dp ln ln( 1 ) dp
p p
0 0
Z 1
p
ln dp
0
p
35
Using equation of state:
dG Vdp RTdln f Constant T
d ln f
1
Vdp
RT
f p
f d ln f p RT Vdp
1
0 0
p
f 1
ln
f0 RT p0
Vdp
36
p
f 1
ln
f0 RT p0
Vdp
a
Equation of state is p 2
( V b ) RT
V
RT a
p 2
V b V
RT 2a
dp 3 dV
(V b )
2
V
37
p
f 1
ln
f0 RT Vdp
p0
V
f 1 RT 2a
ln
f0 RT V
V0
(V b ) 2
3 dV
V
V V
VdV 2 aVdV
V0
(V b ) 2
V0
RTV 3
38
V V
f 2 adV VdV
ln
f0 RTV
V0
2
(V b )
V0
2
V V
f 2a VdV
ln
f0 RTV V0
(V b )
V0
2
V
f 2a 2a VdV
ln
f0
RTV RTV0
V0
(V b ) 2
V
f 2a VdV
ln
f0
RTV
(V b )
V0
2
39
VdV
(V b ) 2
Put V b u
dV du
( u b )du 1 b
b b
2 du ln u ln( V b )
u2 u u u V b
V
VdV V b b b
V0
(V b ) 2
ln
V0 b V b V0 b
V b b
ln
V b
V0 b
40
V
f 2a VdV
ln
f0
RTV
(V b )
V0
2
V
VdV V b b
V0
( V b ) 2
ln
0
V b
V b
f 2a V b b
ln
ln
f0 RTV V0 b V b
f 2a V b b
ln
ln
p0 RTV V0 V b
41
f 2a V b b
ln
ln
p0 RTV V0 V b
2a b
ln f ln p0 ln( V b ) ln V0
RTV V b
2a RT b
ln( V b ) ln
V b
RTV p0
2a b
ln f ln p0 ln( V b ) ln( RT ) ln p0
RTV V b
RT b 2a
ln f ln
V b V b RTV
42
Residual Property
A residual property is the difference between actual property of a substance
and the property calculated using ideal gas at same Temp and Pressure
H R H H ig ; S R S S ig
U R U U ig ; G R G G ig
DH H 2 H1 ( H 2R H 2ig ) ( H1R H1ig )
Change in property, DH, DS, DG
( H 2ig H1ig ) ( H 2R H1R ) DH ig DH R
Change in property, DG f
Therefore, dG R RTd (ln f ln p) RTd ln
dG dG ig dG R P
GR f
dG dG dG
R ig
d d ln
RT P
but , dG ig RTd ln P;
GR GR f f
dG RTd ln f int from 0 to P; ln ln
RT P P RT P 0 P P P P P 0
If integrated from
standard state (ideal) GR f
ln
to the actual state G RT P
then f
f G R RT ln
G Gig RT ln ig P at constant Pressure
f 43
Fugacity determination
Z 1
p
1
p V
Using EOS. f 1
ln
f0 RT p Vdp RT PV RT V PdV
0 0
44
Problem
Estimate the fugacity of ammonia at 10 bar and 298 K, a = 3.707 x 10-5 m3/mol
46
generalized fugacity charts
47
48
EXAMPLE
49
EXAMPLE : What is the fugacity of liquid Cl2 at 25°C and
100 atm? The vapor pressure of Cl2 at 25°C is 7.63
atm.
For the vapor coexisting with liquid:
Tc = 417 K; Pc = 76 atm
Tr = 0.71; Pr = 0.10
from the chart 0.9
f = (0.9)(7.63) = 6.87 atm
Now we must correct this to 100 atm.
V
ln f 2 ln f1 ( P2 P1 )
RT
PV
Z 1 9.86 10 3 P 11.41 10 5 P 2
RT
ZRT RT
V (1 9.86 10 3 P 11.41 10 5 P 2 )
p P
P
1
ln f
RT 1
VdP
P
1 RT
3 5
ln f (1 9.86 10 P 11 .41 10 P 2
)dP
RT 1 P
50 50 50
dp
ln f 9.86 10 3 dP 11.41 10 5 PdP
1
p 1 1
50 (50 1 )
2 2
ln f ln 9.86 10 3 50 1 11.41 10 5
1 2
f =26.744 bar f 26.744
0.5348
P 50
51
Fugacity for liquids and solids
For solids and liquids at constant temperature the specific volume does
not change appreciably with pressure, therefore the above equation is
integrated by taking volume constant. Integrating the above equation
from condition 1 to 2
f2 P
V 2
f ln f RT P dP
f2
ln
V
P2 P1
1 1 f1 RT
Problem
Liquid chlorine at 25oC has a vapour pressure of 0.77Mpa, fugacity 0.7Mpa
and Molar volume 5.1x 10-2 m3/kg mole. What is the fugacity at 10 Mpa and
25oC
52
P1 0.77 10 6 Pa
P2 10 10 6 Pa
f1 0.7 10 6 Pa
T 298 K
J
R 8314
Kgmole
f2
ln
V
P2 P1
f1 RT
f=0.846Mpa
53
Activity(a)
It is defined as the fugacity of the existing condition to the standard state fugacity
f
a o
f
Effect of pressure on activity
The change in Gibbs free energy for a process accompanying change of state
from standard state at given condition at constant temperature can be predicted as
G RT ln f
G o RT ln f o
f
DG G G o RT ln o RT ln a
f
at constant temperature dG VdP
G P
dG V dP
GO Po
DG V ( P P o )
RT ln a V ( P P o )
V
ln a (P P o )
RT
This equation predicts the effect of pressure on activity
54