Estimating Different Thermodynamic Relations using RKS equation
1. Course No: ME 5243- Advanced Thermodynamics
Estimating Different Thermodynamic Relations using
Redlich- Kwong-Soave Equation of State.
Final Project report
Abu Saleh Ahsan,Md. Saimon Islam, Syed Hasib Akhter Faruqui
5-5-2016
2. 1 | P a g e
Table of Contents
Nomenclature:..............................................................................................................................................2
Abstract:........................................................................................................................................................4
Introduction:.................................................................................................................................................5
Derivation......................................................................................................................................................6
(a) Evaluation of the Constants.................................................................................................................6
(b) Equation of State in Reduced Form.....................................................................................................9
c) Critical Compressibility Factor ............................................................................................................10
d) Express Z in terms TR, vR’:..................................................................................................................12
e) Accuracy of EOS from Equation (d).....................................................................................................13
f) Equation for Departure .......................................................................................................................15
𝒉 ∗ −𝒉𝑹𝑻𝒄 .........................................................................................................................................15
(u*-u)/RTc...........................................................................................................................................15
𝒔 ∗ −𝒔𝑹...............................................................................................................................................15
g) Accuracy of EOS for equation (C)........................................................................................................16
h) Derivation of Expressions: ..................................................................................................................17
𝒂 ∗ − 𝒂𝑹𝑻𝒄:.......................................................................................................................................17
𝒈 ∗ − 𝒈𝑹𝑻𝒄: ......................................................................................................................................17
i) Speed of sound ....................................................................................................................................18
(j) Derive the Properties..........................................................................................................................19
Cp ........................................................................................................................................................19
Cv ........................................................................................................................................................19
1/v vp ..................................................................................................................................19
k = v/p pv ....................................................................................................................................19
kT .........................................................................................................................................................20
J .........................................................................................................................................................20
Summary:....................................................................................................................................................21
Appendix .....................................................................................................................................................22
MATLAB Code .........................................................................................................................................22
Reference....................................................................................................................................................23
3. 2 | P a g e
Nomenclature:
P = Pressure
Pr = Reduced pressure
Pc = Critical pressure
v = Specific volume
vr = Reduced specific volume
vc = Critical volume
𝑣𝑟
∗
= Specific volume of ideal gas
vrf = Reduced volume at liquid state
vrg = Reduced volume at gaseous state
T = Temperature
Tr = Reduced temperature
Tc= Critical temperature
R = Molar gas constant
Z = Compressibility factor
Zr = Reduced compressibility factor
Zc = Critical compressibility factor
𝑔 = Gibbs free energy
𝑔0 = Gibbs free energy for ideal gas
ℎ = Specific enthalpy for real gas
ℎ0 = Specific enthalpy for ideal gas
𝑢 = Specific internal energy for real gas
𝑢0 = Specific internal energy for ideal gas
4. 3 | P a g e
𝑠 = Specific entropy for real gas
𝑠0 = Specific entropy for ideal gas
𝑘 𝑇 = Isothermal expansion exponent
𝑐 = Speed of sound
𝛽 =Volumetric co-efficient of thermal expansion
𝐶 𝑝 = Constant pressure specific heat
𝐶 𝑣 = Constant volume specific heat
5. 4 | P a g e
Abstract:
For the project we will be using “Redlich- Kwong-Soave” Equation of State (EOS) to derive to Estimating
Different Thermodynamic Relations. Starting from “Redlich- Kwong-Soave” equation we have calculated
the constants “a(T)” & “b”. The EOS is again represented in its reduced form. Compressibility factor for
the selected EOS is calculated and expressed in terms of TR & VR. By using the EOS different thermodynamic
relations such as departure enthalpy, entropy, and change in internal energy has been evaluated. Again,
we have expressed different important parameters such as speed of sound, isothermal expansion
exponent, CP & CV in reduced form. As for the substance in question we are using “Nitrogen”.
6. 5 | P a g e
Introduction:
Real gases are different from that of ideal gases. Thus the evaluated properties of ideal gas cannot be
used as the same for real gases. To understand the characteristics of real gases we have to consider the
following-
compressibility effects;
variable specific heat capacity;
van der Waals forces;
non-equilibrium thermodynamic effects;
issues with molecular dissociation and elementary reactions with variable composition.
In our project, we have taken “Redlich- Kwong-Soave” equation of state (EOS) into consideration to
derive the various fundamental relations of thermodynamics. The compressibility, enthalpy departure
and entropy departure, can all be calculated if an equation of state for a fluid is known which is
“Nitrogen” in our case.
Now, the “Redlich- Kwong-Soave” equation of state (EOS) is almost similar to Van Der Walls equation of
state. The equation is-
𝑝 =
𝑅𝑇
𝑣−𝑏
−
𝑎(𝑇)
𝑣(𝑣+𝑏)
… …. … … … … … … … … (i)
In thermodynamics, a departure function is defined for any thermodynamic property as the difference
between the property as computed for an ideal gas and the property of the species as it exists in the real
world, for a specified temperature T and pressure P. Common departure functions include those for
enthalpy, entropy, and internal energy.
Departure functions are used to calculate real fluid extensive properties (i.e properties which are
computed as a difference between two states). A departure function gives the difference between the
real state, at a finite volume or non-zero pressure and temperature, and the ideal state, usually at zero
pressure or infinite volume and temperature.
17. 16 | P a g e
g) Accuracy of EOS for equation (C)
From table A1 for Nitrogen we get,
Zc=0.291
And at part (c) we calculated,
Zc=0.3471
Thus, Accuracy=
(0.3471−0.291)
0.291
=0.192783=19.2783%
22. 21 | P a g e
Summary:
In our project we firstly evaluated the Two parameters of the Redlich- Kwong-Soave equation. Then
converted the equation into reduced form. With the help of MATLAB and Excel we estimated tabulated
data and calculations.
23. 22 | P a g e
Appendix
MATLAB Code
clc;
clear;
x = 1;
zc = 1;
while x
v2 = zc^3 - zc^2 + (.42747-.08664-.08664^2)*zc + (-.42747*.08664);
if abs(v2) <= 0.00000025
x = 0;
clc;
fprintf('%d',zc);
else
zc = zc - 0.000025;
end
end
24. 23 | P a g e
Reference
1) http://en.wikipedia.org/
2) http://webbook.nist.gov/chemistry/fluid/
3) http://www.boulder.nist.gov/div838/theory/refprop/MINIREF/MINIREF.HTM
4) https://www.bnl.gov/magnets/staff/gupta/cryogenic-data-handbook/Section6.pdf
5) http://www.swinburne.edu.au/ict/success/cms/documents/disertations/yswChap3.pdf
6) https://www.e-education.psu.edu/png520/m10_p5.html
7) Advanced Engineering Thermodynamics-Adrian Bejan.
8) Thermodynamics, An Engineering Approach- Yunus A Cengel and M.B Boles
9) Provided class lectures and notes.