j8 CMAME DRD1
j8 CMAME DRD1
5
NORTH-HOLLAND
T.E. TEZDUYAR
Department of Mechanical Engineering, University of Houston, Houston, TX 77004, U.S.A.
Y.J. PARK
Department of Chemical Engineering, University of Houston, Houston, TX 77004, U.S. A.
1. Introduction
In this paper we investigate new stable and accurate finite element techniques for
steady-state coupled nonlinear convection-diffusion-reaction equation systems. Our intent is to
contribute to the computational analysis of electrophoresis separation phenomena as well as of
chemical reactor design and process control. Prediction of temperature and concentration
fields is of critical importance for the safe and economical operation of biochemical and
chemical engineering processes.
The set of equations governing the chemically reacting systems include coupling terms in
the form of Arrhenius kinetics expression. This expression involves the concentrations and an
exponential function of the temperature. Deans and Lapidus [2,3] and several other authors
[4-6,12-141 have modelled, numerically analyzed, and performed experiments on reactor
behaviors. They observed the steady-state multiplicity and the oscillatory behavior of the
continuous flow reactors. However, these models and numerical analyses are based on the
plug flow (i.e., uniform velocity profile) assumption. In real applications the flow velocity may
vary from one point to another both in magnitude and direction. Because of this, the
governing equations may vary in nature from convection-dominated to reaction-dominated. In
both extreme cases numerical treatment of the problem becomes a significant challenge.
For convection-dominated problems, especially in the presence of discontinuities,
*This research was sponsored by NASA under contract NAS-9-17380 and by NSF under grant NSF MEA-
8404810. We are grateful for the computing resources made available by the Aerosciences Branch of the NASA
Johnson Space Center. Y.J. Park was sponsored by the Laboratory for Enhanced Oil Recovery, University of
Houston.
(Bubnov-) Galerkin formulations may result in spurious oscillations causing in turn a severe
loss of accuracy and stability. Some Petrov-Galerkin formulations, such as the streamline-
upwind/Petrov-Galerkin (SUPG) formulation of Hughes and Brooks [7] and the sigma
weighting and transport weighting methods of Hughes et al. [S], produce to a great extent
accurate and oscillation-free solutions. However, these formulations do not preclude over-
shooting and undershooting along discontinuities. A recent “discontinuity-capturing term”
approach by Hughes et al. [9, lo] seems to result in a significantly better behavior along such
discontinuities.
Our Petrov-Galerkin formulation, similar to the schemes mentioned above, involves
weighting functions constructed by adding two perturbation terms to the functions which
would otherwise lead to a Galerkin formulation. The term which acts in the direction of the
convection is essentially a SUPG term and depends on the spatial discretization. The second
term, which acts in the direction of the gradient in the solution (temperature. concentrations,
etc.), depends on the spatial discretization and the magnitude of the “jump” in the solution
across an element in the direction of the gradient. It also depends on the cosine of the angle
between the velocity and the gradient vectors; this dependence is represented by a continuous
function which vanishes at the end points of its domain.
For reaction-dominated problems in the presence of sharp gradients due to high reaction
rates, one may again encounter spurious oscillations. This might happen as the velocity
at a point assumes or approaches the value zero. Our one-dimensional analysis shows that, by
adding a second-order term (with a coefficient depending on a dimensionless number
constructed from the reaction rate, convection speed, and the element length) to the
differential equation, one can minimize such oscillations. From this analysis one can determine
the coefficient of this second-order term, which leads to nodally exact solutions for one-
dimensional linear problems. It is important to note that the contribution of this second-order
term becomes significant only where the reaction rate is very high; the preservation of
accuracy elsewhere in the domain where the reaction rate is not as high is thus assured.
In Section 2 we introduce the differential equations and the boundary conditions for the
convection diffusion-reaction systems. The finite element discretization and the formulations
for the convection-dominated flows are given in Section 3. Section 4 describes the procedures
for the reaction-dominated problems. The numerical examples and the conclusions are
presented in Sections 5 and 6.
2. Problem statement
The governing equations are based on the total heat and the species material balance. For
the steady-state cases they are given as follows:
u*VCA -V*(tcA l
VCA) + k,CA exp(-E/(RT)) = 0, (2.4
ul l
VCB -V* (K~ VC’) - bk,CA exp(-E/(RT)) = 0. (2.3)
Here T= T(X) is the temperature, while C”(x) and C”(r) are the concentrations of the
reactant and the product for x E 0 C [Wnsd.The velocity field is represented by u = U(X) and
the diffusivity tensors for the temperature, reactant, and the product are denoted by
K ’ = K=(X), KA = KA(X), and KA = K’(X), respectively. The chemical reaction term, expres-
sed by the Arrhenius kinetics, is k, exp(- E/(W)), where k, is the reaction rate coefficient, E is
the activation energy, and R is the gas constant. The term pc, is the heat capacity per unit
volume and AH is the heat of reaction per mole of the reactant. The equations (2.1)-(2.3) can
be rewritten in the following form:
u.VSb’-V*(Ki~V~‘)+B’~2=0, i=l,...,ndof,
(2.4)
where
(2.5)
(AWPC,W~ exp(--EW4”))~
and ‘dof
is the number of degrees of freedom.
The boundary r of the domain f2 is assumed to be decomposed as follows:
(2.8)
0=r;,inr,i. (2.9)
The boundary is allowed to have both Dirichlet- and Neumann-type conditions given below,
respectively:
E(X) * d(x) l
V#‘(x) = h’(x) vx E r,i , i = 1, * * . , rzdof , (2.11)
310 T. E. Tezduyar. Y. J. Park, Discontinuity-capturing FE formulations
where n is the unit outward normal vector to the boundary while g’ and h’ are prescribed
functions. Our objective is to determine the unknown vector variable 4 = d(x) on fi which
satisfies (2.4), (2.10), and (2.11).
fizz fin’,
(3.1)
e=l
"4
“el
(3.3)
Let V’ and S’ denote the finite-dimensional subsets of H’(0) satisfying the following
conditions:
In this paper we assume that both subsets consists of the typical C” finite element interpolation
functions.
The discrete variational form of the problem is given as follows. Find 4’ E S’ such that for
all wi E Vi
“el
+C
e=l I
~~P’{u.vc#i-v-( d A’&) + I?‘$*} d0
where Pi is a C-’ perturbation to the weighting function wl. The Euler-Lagrange equations
corresponding to (3.6) may be obtained by integration-by-parts:
T. E. Tezduyar, Y. J. Park, Discontinuity-capturingFE formulations 311
+ w’[n * Ki l
v&] dr + w’{n * Ki +‘c#t - hi} dT = 0, i = 1, . . . , ndof ,
(3.7)
where [ ] is the “jump” operator.
Remarks
(1) Note that if Pi = 0, we have a (Bubnov-) Galerkin formulation; if Pi # 0, we have a
Petrov-GaZerkin formulation. The modified weighting function, that is
$1’ = wi+ pi ,
acts only in the element interiors and therefore is allowed to be discontinuous across element
boundaries.
(2) Various formulations for Pi, within the framework of streamline-upwind/Petrov-
Galerkin (SUPG), sigma weighting, and transport weighting have been tested in [7,8,15].
(3) The recent “discontinuity-capturing term” approach of Hughes et al. [9] adds another
component to wi, which results in a smooth but crisp representation of internal and boundary
layers.
(4) Brooks and Hughes [l] have shown that for rectangular elements the perturbation term
does not affect the weighting of the diffusion term, and for reasonable element shapes the
contribution is expected to be negligible.
N(d) = F , (3.8)
where d is the vector of (unknown) nodal values of 4, N is the left-hand-side nonlinear vector
function of d, and F is the right-hand-side constant vector. An incremental load Newton-
Raphson iteration scheme is used to solve (3.8).
We employ the following expression for the weighting function associated with the element
node a, degree of freedom i :
P, = $hsVN, , (3.10)
312 T.E. Tezduyar, Y.J. Park, I)iscontinuity-capturing FE formulations
Fi=(fnL ;:;;.
(3.11)
,
(3.13)
(“element length”) ,
Discontinuity capturing
To preclude overshooting and undershooting about sharp internal and boundary layers we
add a second perturbation term q’Qi to the weighting function. This term, which is similar to
the discontinuity-capturing term used in 191, is a function of the local velocity, the solution
gradient, and the spatial discretization. The selection procedure for Q6 and qi is described
below:
g’=V#/IlV&II (3.15)
(solution gradient unit vector) ,
Ugi = U ’ g’ (3.16)
rli=77(II~g’llM41)
=w - Il~,4+40(ll~,4lm4l) (3.19)
(parabolic coefficient) ,
Remarks
(1) Note that ~(~~~~l~/ll~~~)
vanishes at the end points of its domain; this is because we
T. E. Tezduyar, Y. J. Park, Discontinuity-capturingFE formulations 313
(3.21)
(3.22)
where 4; is a global scaling value for #‘. This scheme will be referred to as EC2.
(4) For even linear problems the EC1 and EC2 schemes also lead to nonlinear discrete
equations due to the dependence of the weighting function on the solution.
4. Reaction-dominated problems
For convection-reaction problems, as the flow velocity at a point in the flow field assumes or
approaches the value zero, the problem locally becomes reaction-dominated. Therefore, in the
presence of sharp gradients in the solution due to high reaction rates, one may encounter
spurious oscillations in the numerical solution. Similar numerical difficulties may be observed
in dif~sion-reaction problems as the diffusion rate becomes too low. In our effort to cure such
complications, we perform a one-dimensional analysis of the numerical schemes used. This
analysis is described in the sequel.
Consider the following linear convection-reaction equation with constant velocity u and
reaction rate B:
Sq,+U4,,=0* (4-l)
The exact solution of this problem takes the form:
314 T. E. Tezduyar. Y. J. Park, Discontinuity-capturing FE formulations
4 = epBxiu
. (4.2)
Assuming a discretization with constant element length h, the coordinate and the exact
solution at a mesh point j can be written as follows:
xi = hj , (4.3)
4i = eeZyi ,
(4.4)
where
y = $hBlu . (4.5)
Finite element discretization of (4.1) leads to the following equation for the jth node:
= 0,
(4.6)
where
y* = ;h(B + &)l(u + u) , (4.7)
6* = 2kl(h(u + 6)) . (4.8)
Here &, U, and K are the numerical contributions to the reaction rate, the convection velocity,
and the diffusivity, respectively. The stencils D,, D, , and D, are defined as follows:
The parameter Yin (4.9) is determined by the integration rule used for the element coefficient
matrix corresponding to the reaction term. The most common choices for r are given in Table
1.
We need to investigate the conditions under which (4.6) admits the exact solution (4.4).
Satisfaction of these conditions leads to nodally exact finite element solutions. Substitution of
(4.4) into (4.6) results in the following equation:
{y*D, + D, + 6*D2}E = 0 )
(4.12)
Table 1
r rule
Assuming that no_ numerical contribution to the reaction rate or the convection velocity is
introduced (i.e. B = 0, ZZ= 0), we get an expression for the nume~cal ~ont~bution to the
diffusion term which leads to nodally exact solutions. That is,
This expression for i is used to add a diffusion term for reaction-dominated problems. We will
call this the DRD term.
We generalize this concept to multi dimensions by defining a numerical diffusivity tensor as
follows:
while s and h are given by (3.12) and (3.13). The unit vectors t and u are orthogonal to s and
each other. Note that for a purely one-dimensional problem, since only the gradient in the
s-direction is nonzero, there will be no contribution due to the # and uu terms. Similarly, for a
two-dimensional problem, if we choose u to be orthogonal to our two-dimensional space, then
there will be no contribution due to the uu term.
Note that as B+O, y+O and K+O, while as U-0, y-a and I?+4rI3(4!~)~. A similar
analysis is presented in Appendix A for the one-dimensional linear di~sion-reaction
equation.
We now search for a Petrov-Galerkin method which produces the same effect for the
one-dimensional problems. Select a weighting function of the form
where p is the parameter to be determined resulting in nodally exact solutions. Finite element
discretization of (4.1) with the weighting function defined as above leads again to (4.12) with
y * and S * given as:
(4.21)
and
(4.22)
316 T. E. Tezduyar. Y. J. Park. Discontinuity-capturing FE formulations
From (4.14), (4.19), and (4.20) we obtain an expression for p which produces nodally exact
solutions. That is
Note that as B-0, y-0 and p +O, while as u-0, y-+m and p+4r.
5. Numerical examples
All examples were run in double precision on a VAX 8600 with 32-bit single-precision word.
We tested and compared the following methods: For convection-dominated problems:
(a) streamline-upwind/Petrov-Galerkin (SUPG);
(b) SUPG with discontinuity-capturing type 1 (SUPG + ECl) (see Section 3);
(c) SUPG with discontinuity-capturing type 2 (SUPG + EC2) (see Section 3).
For convection-reaction problems:
(a) SUPG;
(b) SUPG with diffusion for reaction-dominated regions (SUPG + DRD) (see Section 4).
5.1. Convection of a single component in a flow field skew to the mesh with downwind essential
boundary condition
Remark
In our EC2 scheme, for this set of problems, we used a scaling parameter of 1 (i.e.,
4” = &n,, - &,,in = 1). In all three cases, the EC1 and EC2 terms are expected to have a
T. E. Tezduyar, Y. J. Park, Discontinuiry-capturingFE formulations 317
EXRCT SUPG
Fig. 1. Convection of a single component in a flow field skew to the mesh: u,Iu, = 2.
EXFICT
SUPG
Fig. 2. Convection of a single component in a flow field skew to the mesh: uJuI = 1.
318 T. E. Tezduyar, Y. J. Park, Discontinuity-cupluring FE formulations
Fig. 3. Convection of a single component in a flow field skew to the mesh: uzlu, = 4.
significant effect only at the sharp boundary layers. Across the elements where these boundary
layers are located, in a direction normal to the discontinuity, we have a unit jump (@,,, -
(Pmin= 1) in the solution. Therefore, it is normal that the EC1 and EC2 schemes result in very
similar solutions.
EXACT SUPG
ECl, and EC2 schemes are all almost identical to the exact solution with nearly no amplitude
decay. For this problem, classical upwind differences result in a 70 percent amplitude decay
due to excessive crosswind diffusion [8].
Remark
In this problem the velocity vector is perpendicular (nearly perpendicular in a discrete sense)
to the gradient in the solution. As I]u~]]/]/u]] app roaches zero, because of (3.19)) the EC
contribution to the weighting function vanishes. This is why the SUPG, ECl, and EC2 schemes
produce almost identical solutions. In fact, as I]ug ]I/ I(u I]--, 0,
and
320 T. E. Tezduyar. Y. J. Park, Discontinuity-capturing FE formulations
For these problems, we neglect the diffusion terms in (2.4). From (2.4) we can write an
equation relating CB to CA, that is
Therefore one needs to solve only one of the equations for the concentrations. The velocity is
assumed to have a parabolic profile as follows:
Figure 5(a) shows the 40 by 20 rectangular nonuniform finite element mesh used for these
problems. We tested our formulations on the following two specific problems.
CA = Ci exp(-B2x,lu,), (5.5)
Table 2
Data used for the linear and nonlinear problems.
Linear Nonlinear
EXACT
SUPG
SUPG + DRD
CA=1 amax,=
aTtax,=
, acA/ax2=o
.O Xl 1’.o
Fig. 5. Finite element mesh and boundary conditions Fig. 6. Linear convection reaction for a single-compo-
for the ~nvection-reaction problems. (a} Finite ele- nent system.
ment mesh. (b) Boundary conditions for the single-
component problem. (c) Boundary conditions for the
two-component problem.
322 T. E. Tezduyar, Y. J. Park, Discontinuity-capturing FE formulations
EXifCT EXACT
SUPG SUPG
6. Conclusions
Appendix A. Analysis of the finite element discretization for the one-dimensional diffusion-
reaction equation
Consider the following linear diffusion-reaction equation with constant diffusion coefficient
K and reaction rate B:
B4 = ‘d’,,, . (A4
The exact solution for this equation takes the form:
4=ekxm. (A.2)
Assuming a discretization with constant element length h, the coordinate and the exact
solution at node i can be written as follows:
324 T. E. Tezduyar. Y. J. Park. Discontinuity-capturing FE formulations
xi = hj , (A.3)
+j = ek2Bj ’ G4.4)
where
p2 = (B/K)( ih)2 . (A.9
Assuming that no numerical reaction rate is introduced (i.e. B = 0), we get an expression for
the numerical diffusion term which leads to nodally exact solutions:
References
[l] A.N. Brooks and T.J.R. Hughes, Streamline upwind/Petrov-Galerkin formulations for convection dominated
flows with particular emphasis on the incompressible Navier-Stokes equations, Comput. Meths. Appl. Mech.
Engrg. 32 (1982) 199-2.59.
[2] H.A. Deans and L. Lapidus, A computational model for predicting and correlating the behavior of fixed bed
reactors: I. Derivation of model for nonreactive systems, AIChEJ. (1960) 656-663.
[3] H.A. Deans and L. Lapidus, A computational model for predicting and correlating the behavior of fixed-bed
reactors: II. Extension to chemically reactive systems, AIChEJ. (1960) 663-668.
[4] B.A. Finlayson, Packed bed reactor analysis by orthogonal collection, Chem. Engrg. Sci. 26 (1971)
1082-1091.
[S] G.F. Fromont and K.B. Bischoff, Chemical Reactor Analysis and Design (Wiley, New York, 1979).
[6] R.F. Heinemann and A.B. Poore, Multiplicity, stability, and oscillatory dynamics of the tubular reactor,
Chem. Engrg. Sci. 36 (1981) 1411-1419.
[7] T.J.R. Hughes and A.N. Brooks, A theoretical framework for Petrov-Galerkin methods with discontinuous
weighting functions: Application to the streamline upwind procedure, in: R.H. Gallagher, eds. D.N. Norrie.
J.T. Oden and O.C. Zienkiewicz, Finite Elements in Fluids (Wiley, London, 1982) 46-65.
[8] T.J.R. Hughes, M. Mallet, Y. Taki, T. Tezduyar and R. Zanutta, A one-dimensional shock capturing finite
element method and multi-dimensional generalizations, in: F. Angrand, A. Dervieux, J.A. Desideri and R.
Glowinski, eds., Numerical Methods for the Euler Equations of Fluid Dynamics (SIAM, Philadelphia, PA.
1985) 371-408.
T. E. Tezduyar, Y. J. Park, Discontinuity-capuring FE formulations 325
[9] T.J.R. Hughes, M. Mallet and A. Mizukami, A new finite element formulation for computational fluid
dynamics: II. Beyond SUPG, Comput. Meths. Appl. Mech. Engrg. 54 (1986) 341-355.
[lo] T.J.R. Hughes, M. Mallet and L. Franca, New finite element methods for the compressible Euler equations,
in: R. Glowinski and J.L. Lions, eds., Computing Methods in Applied Sciences and Engineerings VII
(North-Holland, Amsterdam, 1986).
[ll] T.J.R. Hughes and A. Brooks, A multidimensional upwind scheme with no crosswind diffusion, in: T.J.R.
Hughes, ed., Finite Element Methods for Convection Dominated Flows (ASME, New York, 1979) 19-35.
[12] K.F. Jensen and W.H. Ray, The bifurcation behavior of tubular reactors, Chem. Engrg. Sci. 37 (2) (1982)
199-222.
[13] R. Mihail and C. Iordache, Performances of some numerical techniques used for simulation of fixed bed
catalystic reactors, Chem: Engrg. Sci. 31 (1976) 83-86.
[14] V. Pinjala, Wrong-way behavior in fixed-bed catalystic reactors: Pseudo-homogeneous dispersion model,
Ph.D. Thesis, Chemical Engineering Department, University of Houston, Houston, TX, 1985.
[15] T.E. Tezduyar and T.J.R. Hughes, Finite element formulations for convection dominated flows with
particular emphasis on the compressible Euler equations in: Proceedings AIAA 21st Aerospace Sciences
Meeting, AIAA Paper 83-0125, Reno, NV, 1983.