Process Engineering and Design Using Visual Basic
Process Engineering and Design Using Visual Basic
This book contains information obtained from authentic and highly regarded sources. Reasonable efforts
have been made to publish reliable data and information, but the author and publisher cannot assume
responsibility for the validity of all materials or the consequences of their use. The authors and publishers
have attempted to trace the copyright holders of all material reproduced in this publication and apologize to
copyright holders if permission to publish in this form has not been obtained. If any copyright material has
not been acknowledged please write and let us know so we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmit-
ted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented,
including photocopying, microfilming, and recording, or in any information storage or retrieval system,
without written permission from the publishers.
For permission to photocopy or use material electronically from this work, please access www.copyright.
com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood
Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that provides licenses and
registration for a variety of users. For organizations that have been granted a photocopy license by the CCC,
a separate system of payment has been arranged.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used
only for identification and explanation without intent to infringe.
Visit the Taylor & Francis Web site at
http://www.taylorandfrancis.com
Vertical separators.......................................................................................416
Two-phase vapor–liquid separator.................................................416
Two-phase liquid–liquid separator.................................................416
General overview of the separator.exe program....................................416
Design.......................................................................................................... 421
Slug volume................................................................................................. 421
Further checking and analysis................................................................. 422
Design.......................................................................................................... 423
Analysis....................................................................................................... 424
Nomenclature.................................................................................................. 425
Greek characters......................................................................................... 426
References........................................................................................................ 427
Arun Datta
Brisbane, Australia
Arun Datta
Brisbane, Australia
Basic mathematics
Introduction
Understanding mathematics is the most fundamental requirement in
understanding engineering. Some fields in chemical engineering require
the solution of complex mathematical equations. The purpose of this
chapter is to get some idea in the field of mathematics commonly used for
chemical engineering design and includes the following:
• Physical constants
• Mensuration
• Algebra
• Trigonometry
• Analytical geometry
• Calculus
• Differential equations
• Partial differential equations
• Numerical analysis
• Equation of states
• Unit conversions
• Programming
Physical constants
The commonly used physical constants are presented in Table 1.1.
SI prefixes
The International System of Units (SI) prefixes are presented in Table 1.2.
Mensuration
Triangles
Area = 1/2 bh (1.1)
Rectangles
Area = ab (1.2)
b h
α
a
where a and b are the lengths of the sides, h the height, and α the angle
between the sides. See Figure 1.1.
where a and b are the lengths of the parallel sides, and h is the height.
where a and b are the lengths of the diagonals, and θ is the acute angle
between them.
β = 360°/n (1.7d)
θ = (n − 2)180°/n (1.7e)
R r L
β
θ
r d
Then
C = 2πr = πD (1.8a)
S = rθ = 1/2 Dθ (1.8b)
(r − H ) (1.8i)
= r 2cos −1 − (r − H )(2rH − H 2 )0.5
r
where
h = H/D, h ≤ 0.5
ϕ = 2{90 − sin−1(1 − 2h)}
E
G
x
Prism
Lateral surface area = (perimeter of right section) * (lateral edge) (1.11a)
Pyramid
Lateral area of a regular pyramid = 1/2 (perimeter of base) * (slant height)
(1.12a)
= 1/2 (number of sides) * (length of one side) * (slant height) (1.12b)
Volume (spherical segment of two bases) = 1/6πh (3r12 + 3r22 + h22 ) (1.14f)
r2
r1
h1
h2
h R
where
r = radius
h = height of the cone
Dished end
Surface area (general) = πa2 + π/2(b2/e)ln{(1 + e)/(1 − e)} (1.16a)
= 4.336 a2
where
a = semimajor axis
b = semiminor axis
e = eccentricity = (1 − b2/a2)0.5
Irregular shape
Let y0, y1, y2, . . ., yn be the lengths of a series of equally spaced parallel
chords and h be the distance between them. The approximate area of the
figure is given by using the trapezoidal rule or by Simpson’s rule.
Trapezoidal rule
Area = h/2 {(y0 + yn) + 2(y1 + y2 + y3 + ⋯ + yn−1)} (1.17)
Simpson’s rule
Area = h/3 {(y0 + yn) + 4(y1 + y3 + y5 + ⋯ + yn−1)
+ 2(y2 + y4 + ⋯ + yn−2)} (1.18)
where n is even.
The greater the value of n, the greater the accuracy of approximation.
Irregular volume
To find the irregular volume, replace y’s by cross-sectional area Aj, and use
the results in the preceding equation.
Algebra
Factoring
a2 − b2 = (a + b)(a − b) (1.19a)
Arithmetic progression
A series is said to be in arithmetic progression (AP) if the algebraic differ-
ence between any two successive terms is the same throughout the series.
The following series is in AP:
where
a = first term
b = common difference
tn = a + (n − 1)b (1.20a)
Geometric progression
A series is said to be in geometric progression (GP) if the ratio of any
term to the preceding one is the same throughout the series. The follow-
ing series is in GP:
where
a = first term
r = common ratio
tn = arn−1 (1.21a)
a(1 − r n )
S= (1.21b)
(1 − r )
Example
Series 1 + 1/3 + 1/9 + 1/27 + ⋯ + 1/∞
and
Example 1.1
Let the four points be (−1,1), (−0.1,1.099), (0.2,0.808), and (1,1).
n=4
Σx j = 0.1
Σx 2j = 2.05
Σy j = 3.907
Σx j y j = 0.0517
4 a + 0.1b = 3.907
0.1a + 2.05b = 0.0517
The solution is
a = 0.9773
b = −0.0224
Binomial equation
The general equation is
ax2 + bx + c = 0 (1.23a)
−b ± b 2 − 4 ac (1.23b)
x=
2a
Polynomial equation
General solution of the following type of polynomial equation:
y = ax2 + bx + c (1.24a)
( y1 − y 2 )( x2 − x3 ) − ( y 2 − y 3 )( x1 − x2 )
a= (1.24b)
( x12 − x22 )( x2 − x3 ) − ( x22 − x32 )( x1 − x2 )
b=
{( y 1 }
− y 2 ) − a( x12 − x22 ) (1.24c)
( x1 − x2 )
Example 1.2
Solve the equation y = ax2 + bx + c for three sets of values (1,10), (3,32),
and (5,70).
SOLUTION
b=
{(10 − 32) − 2(1 − 9)} =3
−2
c = 10 − 2 − 3 = 5
Maxima/minima
Let a function be
y = f(x) (1.25a)
Example 1.3A
Let the equation be
y = ax + b (1.25b)
y′ = a = 0
Example 1.3B
Let the equation be
y = x3 + x − 1 (1.25c)
y′ = 3x + 1 = 0
2 (1.25d)
or x2 = −1/3 (1.25e)
Example 1.3C
Let the equation be y = 4x3 − 3x + 2 (1.25f)
y′ = 12x − 3 = 0
2
x = ±1/2
Cubic equation
An accurate solution of a cubic equation is very important in process engi-
neering calculations. The commonly used Newton’s method (discussed
later) may not be adequate to establish all the roots of a cubic equation.
One root is always real and the other two roots can be real or imaginary
depending on the equation.
General procedure
Let the equation be
ax3 + bx2 + cx + d = 0 (1.26)
The following factors are calculated as
3c b 2
p = − 3 (1.27a)
a a
b 9bc 27 d
3
q = 2 − 2 + 27 (1.27b)
a a a
3 2
p q (1.27c)
∆ = +
3 2
0.5
|p|3 (1.28)
v=
27
−q (1.29)
φ = cos −1
2v
0.5
|p| (1.30)
w=
3
y1 = 2w cos(ϕ/3) (1.31a)
φ + π (1.31b)
y 2 = −2w cos
3
φ − π (1.31c)
y 3 = −2w cos
3
q
u1 = − + ∆ 0.5 (1.33a)
2
If u1 < 0, then
u = − u1
1/3 (1.33b)
Else
u = u11/3 (1.33c)
q
k1 = − − ∆ 0.5 (1.34a)
2
If k1 < 0, then
1/3
k = − k1 (1.34b)
Else
k = k11/3 (1.34c)
y1 = u + k (1.35)
The final root will be
b (1.36)
x1 = y1 −
3a
Example 1.4A
Solve the equation
x3 − x2 + 0.1x − 0.002 = 0
SOLUTION
p = −0.2333
q = −0.04274
Δ = −0.000013
Example 1.4B
Solve the equation
SOLUTION
p = −0.0037
q = 0.000294
Δ = 1.9E−8
Since the value is positive, there will be one real root
u1 = −0.00000656
u = −0.01872
k1 = −0.000287
k = −0.06596
y1 = −0.08468
The final real root will be
x1 = 0.02643
Matrix
Addition and multiplication of matrices
• If two m by n matrices A and B are given, the sum A + B can be
defined as the m by n matrix, adding corresponding elements, that is
Addition of matrices
a b c u v w a + u b+v c + w
i. + =
d e f x
y z d + x e+y f + z
a b c a b c 2a 2b 2c a b c
ii. + = = 2
d e f d
e f 2d 2e 2f
d e f
Multiplication of matrices
a b e f ae + bg af + bh
iii. * =
c d g
h ce + dg cf + dh
x
a b c ax + by + cz
iv. * y =
d e f dx + ey + fz
z
a. A + B = B + A (1.38a)
b. (A + B) + C = A + (B + C) (1.38b)
c. A + 0 = A (1.38c)
where 0 is the m by n zero matrix (all its entries are equal to 0).
c. If α is a number, and A and B are two matrices such that the product
AB is possible, then
A0 = 0 (1.39d)
(A + B)C = AC + BC (1.40a)
and
A(B + C) = AB + AC (1.40b)
α(A + B) = αA + αB (1.40c)
and
(α + β)A = αA + βA (1.40d)
Transpose
The transpose of a matrix is another matrix, produced by turning rows
into columns and vice versa. The transpose of an n by m matrix A is the n
by m matrix AT defined by
a b c
d e f
A=
g h i
j k l
the transpose
a d g j
A = b
T
e h k
c f i l
Symmetric matrix
A symmetric matrix is a matrix equal to its transpose. A symmetric matrix
must be a square matrix, for example
a b c
a b
b and b d e
c
c e f
Diagonal matrix
A diagonal matrix is a symmetric matrix with all of its entries equal to
zero, except possibly the values of the diagonal, for example
a 0 0
a 0
0 and 0 0 0
b
0 0 b
Determinants
Determinants are important in both calculus and algebra.
The determinant of a 1 × 1 matrix is the element itself: det[a] = a.
The 2 × 2 matrix
a b
A=
c d
det(A) = ad − bc (1.42)
The 3 × 3 matrix
a b c
A = d e f
g h i
Properties of determinants
1. Any matrix A and its transpose have the same determinant, mean-
ing det A = det AT.
2. If the elements of one row (or column) of a determinant are all zero,
the value of the determinant is zero.
a b a 0
0 = = ad
d b d
a b c d
c = −
d a b
na nb a b a b
c = n =
d c d nc nd
3 2 4 2 7 2
1 + = = 19
5 7 5 8 5
a + nc b + nd a b a b
c = =
d c d c + na
d + nb
9. If all the elements but one in a row (or column) are zero, the value of
the determinant is the product of that element and its cofactor.
Cofactor
Let A be an n × n matrix. The ij-th cofactor of A, denoted by Aij, will be
Example 1.5
Find the cofactors A32 and A24 of a 4 × 4 determinant A
1 −3 5 6
2 4 0 3
A=
1 5 9 −2
4 0 2 7
SOLUTION
1 5 6
A32 = (−1)3 + 2 M32 = − 2 0 3 = −8
4 2 7
1 −3 5
2+ 4
A24 = (−1) 1 5 9 = −192
4 0 2
Adjoint
Let a determinant be
Theorem 2
detA 0 0 ... 0
0 detA 0 ... 0
( A)( adjA) = 0 0 detA ... 0 = (detA)I (1.48)
0 0 0 0 detA
Theorem 3
1
A −1 = adjA (1.49)
detA
Cramer’s rule
Consider a system of n equations and n unknowns.
Ax = b (1.50b)
x = b/A (1.50c)
D1 D D
x1 = , x2 = 2 , … , xn = n (1.51)
D D D
Example 1.6
Solve using Cramer’s rule, the system
SOLUTION
The determinant is calculated first as
2 4 6
D = 4 5 6 = 2(−10 − 6) − 4 ( −8 − 18 ) + 6 ( 4 − 15)
3 1 −2
= −32 + 104 − 66 = 6
18 4 6
D1 = 24 5 6 = 18(−10 − 6) − 4(−48 − 24)
4 1 −2
+ 6 ( 24 − 20 ) = 24
2 18 6
D2 = 4 24 6 = 2(−48 − 24) − 18(−8 − 18)
3 4 −2
2 4 18
D3 = 4 5 24 = 2 ( 20 − 24 ) − 4 (16 − 72)
3 1 4
+ 18 ( 4 − 15) = 18
Therefore
x1 = D1/D = 24/6 = 4
x2 = D2/D = −12/6 = −2
x3 = D3/D = 18/6 = 3
Trigonometry
Functions of circular trigonometry
Trigonometric functions are the ratios of various sides of the reference
angles presented in Figure 1.7.
The trigonometric relationships are:
h h
p p α α α
b
b b p b p
h h
Periodic functions
The following periodic functions are commonly used in trigonometry:
Magic identity
The following identities are very basic to the analysis of trigonometric
expressions:
Addition formulas
The following addition formulas are very important for the analysis of
trigonometric expressions:
tan a + tan b
tan( a + b) = (1.54e)
1 − tan a tan b
Example 1.7
Find the exact value of cos 165°, given that cos 120° = −1/2,
sin 120° = 3 /2, and 45° = sin 45° = 2 /2 .
SOLUTION
cos 165° = cos (120° + 45°)
= cos 120° cos 45° − sin 120° sin 45°
−1 2 3 2
= * − *
2 2 2 2
6+ 2
=−
4
a 1 (1.55d)
cos 2 = (1 + cos a)
2 2
a 1 (1.55e)
sin 2 = (1 − cos a)
2 2
Example 1.8
Use the half-angle formulas to find cos(π/8) and sin(π/8).
SOLUTION
Let a = π/4, then π/8 = a/2.
Now, from the half-angle formula, we have
π 1 π 1 2
cos 2 = 1 + cos = 1 +
8 2 4 2 2
Because 0 < π/8 < π/2, the value of cos(π/8) will be positive.
Therefore
π 2+ 2
cos =
8 2
Similarly
π 2− 2
sin =
8 2
1
cos a cos b = {cos( a + b) + cos(a − b)} (1.56a)
2
1
sin a sin b = {cos( a − b) − cos(a + b)} (1.56b)
2
1
sin a cos b = {sin( a + b) + sin(a − b)} (1.56c)
2
1
cos a sin b = {sin( a + b) − sin(a − b)} (1.56d)
2
a + b a − b
cos a + cos b = 2 cos cos (1.56e)
2 2
a + b a − b
cos a − cos b = −2 sin sin (1.56f)
2 2
a + b a − b
sin a + sin b = 2 sin cos (1.56g)
2 2
a + b a − b
sin a − sin b = 2 cos sin (1.56h)
2 2
c
r h a
α γ
b
2s = a + b + c
A = area
r = radius of the inscribed circle
R = radius of the circumscribed circle
h = altitude
Law of sines
sin α/a = sin β/b = sin γ/c (1.57)
Law of tangents
a + b tan 1/2(α + β) (1.58a)
=
a−b tan 1/2(α − β)
b + c tan 1/2(β + γ )
= (1.58b)
b−c tan 1/2(β − γ )
Law of cosines
a 2 = b 2 + c 2 − 2bc cos α (1.59a)
Other relations
b 2 + c2 − a2
cos α = (1.60a)
2bc
2
sin α = s(s − a)(s − b)(s − c) (1.60c)
bc
α (s − b)(s − c)
sin = (1.60d)
2 bc
α s(s − a)
cos = (1.60e)
2 bc
1 1 a 2 sin β sin γ
A= bh = ab sin γ = = s(s − a)(s − b)(s − c) = rs (1.60f)
2 2 2 sin α
(s − a)(s − b)(s − c)
r= (1.60g)
s
a abc
R= = (1.60h)
2 sin α 4A
2rs
h = c sin α = a sin γ = (1.60i)
b
0 ≤ cos−1 x ≤ π
are
x 1 − x2
sin −1 x = cos −1 1 − x 2 = tan −1 = cot −1
1 − x2 x
1 1 π
= sec −1 = csc −1 = − cos −1 x (1.61a)
1− x 2 x 2
1 − x2 x 1
cos −1 x = sin −1 1 − x 2 = tan −1 = cot −1 = sec −1
x 1− x 2 x
1 π
= csc −1 = − sin −1 x (1.61b)
1− x 2 2
x 1 1
tan −1 x = sin −1 = cos −1 = cot −1
1+ x 2
1+ x 2 x
1 + x2
= sec −1 1 + x 2 = csc −1 (1.61c)
x
Hyperbolic functions
The hyperbolic functions are similar to the trigonometric functions and
are presented as follows:
ex + e−x (1.62a)
cosh x =
2
ex − e−x (1.62b)
sinh x =
2
ex − e−x (1.62c)
tanh x =
ex + e−x
ex + e−x (1.62d)
coth x =
ex − e−x
2
sech x = (1.62e)
ex + e−x
2
csch x = (1.62f)
e − e−x
x
2s tanh x
tanh 2x = (1.63f)
1 + tanh 2 x
Let y = sinh x
or 2y = ex − e−x
or 2yex = e2x − 1
or (ex)2 − 2y(ex) − 1 = 0
or e x = y ± y2 + 1
Because ex > 0 for all x, and y 2 + 1 > y for all y, we can have the solu-
tion as
ex = y + y2 + 1
Therefore
(
x = ln y + y2 + 1 )
and
(
sinh −1 x = ln x + x2 + 1 ) (1.64a)
Similarly
(
cosh −1 x = ln x + x2 − 1 ) (1.64b)
1 1+ x
tanh −1 x = ln (1.64c)
2 1− x
1 x+1 (1.64d)
coth −1 x = ln
2 x−1
1 + 1 − x2
sech −1x = ln (1.64e)
x
1 + 1 + x2
csch −1x = ln (1.64f)
x
Analytical geometry
Straight line
The general equation of a straight line is
ax + by + c = 0 (1.65)
x y 1
a1 b1 1 = 0 (1.66a)
a2 b2 1
or
a1 b1 1
a2 b2 1 = 0 (1.67)
a3 b3 1
Circle
The equation of a circle with coordinates of the center as (a,b) and radius
r is
with
m 2 + n2 − c > 0 (1.68c)
The coordinates of the center of the circle are (−m, −n) and the radius is
r= m2 + n2 − c (1.68d)
Tangent
The tangent at any point (h,k) of a circle is defined to be a straight line that
meets the circle at the specified point but, when produced, does not cut it.
This tangent is always perpendicular to the radius drawn from the center
to the point of contact.
The equation of the tangent at a point (h,k) on a circle with center (a,b)
and radius r is given by
a−h
y−k =− ( x − h) (1.69)
b−k
Normal
The normal at any point of a curve is the straight line that passes through
the point and is perpendicular to the tangent at that point. The general
equation of the normal with the coordinates of the center as (a,b) and that
of the point as (h,k) is
x y 1
a b 1 = 0 (1.70)
h k 1
a12 + b12 a1 b1 1
2
a2 + b22 a2 b2 1
2 2 =0 (1.71)
a3 +b 3 a3 b3 1
2
a4 + b42 a4 b4 1
Example 1.9
Check if the four points (5,0), (4.33,2.5), (2.5, −4.33), and (−3.536, −3.536)
are on the same circle.
SOLUTION
The condition of the four points on the same circle is given in Equation
1.71. The value of the matrix will be
25 5 0 1
25 4.33 2.5 1
4.33 2.5 1
= 25 2.5 −4.33 1
25 2.5 −4.33 1
−3.536 −3.536 1
25 −3.536 −3.536 1
x2 + y2 x y 1
2 2
a1 +b 1 a1 b1 1
2 =0 (1.72)
a2 +b 2
2 a2 b2 1
2
a3 + b32 a3 b3 1
Conic section
The locus of a point P that moves so that its distance from a fixed point
is always in a constant ratio to its perpendicular distance from a fixed
straight line is called a conic section.
Focus
The previously mentioned fixed point is called the focus and is usually
denoted by S.
Eccentricity
The constant ratio is called eccentricity and is denoted by e.
Directrix
The fixed straight line is called the directrix.
An algebraic curve with an equation of the form
Partial derivatives
The three partial derivatives of the equation of a conic section are
2a b d
(1.76)
∆ = b 2c e
d e 2 f
Example 1.10
Establish the type of curve for the equation x2 + 2xy + y2 + 3x −
4y + 6 = 0.
SOLUTION
2 2 3
∆ = 2 2 −4 = −98 ≠ 0
3 −4 12
b2 − 4ac = 0
Parabola
As in Figure 1.9, let AA′ be a straight line and e be a point (e is not on line
AA′). The locus of all points B such that the distance of B from line AA′ is
equal to the distance of B from point e will form a parabola.
The point e is the focus and the line AA′ is the directrix.
The general equation of a parabola is
y2 = 4ax (1.77)
A y
x
e
A′
x = 4at2 (1.78a)
y = 4at (1.78b)
respectively.
The real number t is a parameter.
Now, to obtain an equation of the curve, we eliminate the parameter
t from the two equations. Eliminating t from Equations 1.78a and 1.78b,
we get
2
y
x = 4a
4a
or
y2 = 4ax
2a
y − y0 = ( x − x0 ) (1.79a)
y0
or
or
x2 y2 (1.81)
+ 2 =1
a2 b
where
a = semimajor axis
b = semiminor axis
x = a cos t (1.82a)
y = b sin t (1.82b)
x
F F′
b2 (1.83)
e= 1− , e<1
a2
b 2 x0
y − y0 = − ( x − x0 ) (1.84c)
a2 y0
or
x0 x y 0 y
+ 2 =1 (1.84d)
a2 b
y
P
x
F F′
b2 (1.88)
e= 1+ , e>1
a2
x2 y2
− =1
a2 b 2
2x 2 yy ’
− 2 =0 (1.89a)
a2 b
or
b2x
y’ = (1.89b)
a2 y
b 2 x0
y − y0 = ( x − x0 ) (1.89c)
a2 y0
or
x0 x y 0 y
− 2 =1 (1.89d)
a2 b
( x − x 0 )a 2 ( y − y0 )b 2
=− (1.90)
x0 y0
Calculus
Differential calculus
A function f is said to be differentiable if the following limit exists:
f ( x + h) − f ( x )
lim (1.91)
h→ 0 h
Example 1.11
Estimate the derivative of 1/x.
SOLUTION
The derivative can be established based on Equation 1.91 as
1 1
f ( x + h) − f ( x ) −
x + h x −1
= =
h h x( x + h)
Therefore
f ( x + h) − f ( x ) −1 −1
f ’( x) = lim = lim = 2
h→0 h h → 0 x( x + h) x
provided x ≠ 0.
Example 1.12
If f(x) = 5 − x3, establish the value of f′(2).
SOLUTION
f (2 + h) − f (2)
f ′ ( 2) = lim
h→0 h
= lim
{5 − (2 + h) } − {5 − 2 }
3 3
h→0 h
= lim
{5 − (8 + 12h + 6h 2
}
+ h3 ) + 3
h→0 h
= lim (−12 − 6 h − h 2 )
h→ 0
= −12
Example 1.13
Estimate the derivative of f(x) = 2x at x = 0.
C
2
1.5
A Tangent line
1 slope = f ′(0)
B 0.5
–1 0 1
Standard derivatives
d(xn) = n xn−1 dx
d(ex) = ex dx
d(ax) = ax ln a dx
d(ln x) = (1/x) dx
d(log x) = {log (e/x)} dx
d(sin x) = cos x dx
d(cos x) = −sin x dx
d(tan x) = sec2 x dx
d(cot x) = −csc2 x dx
d(sec x) = tan x sec x dx
d(csc x) = −csc x cot x dx
d(sin−1 x) = (1 − x2)−1/2 dx
d(cos−1 x) = −(1 − x2)−1/2 dx
d(tan−1 x) = (1 + x2)−1 dx
d(cot−1 x) = −(1 + x2)−1 dx
d(sec−1 x) = x−1 (x2 − 1)−1/2 dx
d(csc−1 x) = −x−1 (x2 − 1)−1/2 dx
d(sinh x) = cosh x dx
d(cosh x) = sinh x dx
d(tanh x) = sech2 x dx
d(coth x) = −csch2 x dx
d(sech x) = −sech x coth x dx
d(sinh−1 x) = (x2 + 1)−1/2 dx
d(cosh−1 x) = (x2 − 1)−1/2 dx
d(tanh−1 x) = (1 − x2)−1 dx
d(coth−1 x) = −(x2 − 1)−1 dx
d(sech−1 x) = x(1 − x2)−1/2 dx
d(csch−1 x) = −x−1 (x2 + 1)−1/2 dx
Integral calculus
Suppose f is continuous for a ≤ t ≤ b. The definite integral of f from a to b,
written as
b
∫ f (t) dt
a
(1.92)
is the limit of the left- or right-hand sums with n subdivisions of [a, b], as
n gets arbitrarily large. In other words
b
n −1
∫ a
f (t) dt = lim(left-hand sum) = lim
n →∞ n →∞
∑ f (t )∆t
i=0
i (1.93a)
and
b
n
∫
a
f (t) dt = lim(right-hand sum) = lim
n →∞ n →∞
∑ f (t )∆t
i =1
i (1.93b)
d a–x
2a
dx a
dV
x x
(0,0)
(x – a)2/a2 + y2/b2 = 1
x=x
π 1
V =
2 ∫ 2 dydx
x=0
(1.95)
and
πb 2 x 3 (1.97)
= ax −
2a 3
V T = π/3 a3 (1.99b)
x 2 ( y − b )2 (1.101)
+ =1
a2 b2
The volume up to a distance y from the bottom will be
y=y
π 2
V =
∫
y =0
4
4 x dy (1.102)
πa 2 2 y 3
V = by − (1.103)
b2 3
V T = π/3 a3 (1.105b)
y
2a
2x dy
b
y
x
(0,0)
V T = 2/3 π a3 (1.106b)
Standard integrals
∫ (du + dv + dw) = ∫ du + ∫ dv + ∫ dw
∫ adv = a∫ dv
v n +1
∫ v n dv =
n+1
+ c(n ≠ −1)
dv
∫v = ln v + c
av
∫ av dv =
ln a
+c
∫ e dv = e
v v
+c
∫ sin v dv = − cos v + c
∫ cos v dv = sin v + c
∫ sec v dv = tan v + c
2
∫ csc v dv = − cot v + c
2
dv v
∫ a −v2
= sin −1 + c
2 a
dv 1 v − a
∫v 2
−a 2
= ln +c
2a v + a
∫
dv
v ± a2
2 { }
= ln v + v 2 ± a 2 + c
dy
= 50 − y (1.107)
dx
Example 1.14
Solve the following first-order differential equation:
dy
= 2x
dx
SOLUTION
Integrating the preceding equation
y =
∫ 2x dx = x 2
+ C (C = constant of integration)
Separation of variables
Let us use the following equation and solve the equation using the sepa-
rating variables method:
dy
= ky
dx
Integrating
1
∫ y dy = ∫ k dx
The result is
ln (y) = kx + C
or
y = Aekx (1.108)
ds
= − gt + v0 (1.109b)
dt
1 2
s=− gt + v0t + s0 (1.109c)
2
Example 1.15
Solve the following differential equation:
d 2s
+ w 2s = 0 (1.110a)
dt 2
SOLUTION
We need to find a solution whose second derivative is the negative
of the original function. This can be achieved by using properties
s(t) = cos wt and s(t) = sin wt.
d2 d
(cos t) = (− sin t) = − cos t
dt 2 dt
and
d2 d
(sin t) = (cos t) = − sin t
dt 2 dt
Bessel function
Bessel’s differential is one of the most important equations in applied
mathematics, and the standard Bessel functions are used for the solution
of the following types of equations:
or
1 v2
y ′′ + y′ + 1 − 2 y = 0 (1.111b)
x x
The solution is called the Bessel function of the first kind of order n.
This series converges for all x, as the ratio test shows, and in fact converges
very rapidly because of the factorials in the denominator.
∞
(−1)m x 2 m + 1 x3 x5 x7
∑
x
J1 ( x ) = = − + − + (1.112b)
m=0
22 m + 1 m !(m + 1)! 2 231! 2 ! 252 ! 3 ! 27 3 ! 4 !
∂ 2u 2
2 ∂ u
= c (1.113a)
∂t 2 ∂x 2
∂u ∂ 2u
= c2 2 (1.113b)
∂t ∂x
∂ 2u ∂ 2u
+ = f (x, y) (1.113d)
∂x 2 ∂y 2
∂ 2u ∂ 2u ∂ 2u (1.113e)
+ + =0
∂x 2 ∂y 2 ∂z 2
Example 1.16
Refer to Figure 1.15 above. A string of length l is stretched between
two fixed points, and the motion is started by drawing aside, through
a small distance b, a point of the string at distance 1/5 from one end.
Establish the displacement y at distance x from the end at time t.
SOLUTION
Let us take the fixed end O of the string as the origin and the equilib-
rium position OA along the x-axis, where OA = l. OY is taken in the
plane OBA, and it is perpendicular to OX. The point A′ of the string,
which is at a distance l/5 from the origin O, is drawn aside through
a small distance b to the position B, and then released from rest. The
motion starts from the position OB and BA (A is also a fixed point)
of the string, and we measured time from this position of the string.
Boundary conditions:
A
0 x
A′
l/5
l
y = ∑ b cos(mct)sin(mx)
n =1
n
∞
nπct nπx
= ∑ b cos
n =1
n
l
sin
l
(1.114e)
l/5 l
2 5bx nπx 5b(l − x) nπx
bn =
l ∫
0
l
sin
l
dx +
∫
l/5
4l
sin
l
dx
25b nπ
= sin
2n 2 π 2 5
Example 1.17
Solve the heat equation
∂u ∂ 2u
= c2 2 (1.115a)
∂t ∂x
SOLUTION
Because u = 0 when x = 0, we can assume that u = T sin mx, and T is
the function of t only for a solution of Equation 1.115a (m ≠ 0).
Substituting in Equation 1.115a
Now, u = 0 when x = l.
Therefore
2m2t
0 = Ae − c sin ml
Therefore, sin ml = 0, or
m = πn/l (n = ±1, ±2, ±3, ±4, . . . , ±∞)
Therefore
2 ( nπ /l )2 t nπ
u = Ae − c sin x (1.115b)
l
2l
= (−1)n + 1
nπ
Therefore, the solution will be
∞
(−1)n + 1 − c2 ( nπ/l )2 t nπx
∑
2l
u= e sin (1.115c)
π n l
n =1
Example 1.18
Solve the following Laplace equation:
∂ 2u ∂ 2u
+ =0 (1.116a)
∂x 2 ∂y 2
SOLUTION
Because u = 0 when x = 0, we assume u = Y sin mx, where m ≠ 0, for a
solution of Equation 1.116a.
Substituting in Equation 1.116a
−Y m2 sin mx + Y″ sin mx = 0
or
Y″ − Y m2 = 0 (1.116b)
Y = A cosh my + B sinh my
Therefore
cosh mb
u = A cosh my − sinh my sin mx
sinh mb
A
= [cosh my sinh mb − cosh mb sinh my]sin mx
sinh mb
A
= sinh m(b − y )sin mx
sinh mb
∞
nπx
u0 = ∑ A sin
n =1
n
c
(1.116d)
2u0
= [1 − (−1)n ]
nπ
When n is even, the value will be zero, and when n is odd, we use
n = 2m − 1 (m = 1, 2, . . . , ∞).
4u0
A2 m − 1 =
(2m − 1)π (1.116e)
2m − 1
∞ sinh π(b − y )
2m − 1
∑
4u0 c
u= sin πx (1.116f)
( 2 m − 1)π 2m − 1 c
m =1 sinh πb
c
Laplace transform
The Laplace transform of a function x(t) is the function x (s) defined by
∞
x (s) =
∫ x(t)e
0
− st
dt
L [ x(t)] =
∫ x(t)e
0
− st
dt (1.117)
Example 1.19
Work out the Laplace transform of t.
SOLUTION
x(t) = t
L[t] =
∫ te
0
− st
dt
∞
e − st e − st
= t − 2
−s s 0
∞
1 te − st e − st
= − lim − 2
s t →∞ 1 s 0
1 t 1
= − lim st − 2 [−1]
s t →∞ e s
1 1 1 1
= − lim st + 2 = 2 (L′ Hospital ’s rule)
s t →∞ se s s
Therefore
1
L[t] =
s2
n!
L[t n ] =
sn +1
1
L[e at ] =
s−a
1
L[e − at ] =
s+a
a
L[sin at] =
s + a2
2
s
L[cos at] =
s + a2
2
a
L[sinh at] =
s − a2
2
s
L[cosh at] =
s − a2
2
s2 − a 2
L[t cos at] =
( s 2 + a 2 )2
2sa
L[t sin at] =
( s 2 + a 2 )2
where
L
1
a0 =
L ∫ f (x)dx
0
(1.119b)
L
2 nπx
an =
L ∫ f (x)cos
0
L
dx (1.119c)
∞
nπ
f ( x) = ∑ b sin L x
n =1
n (1.120a)
where
L
2 nπx
bn =
L ∫ f (x)sin
0
L
dx (1.120b)
and
SOLUTION
Even periodic extension:
L/ 2 L
1 2k 2k k
a0 =
L L
0
∫
x dx +
L
L/ 2
∫
(L − x) dx =
2
L/ 2 L
2 2k nπ 2k nπ
an =
L L
0
∫
x cos
L
x dx +
L
L/ 2
∫
(L − x)cos
L
x dx
Integrating by parts
L/ 2
nπ L2 nπ L2 nπ
∫0
x cos
L
x dx =
2nπ
sin
2
+ 2 2 cos
nπ 2
− 1
and
L
nπ L2 nπ L2 nπ
∫ (L − x)cos L x dx = − 2nπ sin 2
L/ 2
−
n 2 π 2
cos nπ − cos
2
Therefore
4k nπ
an = 2 2
2 cos − cos nπ − 1
nπ 2
Thus
16k 16k
a2 = − , a4 = 0, a6 = − 2 2 , a8 = 0,…
22 π 2 6 π
k 16k 1 2π 1 6π
f ( x) = − 2 2 cos x + 2 cos x +
2 π 2 L 6 L
8k nπ
bn = sin
n2π 2 2
8k 1 π 1 3π 1 5π
f ( x) = sin x − 3 2 sin x + 2 sin x −
π 2 12 L L 5 L
Numerical analysis
Solving linear equations (Newton’s method)
Given a function f(x) that is continuous and has a continuous derivative
and also, given a starting value of x0:
For n = 1, 2, 3, . . . until termination
Compute f′(xn).
If f′(xn) = 0, signal and stop.
Else, compute
f ( xn )
xn + 1 = xn − (1.121a)
f ’( xn )
Example 1.21
Let the function f(x) = x3 + x − 1 = 0.
xn3 + xn − 1 2xn3 + 1
xn + 1 = xn − = (1.121b)
3 xn2 + 1 3 xn2 + 1
Starting value x0 = 1.
Therefore,
x1 = 3/4 = 0.75
2 * 0.753 + 1
x2 = = 0.686047
3 * 0.752 + 1
x3 = 0.682340
x4 = 0.682328
The value of x4 is exact to the 6th decimal. A larger number of
analyses may be required if the function does not converge rapidly.
Therefore, the solution of the function x3 + x − 1 = 0 will be
x = 0.682328.
f ( x n , y n ) g y ( x n , y n ) − f y ( x n , y n ) g( x n , y n )
xn + 1 = xn − (1.122a)
D( xn , y n )
− f ( x n , y n ) g x ( x n , y n ) + f x ( x n , y n ) g( x n , y n )
yn+1 = yn − (1.122b)
D( xn , y n )
Under suitable conditions, the sequence (xn, yn) will converge to a vec-
tor (u, v) that satisfies
f(u, v) = g(u, v) = 0 (1.122c)
Newton’s method is most likely to work when the initial vector (x0, y0)
is close to a solution. It is not necessary that the system has only one
solution.
Example 1.22
Use Newton’s method to find a solution to the system
x2 − 2x − y + 1/2 = 0
x2 + 4y2 − 4 = 0
starting at the initial vector (2,0.25).
SOLUTION
f = x2 − 2x −y + 1/2
fx = 2x − 2 and f y = −1
g = x2 + 4y2 − 4
gx = 2x and g y = 8y
D(x,y) = fx g y − f y gx = (2x − 2)(8y) − (−1)(2x)
= 2x − 16y + 16xy
fg y − f yg = (x2 − 2x − y + 1/2)(8y) − (−1)(x2 + 4y2 − 4)
= −4 + 4y + x2 − 4y2 − 16xy + 8x2y
−fgx + fxg = −(x2 − 2x − y + 1/2)(2x) + (2x − 2)(x2 + 4y2 − 4)
= 8 − 9x + 2xy + 2x2 − 8y2 + 8xy2
Thus
−4 + 4 y n + xn2 − 4 y n2 − 16 xn y n + 8 xn2 y n
xn + 1 = xn −
2xn − 16 y n + 16 xn y n
For the first stage of elimination, multiply the first row of Equation
1.123 by a21/a11 and a31/a11, respectively, and subtract from the second and
third rows.
where
a22(2) = a22 − (a21/a11)a12
a23(2) = a23 − (a21/a11)a13
a32(2) = a32 − (a31/a11)a12
a33(2) = a33 − (a31/a11)a13
b2(2) = b2 − (a21/a11)b1
b3(2) = b3 − (a31/a11)b1
a33(3) x3 = b3(3)
where
a33(3) = a33(2) − (a32(2)/a22(2))a23(2)
b3(3) = b3(2) − (a32(2)/a22(2))b2(2)
The elements a11, a22(2), and a33(3), which are assumed to be nonzero, are
called pivot elements and this elimination method is called Gauss elimination.
One condition of the analysis is that the pivots must be different from
zero. To achieve this, it may be required to change the order of the equa-
tions. This is called partial pivoting. In some cases, it may require not only
an interchange of equations, but also an interchange of the position of the
variables. This is called complete pivoting.
Example 1.23
Solve the following equations using Gauss elimination:
x1 + x2 + x 3 = 6
3x1 + 3x2 + 4x3 = 20
2x1 + x2 + 3x3 = 13
SOLUTION
Eliminating x1 from the last two equations
x1 + x2 + x 3 = 6
x3 = 2
−x2 + x3 = 1
In this case, the pivot point in the second equation is zero, and we
need to interchange the preceding second and third equations before
the second step. Therefore
x1 + x2 + x 3 = 6
−x2 + x3 = 1
+ x3 = 2
The solution is x3 = 2, x2 = 1, and x1 = 3.
Cholesky method
This method is also known as the square root method. If the coefficient
matrix A is symmetric and positively definite, the matrix A can be decom-
posed as A = LLT.
The popular method of solving an equation
Ax = b (1.126a)
is
A = LLT (1.126b)
or
LLTx = b (1.126c)
This can be written as
LTx = z (1.126d)
Lz = b (1.126e)
where
i −1
mii = aii − ∑m
j =1
2
ij i = 2, … , n (1.126h)
ai1
mi1 = i = 2, … , n (1.126i)
m11
1
j −1
mij = aij −
m jj ∑
k =1
m jk mik
i = j + 1, j + 2, … , n, k ≥ 2 (1.126j)
Example 1.24
Using the Cholesky method, solve the following equations:
4 −1 0 0 x1 1
−1 4 −1 0 x2 0
=
0 −1 4 −1 x3 0
0 0 −1 4 x 4 0
m11 = 2
m21 = −1/2
m22 = (15/4)0.5
2 0 0 0 z1 1
−1/2 15/4 0 0 z2 0
z = 0
0 − 4/15 56/15 0 3
0 0 − 15/56 209/56 z4 0
or
1 1 1 1
z1 = , z2 = , z3 = , z4 =
2 60 840 11704
2 −1/2 0 x1 1/2
0
0 15/4 − 4/15 0 x2 1/ 60
=
0 0 56/15 − 15/56 x3 1/ 840
0 0 0 209/56 x 4 1/ 11704
or
1 4 15 56
x4 = , x3 = , x2 = , x1 =
209 209 209 209
Numerical integration
Two methods are extremely popular in numerical integration:
1. Trapezoidal rule
2. Simpson’s rule
Trapezoidal rule
Under this rule, the interval (a,b) is divided into N subintervals of length
h = (b − a)/N, and if the subintervals are denoted as (x0,x1), (x1,x2), (x2,x3), . . . ,
(xN−1,xN), then the general integration can be written as
b x1 x2 xN
I =
∫a
f ( x) dx =
∫
x0
f ( x) dx +
∫
x1
f ( x) dx + +
∫
xN − 1
f ( x) dx (1.127)
h
I = f 0 + 2 ( f1 + f 2 + + f N −1 ) + f N (1.128)
2
Simpson’s rule
Under this rule, the interval of integration (a,b) is divided into an even
number of equal subintervals, say into N = 2M subintervals of length
h = (a − b)/2M, with end points x0 = a, x1, x2, . . . , x2M−1, x2M = b. The general
form of the integration will be
b x2 x4 x2 M
I =
∫ f (x) dx = ∫ f (x) dx + ∫
a x0 x2
f ( x) dx + … +
∫
x2 M − 2
f ( x) dx (1.129)
h
I = f 0 + 4 ( f1 + f 3 + + f 2 M −1 ) + 2 ( f 2 + f 4 + + f 2 M − 2 ) + f 2 M (1.130)
3
Example 1.25
A slug catcher 60 m long, having a 0.5 m diameter, and at a 2° angle
with the horizontal plane, has a liquid-filled length of 5 m as shown
in Figure 1.16. Calculate the filled volume of the slug catcher.
SOLUTION
The volume can be calculated by integration using Simpson’s rule.
0.5 m
Angle = 2º h h
5m
60 m
2b
The distance from the bottom corner of the slug catcher up to the
liquid level (h) can be calculated as h = 5 tan2° = 0.175 m. This is less
than the radius of the pipe. For this condition, the top view of the
surface will always look like a half-ellipse.
For a liquid length of l, if the major axis is 2x and the minor axis
is 2y (the values of x and y depend on the value of l), the surface area
(A) of the half-ellipse will be
A = πxy/2
The volume of the liquid (V) can be estimated as
l=5
πxy
V =
∫
l=0
2
sin 2°dl (1.131a)
Now
x = l/cos2° (1.131b)
and
y = {l tan 2° (2r − l tan2°)}0.5 (1.131c)
where r = radius of the slug catcher = 0.25 m.
Therefore, the volume will be
l=5
πl
∫ 2 cos 2° * {l tan 2°(2r − l tan 2°)}
0.5
V = sin 2°dl
l=0
or
l=5
Now, a = 0 and b = 5.
The number of divisions between limits (l = 0 and l = 5), 2M = 50,
and the value of each division, h = 5/50 = 0.1.
The value of the integrals will be
and so on.
The sum of the odd integrals will be
( f1 + f3 + f5 + ⋯ + f49) = 0.701109
(f 2 + f4 + f6 + . . . + f48) = 0.668797
0.1
V =
3
{0 + 4 * 0.701109 + 2 * 0.668797 + 0.06537} = 0.14 m 3
b
d
∫∫
I = f ( x , y )dx dy
c a
(1.132)
can be solved using Simpson’s rule with h = (b − a)/2 and k = (d − c)/2. The
value of the integral will be
hk
I = [ f ( a, c) + f ( a, d) + f (b , c) + f (b , d) + 4{ f ( a, c + k ) + f ( a + h, c)
9
+ f ( a + h, d) + f (b , c + k )} + 16 f ( a + h, c + k )] (1.133)
Example 1.26
Using Simpson’s rule, evaluate the integral
2 2
dxdy
I =
∫ ∫ (x + y)
1 1
SOLUTION
h = 0.5 and k = 0.5.
0.25
I = [ f (1, 1) + f (1, 2) + f (2, 1) + f (2, 2) + 4{ f (1, 1.5) + f (1.5, 1)
9
+ f (11.5, 2) + f (2, 1.5)} + 16 f (1.5, 1.5)]
or
0.25 2 2 2 16
I = 0.5 + + 0.25 + 4 + + = 0.33988
9 3 2.5 3.5 3
dy
= f (x, y)
dx
x1
y( x1 ) − y0 = y( x1 ) − y( x0 ) =
∫ f (x, y)dx ≈ f (x , y )(x
x0
0 0 1 − x0 ) (1.134)
Because h = x1 − x0
y1 = y0 + hf(x0, y0)
x1
h
∫ f (x, y)dx ≈ 2 { f (x , y ) + f (x , y(x ))}
x0
0 0 1 1 (1.136)
and
h
yn+1 = yn + [ f ( xn , y n ) + f ( xn + 1 , zn + 1 )] (1.137b)
2
Example 1.27
Using Euler’s method, solve the following equation:
dy
= −2xy 2, y (0 ) = 1
dx
at the value x = 1.
SOLUTION
The value of h = 0.2 and the calculation is made by using the values of
x as 0.0, 0.2, 0.4, 0.6, 0.8, and 1.0.
z1 = y0 + hf(x0, y0) = 1
h
y1 = y 0 + f ( x0 , y 0 ) + f ( x1 , z1 ) = 1 + 0.1 * [0 − 0.4] = 0.96
2
h
y 2 = y1 + f ( x1 , y1 ) + f ( x2 , z2 ) = 0.96 + 0.1
2
* [−0.3686 − 0.6284] = 0.88603
and so on.
The results are presented in Table 1.8 (calculated value = 0.5034).
The exact solution is 0.5.
xn+1 = xn + h (1.138e)
1 (1.138f)
yn+1 = yn + ( k1 + 2 k 2 + 2 k 3 + k 4 )
6
Example 1.28
Solve Example 1.27 using the Runge–Kutta method.
dy
= −2xy 2 , y(0) = 1
dx
at the value x = 1.
SOLUTION
For n = 0, xn = 0, yn = 1, and value of h = 0.2.
Using the preceding equations
k1 = 0.2f(0, 1) = 0
k2 = 0.2f(0.1, 1) = −0.04
x1 = 0.2
1
y1 = 1 + (0 − 0.08 − 0.0768 − 0.074) = 0.9615
6
k1 = 0.5hf ( xn , y n , y n′ ) (1.139a)
L = h( y n′ + k 3 ) (1.139e)
k 4 = 0.5hf ( xn + h, y n + L, y n′ + 2k 3 ) (1.139f)
xn+1 = xn + h (1.139g)
1
y n + 1 = y n + h y n′ + (k1 + k 2 + k 3 ) (1.139h)
3
1
y n′ + 1 = y n′ + ( k1 + 2 k 2 + 2 k 3 + k 4 ) (1.139i)
3
Example 1.29
Solve the following second-order differential equation:
d2 y
= 0.5( x + y + y ′ + 2) at the value x = 1
dx 2
Initial values: x0 = 0, y0 = 0, y0′ = 0, and h = 0.2.
SOLUTION
For n = 0, xn = 0, yn = 0, yn′ = 0, and the value of h = 0.2.
Using the preceding equations
k1 = 0.1
K = 0.005
k2 = 0.11025
k3 = 0.110763
L = 0.022153
k4 = 0.122184
xn+1 = 0.2
yn+1 = 0.021401
y′n+1 = 0.221401
Similarly, other values can be calculated and tabulated as shown
in Table 1.10.
The solution up to four decimal places = 0.7183.
Time row j
h h
1 1
(ui , j + 1 − uij ) = (ui + 1, j − 2uij + ui −1, j )
k 2h2
1
+ (ui + 1, j + 1 − 2ui , j + 1 + ui −1, j + 1 ) (1.140)
2h 2
In Equation 1.141, the three values on the left side are unknown,
whereas the three values on the right side are known. Using the initial
and boundary conditions, most of the values can be made known except
two values. Equation 1.141 is then solved for two consecutive values of m
(m = 1,2, then m = 2,3, etc.). Under this situation, we will have two equa-
tions with two unknowns that can be solved easily.
Example 1.30
Solve the problem in Example 1.17 using theoretical and numerical
methods.
The heat equation
∂u ∂ 2u
= c2 2
∂t ∂x
SOLUTION
Theoretical solution
The general solution assuming c = 1 and l = 1 can be obtained from
Equation 1.104c as follows:
∞
(−1)n + 1 −( nπ )2 t
∑
2
u= e sin( nπx)
π n =1
n
Value i = 0
Values of u = 0 for all grid points of n
Value i = 1 (x = 0.3333)
Value of j = 1 (t = 0.0278)
For n = 1
sin (nπx) = 0.866
Exp (−n2π2t) = 0.7602
Subvalue = 0.6584
For n = 2
sin (nπx) = 0.866
Exp (−n2π2t) = 0.334
Subvalue = −0.1446
For n = 3
sin (nπx) = 0
Exp (−n2π2t) = 0.0848
Subvalue = 0
For n = 4
sin (nπx) = −0.866
Exp (−n2π2t) = 0.0124
Subvalue = 0.0027
It is clear from the preceding analysis that this infinite series is
highly converging in nature, and it is adequate to calculate up to n = 4.
The sum = 0.3287.
Similarly, other values of j can be estimated as follows:
Value of j = 2 (t = 0.0556)
The sum = 0.2879
Value of j = 3 (t = 0.0833)
The sum = 0.2319
Value of j = 4 (t = 0.1111)
The sum = 0.1807 and so on.
Using the procedure given earlier, other values for i = 2, and so on
can be estimated easily.
Numerical solution
The nodal points are represented in Figure 1.18 as follows.
For the solution, the values of h and k have been assumed as h = 1/3
and k = 1/36; therefore, r = 1/4.
For j = 0
For i = 1
or
2.5u1,1 − 0.25u2,1 = 0.6667 (1.143a)
For i = 2
or
−0.25u1,1 + 2.5u2,1 = 1.0833 (1.143b)
Solving Equations 1.143a and 1.143b, u1,1 = 0.3131 and u2,1 = 0.4646.
For j = 1
For i = 1
or
For i = 2
or
−u1,2 + 2.5u2,2 = 0.7752 (1.144b)
Solving Equations 1.144a and 1.144b, u2,2 = 0.3369 and u1,2 = 0.268.
The theoretically calculated values and values obtained through
numerical analysis are presented in Table 1.11.
and
uim, j+ 1 − uim, j+ 1/2 1 1
= 2 ∂ 2x uim, j+ 1/2 + 2 ∂ 2y uim, j+ 1 (1.145b)
k/2 h h
r 2 m + 1/2 r
1 − ∂ x ui , j = 1 + ∂ 2y uim, j (1.146a)
2 2
r 2 m+1 r 2 m + 1/2
1 − ∂ y ui , j = 1 + ∂ x ui , j (1.146b)
2 2
r r
uim, j+ 1/2 = 0.5 1 + ∂ 2y uim, j + 0.5 1 − ∂ 2y uim, j+ 1 (1.147)
2 2
r r
uim, j+ 1/2 = 0.5 1 + ∂ 2y uim, j + 0.5 1 − ∂ 2y uim, j+ 1 i = 0,, M (1.148)
2 2
r 2 r 2 m+1 r 2 r 2 m
1 − ∂ x 1 − ∂ y ui , j = 1 + ∂ x 1 + ∂ y ui , j (1.149)
2 2 2 2
r 2 * m+1 r 2 r 2 m
1 − ∂ x ui , j = 1 + ∂ x 1 + ∂ y ui , j (1.150a)
2 2 2
r 2 m+1 * m+1
1 − ∂ y ui , j = ui , j (1.150b)
2
r
u0* m, j + 1 = 1 − ∂ 2y ( g1 )mj + 1 (1.151a)
2
and
* m+1 r 2
uM ,j = 1 − ∂ y ( g 2 )mj + 1 (1.151b)
2
Example 1.31
Solve the following two-dimensional heat conduction equation:
∂u ∂ 2u ∂ 2u
= +
∂t ∂x 2 ∂y 2
Initial condition:
Boundary conditions:
u = 0, on the boundary for t ≥ 0
Use the ADI method. Assume h = 1/4 and k = 1/8 and integrate
for one time step.
SOLUTION
The nodal points are
i
xi = , 0≤i≤4
4
j
yj = , 0≤ j≤4
4
πi πj
ui0, j = sin sin
4 4
uim, 0+ 1 = 0 = uim, 4+ 1 , 0 ≤ i ≤ 4
1 2 m + 1/2 1 2 m
1 − 16 ∂ x ui , j = 1 + ∂ y ui , j
16
1 2 m+1 1 2 m + 1/2
1 − 16 ∂ y ui , j = 1 + 16 ∂ x ui , j
1 1/2 9 1 1/2 1 0 7 1 0
− ui − 1, j + ui1,/j 2 − ui + 1, j = ui , j − 1 + ui0, j + ui , j + 1
16 8 16 16 8 16
For j = 1
For i = 1
For i = 2
For i = 3
The solution is
u12/,12 = 0.65716
For j = 2
For i = 1
For i = 2
For i = 3
The solution is
u12/, 22 = 0.92936
For j = 3
For i = 1
For i = 2
For i = 3
The solution is
u12/, 32 = 0.65716
1 1 9 1 1 1 1/2 7 1 1/2
− ui , j − 1 + ui1, j − ui , j + 1 = ui − 1, j + ui1,/j 2 + ui +1, j
16 8 16 16 8 16
For i = 1
For j = 1, 2, and 3
The solution is
u11, 2 = 0.61074
Unit conversions
The basic unit conversions are presented in Table 1.12. An electronic con-
version table is also included in this chapter.
Programming
General notes for all programs
• All programs have separate input and output frames.
• Most input data entry cells are white—it means that user inputs are
required.
• Some input cells are yellow—it means that the values cannot
only be calculated using this program, but can also be modified
externally.
• All output cells are red—it means that the values are calculated
results and cannot be modified externally.
• Both the SI and English units can be used for all programs, with the
SI unit being the default. These units are fixed units and cannot be
modified externally.
Vessel
The vessel.exe program has been developed to estimate the total and
filled-liquid volumes and the dry and wet surface areas for horizontal,
vertical, and inclined (e.g., slug catcher) vessels. For horizontal and verti-
cal vessels, the program also calculates the weight of the material and the
hydro test weight.
Once the vessel program executes, the form shown in Figure 1.19 will
appear. This form presents a general understanding of the program and
has three menus:
• Vessel
• Project details
• Help
Angle
degree grad 1.11111 degree revolution 0.0027778
min 60 sec 3600
rad 0.0174533
Chapter one: Basic mathematics
Area
Computer
bit byte 0.125 bit nibble 0.25
exabyte 1.0842E−19 Petabyte 1.11022E−16
Gb 1.16415E−10 terabyte 1.13687E−13
Kb 0.00012207 yottabyte 1.03398E−25
Mb 1.19209E−7 zettabyte 1.05879E−22
continued
87
Table 1.12 (continued) Unit Conversions
88
Concentration
kmol/m3 μM/cm3 1000 kmol/m3 mmol/m3 1000000
μM/L 1000000 mol/cm3 0.001
mmol/cm3 1 mol/L 1
mmol/L 1000 mol/m3 1000
Density
g/cm3 g/m3 1000,000 g/cm3 oz/gal (E) 160.35591
kg/cm3 0.001 oz/gal (U.S.) 133.52381
Distance
angstrom cm 1E−8 angstrom μm 0.0001
dm 1E−9 Mil 0.00000393701
Furlong 4.97097E−13 Mi 6.213712E−14
ft 3.28084E−10 mm 0.0000001
in. 3.93701E−9 nm 0.1
km 1E−13 nmi 5.39957E−14
lightyear 1.057023E−26 parsec 3.24078E−27
m 1E−10 yd 1.09361E−10
Process engineering and design using visual basic®
Energy
Btu cal 251.99 Btu kcal 0.25199
erg 10,550,600,000 kJ 1.05506
GJ 0.00000105506 kWh 0.00029307
gf-cm 10,758,575.59 N-m 1055.06
hp-h 0.000393 lbf-ft 778.1693
J 1055.03 Wh 0.29307
Flow
barrel/day barrel/h 0.0416667 barrel/day gal(U.S.)/min 0.0291667
Chapter one: Basic mathematics
Force
dyn g-force 0.00101972 dyn N 0.00001
continued
89
Table 1.12 (continued) Unit Conversions
90
Mass
Carat gr 3.08647 carat oz 0.0070548
g 0.2 lb 0.000440925
kg 0.0002 stone 0.000031494
μg 200000 t (metric) 0.0000002
mg 200
Power
Btu/h Btu/min 0.016667 Btu/h kcal/min 0.00419993
cal/min 4.199833 kW 0.00029281
Process engineering and design using visual basic®
hp 0.000392665 lb-ft/min 12.958
kcal/h 0.251996 W 0.2928104
Pressure
atm bar 1.01325 atm mbar 1013.25
in. Hg 29.9213 mm Hg 760
kg/cm2 1.0332 lb/ft2 2116.224
kg/m2 10332 lb/in.2 14.696
kPa 101.325 torr 760
MPa 0.101325
Chapter one: Basic mathematics
Speed
cm/h cm/s 0.000277778 cm/h kn
Surface Tension
dyn/cm mN/m 1 dyn/cm pdl/ft 0.002205
N/m 0.001
Temperature
°C °F °C * 1.8 + 32 °C °R °C * 1.8 + 491.67
K °C + 273.15
continued
91
Table 1.12 (continued) Unit Conversions
92
Thermal Conductivity
Btu/(h⋅ft⋅F) Btu/(s⋅ft⋅F) 0.00027778 Btu/(h⋅ft⋅F) kcal/(h⋅m⋅C) 1.48813
cal/(h⋅cm⋅C) 14.8813 kJ/(h⋅m⋅C) 6.229312
cal/(h⋅m⋅C) 1488.13 kW/(m⋅K) 0.00173036
cal/(s⋅cm⋅C) 0.00413369 W/(m⋅K) 1.73036
cal/(s⋅m⋅C) 0.4133694
Time
century d 36525 century ms 3.15576E12
Torque
dyn-cm gf-cm 0.001019716 dyn/cm N-m 1.0E−7
kgf-m 1.01972E−8 ouncef-ft 1.180097E−6
kN-m 1.0E−10 poundf-ft 7.37561E−8
MN-m 1.0E−13 poundf-in. 8.850728E−7
mN-m 0.0001
Process engineering and design using visual basic®
Viscosity
cP g/(cm⋅s) 0.01 cP milli Pas⋅s 1
kg/(m⋅h) 3.6 N⋅s/m2 0.001
lb/(ft⋅h) 2.42 Pas⋅s 0.001
lb/(ft⋅s) 0.00067222 P 0.01
mN⋅s/m2 1
Volume
barrel cm3 158,990 barrel L 158.99
ft3 5.6147 μL 158,990,000
Chapter one: Basic mathematics
• Horizontal
• Inclined
• Vertical
Program limitations
The following program limitations may be noted:
The Project details menu will open a project details form as shown in
Figure 1.20. This form will enable one to enter the general details of the
project and the calculations. This also includes the calculation done by
and the calculation checked by options along with dates. Once the details
are entered, pressing the OK button will transfer the information to the
main vessel form.
Horizontal
Once the Horizontal menu executes, the form shown in Figure 1.21 will
appear. This form is designed for horizontal vessel calculations.
This form has two menus:
• File
• Unit
The File menu is further divided into four submenus: (1) Open, (2)
Save, (3) Print, and (4) Exit.
The Unit menu is used to select a proper unit for calculations. Both the
SI and Eng units can be used for calculation, the default unit being SI. It is
not possible to change the unit of individual items.
Data entry
During data entry, care must be taken while entering the units. Because
the basic units are fixed, the data must be entered for the unit shown in the
form. The tab key is preferably used for data entry. The tab key will allow
data entry in a sequential manner, and once the data entry is complete, the
tab key will select the Calculate button for the calculation.
The data entry is simple; however, the program allows the following
options:
Type of dish end:
1. Elliptical
2. Hemispherical
Material of construction:
1. Aluminum
2. Copper
3. Gold
4. Iron
5. Mild steel
6. Monel
7. Nichrome
8. Platinum
9. Stainless steel
1. Calculate
2. Cancel
Inclined
The general format of the inclined vessel calculation is presented in Figure
1.22. The general data entry and calculation principles are as discussed for
the horizontal vessel calculation. However, the following points should
be considered:
• The height indicated on the left side of the form is the height of the
liquid at the furthest left side of the inclined vessel. The default value
The inclined calculation does not include the calculation of the weight,
and material selection is not required for this. The calculation is only for
the total and filled volumes and the total and wet surface areas.
Vertical
The general format of the vertical vessel calculation is presented in Figure
1.23. The general data entry and calculation principles are as discussed for
the horizontal vessel calculation. However, the following points should
be considered:
• The height indicated in the form is the height above the tan line of
the vessel as almost all calculations are like this. The dished end
volume added is based on the type of dished ends. In case a negative
height is entered, the program will calculate the dished end volume
and subtract the negative shell volume. The result will not represent
the actual volume of the liquid in the dished end.
• For an elliptical dished end, the dished end volume is calculated
for a dished end height 0.25 times the vessel diameter, and for a
hemispherical dished end, the volume is calculated for a dished end
height 0.5 times the vessel diameter.
• Acceleration
• Angle
• Area
• Computer
• Concentration
• Density
• Distance
• Energy
• Flow
• Force
• Heat transfer coefficient
• Light
• Mass
• Power
• Pressure
• Speed
• Surface tension
• Temperature
• Thermal conductivity
• Time
• Torque
• Viscosity
• Volume
Program limitations
The following program limitations may be noted:
Procedure
The procedure for conversion is as follows:
• Enter the value in the input value text box. The output values will
be calculated automatically. The output value text box is read-only
and cannot be modified externally. The input value is to be modified
every time a calculation is required. Changing unit selection will
not automatically recalculate the output value.
References
1. Kreyszig, E., Advanced Engineering Mathematics, 7th ed., John Wiley and Sons,
New York, 1993.
2. Grossman, S.I., Multivariable Calculus, Linear Algebra and Differential Equations,
3rd ed., Sunders College Publishing, 1994.
3. Jain, M.K., Iyengar, S.R.K., and Jain, R.K., Numerical Methods for Scientific and
Engineering Computation, Wiley Eastern Limited, New Delhi, 1985.
Thermodynamics
Introduction
The thermodynamic approach was developed in the nineteenth century
for a better understanding of the change in the energy in steam engines.
Certain principles were developed, known as the first and second laws
of thermodynamics, to mathematically correlate the changes in heat
and energy during a particular process. An understanding of the above
is extremely important for all branches of science and engineering. The
mathematical correlations developed help us to understand how the
physical properties and energies are changed during operations such as
compression, expansion, and so on.
Force
Force is derived from Newton’s second law as a product of mass and accel-
eration. The SI unit of force is N. Mathematically
F = ma (2.1)
750 N on Earth (a = 9.81 m/s2), his mass on Earth will be 76.45 kg and his
weight on the moon will be 127.67 N (assuming that the acceleration on
the moon is 1.67 m/s2).
dW = madl (2.2)
dW = mvdv (2.3)
Integrating
v 2 − v12 mv 2
W = m 2 = ∆ (2.4)
2 2
1
EK = mv 2 (2.5)
2
W = Δ(mzg) (2.6)
EP = mzg (2.7)
versa. Alternatively, energy can exist in different forms and the total
quantity of energy is always constant. If energy disappears in one form, it
will appear in some other form simultaneously.
According to the first law of thermodynamics, the relationship among
internal energy, heat, and work in a closed system can be expressed math-
ematically as
dU = dQ + dW (2.8)
Phase rule
In a heterogeneous system, phase rule defines how the degree of freedom
(F) relates to the number of components (C) and the number of phases (P),
such as
F=C−P+2 (2.9)
Reversible process
A system can change from one state to another through either a revers-
ible or an irreversible process. In a reversible process, the change occurs
slowly in minute quantities till the total specified change happens.
If an expansion is carried out from an initial pressure P1 to a final
pressure P2 (volume from V1 to V2), the reversible work (Wr) and irrevers-
ible work (Wir) done at constant temperature are
V2 P
Wr = RT ln = RT ln 1 (2.10)
V1 P2
P
Wir = P2 (V2 − V1 ) = RT 1 − 2 (2.11)
P1
RT
Wr − Wir = (P1 − P2 )2 (2.12)
P1P2
Example 2.1
1 mol air at 300 K is expanded from 500 to 100 kPa. Estimate the work
done in both reversible and irreversible processes.
SOLUTION
Reversible work
Wr = 8.314 * 300 * ln(5) = 4014.3 J
Irreversible work
Wir = 8.314 * 300 * (1 − 0.2) = 1995.4 J
H = U + PV (2.13)
In differential form
∂U
CV = (2.15a)
∂T V
∂H
CP = (2.15b)
∂T P
The values of two specific heats are not the same, and the relationship
between the two values can be expressed as
∂H ∂U
CP − CV = −
∂T P ∂T V
∂U ∂V ∂U
= + P −
∂T P ∂T P ∂T
T V
∂U ∂U ∂V ∂V ∂U
= + + P −
∂T V ∂V T ∂T P ∂T P ∂T V
(Since U = f(T,V))
∂U ∂V
= + P
∂V T ∂T P
∂V R
CP − CV = P = P* =R (2.16)
∂T P P
Isothermal process
An isothermal process is a process when the temperature remains con-
stant. The work done to increase an ideal gas pressure from P1 to P2 is
defined as
PV = constant
P2
W = RT ln (2.17)
P1
Adiabatic process
An adiabatic process is the process when there is no heat transfer between
the system and the surrounding area (dQ = 0). For this case, the work done
PV γ = constant
RT1 P2
( γ − 1)/ γ
(2.18)
W = − 1
γ − 1 P1
Example 2.2
1 kmol air is compressed from 100 kPa and 25°C to 500 kPa. Calculate
the work done if the compression is (a) isothermal and (b) adiabatic.
The ratio of specific heats for air is 1.4.
SOLUTION
a. The work done for an isothermal process
P2
W = RT ln = 8.314 * 298 * 1.609 = 3987.5 kJ
P1
8.314 * 298
W = (1.584 − 1) = 3616.1 kJ
0.4
Equation of state
Boyle’s law and Charles’s law
We can assume a cubical box with each side of length l (as shown in Figure
2.1) and whose three axes are x, y, and z. The velocity v can be defined as
v 2 = x 2 + y 2 + z2 (2.19)
y c
B A
x
z
2m ( x 2 + y 2 + z 2 ) 2mv 2
=
l l
2mNv 2
F= (2.20)
l
F 1 mNv 2
P= = (2.21a)
6l 2 3 V
or
1
PV = mNv 2 (2.21b)
3
where
V = volume of the cube
Now
2 1
PV = N * mv 2
3 2
For a given mass of gas, 2/3 N and ½ mv2 (kinetic energy) are constant
if the temperature is constant. Otherwise, PV is constant when the tem-
perature is constant. This is Boyle’s law.
Again, at constant pressure, V/T is constant, which is Charles’s law.
Combining Boyle’s and Charles’s laws
PV = RT (2.22)
where
R = universal gas constant
(P + a)(V − b) = RT (2.23)
The first equation of state (EOS) was developed by J.D. van der Waals
in 1873 and presented as [1]
a (2.24)
P + 2 (V − b) = RT
V
where the values of a,b typically depend on the pressure and temperature
conditions. Changing the values to zero, the equation will modify into the
equation of an ideal gas.
Various EOSs were developed to establish calculation procedures for
a and b. Out of a large number of EOSs, the following two are extensively
used in process engineering calculations:
Acentric factor
One important parameter presented in the EOS is the acentric factor ω.
The acentric factor is used to correlate physical and thermodynamic prop-
erties. Mathematically, the acentric factor is defined as [4]
RT a RT a (2.25a)
P= − P= −
V − b V (V + b) + b(V − b) V − b V (V + b)
Z3 − Z2 + (A − B − B2)Z − (2.25b)
Z 3 − (1 − B)Z 2 + ( A − 2B − 3B2 )Z
AB = 0
− ( AB − B2 − B3 ) = 0
where
N N (2.25c)
b= ∑x b i i ∑x b
i =1
i i
i =1
RTci (2.25d)
RTci 0.08664
bi = 0.077796
Pci Pci
2
N
2 (2.25e)
N
a=
∑x a i i
0.5
∑
i =1
xi ai 0.5
i =1
(RTci )2 (2.25g)
(RTci )2 0.42747
aci = 0.457235
Pci Pci
1 + mi (1 − T ri0.5 ) (2.25h)
α 0i .5 = 1 + mi (1 − T 0ri.5 )
aP (2.25j)
aP
A=
(RT )2 (RT )2
bP (2.25k)
bP
B=
RT RT
where
pr* = reduced vapor pressure, p*/pc
p* = vapor pressure at T = 0.7Tc, kPaA
pc = critical pressure, kPaA
T = temperature, K
Tc = critical temperature, K
ω= ∑x ω
i =1
i i (2.27)
where
N = number of components
ωi = acentric factor of component i
xi = mole fraction of component i
B
ln(P) = A − (2.28)
T+C
where
P = vapor pressure, mmHg
T = temperature, K
A,B,C = constants in the Antoine equation
Napthenes
Cyclopropane 0.1348 11.93 0.274
Cyclobutane 0.1866 11.45 0.274
Cyclopentane 0.1943 10.94 0.273
Methylcyclopentane 0.2302 11.32 0.272
Ethylcyclopentane 0.2715 11.39 0.269
Cyclohexane 0.2149 11.00 0.273
Methylcyclohexane 0.2350 11.31 0.269
Ethylcyclohexane 0.2455 11.36 0.270
Cyclooctane 0.2536 10.89 0.270
Olefins
Ethylene 0.0852 0.277
Propylene 0.1424 14.21 0.275
1-Butene 0.1867 13.04 0.276
cis-2-Butene 0.2030 12.61 0.272
trans-2-Butene 0.2182 12.93 0.274
i-Butylene 0.1893 13.01 0.275
1-Pentene 0.2330 12.65 0.270
cis-2-Pentene 0.2406 12.48 0.279
trans-2-Pentene 0.2373 12.61 0.279
1-Hexene 0.2800 12.50 0.265
cis-2-Hexene 0.2722 12.30 0.266
trans-2-Hexene 0.2613 12.45 0.267
1-Heptene 0.3310 12.41 0.262
trans-2-Heptene 0.3389 12.39 0.256
1-Octene 0.3747 12.40 0.256
trans-2-Octene 0.3384 12.36 0.260
1-Nonene 0.4171 12.42 0.249
1-Decene 0.4645 12.46 0.247
Acetylenes
Acetylene 0.1873 16.72 0.271
Methylacetylene 0.2161 12.34 0.276
Ethylacetylene 0.0500 12.14 0.270
Aromatics
Benzene 0.2108 9.74 0.271
Toluene 0.2641 10.11 0.264
Ethylbenzene 0.3036 10.33 0.263
o-Xylene 0.3127 10.27 0.263
m-Xylene 0.3260 10.41 0.259
p-Xylene 0.3259 10.44 0.260
n-Propylbenzene 0.3462 10.59 0.265
i-Propylbenzene 0.3377 10.54 0.262
n-Butylbenzene 0.3917 10.82 0.261
i-Butylbenzene 0.3811 10.84 0.256
Napthalene 0.3019 9.32 0.269
Source: Adapted from Technical Data Book—Petroleum Refining, 4th ed., American Petroleum
Institute, Washington, D.C., 1982.
P = 10(7.97−1668.2/(T−45.2)) (2.29)
where
P = vapor pressure of water, mmHg
T = temperature, K
Table 2.3 Values of Antoine Constants and Critical Pressures and Temperatures
Constant in Antoine Temperature
equation limits (°C) Critical conditions
Compo Pressure Temperature
nents A B C Min Max (kPa) (K)
Methane 15.2243 597.84 −7.16 −180 −153 4640.7 190.7
Ethane 15.6637 1511.42 −17.16 −143 −74 4883.9 305.4
Propane 15.726 1872.46 −25.16 −109 −24 4256.7 369.9
n-Butane 15.6782 2154.9 −34.42 −78 17 3796.6 425.2
i-Butane 15.5381 2032.73 −33.15 −86 7 3647.6 408.1
n-Pentane 15.8333 2477.07 −39.94 −53 57 3375.1 469.6
n-Hexane 15.8366 2697.55 −48.78 −28 97 3031.6 507.9
n-Heptane 15.8737 2911.32 −56.51 −3 127 2736.8 540.2
n-Octane 15.9426 3120.29 −63.63 19 152 2490 568.7
n-Nonane 15.9671 3291.45 −71.33 39 179 2290 594.6
n-Decane 16.0114 2456.8 −78.67 57 203 2110 617.7
Carbon 14.3686 530.22 −13.15 −210 −165 3499 132.9
monoxide
Carbon 22.5898 3103.39 −0.16 −119 −69 7370 304.1
dioxide
Hydrogen 16.1040 1768.69 −26.06 −83 −43 9007.8 373.6
sulfide
Nitrogen 14.9542 588.72 −6.6 −219 −183 3394.4 126.2
Oxygen 15.4075 734.55 −6.45 −210 −173 5043 154.6
Hydrogen 13.6333 164.9 3.19 −259 −248 1313 33.19
Water 18.3036 3816.44 −46.13 11 168 22,120 647.3
f A Z + B
ln = Z − 1 − ln(Z − B) − ln (2.30)
P B Z
PR EOS
f A Z + 2.414B
ln = Z − 1 − ln(Z − B) − ln (2.31)
P 2 2B Z − 0.414B
fL = fV (2.32)
where
f L = fugacity of the liquid phase
f V = fugacity of the vapor phase
P = pressure
Z = compressibility
B = parameter defined in Table 2.1
Example 2.3
Estimate the vapor pressure of n-hexane at 31.6°C (304.75 K).
SOLUTION
Use the Antoine equation
A = 15.8366
B = 2697.55
C = −48.78
2697.55
ln(P) = 15.8366 − = 5.29806
304.75 − 48.78
or
P = 199.95 mmHg = 26.66 kPa
Use PR EOS
Critical pressure = 3025 kPa
Critical temperature = 507.6 K
Acentric factor = 0.3047
Temperature = 304.75 K
(8.314 * 507.6)2
ac = 0.457235 = 2692.04
3025
mi = 0.37464 + 1.54226 * 0.33047 − 0.26992 * 0.3047 2 = 0.8195
Tri = 304.75/507.6 = 0.6
a = ac * α = 3777.15
8.314 * 507.6
b = 0.077796 = 0.1085
3025
3777.15 * 1
A= = 0.0005884
(8.314 * 304.75) 2
0.1085 * 1
B= = 0.000043
304.75 * 8.314
The above equation has three real roots; the highest value is the
compressibility of the vapor phase and the lowest one is the com-
pressibility of the liquid phase:
Since the values are not the same, the initial pressure is to be
modified and recalculated.
This calculation is repeated till the liquid and vapor phase fugac-
ity difference is <0.00001.
The estimated vapor pressure is 26.7 kPa (200.3 mmHg).
The calculated vapor pressure of hexane at 31.6°C:
Carnot’s cycle
Carnot’s cycle (Figure 2.2) can be used to explain how and to what extent
work is obtained from heat. In this cycle, the engine starts at a point A and
comes back to the same point. Alternatively, the engine must operate in
a complete cycle. Also, maximum work can be obtained when every step
operates in a reversible fashion.
In the above cycle, the following operations can be analyzed.
Operation 1: Gas is allowed to expand, isothermally and reversibly,
from point A to point B (volume changes from V1 to V2). For an ideal gas,
the heat absorbed is equal to the work done.
V2 (2.33)
Q1 = RT1 ln
V1
A V1
T1
B V2
P
D
V4 C V3
T2
The net work (W) done by the gas in the complete cycle
V2 V
W = RT1 ln + CV (T1 − T2 ) + RT2 ln 4 − CV (T1 − T2 ) (2.37)
V1 V3
or
V2 V
W = RT1 ln + RT2 ln 4 (2.38)
V1 V3
V2 V
= 3
V1 V4
V2
W = R (T1 − T2 )ln (2.39)
V1
W T
η= = 1− 2 (2.40)
Q1 T1
T
W = Q1 1 − 2 (2.41)
T1
Entropy
With some extension of the above analysis, it can be concluded that a ther-
modynamic change defined as dQ/T is independent of the path of the
dQrev
dS = (2.42)
T
The term dQrev indicates that the heat change occurs through a revers-
ible process.
Sensible heat
Enthalpy is a function of temperature and pressure
H = f(T,P)
or
∂H ∂H
dH = dT + dP
∂ T P ∂ P T
or
∂H
dH = CP dT + dP (2.43a)
∂ P T
In the above equation, the second term is zero for the following
conditions:
dH = CP dT (2.43b)
Thermodynamic properties
The following thermodynamic properties are extremely important in all
process engineering calculations. This section will discuss the method to
estimate these thermodynamic properties.
where
CP = specific heat of ideal gas, kJ/(kmol⋅K)
R = universal gas constant, kJ/(kmol⋅K)
T = temperature, K
A,B,C,D = constants
Example 2.4
Estimate the heat required to raise the temperature of 1 kmol meth-
ane from 100°C to 400°C.
SOLUTION
The heat required can be calculated as
T2
Q = dH =
∫ C dT
T1
P
k
CP
=R
∫ R dT
1
T2 T3
= R AT1 (k − 1) + B 1 (k 2 − 1) + C 1 (k 3 − 1)
2 3
where
T1 = initial temperature = 373.15 K
k = temperature ratio = 673.15/373.15 = 1.804
A,B,C = constants as per Table 2.4
373.152
Q = 8.314 1.702 * 373.15 * 0.804 + 9.801 * 10 −3 *
2
373.153
2.254 − 2.164 * 10 −6 * 4.871
3
= 15515 kJ
C 0 − CP
CP = C P0 − R P (2.45)
R
where
CP = isobaric specific heat of the real gas, kJ/(kmol·K)
C P0 = isobaric specific heat of the ideal gas, kJ/(kmol·K)
R = gas constant = 8.314 kJ/(kmol·K)
(C P0 − CP )/R = dimensionless correction factor
CP0 − CP CP0 − CP ω
0
C 0 − C h C 0 − C 0
= + h P P
− P P
(2.46)
R R ω R R
where
((C P0 − CP )/R)0 = effect of the pressure for simple fluid (use Equation
2.47 to calculate)
((C P0 − CP )/R)h = effect of the pressure for the heavy reference fluid
(n-octane) (use Equation 2.47 to calculate)
i i
CP0 − CP T (∂Pr /∂Tr )V2 r ∆CV
= 1+ r + (2.47)
R (∂Pr /∂Vr )Tr R
where
γ γ
× β + 2 exp − 2 (2.48)
Vr Vr
∂ Pr Tr 2B 3C 6D c4 γ γ
∂ V = − V 2 1 + V + V 2 + V 5 + T 3V 2 3β + 5 − 2β + 2 2
Vr Vr
r r r
r Tr
r r r
γ
× exp − 2 (2.49)
Vr
i
∆CV 2 (b3 + 3b4 /Tr ) 3c
= − 2
+ 3 3 2 + 6E (2.50)
R Tr Vr Tr Vr
where
Pr = reduced pressure
Tr = reduced temperature
Vr = reduced volume = ZTr/Pr
Z = compressibility
b2 b b
B = b1 − − 32 − 43 (2.51a)
Tr Tr Tr
c2 c
C = c1 − + 33 (2.51b)
Tr Tr
d2
D = d1 + (2.51c)
Tr
c4 γ γ
E= 3
β + 1 − β + 1 + 2 exp − 2 (2.51d)
2Tr γ Vr Vr
Other constants used in the above equations for both simple and
heavy reference fluids are tabulated in Table 2.5.
Ppc = ∑x P
i =1
i ci (2.52)
Tpc = ∑xT
i =1
i ci (2.53)
ω= ∑x ω
i =1
i i (2.54)
CP = ∑w C i pi
(2.55)
where
Ppc = mixture’s pseudocritical pressure, kPa
Pci = critical pressure of component i, kPa
Tpc = mixture’s pseudocritical temperature, K
Tci = critical temperature of component i, K
n = number of components
xi = mole fraction of component i
ω = mixture’s acentric factor
ωi = acentric factor of component i
CP = mixture’s isobaric specific heat
CPi = isobaric specific heat of component i
wi = weight fraction of component i
Example 2.5
Estimate the isobaric specific heat for
SOLUTION
i. Isobaric specific heat of ideal gas = 34.74 kJ/(kmol·K)
Compressibility = 0.81698
∂ Pr
∂ T = 2.3698
r Vr
∂ Pr
∂ V = −3.4043
r Tr
i
∆CV
R = −0.2418
0
C P0 − CP
= −1.77765
R
C P0 − CP
= −1.7572
R
CP = 69.83 kJ/(kmol·K)
(HYSYS calculated value is 69.98 kJ/(kmol·K))
C P0 − CP
= − 0.3971
R
CP = 32.43 kJ/(kmol·K)
(HYSYS calculated value is 32.99 kJ/(kmol·K))
CP0 − CP
= − 0.7559
R
CP = 51.4 kJ/(kmol·K)
(HYSYS calculated value is 49.64 kJ/(kmol·K), Note-1)
Note-1: The compressibility factor is calculated without con-
sidering the interaction parameters. As a result, both the com-
pressibility factor and the isobaric specific heat of real gas
mixtures will be different from the calculated value using the
interaction parameters.
Joule–Thomson coefficient
If we consider a case where volume V1 of a gas at pressure P1 is allowed to
pass to a lower pressure P2, through a semipermeable membrane slowly
and reversibly, the volume at the lower pressure side will increase to V2
(V2 > V1) as shown in Figure 2.3. If we assume that the piston is frictionless
and the system is thermally insulated and there is no heat change (dQ = 0),
then the work done can be defined as
V1 P1 V2 P2
or
U1 + P1V1 = U2 + P2V2
or
H1 = H2
or
ΔH = 0
dT
µ= (2.56)
dP H
∂T ∂T ∂H 1 ∂H
= − = −
∂P H ∂H P ∂P T CP ∂ P T
or
1 ∂H
µ=− (2.57)
CP ∂ P T
Again
∂H ∂V RT 2 ∂ Z
= V − T = −
∂P T ∂T P P ∂T P
where
Z = compressibility factor
RT 2 ∂ Z
µ= (2.58)
CP P ∂ T P
Example 2.6
Estimate the Joule–Thomson cooling temperature if methane at
10,000 kPag and 20°C is expanded to the atmospheric pressure.
SOLUTION
This can be calculated by reducing the pressure in steps and estimating
the temperature at the end of each step. The isobaric specific heat of a
real gas is calculated using the procedure described in Example 2.5.
The PR EOS is used for this calculation.
Let the number of steps be 50; therefore, the reduction in pressure
at the end of each step will be 200 kPa.
Constant parameters
Critical pressure = 4640.68 kPa
Critical temperature = 190.7 K
Acentric factor = 0.0115
Step 1 calculation
Calculated the value of mi (Equation 2.25i) = 0.3923
Calculated the value of aci (Equation 2.25g) = 247.67
Calculated the value of bi (Equation 2.25d) = 0.0266
Compressibility (Z) = 0.81792
Value of (∂Z/∂T)P = 0.00239
Isobaric heat capacity of a real gas = 49.35 kJ/(kmol·K)
Joule–Thomson coefficient (Equation 2.58) = 0.00342
Drop in temperature (Equation 2.56) = 0.68°C
Temperature after first step = 19.32°C
CP = ∑w Ci pi
(2.60)
where
CP = isobaric specific heat of mixtures
wi = weight fraction of component i
CPi = isobaric specific heat of component i
Enthalpy of gases
The enthalpy of a gas is estimated by estimating the enthalpy of an ideal
gas. The enthalpy of an ideal gas is calculated using the following equation:
T
R CP
0
H =H
T
0
25 +
M ∫
298.15
R
dT (2.61)
where
H T0 = ideal gas enthalpy of formation at temperature T, kJ/kg
0
H 25 = ideal gas enthalpy of formation at 25°C, kJ/kg
R = gas constant, kJ/(kmol·K)
M = molecular weight
CP = isobaric specific heat, kJ/(kg·°C)
T = temperature, K
The ideal gas enthalpy of formation at 25°C is presented in Table 2.8 [4].
The enthalpy of a real gas is estimated by using the following equa-
tion [1]:
HT = H T0 + H R (2.62)
where
HT = enthalpy of real gas, kJ/kg
HR = residual enthalpy, kJ/kg
HR 1 d ln α(Tr )
= Z − 1 + − 1 qI (2.63)
RT M d ln(Tr )
Different equations are used for different EOSs to calculate the value
of α(Tr) are indicated below [1].
For the PR EOS
where
ω = acentric factor
0.457235α(Tr )
q= (2.65a)
0.077796Tr
0.42747α (Tr )
q= (2.65b)
0.08664(Tr )
Z + β
I = ln (2.66)
Z
where
Z = compressibility
Pr
β = 0.077796 (2.67a)
Tr
Pr
β = 0.08664 (2.67b)
Tr
where
Pr = reduced pressure
Tr = reduced temperature
Tpc = ∑xT
i =1
i ci
(2.68)
Ppc = ∑x P
i =1
i ci (2.69)
ω= ∑xω
i =1
i i (2.70)
H0 = ∑x wi H i0 (2.71)
where
Tpc = pseudocritical temperature of the mixture, K
Tci = critical temperature of component i, K
xi = mole fraction of component i
Ppc = pseudocritical pressure of the mixture, kPa
Pci = critical pressure of component i, kPa
ω = mixture acentric factor
ωi = acentric factor of component i
H0 = ideal gas enthalpy of the mixture, kJ/kg
xwi = weight fraction of component i
H i0 = ideal gas enthalpy of component i
n = number of components
Example 2.7
Estimate the enthalpy of methane at 293.15 K and 10,101.3 kPa and
n-butane at 500 K and 5000 kPa. Use the PR EOS for the calculation.
SOLUTION
Enthalpy of methane
The enthalpy of methane at 25°C is –4645.1 kJ/kg.
The change in enthalpy for a temperature change from 298.15 to
293.15 K is calculated using the following equation:
T2
dH =
∫ C dT
T1
P
R T12 2 T13 3
= AT1 (k − 1) + B (k − 1) + C (k − 1)
M 2 3
where
R = gas constant, kJ/(kmol·K) = 8.314
T1 = initial temperature = 298.15
k = temperature ratio = 0.983
A = constant = 1.702
B = constant = 9.081 * 10−3
C = constant = −2.164 * 10−6
M = molecular weight = 16.043
Differential enthalpy = −10.9 kJ/kg
The enthalpy of ideal methane at 20°C is −4656 kJ/kg
Enthalpy of n-butane
The enthalpy of methane at 25°C is –2164.2 kJ/kg.
The change in enthalpy for a temperature change from 298.15 to
500 K is calculated using the following equation:
T2
dH =
∫ C dT
T1
P
R T12 2 T13 3
= AT1 (k − 1) + B (k − 1) + C (k − 1)
M 2 3
where
R = gas constant, kJ/(kmol·K) = 8.314
T1 = initial temperature = 298.15
k = temperature ratio = 1.6773
A = constant = 1.935
B = constant = 36.915*10−3
C = constant = −11.402*10−6
M = molecular weight = 58.123
0
S25 = 4.1867 * (6.2854B + 1.0734C + 0.43207 D + 0.0206E + 0.001037 F + G)
(2.72)
where
0
S25 = entropy of ideal gas at 25°C, kJ/(kg·K)
B,C,D,E,F,G = constants
The constants used in the above equation are presented in Table 2.9.
The ideal gas entropy at temperature T can be calculated using the
following equation [4]:
T
C P0
ST0 = S25
0
+
∫
298.15
T
dT (2.73)
or
T
R CT 2 DT −2
0
S =S + 0
A ln T + BT + − (2.74)
2 298.15
T 25
M 2
where
ST0 = entropy of ideal gas at temperature T, kJ/(kg·K)
0
S25 = entropy of ideal gas at 25°C, kJ/(kg·K)
C P0 = specific heat of ideal gas, kJ/(kg·K)
T = temperature, K
A,B,C,D = constants as per Table 2.4
R S0 − S
S = ST0 − (2.75)
M R
where
S = entropy of real gas, kJ/(kg·K)
ST0 = entropy of ideal gas at temperature T, kJ/(kg·K)
S0 − S R M f p
R = − H RT + ln p + ln 6.8947 (2.76)
c
where
HR = residual enthalpy, kJ/kg; calculated using the previous method
f/p = fugacity correction
p = pressure, kPa
T = temperature, K
Tc = critical temperature, K
M = molecular weight
Fugacity correction
Fugacity correction can be calculated using the following equation [4]:
f f ω
0
f h f 0
ln = ln + ln − ln (2.77)
p p ωh p p
i
f B C D
ln p = Z − 1 − ln Z + V + 2V 2 + 5V 5 + E (2.78)
r r r
where
Z = compressibility
∑ x
0 0 R
S = S −
wi i ( xi ln xi ) (2.79)
i =1
M
where
S0 = entropy of the gas mixture, kJ/(kg·K)
xwi = weight fraction of component i
R = gas constant, kJ/(kmol·K)
M = molecular of the gas mixture = ∑ i xi Mi
xi = mole fraction of component i
Mi = molecular weight of component i
Example 2.8
Estimate the entropy of the following pure components using the
PR EOS.
SOLUTION
a. Methane at 10,000 kPag and 20°C
Phase = vapor
Entropy at 25°C = 11.629 kJ/(kg·K)
Entropy at 20°C = 11.593 kJ/(kg·K)
Residual enthalpy calculated using the previous method =
−120.2 kJ/kg
Entropy pressure correction = 6.27
8.314
Entropy at 10,000 kPag, 20°C = 11.593 − * 6.27
16.04
= 8.343kJ/(kg·K)
(HYSYS calculated value is 8.733 kJ/(kg·K))
b. Ethane at 4800 kPag and 30°C
Phase = liquid
Entropy at 25°C = 7.626 kJ/(kg·K)
Entropy at 30°C = 7.656 kJ/(kg·K)
Residual enthalpy calculated using the previous method =
−300.8 kJ/kg
Entropy pressure correction = 9.803
8.314
Entropy at 4800 kPag, 30°C = 7.6558 − * 9.803
30.07
= 4.945 kJ/(kg⋅K )
1 1
µ = exp A * − (2.80)
T B
where
μ = viscosity, cP
A,B = constants as per Table 2.10
T = temperature, K
Viscosity of water
The viscosity of water at low pressure can also be calculated using the
following equation. The following equation is valid for a temperature
range of 0–150°C.
609.246
µ = exp −3.827 + (2.81)
138.89 + t
where
μ = viscosity, cP
t = temperature, °C
1000 ATRB
µ= (2.82)
(1 + (C/TR ) + (D/TR2 ))
where
μ = viscosity, cP
TR = temperature, R
A,B,C,D = constants as per Table 2.11
where
μm = viscosity of the mixture, cP
μi = viscosity of component i, cP
n = number of components
xi = mole fraction of component i
∑φ
xj (2.84)
i =1
1+ ij
j =1
xi
j≠i
where
μm = viscosity of the mixture, cP
μi = viscosity of component i, cP
ϕij = interaction parameter of component i with respect to j
xi = mole fraction of component i
xj = mole fraction of component j
Mi = molecular weight of component i
Mj = molecular weight of component j
n = number of components in the mixture
Example 2.9
Estimate the viscosity of a gas mixture at 0 kPag and 30°C.
SOLUTION
The viscosity of individual components can be calculated as
Constants
Component A B C D Viscosity (cP)
Methane 3.715E−7 0.5901 190.3 0 0.0114
Ethane 1.737E−7 0.6799 178.0 0 0.0095
Carbon monoxide 8.133E−7 0.5338 170.5 0 0.0179
Carbon dioxide 1.639E−6 0.4600 522.0 0 0.0152
Nitrogen 4.588E−7 0.6081 98.48 0 0.0179
km = ∑ ∑ φφ k
i j
i j ij (2.86)
−1
1 1
k ij = 2 + (2.87)
ki k j
xiVi
φi =
∑x V
j
j j
(2.88)
∑φ = 1
i
i (2.89)
where
km = thermal conductivity of the mixture, W/(m.K)
ϕi, ϕj = volume fraction of pure components i and j
ki, kj = thermal conductivity of pure components i and j, W/(m.K)
Vi, Vj = molar volume of pure components i and j, m3 per kg·mol
xi, xj = mole fraction of pure components i and j
Example 2.10
Calculate the thermal conductivity of the following liquid mixture at
0 kPag and 30°C.
n-Pentane = 40 vol%
n-Hexane = 30 vol%
n-Heptane = 30 vol%
The following data are available for the calculation:
SOLUTION
Thermal conductivity of n-pentane at 30°C = 0.1112 W/(m.K)
Thermal conductivity of n-hexane at 30°C = 0.1179 W/(m.K)
Thermal conductivity of n-heptane at 30°C = 0.1232 W/(m.K)
k11 = k1 = 0.1112
k 22 = k 2 = 0.1179
k 33 = k 3 = 0.1232
k12 = k 21 = 0.1145
k13 = k 31 = 0.1169
k 23 = k 32 = 0.1205
φ 1 = 0.4, φ 2 = 0.3, φ 3 = 0.3
k = A + BT + CT2 (2.90)
where
k = thermal conductivity, Btu/(h.ft.°F)
A,B,C = constants (refer to Table 2.13)
T = temperature, °F
∑1
ki
km = n
∑A y
i =1 (2.91)
ij j
yi j =1
where
km = thermal conductivity of the mixture, Btu/(h.ft.°F)
ki = thermal conductivity of component i, Btu/(h.ft.°F)
n = number of components in the mixture
yi, yj = mole fraction of components i and j
0.5 2
µ i M j 0.75 (1 + (Si /T ))
1 (1 + (Sij /T ))
Aij = 1 + (2.92)
4 µ j Mi (1 + (Sj /T )) 1 + (Si /T )
Si, Sj = 1.5 Tb
Sij = SiSj
μi, μj = viscosities of components i and j, cP
Mi, Mj = molecular weight of component i and j
Tb = normal boiling point, R
T = temperature, R
Flash calculation
Flash calculation is probably the most important unit operation to solve
process engineering problems. Any mixture at a defined pressure and
temperature can exist either in a liquid phase or in a vapor phase, or in
two phases. Flash calculation is required to establish the state of the fluid
under a specific condition.
Vapor–liquid equilibrium
When a fluid exists in two phases, the mole fraction of any component in
the vapor and liquid phases differs depending on the vapor–liquid equi-
librium constant. The higher the value of the vapor–liquid equilibrium,
the higher will be the ratio of mole fraction between the vapor and liquid
phases. Mathematically
yi
Ki = (2.93)
xi
where
Ki = vapor–liquid equilibrium constant of component i
yi = mole fraction of component i in vapor phase
xi = mole fraction of component i in liquid phase
Once the value of the equilibrium constant is known, it is easy to do
a flash calculation and the bubble and dew points can be calculated using
the following equations:
Bubble point
∑y = ∑K x
i i i = 1.0 (2.94)
Dew point
∑x = ∑ K
yi
i = 1.0 (2.95)
i
It is clear from the above analysis that a flash calculation can proceed
only when an accurate equilibrium constant is available. Any flash calcu-
lation is initiated with the preliminary estimated values for equilibrium
constants. A large number of correlations and graphs are available in the
literature and a preliminary estimate can be made using the following
equation [9]:
Pci T
Ki = exp 5.37(1 + ω i ) 1 − ci (2.96)
P T
where
Ki = vapor–liquid equilibrium constant of component i
Pci = critical pressure of component i
Tci = critical temperature of component i
ωi = acentric factor of component i
P = operating pressure
T = operating temperature
The mole fraction of component i in the liquid and vapor phases can
be estimated as [9]
zi
xi = (2.97)
1 + V (K i − 1)
yi = x i K i (2.98)
N
zi (K i − 1)
∑ 1 + V(K − 1) = 0
i =1
i
(2.99)
where
zi = overall mole fraction of component i
V = vapor phase mole fraction
fk bk A
2
∑x a i ik
bk
ln = (Z − 1) − ln (Z − B) −
i
−
xk P b 2 2B a b
Z + 2.414B
× ln (2.100)
Z − 0.414B
where
a= ∑∑x x a
i j
i j ij (2.101)
b= ∑x b i i (2.102)
Programming
Calculation of JT effect due to drop in pressure
This program has been developed to estimate the impact of the Joule–
Thomson effect when a gas is expanded through a pressure reduction
unit. The following basis has been used in this estimation:
Nomenclature
a acceleration, m/s2
CP heat capacity at constant pressure, kJ/(kg·°C)
CV heat capacity at constant volume, kJ/(kg·°C)
EK kinetic energy
EP potential energy
F force, N
gc acceleration due to gravity, m/s2
H enthalpy, kJ
l displacement, m
K vapor–liquid equilibrium constant
m mass, kg
MW molecular weight
P pressure, kPa
Q heat, kJ
R universal gas constant, kJ/(kmol·K)
S entropy, kJ/(kmol·K)
T temperature, K
U internal energy, kJ
v velocity, m/s
V volume, m3
W work, kNm
z elevation, m
Z compressibility
Greek characters
γ ratio of specific heats
η efficiency
ω acentric factor
μ Joule–Thomson coefficient
References
1. Smith, J.M., Van Ness, H.C., and Abbott, M.M., Introduction to Chemical
Engineering Thermodynamics, 6th ed., McGraw-Hill, New York, 2001.
2. Peng, D.Y. and Robinson, D.B., A two constant equation of state, I.E.C.
Fundamentals, 15, 59–64, 1976.
3. Soave, G., Equilibrium constants from a modified Redlich-Kwong equation
of state, Chemical Engineering Science, 27(6), 1197, 1972.
4. Technical Data Book—Petroleum Refining, 4th ed., American Petroleum
Institute, Washington, D.C., 1982.
5. Coulson, J.M. and Richardson, J.F., Chemical Engineering, Volume 6 (SI Unit),
Pergamon Press, USA, 1986.
6. Perry, R.H. and Green, D., Perry’s Chemical Engineering Handbook, 6th ed.,
McGraw-Hill, Malaysia, 1984.
7. Moran, M.J. and Shapiro, H.N., Fundamentals of Engineering Thermodynamics,
5th ed., John Wiley, USA, 2004.
8. Bromley, A. and Wilke, C.R., Viscosity behavior of gases, Industrial and
Engineering Chemistry Chemical Engineering Science, 43(7), 1641, 1951.
9. Naji, H.S., Conventional and rapid flash calculations for the Soave-Redlich-
Kwong and Peng-Robinson equations of state, Emirates Journal for Engineering
Research, 13(3), 81–91, 2008.
30. Bendiksen, K.H., Malnes, D., Moe, R., and Nuland, S.,
The dynamic twofluid model OLGA: Theory and application,
SPE Production Engineering, May, 171–180, 1991.
31. Baker, A., Nielsen, K., and Gabb, A., Pressure loss,
liquid-holdup calculations developed, Oil and Gas Journal,
March 14, 55–59, 1988.
34. Waard, C. and Lotz, U., Corrosion 93, The NACE Annual
Conference and Corrosion Show, Paper No. 69.
36. Waard, C., Lotz, U., and Millams, D.E., Corrosion 91,
The NACE Annual Conference and Corrosion Show, Paper No.
577.
38. Waard, C., Lotz, U., and Dugstad, A., Corrosion 95, The
NACE International Annual Conference and Corrosion Show,
Paper No. 128.
4 Chapter 4 - Heat transfer
22. Lockett, M.J. and Banik, S., Weeping from Sieve Trays,
AIChE Meeting, November, San Francisco, 1984.
6 Chapter 6 - Separators