Professional Documents
Culture Documents
The Three Laws of Thermodynamics: Summary For CH 1,2,3,4,5,6,7
The Three Laws of Thermodynamics: Summary For CH 1,2,3,4,5,6,7
The Three Laws of Thermodynamics: Summary For CH 1,2,3,4,5,6,7
m m
(iii) Euler's and G-D Theorem M = ∑ xi M i (T , P, x) ; ∑ x d M (T , P, x)
i i T ,P =0
i =1 i =1
(3) Fundamental property relations for a closed system derived from the 1st,
2nd and 3rd laws
m
dn r U = Tdn r S − Pdn r V + ∑ μir dnir γ : any arbitrary phase
r r r
(i)
i =1
γ ⎛ ∂U T ⎞ ⎛ ∂H T ⎞ ⎛ ∂AT ⎞ ⎛ ∂G T ⎞ ⎛ ∂GT ⎞
(ii) μi = Gi = ⎜ ⎟ =⎜ ⎟ =⎜ ⎟ =⎜ ⎟ ; only ⎜ ⎟ = Gi
⎝ ∂ni ⎠V , S ⎝ ∂ni ⎠ S , P ⎝ ∂ni ⎠V ,T ⎝ ∂ni ⎠T , P ⎝ ∂ni ⎠T , P
1
(4) Maxwell relations and more thermodynamic properties
(4-basic relations – 8-differentiations – 4-Maxwell equations)
(5) Energy and entropy balances, heat engines and heat pumps
∂M ∂M ∂M
i.e. Using the form of , , M: molar property
∂T ∂P ∂V
⎛ ∂M ⎞
and ⎜ ⎟ = CP
⎝ ∂T ⎠ P
⎛ ∂M ⎞
and ⎜ ⎟ = CV
⎝ ∂T ⎠V
2
Jacob procedure:
Step 1: If difficult derivatives contain G, H, U, A (say molar property, M), always
bring M in the numerator.
⎛ ∂x ⎞ 1
(A) If M in the denominator, using ⎜ ⎟ =
⎝ ∂M ⎠ y ⎛ ∂M ⎞
⎜ ⎟
⎝ ∂x ⎠ y
⎛ ∂M ⎞
−⎜ ⎟
⎛ ∂x ⎞ ⎝ ∂y ⎠x
(B) If M is the constrain, using ⎜ ⎟ =
⎝ ∂y ⎠ m ⎛ ∂M ⎞
⎜ ⎟
⎝ ∂x ⎠ y
⎛ ∂H ⎞ ⎛ ∂V ⎞
−⎜ ⎟ T ⎜ ⎟ −V
∂T ⎞ ∂ ⎝ ∂ ⎠P, x
μ = ⎛⎜ = ⎝ ⎠T =
P T
Ex: ⎟
⎝ ∂P ⎠ H , x ⎛ ∂H ⎞ Cp
⎜ ⎟
⎝ ∂T ⎠ P
3
⎛ ∂H ⎞ ⎡ ⎛ ∂V ⎞ ⎤
−⎜ ⎟ − ⎢V − T ⎜ ⎟ ⎥
⎛ ∂T ⎞ ⎝ ∂P ⎠T ⎣ ⎝ ∂T ⎠ P , x ⎦
Example: μ =⎜ ⎟ = =
⎝ ∂P ⎠ H , x ⎛ ∂H ⎞ CP
⎜ ⎟
⎝ ∂T ⎠ P
∂S
Step 3: Eliminate derivative of S ( , or dS) by Maxwell relation and by relation
∂
of S with Cp, Cv
Step 4: If any S constrains ( S ) are left from application of Maxwell relation, further
eliminate S constrains by using the triple product rule and repeat step 3.
4
(7) Thermodynamic property relations for ideal gases
(i) Ideal gas volumetric properties (no molecular volume, etcetera)
(ii) U(T), H(T), Cp(T), Cv(T), is a function of temperature only
(iii) S (a function of T, P), or S (a function of T, V), or S (a function of V, P)
1 ∂V
(ii) KT = − ⎛⎜ ⎞⎟ Isothermal compressibility of any substance
V ⎝ ∂P ⎠T , x
(9) Residual properties (i.e. departure function of ideal gas from real gas mixture)
(i) ΔM R = M IG − M e.g.: ΔH R ; ΔS R
Aside: PΔV R = RT (1 − Z ) (residual volume is equal to B(T) at zero pressure).
(ii) The property difference (ΔH, ΔS) calculations using ideal gas relationship and
residual properties.
m
(ii) M T = nM = ∑ ni M i (T , P, n) or M = Σxi M i (T , P, x)
i =1
5
(11) Gibbs-Duhem Equation
⎛ ∂M ⎞ ⎛ ∂M ⎞ m
(i) 0=⎜ ⎟ dT + ⎜ ⎟ dP − ∑ xi dM i (T , P, xi ) M: molar property
⎝ ∂T ⎠ P , x ⎝ ∂P ⎠T , x i =1
⎛ ∂nM ⎞ ⎛ ∂nM ⎞ m
or 0=⎜ ⎟ dT + ⎜ ⎟ dP − ∑ ni dM i (T , P, n) nM: total property
⎝ ∂T ⎠ P ,n ⎝ ∂P ⎠T ,n i =1
⎛ G ⎞ −H ⎛ V ⎞
(ii) G in terms of H and V (or T, P) d⎜ ⎟ = dT + ⎜ ⎟dP
⎝ RT ⎠ x RT ⎝ RT ⎠
2
6
(ii) Relations for φ (whole system), φi , pure (pure substance), φi (real mixture) and
f i = xi Pφi . Fugacity is a new defined function in terms of T, P, x:
⎛ V − Vi ' ⎞ ⎛ V V ⎞ ⎛ Vi 1⎞
d ln(φi )T , x = ⎜ i ⎟ dP = ⎜ i − ⎟ dP = ⎜ RT − P ⎟ dP
⎝ RT ⎠ ⎝ RT RT ⎠ ⎝ ⎠
NOTE:
fi
EOS Calculation of = φi is easy in terms of ∫ dV . However, Experimental
xi P
measurement is easy in terms of ∫ dP .
By looking up the following equations in the 2nd Ed. Prausnitz book (3.4.-14)
⎡⎛ ∂P ⎞ RT ⎤
RTln(φi )T , x = ∫ ⎢⎜⎜
∞
⎟⎟ − ⎥ dV − RTlnZ for real mixture
⎢⎣⎝ ∂ni ⎠T ,V ,n
V
V ⎥
j ⎦
1 ∞⎡ ∂P RT ⎤
ln( φ )T , x = ∫V ⎢ − ⎥ dV − lnZ for whole system
RT ⎣ ∂n V ⎦
1 ∞ ⎛ ∂P ⎞
dln( φi )T , x = ∫ ⎜⎜ − Pi ⎟⎟dV − lnZ for pure substance
RT V ⎝ ∂ni ⎠
It means that the φi values in terms of T, V, x could be calculated using EOS more
easily than those of (T, P, x). Remember only here the volume (V) is total
volume.
7
(15) Phase equilibrium with fugacity
α
(i) f i , pure = f i , pureβ = for a pure substance
α β
(ii) fi = fi = for the component i in a real mixture
8
(18) Additional for Critical fluids, EOS, and Phase equilibrium
Figure 1: An ideal fluid isochore (equal density curves)
P
V2
V1
C.P.
V3
ρ2
ρ1
T
⎛ ∂2P ⎞ ⎛ ∂Cv ⎞
At the isochore inflection locus: ⎜ 2⎟ =0 ⇒ ⎜ ⎟ =0
⎝ ∂T ⎠ ρ , x ⎝ ∂V ⎠T , x
Figure 3: There are minimum points occurred at curves of Cv vs ρ.
Cv
T = constant
Figure 3
ρ
9
(19) Representation of the P-V-T curve by a cubic volume EOS model
P C.P.
SL Sy SV V
V V V
⎛ ∂n P ⎞
⎜ n⎟ =0 (n= 1, 2, 3, 4)
⎝ ∂V ⎠T c
V SV mV + V SL mL = V t = V sy mt
⇒
V sy − V SL a
V sy
=V SV
(q ) + V (1 − q )
SL
where q = SV =
V − V SL b
10
At phase equilibrium:
⎛ ∂P ⎞
○
1 Mechanical Stability ⎜ ⎟<0
⎝ ∂V ⎠
○
2 Chemical Stability must be fitted by Maxwell equal area rule
∂μ I ⎛ ∂μ II ⎞
= μi = μi = ⎜⎜ ⎟⎟ ⇒ Gi = Gi
I II I II
∂ni ⎝ ∂ni ⎠T , p
μ SV = μ SL ⇒ G SV = G SL
⇒ ASV − ASV = Pσ (V SV − V SL )
⇒ ∫ SL
SV
PdV − pσ (V SV − V SL ) = 0 It is the Maxwell equal area rule
11
Any cubic EOS adopted for the phase equilibrium calculation must follow the
Maxwell equal area rule. i.e.:
The area of (Psat) (VSV-VSL), i.e. two domes, given by the EOS curve must be equal
to the area of (Psat)(VSV-VSL), i.e. cross rectangle, represented by the experimental
PV curve (bold line). Then, finding a suitable vapor pressure (Psat) is possible
to get vapor phase volume (VSV) and liquid phase volume (VSL).
P
C.P.
V
L
cubic EOS curve
Psat
T<Tc
SL Sy SV V
V V V
V
P-V curve
at T=constant
V SV
A2
12
For example:
Supposed that VDW cubic EOS is good to represent the PVT data
RT a
P= − 2
V −b V
Integrate the above equation from VSV to VSL at a certain Pσ, then:
V SV − b ⎛ 1 1 ⎞
⇒ RTln SL + a⎜ SV − SL ⎟ − P σ (V SV − V SL ) = 0 EQ(1)
V −b ⎝V V ⎠
RT a
Pσ = − EQ(2)
V SL − b ( V SL )2
RT a
Pσ = − EQ(3)
V SV − b ( V SV )2
fulfillment of the Maxwell equal area relation, then, two roots of vapor
phase volume (VSV) and liquid phase volume (VSL) could be solved by
using EQ(1), EQ(2), EQ(3), simultaneously.
13
Discussion:
Even if the experimental P-T-x-y data could be fitted by the EOS, such as the
van der Waals (vdW) EOS as follows, but the accuracy can not be always
satisfied:
RT a
P= − 2
V −b V
PV V a
Z= = −
RT V − b RTV
At critical point, it is easy to find the a and b values from the values of Tc and Pc.
Then, substitute them into the Z equation of the vdW EOS.
PcVc 3
⇒ Zc = = = 0.375
RTc 8
According to the corresponding state theory, however, for most real fluids the
experimental Zc data ranged from 0.31 to 0.27. Again, the following good EOS
models did not give a correct answer for the ZC value of the polar water
compound:
14
(20) Introduction of a digitalized computer project
Suppose there is a 3-phase equilibrium problem containing V−LI, V−LII, and LI−LII
γ
Method 2: approach (γ - φ method)
φ
A few models, NRTL, Wilson, Unifac, Uniquac, etc.
i.e. vapor phase using φi V ; liquid phase (I, II) using γ i I , II :
yiφi yiφi
V V V
fi
= = =1
fi
L
xi
fi
f i , pure xiγ i (T , P, x; xi = 1) f i , pure
xi f i , pure
15
(A)Calculation procedure of the computer language programming
(Please refer to Sandler’s book, MATHCAD, MATHLAB, VBASIC programs)
Common T, etc.
aP bP
Common ai, bi, a, b, A, B A= , B =
R 2T 2 RT
If S→1
ki xi
Then yi = = ki xi (↑ )
Σki xi
Then, increasing the tried bubble point pressure (P) by using a try and error
method.
16
(B) Flow Chart
main program
Guess initial P, Bubble point pressure
change P, calculation
and input data
P, x, y
K1,K2
KVAL subroutine
P, x
φ φ
L L
subroutines
K1 = 1 V K 2 = 2 V
φ2 φ2
print interactive values
φ1L , φ L2
P, y
φ1V ,φV2
Fugacity L subroutine
Fugacity V subroutine
Common
Common
ai, bi, a, b, δ, A, B
ai, bi, a, b, δ, A, B
pick ZL
pick ZV
cale φL
cale φV
P, x
P, y
Z1 , Z 2 , Z3
Z1 , Z2 , Z3
17