Professional Documents
Culture Documents
Abstract
In this work we present a comparison of different discretization techniques, in the context of finite volume formulation, for the solution of
separation processes involving adsorption, absorption and permeation.
The mathematical model developed assumes axially dispersed plug-flow, uniform bed/sorbent/membrane properties along the axial coordinate
and negligible radial gradients. The algorithm used enforces both local and global flux conservation in space and time. The discretization of
convection terms is made using unbounded schemes and bounded high-resolution schemes.
We use the same strategy for simulating three different separation processes: membrane permeation, pressure swing adsorption and simulated
moving bed. In the case of membrane permeation we present simulation results of air separation using a polysulfone membrane and compare
to ones of Coker et al. [Coker, D. T., Freeman, B. D., & Fleming, G. K. (1998). Modeling multicomponent gas separation using hollow-fiber
membrane contactors. AIChE Journal, 44, 1289]. In the case of pressure swing adsorption we study a small pressure swing adsorption unit for air
separation as described by Santos et al. [Santos, J. C., Portugal, A. F., Magalhaes, F. D., & Mendes, A. (2004). Simulation and optimization of
small oxygen pressure swing adsorption units. Industrial and Engineering Chemistry Research, 43, 8328]. In the case of simulated moving bed we
consider the glucose/fructose separation as described by Leão and Rodrigues [Leão, C. P., & Rodrigues, A. E. (2004). Transient and steady-state
models for simulated moving bed processes: Numerical solutions. Computers and Chemical Engineering, 28, 1725].
Our simulated results are particularly interesting for the case of transient highly convective separation problems, where standard procedures may
lead to the appearance of unphysical oscillations in the computed solution due to the existence of sharp moving fronts.
© 2005 Elsevier Ltd. All rights reserved.
1. Introduction ferential equations (ODEs) for the sorption rate in the stationary
phase, and eventually, algebraic equations for the sorption equi-
The simulation and optimization of adsorption, absorption librium between phases. The coupled system of partial differen-
and permeation separation processes have been under close tial equations should be solved numerically, because the analytic
study in the last decade (Cruz, Santos, Magalhães, & Mendes, solution can only be derived for ideal conditions (normally under
2003; Nilchan & Pantelides, 1998; Purnomo & Alpay, 2000; the following assumptions: isothermal system, instantaneous
Zhang, Hidajat, Ray, & Morbidelli, 2002), due to the devel- equilibrium between the fluid and the stationary phases, neg-
opment of new (ad) (ab) sorbents with high sorption capacity ligible pressure drop, linear isotherm and frozen concentration
and selectivity (Sherman, 1999) and membranes (polymeric and profile during pressure variation stages).
carbon molecular sieve based) with high permeabities and selec- For solving such system of equations, two different numer-
tivities (Mendes, Magalhães, & Costa, 2003). ical approaches are normally used. The first one consists on
Transient sorption separation processes can be modeled the simultaneous space and time discretization of each PDE,
by using convection-dominated partial differential equations and then resolution of the resulting system of non-linear alge-
(PDEs) for mass conservation in the fluid phase, ordinary dif- braic equations (for example: double collocation). The other
approach consists on the spatial discretization of each PDE and
subsequent integration of the resulting initial value problem
∗ Corresponding author. Tel.: +351 22 5081695; fax: +351 22 5081449. of ordinary differential equations with an appropriate integra-
E-mail address: mendes@fe.up.pt (A. Mendes). tor (method of lines: MOL). Usually, the integrator used is
0098-1354/$ – see front matter © 2005 Elsevier Ltd. All rights reserved.
doi:10.1016/j.compchemeng.2005.08.004
84 P. Cruz et al. / Computers and Chemical Engineering 30 (2005) 83–98
Nomenclature
pres pressurization
A area (m2 ) prod production
bi Langmuir affinity constant (Pa−1 ) purg purge
c fluid phase molar concentration (mol m−3 ) ref reference
Cv valve parameter T total
d diameter (m)
Dax effective axial dispersion coefficient (m2 s−1 ) Superscripts
DM e effective homogeneous diffusion coefficient F feed
(m s−1 ) H high
k iteration or LDF coefficient, ki = 15DM,i e /r 2
p
L low
(1/s) P permeate or purge
Kv valve parameter R retentate
L length column (module) (m) or permeability coef- ST storage tank
ficient (mol m−2 s−1 Pa−1 ) V vent
n number of stages 0 standard temperature and pressure conditions
nc number of mixture components (STP)
N molar flow rate (mol s−1 ) * dimensionless variable
p pressure (Pa)
Pe Peclet number, Pe = uref L/Dax
Pur product purity
based on the backward differentiation formulas (BDF) (Byrne,
q molar concentration in the adsorbed phase
Hindmarsh, Jackson, & Brown, 1977; Hindmarsh, 1974;
(mol kg−1 )
Petzold, 1983), known as Gear method (Gear, 1971), which is
qmax isotherm parameter, maximum capacity
suitable for the solution of stiff problems.
(mol kg−1 )
Different numerical methods are usually applied in space and
r radius (m)
time discretization: orthogonal collocation, orthogonal colloca-
universal gas constant (J mol−1 K−1 )
tion on finite elements, Galerkin finite elements and finite differ-
Rec product recovery
ences. These numerical methods are normally unbounded, which
t time variable (s)
means that unphysical oscillations can appear in the computed
T temperature (K)
solution. In the context of finite volume formulation, Harten,
u average (interstitial molar) velocity (m s−1 )
Engquist, Osher, and Chakravarthy (1987) proposed the use of
x dimensionless spatial coordinate, x = z/L
ENO (essentially non-oscillatory) schemes and Shu and Osher
y molar fraction
(Shu, 1997; Shu & Osher, 1988, 1989) the WENO (weighted
z spatial coordinate (m)
ENO) schemes for the solution of partial differential equations
Greek symbols in the presence of steep moving fronts.
αM ratio between diffusivity coefficients, αi,M = The aim of this work is present a numerical algorithm for the
solution of sorption and permeation problems that provide accu-
ref = ki /kref
e /D
Di,M
β pressure drop parameter rate, local and global flux conservation, and stable numerical
δF membrane thickness (m) results (without unphysical oscillations in the computed solu-
εb bed void fraction (ratio between the free volume tion) even at shocks or discontinuities and to present a systematic
and the total volume) comparison of different discretization techniques.
εp particle porosity The remaining of the paper is organized as follows: first the
θ dimensionless time variable, θ = t/τ b mathematical model (mass balance equation, boundary condi-
µ mixture viscosity (kg m−1 s−1 ) tions, momentum equation) is presented. Following is presented
ρs apparent particle density (kg m−3 ) the implementation of the successive stages method and the finite
τb bed time constant, τ b = L/uref volume method, as well as a small discussion on the imple-
φ error of the solution mentation of non-linear high-resolution schemes and WENO
ϕ ratio between bed time constant and particle schemes. The performance of different discretization techniques
diffusion time constant (LDF approximation), is presented for three different separation processes: membrane
ϕ = τ b kref permeation, pressure swing adsorption and simulated moving
bed. In the case of membrane permeation we simulate a perme-
Subscripts ation module for air separation using a polysulfone membrane
i component as described by Coker, Freeman, and Fleming (1998). In the case
in feed stream (inlet) of pressure swing adsorption we study a two column pressure
out outlet stream swing adsorption unit for air separation as described by Santos,
Portugal, Magalhaes, and Mendes (2004). In the case of simu-
P. Cruz et al. / Computers and Chemical Engineering 30 (2005) 83–98 85
lated moving bed we consider the glucose/fructose separation as term. When Eq. (4) is dominated by advection (1/Pe → 0), it is
described by Leão and Rodrigues (2004). The paper ends with called a hyperbolic PDE.
a summary of the main conclusions. The application of conventional higher-order discretization
schemes to the advective (convective) term, in the case of
2. Model equations convection-dominated partial differential equation, may not be
adequate leading to the appearance of non-physical oscillations
The proposed theoretical model considers a separation sys- (Finlayson, 1992). The upwind differencing scheme (UDS) pro-
tem with a sorbent (adsorbent or absorbent) or a membrane posed by Courant, Isaacson, and Rees (1952) is the only uncon-
(Fig. 1). The following main assumptions are made: perfect gas ditionally stable scheme. This scheme, referred in the literature
behavior (where applicable), axially dispersed plug-flow, uni- using different names: successive stages method, mixed cells in
form bed/sorbent/membrane properties along the axial coordi- series model or cascade of perfectly mixed tanks, is well known
nate and negligible radial gradients. According to these assump- in the context of separation processes (Charton & Nicoud, 1995;
tions, the model equations can be written as follows: Cheng & Hill, 1985; Coker et al., 1998; Ludemann-Hombourger,
Nicoud, & Bailly, 2000), however has only first-order accuracy,
∂(ucT )
nc
∂cT as will be seen in this work, and is not normally recommended
Total mass balance : =− − Ni = 0 (1)
∂t ∂z (Freitas, 1994).
i=1
The implementation of ENO (essentially non-oscillatory)
ith component mass balance : schemes (Harten et al., 1987) and WENO (weighted ENO)
schemes (Shu, 1997; Shu & Osher, 1988, 1989) for the solu-
∂ci ∂ ∂(ci /cT ) ∂(uci )
= Dax cT − − Ni , i = 1, nc tion of partial differential equations, can reduce significantly the
∂t ∂z ∂z ∂z appearance of non-physical oscillations, however, these are nor-
(2) mally very computation time consuming (Harten, 1996; Harten
where cT is the total molar concentration, u the average (inter- et al., 1987). Other approaches based on Harten’s wavelet based
stitial) molar velocity, z the spatial coordinate, Dax the effective framework (Harten, 1996) were proposed. The wavelet based
axial dispersion coefficient, Ni the ith component molar flow ENO adaptative strategy may produce moderate CPU reduc-
rate, ci the ith component molar concentration in fluid phase, t tions, since in smooth regions the numerical fluxes are evaluated
the time variable and nc the number of components in the mix- with inexpensive interpolations from surrounding grid points.
ture. However this reduction is rather limited, since for each time
Eqs. (1) and (2) can be written in dimensionless form as step the solution is still represented on the finest grid (Harten,
follows: 1996).
To overcome the occurrence of non-physical oscillations,
∂cT∗ ∂(u∗ cT∗ ) ∗
nc
Total mass balance : =− − Ni (3) when using higher-order discretization schemes, an exten-
∂θ ∂x sive amount of research in computational fluid dynamics
i=1
has been directed towards the development of accurate and
ith component mass balance : bounded non-linear convective schemes. In this work we use
∗ ∗ high-resolution schemes (HRS), formulated in the context
∂ci∗ 1 ∂ ∗ ∂(ci /cT ) ∂(u∗ ci∗ )
= cT − − Ni∗ (4) of the normalized variable and space formulation (NVSF)
∂θ Pe ∂x ∂x ∂x of Darwish and Moukalled (1994). These are, by definition,
where cT∗ is the dimensionless total molar concentration, cT∗ = bounded higher-order schemes and will be briefly described
cT /cref ; θ the dimensionless time variable, θ = t/τ b , τ b the bed below.
time constant, τ b = L/uref ; u* the dimensionless molar aver- We perform the discretization of Eqs. (3) and (4) in two
age velocity, u* = u/uref ; x the dimensionless axial coordinate, stages. Firstly, we compute the space derivatives appearing in
x = z/L; Ni∗ the ith component dimensionless molar flow rate, the right-hand side using different schemes. Then, we integrate
Ni∗ = Ni τb /cref and Pe the Peclet number for mass transfer, explicitly the resulting initial value problem in order to obtain
Pe = uref L/Dax . the grid point values at the next time step. This time integration
Eqs. (3) and (4) have initial values: cT∗ (t, x) = cT∗ (0, x) and is performed with the package LSODA (Petzold, 1983), that is
ci (t, x) = ci∗ (0, x). The term appearing on the left-hand side of
∗ briefly described below.
Eq. (4) is called the inertia term, while on the right-hand side one For convenience, in the following sections the superscript “*”
can identify a convective (advective), a diffusive and a source will be omitted from the dimensionless variables.
2.1.2. Velocity profile without pressure drop (isothermal) where n is the number of stages. The ith component mass balance
When the pressure drop and temperature variations can be is given by:
considered negligible, two of the following three boundary con- ∂cik
ditions must be imposed: = −n(uk cik − uk−1 cik−1 ) − Nik (17)
∂θ
u(x = 0) = uin (9) And the pressure drop equation is given by:
k+1
u(x = 1) = uout (10) p − p k
uk = −n T T
(18)
∂cT β
= constant (11)
∂θ
nc
where uout is the molar average velocity in the outlet stream. where cTk = cik , cTk = pkT /T k .
i=1
2.1.3. Velocity profile with pressure drop (non-isothermal) 3.1. Velocity profile in diluted systems
When the pressure drop and temperature variations cannot be
considered negligible, one must impose one boundary condition In diluted systems, the total mass balance equation should not
in x = 0 and other in x = 1, as it follows: be solved, since the velocity profile can be considered constant:
u(x = 0) = uin or cT (x = 0) = cT,in (12) uk = uin , for k = 1, n (19)
u(x = 1) = uout or cT (x = 1) = cT,out (13)
Boundary conditions: u0 = uin and un = uout . The velocity profile where xk is the volume in k stage. And the partial mass balance
is calculated by the following equations: is given by:
n
nc
k (ck /ck ) − c k−1 k−1
/cTk−1 ) F
cTθ = −cT (uout − uin ) + (Nik xk ) (22) ∂c
ki 1 cT,F i T F T,F (ci
=
k=1 i=1 ∂θ Pe xk
k − uk−1 ck−1
nc ukF ci,F F i,F
1 − − N ki (31)
u =u
k k−1
− cTθ + Nik , k = 1, n − 1 (23) xk
ncT
i=1
ci is the cell average concentration that is a function of cik as it
k
3.3. Velocity profile with pressure drop (non-isothermal) follows (Leonard, 1995):
2 4
The velocity profile is calculated by the following equation: (xk ) k (xk ) k (iv)
ci = cik +
k
(ci ) + (c ) + · · · (32)
24 1920 i
k+1
p − p k
uk = −n (cik /cTk ) F is the derivative of (cik /cTk ) in the face k and is a function
T T
(24)
β
of the neighboring cells. Using a second-order approximation
Boundary conditions: p0T = pT,in and pnT = pT,out (central difference scheme—CDS2) we obtain:
high-resolution schemes (HRS) and weighted essentially non- Boundary conditions: u0F = uin and unF = uout :
oscillatory (WENO) schemes. These are, by definition, bounded
higher-order schemes and will be briefly described below. βx1
pT,in = uin + p1T,F (44)
2
4.1. Velocity profile in diluted systems
βxn
pT,out = pnT,F − uout (45)
In diluted systems, the total mass balance equation should 2
not be solved, because the velocity profile can be considered The equations presented for the boundaries (44) and (45) are only
constant: first-order accurate. That should not be a problem in common
u0F = u0 (35) separation problems. However for processes with high pressure
drop these equations should be replaced by at least a second-
order accurate approximation.
4.2. Velocity profile without pressure drop (isothermal)
Boundary conditions: ∂cT /∂θ = cTθ and u0F = uin . The veloc- 5. HRS and WENO schemes
ity profile is calculated by the following equation:
As mentioned before, the application of conventional higher-
xk nc
order discretization schemes to the advective term (convection
uF = uF −
k k−1
cT +
θ
Ni , k = 1, n
k
(36)
cT term) of hyperbolic or parabolic equations dominated by con-
i=1
vection is not adequate, due to the occurrence of non-physical
Boundary conditions: ∂cT /∂θ = cTθ and un = uout . The velocity oscillations.
profile is calculated by the following equations: In order to overcome this issue, an extensive amount of
research has been directed towards the development of accurate
x k
nc
and bounded non-linear convective schemes. Several discretiza-
u0F = 0, ukF = uF −
k−1
cTθ + Nik ,
cT tion schemes were proposed on the total variation-diminishing
i=1
framework (TVD) (Harten, 1983; Shyy, 1985) and more recently
k = 1, . . . , n, γ= uout − unF , ukF = ukF + γ, on the normalized variable formulation (NVF) (Leonard, 1987)
k = 1, . . . , n (37) and its extension, the normalized variable and space formulation
(NVSF) of Darwish and Moukalled (1994).
Boundary conditions: u0F = uin and unF = uout . The velocity pro- Considering a general grid, as illustrated in Fig. 4. The label-
file is calculated by the following equations: ing of the nodes depends on the local velocity, uF , calculated
at face F. For a given face F, the U and D nodes refer to the
n
nc
cTθ = (Nik xk ) − cT (uout − uin ) (38) upstream and downstream points, relative to node P, which is
k=1 i=1
itself upstream to the face F under consideration, as shown in
Fig. 4.
xk
nc
According to the NVSF, the face values are interpolated as
ukF = uk−1
F − cTθ + Nik , k = 1, n − 1 (39) (Darwish and Moukalled, 1994):
cT
i=1
yF = yU + ỹF (yD − yU ) (46)
4.3. Velocity profile with pressure drop (non-isothermal)
where y is the convected variable (for example ci ).
Using a second-order approximation (CDS2), the pressure The normalized face value, ỹF , is calculated using an appro-
drop equation is given by: priate non-linear limiter. As a example we present the SMART
(Gaskell & Lau, 1988) limiter (third-order convergence in
2 pk+1 − pkT
ukF = − T
(40) smooth regions):
β x k+1 + xk
x̃F (1 − 3x̃P + 2x̃F ) x̃F (1 − x̃F )
where ỹF = max ỹP , min ỹP , ỹP
x̃P (1 − x̃P ) x̃P (1 − x̃P )
nc
pkT
cTk = cik , cTk = (41) x̃F (x̃F − x̃P )
Tk + ,1 (47)
i=1 1 − x̃P
Boundary conditions: p0T,F = pT,in and pnT,F = pT,out
2 p1T − p0T,F
u0F = uin = − (42)
β x1
2 pnT,F − pnT
unF = uout = − (43)
β xn Fig. 4. Definition of local variables.
P. Cruz et al. / Computers and Chemical Engineering 30 (2005) 83–98 89
and the MINMOD limiter (Harten, 1983) (second-order conver- module. An extensive revision is presented by Kovvali, Vemury,
gence in smooth regions): Krovvidi, and Khan (1992). The analytical solution of mass and
momentum balance equations can only be obtained under some
x̃F 1 − x̃F x̃F − x̃P
ỹF = max ỹP , min ỹP , ỹP + (48) assumptions. Weller and Steiner (1950) present an analytical
x̃P 1 − x̃P 1 − x̃P solution, based on the following assumptions: plug-flow pattern,
where the normalized variables ỹP , x̃P and x̃F are calculated constant and composition independent permeability and negli-
using: gible pressure drop and Smith, Hall, Freeman, and Rautenbach,
1996 assuming perfectly mixed pattern in the permeate side.
yP − yU xP − xU xF − xU
ỹP = , x̃P = , x̃F = The numerical solution can be obtained using series approx-
yD − yU xD − x U xD − x U imations and numerical methods applied to the solution of ordi-
(49) nary differential equations. Kovvali et al. (1992) and Boucif,
More details on this issue, and other high-resolution schemes, Majumdar, and Sirkar (1984) present models for binary mix-
can be found in the works of Darwish and Moukalled (1994) tures and Pettersen and Lien (1994) and Chang, Min, Oh, and
and Alves, Oliveira, and Pinho (2003). Moon (1998) for multicomponent mixtures using series approx-
According to the third-order WENO scheme, the face fluxes imations. Kovvali et al. (1992), Pan (1983) and Chen, Li, and
are interpolated as (Shu, 1997; Shu & Osher, 1988, 1989): Teo (1995) have solved the model equations using the shoot-
ing method, which consists in solving the boundary conditions
yF = w0 yF0 + w1 yF1 (50) problem as an initial condition problem, with an iteration strat-
egy. This approach is not very efficient and the convergence is
with yF0 = 21 (yD + yP ) (CDS2), yF1 = 23 yP − 21 uU (LUDS) and
not always assured.
wi defined by:
Kaldis, Kapantaidakis, Papadopoulos, and Sakellaropoulos
αj dj (1998) and Tessendorf, Gani, and Michelsen, 1999 have used the
wj = , αj = , j = 0, 1 (51)
α0 + α 1 (ε + βj )2 orthogonal collocation method for solving the model equations.
This strategy conduces to a system of non-linear equations which
where ε > 0 is introduced to avoid the denominator became zero. convergence is very dependent on the estimated composition
We take ε = 1 × 10−6 in all our numerical tests. The smoothness profile. Coker et al. (1999, 1998) and Thundyil and Koros (1997)
measurement is defined by: have solved the model equations using the successive stages
β0 = (yD − yP )2 , β1 = (yP − yU )2 (52) method (upwind differencing scheme). The system of equations
obtained in the case of constant permeability is linear, and so
and d0 = 2
3 and d1 = 13 . it can be solved very efficiently. However, a higher number of
mesh points is necessary, i.e. 100–1000, see (Coker et al., 1998),
6. Temporal integration for obtaining an accurate solution, which conduces to a higher
memory consumption, namely in multicomponent systems.
The time integration of the resulting system of ordinary dif- The numerical solution of permeation models has three
ferential equations (ODEs initial value problem) can be accom- important issues that should be discussed: the convergence of
plished using solver LSODA (Petzold, 1983). This routine solves the non-linear system of equations that results from the dis-
initial boundary problems for stiff or non-stiff systems of first- cretization of the ordinary differential equations, the treatment
order ODEs. For non-stiff systems, it makes use of the Adams of boundary conditions and the accuracy of the discretization
method with variable order (up to 12th order) and step size, while scheme.
for stiff systems it uses the Gear (or BDF) method with variable The discretization of the model equations using high order
order (up to 5th order) and step size. In our test cases the error schemes conduces to a system of non-linear algebraic equa-
in time integration was always set small enough to ensure that tions. The solution of this system using, for example, the
the numerical errors are mainly due to inaccuracies in spatial Newton–Raphson method converges to the exact solution only
discretization. if a good initial guess is used. The solution of the problem in
non-steady-state, as proposed, eliminates this problem.
7. Application examples The treatment of boundary conditions is also an important
issue. The main problem occurs when solving the ordinary dif-
7.1. Steady-state membrane permeation processes ferential equation for the permeate side with no purge, using
finite difference methods. In this case the concentration in x = 0
The use of membrane technology in gas separation has grown (cocurrent pattern) or x = 1 (countercurrent pattern) is not known,
significantly in the last decades due to the development of highly and should be estimated based on the retentate/permeate condi-
selective materials and the lower power consumptions involved tions. This problem does not occur when using the successive
(Mendes et al., 2003). The hollow-fibber membrane separation stages method and the finite volume method.
is based on the different permeability coefficients of each com- The discretization scheme used is the final important issue
ponent through a selective barrier, porous or non-porous (dense). that should be pointed out. The successive stages method is a
Several models have been developed along the last years first-order accurate method and therefore it is not recommended,
for the simulation and optimization of a membrane permeation as will be seen in the following illustration examples.
90 P. Cruz et al. / Computers and Chemical Engineering 30 (2005) 83–98
Table 1
Permeance and feed composition for air separation simulations (Coker et al.,
1998)
Component Feed mole fraction Permeability coefficient (GPU)a
N2 0.7841 3.57
O2 0.2084 20
CO2 0.0003 60
H2 O 0.0072b 1000
a 1 GPU = 3.346 × 10−13 kmol/m2 s Pa.
b The water composition corresponds to saturation at 40 ◦ C and 10 atm total
Fig. 5. Sketch of the model proposed for the solution of membrane permeation pressure.
problems.
7.1.3. Results and discussion
7.1.1. Mass exchange The simulations results described in this section are for coun-
The mass exchanged between the retentate and permeate, tercurrent contacting. We present as test case the air separation
considering that the resistance to the mass transfer is only in a polysulfone membrane. The permeances of the membrane
imposed by the selective barrier, and that the membrane does to air gas components are presented in Table 1. The membrane
not have any defect and permeability coefficient is constant, can permeances are selected to be similar to those which might be
be written as follows: observed with a polysulfone membrane with an effective sep-
arating layer thickness of approximately 0.1 m (Coker et al.,
AT pR − pPi
Ni = Li i (53) 1998).
AS δF Fig. 6 presents the simulation results for countercurrent con-
where Li is the species i permeability coefficient, δF the mem- tacting without recycle. The effect of mesh refinement in the
brane thickness, AT mass exchange perimeter and AS the flow nitrogen purity is shown as a function of overall residue recovery
section area. The subscripts R and P mean retentate and permeate (stage cut). Fig. 6a concerns the results obtained using QUICK
side, respectively.
x = 1 : pR T = pT,out
R
• Permeate
x = 0 : uP = 0; x=1: pPT = pPT,out
• Cocurrent flow with recycle/purge
• Retentate
x=0: uR = uR
in , yiR = yi,in
R
;
x=1: T = pT,out
pR R
• Permeate
x=0: uR = uR
in , yiR = yi,in
R
;
x=1: T = pT,out
pR R
T /pT = 5):
Fig. 6. Effect of mesh refinement on nitrogen purity in retentate (pR P
• Permeate
(· · ·) n = 1, 2, 4, 8, (—) reference solution. (a) QUICK scheme and (b) UDS
x = 1 : uP = 0; x=0: pPT = pPT,out scheme (successive stages method).
P. Cruz et al. / Computers and Chemical Engineering 30 (2005) 83–98 91
T /pT = 5):
Fig. 7. Effect of mesh refinement on nitrogen purity in retentate (pR P Cyclic adsorption processes are based on the selective reten-
QUICK scheme and UDS scheme (successive stages method). tion (based on adsorption equilibrium selectivity or diffusion
selectivity) of one or more components in a gas mixture,
with the adsorbent regeneration being performed by total or
discretization scheme and Fig. 6b concerns the results obtained partial pressure decrease (pressure swing adsorption—PSA,
using the successive stages method (Coker et al., 1998). vacuum swing adsorption—VSA or vacuum pressure swing
With the proposed method it is possible to obtain an accept- adsorption—VPSA) or by temperature increase (temperature
able solution with only eight discretization volumes for all values swing adsorption—TSA). These processes are intrinsically
of overall residue recovery. The successive stages method con- dynamic, operating in a periodic fashion with a fixed (or vari-
verges slowly to the reference solution, namely for high values able) period.
of stage cut. Coker et al. (1998) mentions that in some cases, The models of cyclic adsorption processes can only be solved
when the stage cut is extremely high (>90%), at least 1000 stages analytically in the case of purifications, using the method of
are required to obtain the problem solution. characteristics, under the following ideal conditions (Knaebel
Fig. 7 presents the error of the solution, φ, as a function of & Hill, 1985; Shendalm & Mitchell, 1972): isothermal system,
the number of stages/discretization volumes. In this figure, φ is instantaneous equilibrium between the gaseous phase and the
defined as follows: adsorbed phase, negligible pressure drop, linear isotherm and
|PurR − Puri | frozen concentration profile during pressurization and depres-
φ= (54) surization stages. In the case of separations, the assumptions
|PurR − Purone stage |
mentioned before are not usually valid, and so the system of
where PurR is the reference value of purity in the retentate, partial differential equations must be solved numerically.
Purone stage the purity in the retentate obtained using one stage, Usually, in cyclic adsorption processes simulation, one of the
and Puri the purity obtained using i stages (discretization vol- following strategies is applied to solve the model equations. The
umes). From Fig. 7 it is possible to see that UDS (successive first one consists in the simultaneous space and time discretiza-
stages method) converges to the reference solution with only tion and posterior resolution of the resulting non-linear algebraic
first-order accuracy and the QUICK scheme converges approx- system of equations, for example: double collocation (Raghavan
imately with third-order accuracy. For obtaining a solution with & Ruthven, 1985) and space and time finite differences (Cen &
an accuracy equivalent to eight volumes using the QUICK Yang, 1985; Yang & Lee, 1998). The other strategy consists in
scheme it is necessary to use 1000 successive stages. And for the spatial discretization and subsequent integration of the result-
obtaining a solution with an accuracy equivalent to 16 volumes ing initial value system of ordinary differential equations (ODE)
using QUICK scheme it is necessary to use 7800 successive with an appropriate integrator (Finlayson, 1992): method of lines
stages. (MOL). Normally the integrator used is based on the BDF (back-
From this simple example and analysis, it can be seen that the ward differentiation formulas), known as Gear formulas (Gear,
successive stages method should not be used for high stage-cut 1971), that are suitable for the solution of stiff problems (Byrne
values and/or multicomponent mixtures, due to the high number et al., 1977; Hindmarsh, 1974; Petzold, 1983) or Runge–Kutta
of equations that need to be solved. Fehlberg method (RKF45—Fehlberg, 1968) that is unsuitable
We have tested some other high-resolution schemes, namely for the solution of stiff problems but commonly used in cyclic
the SMART scheme, MINMOD scheme and the third-order adsorption processes simulation.
WENO scheme. The results obtained using SMART scheme Different numerical methods have been applied to the solu-
are identical to the ones obtained using QUICK scheme. This tion of cyclic adsorption processes using the method of lines:
seems to be obvious since the SMART scheme uses QUICK successive stages method (Cheng & Hill, 1985), orthogonal
scheme in smooth regions (note that the problem presented is collocation (Arvind, Farooq, & Ruthven, 2002; Raghavan,
always smooth), the MINMOD and third-order WENO present, Hassan, & Ruthven, 1985), finite differences (Ko & Moon,
with mesh refinement, only a second-order convergence. In 2000), orthogonal collocation on finite elements (Da Silva,
92 P. Cruz et al. / Computers and Chemical Engineering 30 (2005) 83–98
• Column 1 Table 3
Adsorption equilibrium isotherm parameters (Santos et al., 2004)
1 ∂yi
x=0: = uin (yi − yi,in ) (58) N2 O2 Ar
Pe ∂x
qmax (mol/kg) 3.0704 3.0704 3.0704
CvF
u= f (pH 1
T , pT , T, M) (59) bi (×105 Pa−1 ) 0.1015 0.0369 0.0340
p1T H/ (K) 1767 2501 1791
∂yi
= 0, p1T ≥ p2T
x=1: ∂x and
1 ∂yi = u(yi − yi |x=1,column 2 ), p1 < p2
T T
p2u − p2d
Pe ∂x
1.179 T, pd > 0.53pu
(60) pd M
f (pu , pd , T, M) =
CvP ∗ uST
in pT
ST
pu
1
T, pd ≤ 0.53pu
u= f (p 1
T , p2
T , T , M) + , p1T ≥ p2T , pd M
p1T εb p1T (69)
CP
u = − 1v f (p2T , p1T , T, M), p1T < p2T (61) where Kv is the valve parameter, pu and pd are the dimension-
pT less upstream and downstream pressures, respectively, T the
Eq. (59) can be replaced by a correlation that relates the flow dimensionless temperature and M the molecular weight of the
rate given by a compressor with the pressure inside the adsorp- gas passing through the orifice. The superscript “0” stands for
tion column. standard temperature and pressure conditions (STP).
• Column 2
7.2.4. Results and discussion
∂yi
x=0: =0 (62) The simulations were performed for the oxygen production
∂x from air (nitrogen, 78%; oxygen, 21%; argon, 1%) using the 13X
CvV zeolite type Oxysiv 5 from UOP. The cycles optimized were the
u=− f (p2T , pLT , T, M) (63)
p2T ones of the oxygen concentrator and of the small PSA unit pre-
sented in Santos et al. (2004). The single-component adsorption
equilibrium isotherms parameters (Langmuir isotherm) are pre-
∂yi
= 0, p2T ≥ p1T sented in Table 3.
x=1: ∂x
Since oxygen and argon capacities are very similar, feed was
1 ∂yi = u(yi − yi |x=1,column 1 ), p2 < p1
Pe ∂x T T considered to be 78% of nitrogen and 22% of a pseudo-binary
(64) mixture of oxygen and argon.
The operating conditions, the physical characteristics and
CvP valve coefficients considered in the simulations are given in
u=− f (p1T , p2T , T, M), p1T ≥ p2T ,
p2T Table 4.
The feed flow rate given by the compressor is (Santos et al.,
CvP uST
in pT
ST
2004):
u= f (p 2
T , p1
T , T, M) + , p1T < p2T (65)
p2T εb p2T
10−3 p0 T
where the dimensionless average molar velocity of the stream uin pT = [0.0731(pT pref )3 − 0.288(pT pref )2
60εAT 0 uref pref
entering the storage tank, uST
in , is given by:
− 6.517pT pref + 91.370] (70)
in pT = Cv f (pT , pT , T, M)
uST ST ST ST
(66)
In Table 5 we present the effect of mesh refinement in the simula-
The molar velocity across a valve orifice was described by tion results (oxygen purity and recovery) for different production
(Chou & Huang, 1994; Teague & Edgar, 1999): flow rates using QUICK scheme. As we can see, for low prod-
uct flow rates, oxygen purity is higher than 1, simultaneously the
up = Cv f (pu , pd , T, M) (67)
concentration profile inside the column present some unphysi-
where Cv is the valve parameter given by: cal oscillations, which do not disappear with mesh refinement.
For higher product flow rates the concentration profile inside the
Tref p0
Cv = 2.035 × 10−2 √ Kv (68) column tends to be smoother and unphysical oscillations tend to
εb Auref pref T 0 disappear. These results give us an indication of the number of
Table 4
Operating conditions, physical characteristics and valve coefficients of the PSA unit (Santos et al., 2004)
T (◦ C) pH
T (MPa) pLT (MPa) tpres/prod (s) KvP KvST KvV L (cm) D (cm) LST (cm)
Table 5
Effect of mesh refinement in simulation results (oxygen purity and recovery) for
different production flow rates using QUICK scheme
Table 6
Effect of mesh refinement in optimization results using SMART scheme
n L/LST θ pres/prod CvF CvST CvP CvV Rec
Table 7 this problem. What is remarkable from the analysis of this figure
Model parameters and operating conditions is that using only four control volumes the solution is practically
Model parameters Operating conditions identical to the reference solution (obtained using a very refined
mesh).
Peclet number: Pej = uj L/Dax = 2000γ j Feed concentration:
ciF = 30 g/l In Table 8 we present the effect of mesh refinement in sim-
Solid/fluid ratio: (1 − εb )/εb = 1.5 ulation results using SMART scheme. We can see that eight
Number of transfer units: ki L/uref = 31.5 control volumes in each section (64 algebraic equations) are in
Ratio between fluid and solid velocities: γ I = 1.0149, this case sufficient to obtain a good solution. Using finite volume
γ II = 0.6122, γ III = 0.7039, γ IV = 0.4252
method the conservation of mass is always ensured. Leão and
Isotherm parameters: qA = 0.3401cA , qB = 0.5634cB
Rodrigues (2004) report errors in the mass balance of 3% for
glucose and 4% for fructose using finite elements collocation
(Hermite polynomials) and 0.3% for glucose and 0.4% for fruc-
tose using COLNEW and COLDAE public domain solvers. The
calculation time for a mesh of 16 control volumes is inferior to
one second in a 1.5 GHz Intel Pentium IV® personal computer.
In Fig. 12 is presented the error of the solution, φ as a func-
tion of the number of discretization volumes for three different
schemes: Upwind (UDS), MINMOD and SMART. In this figure,
φ is defined as it follows:
|ci − ciref |
φi = (74)
|ciUDS − ciref |
Fig. 12. Solution of simulated moving bed model using parameters from Table 3,
() frutose, (
) glucose concentration; (a) solution using QUICK scheme and
(b) solution using SMART scheme; (—) reference solution. Fig. 13. Effect of mesh refinement: open symbols—fructose concentration
(extract) and close symbols—glucose concentration (raffinate).
Table 8
Effect of mesh refinement, SMART scheme
n t (s) Glucose concentration Fructose concentration
Gaskell, P. H., & Lau, A. K. C. (1988). Curvature-compensated convective- Petzold, L. (1983). Automatic selection of methods for solving stiff and nons-
transport—smart, a new boundedness-preserving transport algorithm. tiff systems of ordinary differential-equations. SIAM Journal on Scientific
International Journal for Numerical Methods in Fluids, 8, 617. and Statistical Computing, 4, 136.
Gear, G. W. (1971). Numerical initial-value problems in ordinary differential Purnomo, I. S. K., & Alpay, E. (2000). Membrane column optimisation for
equations. Englewood Cliffs: Prentice-Hall. the bulk separation of air. Chemical Engineering Science, 55, 3599.
Glueckauf, E. (1955). Theory of chromatography 10. Formulae for diffusion Raghavan, N. S., Hassan, M. M., & Ruthven, D. M. (1985). Numerical-
into spheres and their application to chromatography. Transactions of the simulation of a PSA system. 1. Isothermal trace component system with
Faraday Society, 51, 1540. linear equilibrium and finite mass-transfer resistance. AIChE Journal, 31,
Harten, A. (1983). High-resolution schemes for hyperbolic conservation-laws. 385.
Journal of Computational Physics, 49, 357. Raghavan, N. S., & Ruthven, D. M. (1985). Pressure swing adsorption.
Harten, A. (1996). Multiresolution representation of data: A general frame- 3. Numerical-simulation of a kinetically controlled bulk gas separation.
work. Siam J Numer Anal, 33, 1205. AIChE Journal, 31, 2017.
Harten, A., Engquist, B., Osher, S., & Chakravarthy, S. R. (1987). Uniformly Santos, J. C., Portugal, A. F., Magalhães, F. D., & Mendes, A. (2004). Simu-
high-order accurate essentially nonoscillatory schemes, Part 3. Journal of lation and optimization of small oxygen pressure swing adsorption units.
Computational Physics, 71, 231. Industrial and Engineering Chemistry Research, 43, 8328.
Hindmarsh, A. C. (1974). Gear: Ordinary differential equation system solver, Shendalm, L. H., & Mitchell, J. E. (1972). Study of heatless adsorption in
Technical Report UICD-30001, Rev. 3. Lawrence, California: Lawrence model system CO2 in He, Part 1. Chemical Engineering Science, 27,
Livermore Laboratories. 1449.
Kaczmarski, K., & Antos, D. (1996). Fast finite difference method for solv- Sherman, J. D. (1999). Synthetic zeolites and other microporous oxide molec-
ing multicomponent adsorption-chromatography models. Computers and ular sieves. Proceedings of the National Academy of Sciences of the
Chemical Engineering, 20, 1271. United States of America, 96, 3471.
Kaldis, S. P., Kapantaidakis, G. C., Papadopoulos, T. I., & Sakellaropoulos, G. Shu, C. W. (1997). Essentially nonoscillatory (ENO) and weighted essentially
P. (1998). Simulation of binary gas separation in hollow fiber asymmetric nonoscillatory (WENO) schemes for hyperbolic conservation laws. In B.
membranes by orthogonal collocation. Journal of Membrane Science, 142, Cockburn, C. Johnson, C. W. Shu, E. Tadmor, & A. Quarteroni (Eds.),
43. Advanced numerical approximation of nonlinear hyperbolic equations:
Knaebel, K. S., & Hill, F. B. (1985). Pressure swing adsorption—development Lecture notes in Mathematics: Vol. 1697 (p. 32). Berlin: Springer-Verlag.
of an equilibrium-theory for gas separations. Chemical Engineering Sci- Shu, C. W., & Osher, S. (1988). Efficient implementation of essentially non-
ence, 40, 2351. oscillatory shock-capturing schemes. Journal of Computational Physics,
Ko, D., & Moon, I. (2000). Optimization of start-up operating condition in 77, 439.
RPSA. Separation and Purification Technology, 21, 17. Shu, C. W., & Osher, S. (1989). Efficient implementation of essentially non-
Kovvali, A. S., Vemury, S., Krovvidi, K. R., & Khan, A. A. (1992). Models oscillatory shock-capturing schemes, Part 2. Journal of Computational
and analyses of membrane gas permeators. Journal of Membrane Science, Physics, 83, 32.
73, 1. Shyy, W. (1985). A study of finite-difference approximations to steady-state,
Leão, C. P., & Rodrigues, A. E. (2004). Transient and steady-state models convection-dominated flow problems. Journal of Computational Physics,
for simulated moving bed processes: Numerical solutions. Computers and 57, 415.
Chemical Engineering, 28, 1725. Smith, S. W., Hall, C. K., Freeman, B. D., & Rautenbach, R. (1996). Correc-
Leonard, B. P. (1979). Stable and accurate convective modeling procedure tions for analytical gas-permeation models for separation of binary gas
based on quadratic upstream interpolation. Computer Methods in Applied mixtures using membrane modules. Journal of Membrane Science, 118,
Mechanics and Engineering, 19, 59. 289.
Leonard, B. P. (1987). Locally modified quick scheme for highly convective Teague, K. G., & Edgar, T. F. (1999). Predictive dynamic model of a small
2-D and 3-D flows. In C. Taylor & K. Morgan (Eds.), Numerical methods pressure swing adsorption air separation unit. Industrial and Engineering
in laminar and turbulent flow: Vol. 5 (p. 35). Swansea, UK: Pineridge Chemistry Research, 38, 3761.
Press. Tessendorf, S., Gani, R., & Michelsen, M. L. (1999). Modeling, simulation
Leonard, B. P. (1995). Order of accuracy of quick and related convection- and optimization of membrane-based gas separation systems. Chemical
diffusion schemes. Applied Mathematical Modelling, 19, 640. Engineering Science, 54, 943.
Liaw, C. H., Wang, J. S. P., Greenkorn, R. A., & Chao, K. C. (1979). Kinetics Thundyil, M. J., & Koros, W. J. (1997). Mathematical modeling of gas sep-
of fixed-bed adsorption—new solution. AIChE Journal, 25, 376. aration permeators—for radial crossflow, countercurrent, and cocurrent
Ludemann-Hombourger, O., Nicoud, R. M., & Bailly, M. (2000). The “Vari- hollow fiber membrane modules. Journal of Membrane Science, 125,
col” process: A new multicolumn continuous chromatographic process. 275.
Separation Science and Technology, 35, 1829. Wang, X., & Ching, C. B. (2004). Chiral separation and modeling of the
Mendes, A., Magalhães, F., & Costa, C. (2003). New trends on mem- three-chiral-center [beta]-blocker drug nadolol by simulated moving bed
brane science. In J. Fraissard & C. W. Conner (Eds.), Fluid transport chromatography. Journal of Chromatography A, 1035, 167.
in nanoporous materials. Kluwer Academic Publishers. Weller, S., & Steiner, W. A. (1950). Engineering aspects of separation of
Minceva, M., Pais, L. S., & Rodrigues, A. E. (2003). Cyclic steady state gases—fractional permeation through membranes. Chemical Engineering
of simulated moving bed processes for enantiomers separation. Chemical Progress, 46, 585.
Engineering and Processing, 42, 93. Yang, J. Y., & Lee, C. H. (1998). Adsorption dynamics of a layered bed PSA
Nilchan, S., & Pantelides, C. C. (1998). On the optimisation of periodic for H2 recovery from coke oven gas. AIChE Journal, 44, 1325.
adsorption processes. Adsorption, 4, 113. Zhang, Z. Y., Hidajat, K., Ray, A. K., & Morbidelli, M. (2002). Multiobjective
Pan, C. Y. (1983). Gas separation by permeators with high-flux asymmetric optimization of smb and varicol process for chiral separation. AIChE
membranes. AIChE Journal, 29, 545. Journal, 48, 2800.
Pettersen, T., & Lien, K. M. (1994). A new robust design-model for gas Zhong, G., Yun, T., Khattabi, Y., & Guiochon, G. (1997). Simulated mov-
separating membrane modules, based on analogy with countercurrent ing bed chromatography under linear conditions. Chromatographia, 45,
heat-exchangers. Computers and Chemical Engineering, 18, 427. 109.