Professional Documents
Culture Documents
To Cite This Article: Gheorghe Juncu, Aurelian Nicola, Constantin Popa & Elena Stroila (2014)
To Cite This Article: Gheorghe Juncu, Aurelian Nicola, Constantin Popa & Elena Stroila (2014)
To cite this article: Gheorghe Juncu , Aurelian Nicola , Constantin Popa & Elena Stroila (2014)
Preconditioned Conjugate Gradient and Multigrid Methods for Numerical Solution of Multicomponent
Mass Transfer Equations I. Diffusion-Reaction Equations, Numerical Heat Transfer, Part A:
Applications: An International Journal of Computation and Methodology, 66:11, 1268-1296, DOI:
10.1080/10407782.2014.915674
Taylor & Francis makes every effort to ensure the accuracy of all the information (the
“Content”) contained in the publications on our platform. However, Taylor & Francis,
our agents, and our licensors make no representations or warranties whatsoever as to
the accuracy, completeness, or suitability for any purpose of the Content. Any opinions
and views expressed in this publication are the opinions and views of the authors,
and are not the views of or endorsed by Taylor & Francis. The accuracy of the Content
should not be relied upon and should be independently verified with primary sources
of information. Taylor and Francis shall not be liable for any losses, actions, claims,
proceedings, demands, costs, expenses, damages, and other liabilities whatsoever or
howsoever caused arising directly or indirectly in connection with, in relation to or arising
out of the use of the Content.
This article may be used for research, teaching, and private study purposes. Any
substantial or systematic reproduction, redistribution, reselling, loan, sub-licensing,
systematic supply, or distribution in any form to anyone is expressly forbidden. Terms &
Conditions of access and use can be found at http://www.tandfonline.com/page/terms-
and-conditions
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
Numerical Heat Transfer, Part A, 66: 1268–1296, 2014
Copyright # Taylor & Francis Group, LLC
ISSN: 1040-7782 print=1521-0634 online
DOI: 10.1080/10407782.2014.915674
1
Department of Chemical and Biochemical Engineering,
Politehnica University Bucharest, Bucharest, Romania
2
Department of Mathematics, Ovidius University, Constanta, Romania
3
Research Center for Navy, Constanta, Romania
1. INTRODUCTION
The mass transfer phenomenon in many real-life and engineering processes
often governs the kinetics of the overall process. An accurate modeling of the mass
transfer is therefore necessary, opportune, and principally possible, particularly in
multicomponent systems. For these reasons, multicomponent diffusion has gained
a considerably increasing interest during the last decades.
For the description of mutual diffusion in multicomponent systems, two
approaches are prevalent in literature [1, 2]: generalized Fick’s law and the Maxwell–
Stefan [3, 4] theory. The two formalisms are equivalent. A full presentation of these
approaches is beyond the scope of this work. For more details, we refer to Refs. [1–9].
Mathematical solutions for multicomponent mass transfer in complex situations
are not very plentiful. In many cases, idealized models, such as film model or the
1268
PRECONDITIONED CONJUGATE GRADIENT AND MULTIGRID METHODS 1269
penetration model, were used. From the computational point of view, the numerical sol-
ution of the multicomponent diffusion equations is still a difficult, open problem.
Additionally, excepting the case described by Spille-Kohoff et al. [10], even highly
developed Computational Fluid Dynamics (CFD) software packages that are applied
in engineering sciences do not contain the special features of the multicomponent
diffusion.
The first method widely used to solve multicomponent mass transfer equations
was the so-called matrix method developed by Toor, [11], and Stewart and Prober
[12]. In this method the original multicomponent problem is transformed into an
equivalent binary diffusion one. The diffusion coefficients of the binary problem
are determined by the eigenvalues of the multicomponent diffusivity matrix. This
method applies only to linear equations.
Rieckmann and Keil [13, 14] analyzed the diffusion-reaction phenomena
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
algebraic system was solved with the Newton–Raphson method. Boettcher does
not present in detail the numerical algorithms used in his tests. A critical evaluation
of this article can be viewed in Ref. [10].
Leonardi and Angeli [21] proposed a general numerical procedure for the
solution of the one-dimensional Maxwell–Stefan equations in transient regime.
The Maxwell–Stefan equations were transformed into a parabolic system having
as variables only the concentrations of the chemical species. The spatial derivatives
are discretized with the finite difference method. The resulting ODE system is
integrated in time with Gear’s method (LSODE package).
A careful analysis of the above-mentioned researches leads to the following
statements:
We can summarize that the main aim of these researches was the numerical solution
of a particular problem. Starting from these observations, the aims of the present
work are as follows:
. to test multigrid methods for numerical solving the multicomponent mass transfer
problems (both linear and nonlinear cases);
. to develop specific preconditioners for multicomponent mass transfer problems,
which will be used in connection with the gradient-type and Krylov subspace
methods (BICGSTAB and restarted GMRES(m)); the nonlinear algorithm
employed in this case is the modified Picard iteration.
The test problems employed in this work are 2D elliptic linear and nonlinear
diffusion-reaction equations. The mixture has five chemical species. We think that
four mass balance equations are enough in order to capture the salient features of
the numerical behavior. Obviously, cross-diffusion coupling influences the solutions
of the multicomponent mass transfer equations. An interesting case when the
cross-diffusion coupling affects the transient evolution to steady-state solution is pre-
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
sented in Ref. [22]. However, in this work we will not investigate these problems.
The present paper is organized as follows: in Section 2 we describe the math-
ematical model of the test problems. Section 3 presents the numerical algorithms.
The numerical experiments made and the results obtained are presented in
Section 4. Finally, some concluding remarks are briefly mentioned in Section 5.
taking place inside a finite slab catalyst pellet with square section. The interphase
transport resistances are assumed negligibly (the concentrations on the external
surface of the catalyst pellet are the same as the bulk values). Considering a
homogeneous porous pellet and the total mixture molar concentration constant,
the dimensionless steady-state concentration profiles inside the pellet are given by:
X 4
q q Zj q q Zj
Di;j þ Di;j þ Ri ¼ 0; i ¼ 1; . . . ; 4ðx; yÞ 2 X ¼ ð0; 1Þ ð0; 1Þ
j¼1
qx qx qy qy
ð2Þ
where
R1 ¼ k1 Z1 k3 Z1 þ k5 Z4 ; R2 ¼ k1 Z1 k2 Z2 þ k4 Z3
R3 ¼ k2 Z2 k4 Z3 ; R4 ¼ k3 Z1 k5 Z4
Here, Zi ¼ Ai=A1b is the dimensionless concentration, A1b is the bulk molar
concentration of species A1, ki ¼ ki L2=Dref is the nondimensional reaction rate
1272 G. JUNCU ET AL.
constant, L is the length of the square section, Di,j is the multicomponent Fick
diffusion coefficient related to Dref, and Dref is a reference diffusion coefficient. Note
that for diffusion-reaction systems, the molar average frame can be used.
The boundary conditions are:
Z1 ¼ 1; Zi ¼ 0; i ¼ 2; 3; 4 ðx; yÞ 2 qX ð3Þ
D ¼ B1 C ð4Þ
where B is the matrix that takes into account the drag effects and C is the matrix of
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
the thermodynamic effects. Neglecting the effects of Knudsen and surface diffusion,
the matrix B is computed according to Refs. [1, 23, 24]:
xi Xn
xk
Bii ¼ þ i ¼ 1; ::::; n 1 ð5aÞ
Din k¼1
D ik
k 6¼ i
1 1
Bij ¼ xi i; j ¼ 1; ::::; n 1; i 6¼ j ð5bÞ
Dij in
D
where Dij is the Stefan–Maxwell diffusion coefficient related to Dref and xi is the
mole fraction of species i. The mole fraction of the ith species, xi, is calculated by:
Zi
xi ¼
P
n
Zj
j¼1
In the previous relations, n is the total number of chemical species present in system and
it is equal to n ¼ 5 (it is well known that a mixture with n species is modeled by n 1
mass balance equations). The fifth species is not involved in the chemical reaction and
its dimensionless molar concentration inside the pellet, Z5, is computed based on the
assumption of constant total mixture molar concentration, e.g.,:
In this work, we consider ideal behavior of the mixture. In this case C I, I being the
identity matrix. It should be also mentioned that the Stefan–Maxwell diffusion
coefficients were considered constants. According to Ref. [1], this assumption is an
acceptable one.
The mathematical model presented previously represents the nonlinear test
problem used in this work. The linear test problem employed in this work is obtained
from the nonlinear one by considering the multicomponent Fick diffusion
coefficients constants. The linear problem should not be considered as a pure
mathematical simplification. The variation of diffusion coefficients is not always
significant, e.g., similar with the variation hydraulic conductivity–humidity in
PRECONDITIONED CONJUGATE GRADIENT AND MULTIGRID METHODS 1273
Richards’ equation. For this reason, (see also Refs. [22, 25, 26]) we may consider that
in some situations the linear problem, i.e., constant diffusion coefficients, approxi-
mates very well real-life situations.
The reference diffusion coefficient was selected as follows:
3. NUMERICAL METHODS
This section is dedicated to the presentation of the numerical solvers used in
our experiments, together with some of their properties. We first describe the finite
differences scheme used for the discretization of problem (2). Then, we present the
nonlinear multigrid algorithm and the modified Picard scheme, as nonlinear solvers
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
of the discrete problem. Section 3.3 is dedicated to the analysis of the precondition-
ing technique used for the nonlinear iteration of the modified Picard algorithm. We
establish theoretical results involving the eigenvalues of the problem matrix blocks
after the preconditioning.
3.1. Discretization
The spatial derivatives of Eq. (2) were discretized with the central second-order
accurate finite difference scheme on uniform grids with N N points:
0 ¼ x1 < x2 < ::: < xN1 < xN ¼ 1; xk ¼ ðk 1 Þ h; 0 ¼ y1 < y2 < ::: < yN1 < yN ¼ 1
yl ¼ ð l 1 Þ h; k; l ¼ 0; N
where h ¼ 1=(N 1) is the grid step size. The discrete approximation obtained is:
2 kþ1=2;l kþ1;l
k;lþ1=2
3
Di;j Zj Zjk;l Di;j Zjk;lþ1 Zjk;l
6 7
6 k1=2;l k;l k1;l
k;l1=2
k;l k;l1 7
X 4 6D Z Z D Z Z 7
6 i;j j j i;j j j 7
6 þ 7
6
j¼1 6
h 2 h 2 7 ð6Þ
7
4 5
þ Ri ¼ 0; i ¼ 1; 2; 3; 4:
The values of the diffusion coefficients were calculated as arithmetic averages of the
grid point values. The grid point values of the multicomponent Fick diffusion
coefficients were calculated with the relations presented in the previous section.
The discrete approximation of the linear test problem is:
X
4
Di;j Dh Zj þ Ri ¼ 0; i ¼ 1; 2; 3; 4 ð7Þ
j¼1
where Dh is the classical, five point, discrete Laplace operator of dimension (N 2)
(N 2). In this case, the multicomponent Fick diffusion coefficients, Di,j, are constant.
1274 G. JUNCU ET AL.
rm m m m
h ¼ fh Lh Zh ðiiÞ
rm1
2h ¼ Ih2h rm
h ðiiiÞ
rm1
2h ¼ rm1
2h þ Lm1 m1
2h Z2h ðvÞ
. solve the coarse grid equation; solve means perform two smoothing steps if m 1
is the coarsest level or repeat from (i) if m 1 is not the coarsest level:
m1 m1
Z2h;new ¼ solve ðZ2h ; Lm1 m1
2h ; f2h Þ ðviÞ
. transfer coarse grid corrections by bilinear interpolation to the current fine level, m:
The mesh step size on the coarser grid is equal to h ¼ 22. The number of levels
employed in the numerical experiments are five (the finest level has 33 33 points),
six (the finest level has 65 65 points), and seven (the finest level has 129 129 points).
The modified Picard scheme, also called a fixed point method, is given by:
C m d Z mþ1 ¼ Rm
ð8Þ
Z mþ1 ¼ Zm þ d Z mþ1
where m is the iteration number such that Z0 is the initial estimate, Z ¼ [Z1, Z2, Z3,
Z4] and R is the residual of Eq. (6). The matrix C is defined by:
2 3 2 3
A11 A12 A13 A14 ðk1 þ k3 ÞI 0 0 k5 I
6 A21 A22 A23 A24 7 6 k1 I k2 I k4 I 0 7
C¼6 7 6 7
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
4 A A A A 5 þ 4 0 k2 I k4 I 0 5
31 32 33 34
A41 A42 A43 A44 k3 I 0 0 k5 I
will be given in the next section. In all numerical experiments, the value of the
GMRES (m) restart parameter was:
m ¼ 35:
where
2 3 2 3 2 13
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
We will construct a block preconditioning method for the system (10), which uses
the same matrix for any diagonal block. In this respect, we first observe that the
Eqs. (2)–(3) can be written as:
8
>
> ðD11 DZ1 k1 Z1 k3 Z1 Þ þ D12 DZ2 þ D13 Z3 þ ðD14 DZ4 þ k5 Z4 Þ ¼ 0
<
ðD21 DZ1 þ k1 Z1 Þ þ ðD22 DZ2 k2 Z2 Þ þ ðD23 DZ3 þ k4 Z3 Þ þ D24 DZ4 ¼ 0
ð11Þ
>
> D31 DZ1 þ ðD32 DZ2 þ k2 Z2 Þ þ ðD33 DZ3 k4 Z3 Þ þ D34 Z4 ¼ 0
:
ðD41 DZ1 þ k3 Z1 Þ þ D42 DZ2 þ D43 Z3 þ ðD44 DZ4 k5 Z4 Þ ¼ 0
Thus, after the discretization described in Section 3.1, the blocks Aij have the
structure:
A11 ¼ D11 D0 þ ðk1 þ k3 Þh2 I; A12 ¼ D12 D0 ; A13 ¼ D13 D0 ; A14 ¼ D14 D0 k5 h2 I;
2 2 2
A21 ¼ D21 D0 k1 h I; A22 ¼ D22 D0 þ k2 h I; A23 ¼ D23 D0 k4 h I; A24 ¼ D24 D0 ;
A31 ¼ D31 D0 ; A32 ¼ D32 D0 k2 h2 I; A33 ¼ D33 D0 þ k4 h2 I; A34 ¼ D34 D0 ;
A41 ¼ D41 D0 k3 h2 I; A42 ¼ D42 D0 ; A43 ¼ D43 D0 ; A44 ¼ D44 D0 þ k5 h2 I;
ð12Þ
– ‘‘right’’ preconditioning
e 1U
AU ¼ B , A e1 ¼ B e 1 ¼ AP1 ; U
e 1 ; with A e 1 ¼ PU; B
e1 ¼ B ð16aÞ
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
– ‘‘left’’ preconditioning
e 2U
AU ¼ B , A e2 ¼ B e 2 ¼ P1 A; U
e 2 ; with A e 2 ¼ U; B
e 2 ¼ P1 B ð16bÞ
– ‘‘split’’ preconditioning
e 3U
AU ¼ B , A e3 ¼ B e 3 ¼ C1 ACT ; U
e 3 ; with A e 3 ¼ CT U; B
e 3 ¼ C1 B: ð16cÞ
e 1 Þ ¼ Aij P1 ; ðA
ðA e 2 Þ ¼ P1 Aij ; ðA
e 3 Þ ¼ C 1 Aij C T : ð17Þ
ij ij ij
where D and @ are the diffusion, respectively, reaction coefficients matrices given by:
2 3 2 3
D11 D12 D13 D14 ðk1 þ k3 Þ 0 0 k5
6 D21 D22 D23 D24 7 6 k1 k2 k4 0 7
D¼6
4 D31
7; 26
@¼h 4 7 ð19Þ
D32 D33 D34 5 0 k2 k4 0 5
D41 D42 D43 D44 k3 0 0 k5
1278 G. JUNCU ET AL.
and denotes the Kronecker product of two matrices (see, e.g., Ref. [32, p. 380]).
Moreover from (15) it results:
2 3
e 1
D 0 0 0
0
6 e 7
6 0 D1 0 0 7 e 1
P1 ¼6 0
7 ¼ I4 D ð20Þ
4 0 0 e 1
D 0 5
0
0
0 0 0 e
D 1
0
where I4 is the 4 4 identity matrix. From (16a), (18)–(20), and the equality
(A B)(C D) ¼ AC BD (see Ref. [32, p. 380]), we get:
0 0 0
e 1 Þ ¼ kdi
rðD D0 D 0 ; k 2 rðD0 Þ; i ¼ 1; 2; 3; 4 ð22Þ
k þ h2
where di are the eigenvalues of the Fick diffusion coefficients matrix. For the second
one, a simple computation using (19) gives us:
where x1, x2 are the (always real) roots of the equation x2 (k1 þ k3 þ k5)x þ
k1k5 ¼ 0, thus by again using the above-mentioned result we get:
e 1 ai
rð@ D0 Þ ¼ ; k 2 rðD0 Þ; i ¼ 1; 2; 3; 4 ð24Þ
k þ h2
where kmax(STS) kmin(STS) > 0 are the extreme eigenvalues of the symmetric and
positive definite (SPD, for short) matrix STS. If S is itself SPD then:
kmax ðSÞ
cond2 ðSÞ ¼ ð26Þ
kmin ðSÞ
Two n n SPD matrices S, T are spectrally equivalent if (see Ref. [34]) there exist positive
constants a1, a2 independent on the dimension N such that:
where < , >, jj jj will denote the Euclidean scalar product and norm.
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
T ¼ QQT ð28Þ
a2
cond2 ðQ1 SQT Þ ð29Þ
a1
that is, T is a good preconditioner for S . Moreover this result is independent on the
decomposition (28).
In what follows we will prove spectral equivalence relations as (27) for S ¼ Aii
and T ¼ D e 0 ¼ CC T (see (14)). We first observe that for the diagonal blocks Aii,
i ¼ 1, . . . , 4 from (12) and (13) we get for any x 6¼ 0:
hAii x; xi
min fDii ; ðk1 þ k3 Þ; k2 ; k4 ; k5 g D max fDii ; ðk1 þ k3 Þ; k2 ; k4 ; k5 g ð30Þ
1 i 4
De 0 x; xi 1 i n
e 0 ðk þ dÞh2 I
B ¼ dD0 kh2 I ¼ d D ð32Þ
1280 G. JUNCU ET AL.
D E 2D E e 2D E
d De 0 x; x ðk þ dÞh D e 0 x; x ¼ dkmin ðD0 Þ ðk þ dÞh D e 0 x; x ð34Þ
e0Þ
kmin ðD e0Þ
kmin ðD
Since B from (32) is symmetric, it will be positive definite if and only if (see Ref. [33])
e 0 Þ ðk þ dÞh2 > 0:
kmin ðBÞ ¼ dkmin ðD0 Þ kh2 ¼ dkmin ðD ð35Þ
e 0 Þ ðk þ dÞh2 D
dkmin ðD E D E
De 0 x; x hBx; xi maxfd; kg De 0 x; x ð36Þ
kmin ðDe0Þ
with kmin ðD e 0 Þ ¼ kmin ðD0 Þ þ h2 and kmin(B) ¼ dkmin(D0) kh2. But, because (see,
e.g., Ref. [35]) kmin(D0) ¼ ch2 with c independent of h (i.e., on N), from (13) we get
e 0 Þ ¼ ðc þ 1Þh2 , thus dkmin ðe
kmin ðD D0 ÞðkþdÞh2
¼ dck
cþ1 , is independent of h, i.e., the
kmin ðe
D0 Þ
matrices B and D e 0 are spectrally equivalent. By using (29) we obtain that:
with c ¼ maxfd;kgðcþ1Þ
dck > 0 independent of N.
In this section, we described and analyzed the nonlinear solvers used for solv-
ing the finite differences discretization of problem (2): the FAS multigrid algorithm
and the modified Picard iteration. In the Picard iteration, we have to solve a linear
system of equations with a 4 4 structure generated by the four species involved in
the initial problem (2). We designed a preconditioning technique based on a single
block diagonal preconditioner and we analyzed the spectra of the system matrix
blocks after the preconditioning. The conclusion is that for both, diagonal and off-
diagonal preconditioned blocks, we obtain a mesh independent condition number.
Unfortunately, we cannot obtain similar theoretical results involving the eigenvalues
of the whole system matrix, but the experiments from Section 4 show practically the
efficiency of the preconditioning technique used.
PRECONDITIONED CONJUGATE GRADIENT AND MULTIGRID METHODS 1281
4. NUMERICAL RESULTS
The main objective of the present work is to analyze the influence of cross-
diffusion coupling on the numerical performances of the numerical algorithms. In
order to achieve this objective, we considered, for each sets of parameters, the
following four structures for the multicomponent Fick diffusion matrix:
0 10 10 1
D11 0:00 0:00 0:00 D11 D12 0:00 0:00 D11 D12 D13 0:00
B 0:00 D C BD C BD C
B 22 0:00 0:00 C B 21 D22 0:00 0:00 C B 21 D22 D23 0:00 C
B C B C B C
@ 0:00 0:00 D33 0:00 A @ 0:00 0:00 D33 0:00 A @ D31 D32 D33 0:00 A
0:00 0:00 0:00 D44 0:00 0:00 0:00 D44 0:00 0:00 0:00 D44
ðaÞ ðbÞ ðcÞ
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
0 1
D11 D12 D13 D14
BD C
B 21 D22 D23 D24 C
B C
@ D31 D32 D33 D34 A
D41 D42 D43 D44
ðdÞ
In case (a), there is no cross-diffusion coupling. The species interact only through the
chemical reactions. For cases (b)–(d), the cross-diffusion coupling increases progress-
ively, from two species interaction (case (b)) to all species interaction (case (d)). In
the next paragraphs of this section, for brevity, the case (a) will be symbolized by
CPL1, case (b) by CPL2, case (c) by CPL3, and case (d) by CPL4. Obviously, these
cases were simulated by defining interaction constants and not by modifying the mul-
ticomponent Fick diffusion matrices. Three sets of values were considered for the
dimensionless reaction rate constants:
W
s ¼ ð38Þ
j ln q
j
where W (the work) is the number of arithmetic operations per grid point and
iteration step. The average reduction factor was calculated with the relation:
1i
k resi k
¼
q ð39Þ
k res0 k
1282 G. JUNCU ET AL.
where resi is the residual after i iterations. The average reduction factor is one of the
quantities widely used to measure the convergence rate of an algorithm. The
efficiency can be viewed as an indicator for the computational time. The stopping
criterion for both the linear and nonlinear iterations is:
k resi k
< 106 ð40Þ
k res0 k
Note. For the preconditioned restarted GMRES (m) algorithm, it may be possible that
the convergence is achieved in 1(q) (q < m) iterations (i.e., before the first complete
restarted iteration is finished). In this case, independently on q (interior iterations),
we take by convention i ¼ 1 in (39), i.e.,:
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
k resi k
¼
q ð41Þ
k res0 k
For all the numerical experiments made the initial guesses used are:
Z1 ¼ 1; Z2 ¼ Z3 ¼ Z4 ¼ 0 ð42Þ
GMRES BICGSTAB MG
5
Mesh Case Non IC CC ( 10 ) Non IC CC PGS ALGS
presentation; for each set of values of ki, the influence of the Fick matrices on the
convergence rate of the algorithms is practically the same;
. for the computation of the work W, we consider in all situations the full form of
the Fick matrices (all operators Dh from (7) are calculated).
. in almost all cases, the increase in the cross-diffusion coupling decreases the
convergence rate of the numerical algorithms; this effect depends on the numerical
algorithm;
. we may consider that the convergence rate of MG-ALGS and GMRES (m) pre-
conditioned with CC does not practically depend on the cross- diffusion coupling;
the cross-diffusion coupling has a relatively small influence on the convergence
Table 2. Average values of the efficiency, s, for the linear test problems
GMRES BICGSTAB MG
Figure 1. Dimensionless concentration profiles calculated for the linear test problem; matrix D3 of
Fick diffusion coefficients, set (1) of dimensionless reaction rate constants; (a) Z1 (x, y); (b) Z2 (x, y);
(c) Z3 (x, y); (d) Z4 (x, y).
is not the optimus (the best) MG algorithm for linear problems. Instead it is almost
identical to that used for nonlinear problems.
results obtained, we selected the data depicted in Tables 3–8. The numerical data
depicted in these tables are average values (arithmetic average) calculated for all
the sets of the values of the dimensionless reaction rate constants, ki. It must be
mentioned that: (1) the number of modified Picard iterations does not depend on
the linear solver and the preconditioning used; (2) the values of the average
reduction factor and efficiency calculated for Z5b ¼ 2, 5, are found between the
values presented in Tables 3–8. Some of the solutions computed for sets (2) and
(3) of the dimensionless reaction rate constants are presented graphically in
Figures 2 and 3.
The work, W, for the modified Picard iteration, depends on the convergence
rate of the inner iteration (the preconditioned conjugate gradient algorithm). For
this reason we considered it necessary to present data about the convergence rate
of the preconditioned conjugate gradient algorithms (Tables 4 and 7). The quantity
used to express the convergence rate of BICGSTAB and GMRES (m) is the average
number of iterations per nonlinear (modified Picard) iteration.
Table 4. Average number of preconditioned GMRES and BICGSTAB iterations per modified Picard
iteration step; set B1 of Stefan–Maxwell coefficients
GMRES BICGSTAB
The main problem investigated in this work is the influence of the cross-
diffusion coupling on the performances of the numerical algorithms. The numerical
data presented in Tables 3 and 6 show that the influence of the cross-diffusion
coupling on the convergence rate is not as obvious as in the case of the linear test
problems. Concerning this problem, the following observations can be made:
. in many cases, the convergence rate for the case CPL4 is higher than that for the
case CPL1;
. for Z5b ¼ 10 and both sets of Stefan–Maxwell diffusion coefficients, the conver-
gence rate does not practically depend on the cross-diffusion coupling;
. for Z5b ¼ 1, the cross-diffusion coupling significantly influences only the conver-
gence rate of MG-PGS for set B1;
. the convergence rate of the numerical algorithms for the set B2 is smaller than that
for the set B1;
. the increase in Z5b from 1 to 10 increases the convergence rate;
. the convergence rates of the modified Picard iteration and MG algorithms are
comparable;
. the mesh behavior of the convergence rates of the nonlinear MG and the modified
Picard iteration is excellent.
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
Table 5. Average values of the efficiency, s, for the nonlinear test problem; set B1 of the Stefan–Maxwell diffusion coefficients
Modified Picard
Mesh Case Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10
33 33 CPL1 0.421 0.182 145 71.8 1.91 1.19 1,900 886 2,140 980 20.7 10.2
CPL2 0.343 0.175 121 69 1.56 1.13 1,540 857 1,680 893 17.3 9.97
CPL3 0.340 0.171 120 68.8 1.5 1.1 1,490 810 1,620 838 17.2 9.85
CPL4 0.351 0.167 111 63 1.34 1 1,390 738 1,410 764 17.9 9.49
65 65 CPL1 2.24 0.884 480 215 7.42 4.63 3,970 1,780 4,210 1,910 86.2 41
CPL2 1.68 0.816 403 204 6.12 4.42 3,150 1,760 3,330 1,780 70.0 41.6
CPL3 1.54 0.786 390 201 5.61 4.32 2,980 1,630 3,060 1,700 68.9 39.3
CPL4 1.71 0.768 377 184 5.2 3.89 2,880 1,530 2,860 1,550 74.4 38.2
129 129 CPL1 15.5 5.53 2,090 827 29.4 18.3 8,130 3,600 8,400 3,730 387 174
1287
CPL2 11.1 4.89 1,630 750 24.6 17.6 6,740 3,640 6,670 3,480 292 174
CPL3 9.63 4.95 1,490 758 22.2 17.2 6,100 3,360 6,170 3,330 280 169
CPL4 12.3 4.44 1,680 716 20.8 15.1 5,920 3,110 5,760 3,090 321 158
MG-PGS MG-ALGS
Table 7. Average number of preconditioned GMRES and BICGSTAB iterations per modified Picard
iteration step; set B2 of Stefan–Maxwell coefficients
GMRES BICGSTAB
Table 8. Average values of the efficiency, s, for the nonlinear test problem; set B2 of the Stefan–Maxwell diffusion coefficients
Modified Picard
Mesh Case Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10 Z5b ¼ 1 Z5b ¼ 10
33 33 CPL1 1.02 0.512 280 145 1.98 1.21 2.48 1.68 3.37 1.97 46.7 19.2
CPL2 1.04 0.498 284 143 2.10 1.21 2.77 1.63 3.22 1.95 50 19.4
CPL3 0.996 0.498 280 143 2.09 1.21 2.76 1.65 3.25 1.93 50.3 19.4
CPL4 0.708 0.489 253 146 1.88 1.24 2.49 1.70 3.10 1.97 42.8 19.4
65 65 CPL1 7.28 3.14 1,150 494 7.74 4.68 5.61 2.28 6.26 3.82 199 79.9
CPL2 5.53 2.59 1,210 503 8.25 4.69 6.12 3.55 6.47 3.79 217 79.3
CPL3 5.69 2.63 1,210 487 8.26 4.70 6.23 3.49 6.62 3.74 219 78.5
CPL4 3.76 2.58 979 484 7.64 4.81 5.86 3.63 6.45 3.83 192 76.9
129 129 CPL1 60.1 22.8 6,940 2,630 30.8 18.6 12.6 7.13 18 7.61 886 337
1289
CPL2 42.6 22.3 6,410 2,540 33.1 18.6 13.8 7.21 14.3 6.22 982 327
CPL3 44 22.3 6,170 2,540 32.9 18.6 13.5 7.36 14 7.47 935 330
CPL4 32.9 21 3,090 2,430 31 19.3 13.4 7.53 14 7.82 754 333
MG-PGS MG-ALGS
Figure 2. Dimensionless concentration profiles calculated for the nonlinear test problem; set B1 of Stefan–
Maxwell diffusion coefficients, set (2) of dimensionless reaction rate constants and Z5b ¼ 1; (a) Z1 (x, y);
(b) Z2 (x, y); (c) Z3 (x, y); (d) Z4 (x, y).
Figure 3. Dimensionless concentration profiles calculated for the nonlinear test problem; set B2 of
Stefan–Maxwell diffusion coefficients, set (3) of dimensionless reaction rate constants and Z5b ¼ 1;
(a) Z1 (x, y); (b) Z2 (x, y); (c) Z3 (x, y); (d) Z4 (x, y).
5. CONCLUSIONS
In this work we have analyzed the numerical performances of the MG and
modified Picard preconditioned conjugated gradient methods for solving steady-
state, linear=nonlinear multicomponent diffusion-reaction equations in two space
dimensions. Different sets of Stefan–Maxwell=Fick diffusion coefficient matrices
and dimensionless chemical reaction rate constants were used.
The numerical experiments presented in the previous section can be
summarized as follows:
. for the linear test problem, the influence of cross-diffusion coupling on the
convergence rate and efficiency of the numerical algorithms depend on (1) the
smoothing algorithm for the MG method; (2) the preconditioner and the
algorithm for the preconditioned conjugated gradient methods; the increase in
the cross-diffusion coupling decreases the convergence rate and the efficiency;
the decrease is negligible for MG-ALGS and GMRES (m) preconditioned
with CC, relatively significant for BICGSTAB preconditioned with CC,
GMRES (m) preconditioned with IC, and MG-PGS, and significant for the
1292 G. JUNCU ET AL.
REFERENCES
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
1. R. Taylor and R. Krishna, Multicomponent Mass Transfer, Wiley, New York, 1993.
2. S. R. de Groot and P. Mazur, Non-Equilibrium Thermodynamics, 2nd ed., Dover,
New York, 1984.
3. J. C. Maxwell, On the Dynamic Theory of Gases, Philos. Trans. R Soc., vol. 157, pp. 49–
88, 1867.
4. J. Stefan, Uber das Gleichgewicht und die Bewegung insbesondere die Diffusion von
Gasgemengen, Akad. Wiss. Wien, vol. 63, pp. 63–124, 1871.
5. N. Kobayashi and I. Yamamoto, Comparison of Definitions of Ordinary Diffusion
Coefficients in Multi-Component Mixture, J. Nuclear Sci. Tech., vol. 33, pp. 663–667,
1996.
6. J. Mitrovic, The Fick and Lagrange Equations as a Basis for the Maxwell–Stefan
Diffusion Equations, Int. J. Heat Mass Transfer, vol. 40, pp. 2373–2377, 1997.
7. C. F. Curtiss and R. B. Bird, Multicomponent Diffusion, Ind. Eng. Chem. Res., vol. 38,
pp. 2515–2522, 1999.
8. S. H. Lam, Multicomponent Diffusion Revisited, Phys. Fluids, vol. 18, art. no. 073101,
2006.
9. Y. Wang and M. D. LeVan, Mixture Diffusion in Nanoporous Adsorbents: Equivalence
of Fickian and Maxwell–Stefan Approach, J. Phys. Chem. B, vol. 112, pp. 8600–8604,
2008.
10. A. Spille-Kohoff, E. Preuss, and K. Böttcher, Numerical Simulation of Multi-Component
Species Transport in Gases at Any Total Number of Components, Int. J. Heat Mass
Transfer, vol. 55, pp. 5373–5377, 2012.
11. H. L. Toor, Solution of the Linearized Equations of Multicomponent Mass Transfer:
Matrix Methods, AIChE. J., vol. 10, pp. 460–465, 1964.
12. W. E. Stewart and R. Prober, Matrix Calculation of Multicomponent Mass Transfer in
Isothermal Systems, Ind. & Eng. Chem. Fundam., vol. 3, pp. 224–235, 1964.
13. C. Rieckmann and F. J. Keil, Multicomponent Diffusion and Reaction in Three-
Dimensional Networks—General Kinetics, Ind. Eng. Chem. Res., vol. 36, pp. 3275–
3281, 1997.
14. C. Rieckmann and F. J. Keil, Simulation and Experiment of Multicomponent Diffusion
and Reaction in Three-Dimensional Networks, Chem. Eng. Sci., vol. 54, pp. 3485–3493,
1999.
15. E. Kozeschnik, Multicomponent Diffusion Simulation Based on Finite Elements, Metall.
Mater. Trans. A, vol. 30A, pp. 2575–2582, 1999.
16. W. III. Wangard, D. S. Dandy, and B. J. Miller, A Numerically Stable Method
for Integration of the Multicomponent Species Diffusion Equations, J. Comput. Phys.,
vol. 174, pp. 460–472, 2001.
PRECONDITIONED CONJUGATE GRADIENT AND MULTIGRID METHODS 1293
17. S. Mazumder, Critical Assessment of the Stability and Convergence of the Equations of
Multi-Component Diffusion, J. Comput. Phys., vol. 212, pp. 383–392, 2006.
18. J. M. Stockie, K. Promislow, and B. R. Wetton, A Finite Volume Method for
Multicomponent Gas Transport in a Porous Fuel Cell Electrode, Int. J. Numer. Methods
Fluids, vol. 41, pp. 577–599, 2003.
19. A. Kumar and S. Mazumder, Coupled Solution of the Species Conservation Equations
using Unstructured Finite-Volume Method, Int. J. Numer. Methods Fluids, vol. 64,
pp. 409–442, 2010.
20. K. Böttcher, Numerical Solution of a Multi-Component Species Transport Problem
Combining Diffusion and Fluid Flow as Engineering Benchmark, Int. J. Heat Mass
Transfer, vol. 53, pp. 231–240, 2010.
21. E. Leonardi and C. Angeli, Transient Diffusion within Spherical Particles: Numerical
Resolution of the Maxwell–Stefan Formulation, Ind. Eng. Chem. Res., vol. 49, pp.
5654–5660, 2010.
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
APPENDIX A
The matrices used in the numerical experiments of Section 4.1 (the linear test
problem) are the following:
0 1 0 1
1 0:45 0:4 0:5 1 0:45 0:4 0:5
B 0:3 2 0:35 0:4 C B 0:3 2 0:35 0:4 C
B C B C
B C B C
@ 0:45 0:6 3 0:3 A @ 0:45 0:6 3 0:3 A
0:4 0:35 0:3 2 0:4 0:35 0:3 2
ð D1 Þ ð D2 Þ
0 1
1 0:2 0:05 0:16
B 0:05 1:6 0:16 0:17 C
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
B C
B C
@ 0:14 0:19 1:1 0:56 A
0:15 0:1 0:6 1:35
ð D3 Þ
0 1 0 1
1 0:232 0:118 0:065 1 0:43 0:19 0:265
B 0:105 1:232 0:039 0:101 C B 0:14 1:475 0:025 0:235 C
B C B C
B C B C
@ 0:039 0:013 1:236 0:087 A @ 0:105 0:07 1:475 0:19 A
0:184 0:078 0:109 1:285 0:085 0:245 0:27 1:17
ð D4 Þ ð D5 Þ
These matrices were generated based on the data presented in Ref. [1, 23, 24].
However, it must be mentioned that in Ref. [1, 23, 24], 4 4 Fick diffusion matrices
are not presented.
According to Ref. [1], they must be positive definite; this property was verified
according to the following sufficient procedure. For a 4 4 matrix D ¼ (Dij), we
know that D is positive definite if and only if [33]:
!
X
4 X
4 X4
1
1
2 2
hDx; xi ¼ Dij xj xi ¼ Dii xi þ xi xj Dij þ Dji þ Djj xj
i¼1 j¼1 i;j¼1; i <j
3 3
ðA2Þ
2 4
Dii > 0; Dij þ Dji Dii Djj < 0; 8i; j ¼ 1; . . . ; 4; i 6¼ j: ðA3Þ
9
PRECONDITIONED CONJUGATE GRADIENT AND MULTIGRID METHODS 1295
Remark 1. The idea to apply such a sufficient condition comes from the fact that
the Fick diffusion matrices for MCD real-life problems are ‘‘sufficiently’’ diagonally
dominant (see, e.g., Ref. [1]).
APPENDIX B
The values of the Stefan–Maxwell diffusion coefficients used for the numerical
experiments of Section 4.2 are:
– set B1:
D12 ¼ 0:22;
D13 ¼ 0:31;
D14 ¼ 0:25;
D15 ¼ 1:0;
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
D23 ¼ 0:35; D
24 ¼ 0:1; D25 ¼ 1:18;
D34 ¼ 0:43;
D35 ¼ 1:2;
D45 ¼ 1:3
– set B2:
D12 ¼ 6:326; D
13 ¼ 4:2523;
D14 ¼ 0:247;
D15 ¼ 1:0;
D23 ¼ 4:978; D24 ¼ 0:189;
D25 ¼ 5:178;
D34 ¼ 3:325;
D35 ¼ 1:27;
D45 ¼ 0:987
Dij ¼
Note that Dji ; i 6¼ j: The data presented in Refs. [1, 23, 24] were used for
the calculation of these values of the Stefan–Maxwell diffusion coefficients. How-
ever, it must be mentioned that in Refs. [1, 23, 24], 5 5 Stefan–Maxwell diffusion
matrices are not available.
APPENDIX C
Values of the Fick diffusion coefficients computed for different points of the
computational domain and parameters values:
Set B1
Z5b ¼ 1
0 1 0 1
1 0:657 0:548 0:629 0:518 0:128 0:106 0:125
B0 0:371 0 C B
0 C B 0:312 0:662 0:249 0:435 C
B C
B C B C
@0 0 0:493 0 A @ 0:108 0:103 0:668 0:098 A
0 0 0 0:419 0:203 0:287 0:158 0:534
ðx; yÞ 2 qX ðx; yÞ ¼ ð0:5; 0:5Þ
1296 G. JUNCU ET AL.
Z5b ¼ 10
0 10 1
1 0:272 0:193 0:257 0:871 0:098 0:069 0:094
B0 0:845 0 C B
0 C B 0:099 0:932 0:069 0:228 C
B C
B CB C
@0 0 0:952 0 A @ 0:016 0:015 1:01 0:014 A
0 0 0 0:941 0:052 0:124 0:034 0:901
ðx; yÞ 2 qX ðx; yÞ ¼ ð0:5; 0:5Þ
Set B2
Z5b ¼ 1
0 10 1
1 2:397 0:748 0:602 0:766 0:055 0:216 0:216
B0 5:695 0 0 C B 0:103 1:108 0:085 0:287 C
B CB C
Downloaded by [University of Bucharest ] at 07:38 11 August 2014
B CB C
@0 0 1:956 0 A @ 0:01 0:015 1:78 0:011 A
0 0 0 0:395 0:262 0:465 0:217 0:716
ðx; yÞ 2 qX ðx; yÞ ¼ ð0:5; 0:5Þ
Z5b ¼ 10
0 10 1
1 0:403 0:094 0:215 0:953 0:072 0:037 0:089
B0 5:265 0 C B
0 C B 0:0061 3:42 0:0023 0:12 C
B C
B CB C
@0 0 1:357 0 A @ 0:00091 0:0034 1:33 0:0009 A
0 0 0 0:776 0:051 0:253 0:019 0:879
ðx; yÞ 2 qX ðx; yÞ ¼ ð0:5; 0:5Þ