A. Miranville and A.C. Mureṣan, The uncentered type incremental unknowns for a singularly perturbed bilocal problem, Rev. Anal. Numer. Theor. Approx., 29 (2000) 2, 161-171
THE UNCENTERED TYPE INCREMENTAL UNKNOWNS FOR A SINGULARLY PERTURBED BILOCAL PROBLEM
A. MIRANVILLE, A. C. MUREŞAN
Abstract
We propose some incremental unknowns which to be adopted for a singularly perturbed boundary value problem.
1. INTRODUCTION
We consider the singularly perturbed boundary value problem:
{:(P1){[-epsiu^('')(x)+a(x)u^(')(x)=f(x)","" for "x in(0","1)],[u(0)=u(1)=0]:}:}\left\{\begin{array}{c}
-\varepsilon u^{\prime \prime}(x)+a(x) u^{\prime}(x)=f(x), \text { for } x \in(0,1) \tag{P1}\\
u(0)=u(1)=0
\end{array}\right.
where epsi\varepsilon is a small positive parameter, a(x) > 0a(x)>0 for all x in[0,1]x \in[0,1], and the functions aa and ff are sufficiently smooth. The solution of (P1) has a boundary layer at x=1x=1.
It has long been recognized that difficulties can arise when certain "centered" finite-difference and finite-element methods are applied to (P1) when the diffusion coefficient epsi\varepsilon is small. In particular, such schemes when applied to (P1) on a uniform grid have an inherent formal cell Reynolds number limitation. Namely, with a uniform mesh length hh and a(x)a(x) constant, one finds that the cell Reynolds number (ah)/(epsi)\frac{a h}{\varepsilon} must be bounded by some constant depending on the scheme in order to avoid spurious oscillations or gross inaccuracies. For small epsi\varepsilon this requires a prohibitive number of grid points and so alternative approaches have been developed. One approach is to use a nonuniform mesh (which must be appropriately chosen) which is very fine "in the boundary layer" and coarser elsewhere. Another approach has been to devise schemes which have no formal cell Reynolds number limitation. Schemes of this type have been constructed by using uncentered ("upwind") differencing for the first derivative term, or, more generally, by adding an "artificial viscosity" to the diffusion coefficient epsi\varepsilon, e.g., [10].
When the discretization is made by finite differences, Temam introduced in [11] the concept of Incremental Unknowns (IU in short). The idea, which stems from dynamical systems approach, consists in writing the approximate solution u_(i)u_{i} in the form u_(i)=y_(i)+z_(i)u_{i}=y_{i}+z_{i}, where zz is a small increment. Passing from the nodal unknowns u_(i)u_{i} to the IUs (y_(i),z_(i))\left(y_{i}, z_{i}\right) amounts to a linear change of variables, that is to say, in the language of linear algebra, to the construction of a preconditioner. Many numerical simulations have shown the efficiency of such induced preconditioners.
Numerical solution of a problem such as (P1) using Incremental Unknowns has been considered in [6] and [7] but the IU's that have been used in these articles were connected to the Laplacian only: they were induced only by the discretization matrix of the Laplacian.
In [3], the authors propose a construction of IUs that are more adapted to the problem in the sense that they take into account the convection term in the construction of the IUs, thus leading to the use of an adapted interpolator and of a hierarchichal preconditioner.
We propose in this paper a different approach for the construction of adapted incremental unknowns for (P1): we first make a change of variable (assuming that there exists a grid function, see below) and then discretize the problem. This change of variable allows us to work on a uniform grid, which makes the calculations (in particular via Taylor's expansions) easier; the effects of the grid will then be on the coefficients of the differential operators.
2. THE METHOD
Let g:[0,1]rarr[0,1]g:[0,1] \rightarrow[0,1] such that g(0)=0,g(1)=1,EEg^(')(y)g(0)=0, g(1)=1, \exists g^{\prime}(y) for all x in[0,1]x \in[0,1] and 0 < J(y):=g^(')(y) < M,AA y in(0,1)0<J(y):=g^{\prime}(y)<M, \forall y \in(0,1). Furthermore, in order to obtain a finer resolution near the boundary layer, we assume that J(1)=0J(1)=0.
With the change of variable x=g(y)x=g(y) we obtain from (P1), the following problem:
Let phi(y)=(1)/(J(y))v^(')(y)\phi(y)=\frac{1}{J(y)} v^{\prime}(y). By integration of this equation we obtain:
int_(y)^(y+h)v^(')(s)ds=int_(y)^(y+h)J(s)phi(s)ds" and "int_(y-h)^(y)v^(')(s)ds=int_(y-h)^(y)J(s)phi(s)ds\int_{y}^{y+h} v^{\prime}(s) \mathrm{d} s=\int_{y}^{y+h} J(s) \phi(s) \mathrm{d} s \text { and } \int_{y-h}^{y} v^{\prime}(s) \mathrm{d} s=\int_{y-h}^{y} J(s) \phi(s) \mathrm{d} s
which can also be written,
{:[(1)v(y+h)-v(y)=int_(y)^(y+h)J(s)phi(s)ds" and "],[v(y)-v(y-h)=int_(y-h)^(y)J(s)phi(s)ds]:}\begin{gather*}
v(y+h)-v(y)=\int_{y}^{y+h} J(s) \phi(s) \mathrm{d} s \text { and } \tag{1}\\
v(y)-v(y-h)=\int_{y-h}^{y} J(s) \phi(s) \mathrm{d} s
\end{gather*}
Let us consider the Taylor expansion of the function phi\phi :
{:[(2)phi(s)=phi(y)+(s-y)phi^(')(y)+(1)/(2)(s-y)^(2)phi^('')(y+theta^(+)(s-y))],[y <= s <= y+h","0 < theta^(+) < 1]:}\begin{gather*}
\phi(s)=\phi(y)+(s-y) \phi^{\prime}(y)+\frac{1}{2}(s-y)^{2} \phi^{\prime \prime}\left(y+\theta^{+}(s-y)\right) \tag{2}\\
y \leq s \leq y+h, 0<\theta^{+}<1
\end{gather*}
phi(s)=phi(y)+(s-y)int_(y)^(y+h)J(s)dsphi^(')(y)+(1)/(2)(s-y)^(2)phi^('')(y+theta^(-)(s-y))\phi(s)=\phi(y)+(s-y) \int_{y}^{y+h} J(s) \mathrm{d} s \phi^{\prime}(y)+\frac{1}{2}(s-y)^{2} \phi^{\prime \prime}\left(y+\theta^{-}(s-y)\right),
{:(3)y-h <= s <= y","0 < theta^(-) < 1.:}\begin{equation*}
y-h \leq s \leq y, 0<\theta^{-}<1 . \tag{3}
\end{equation*}
Injecting these expressions of phi\phi in (1), we find from (2) and (3):
Let h=(1)/(2N)h=\frac{1}{2 N}, and for j=0,1,2,dots,2N,y_(j)=jhj=0,1,2, \ldots, 2 N, y_{j}=j h. For y=y_(j)y=y_{j} in (1) we have for j=1,dots,2N-1j=1, \ldots, 2 N-1 :
where in general f_(j)=f(y_(j))f_{j}=f\left(y_{j}\right).
Since v(y_(j)):=u(g(y_(j)))=u(x_(j))v\left(y_{j}\right):=u\left(g\left(y_{j}\right)\right)=u\left(x_{j}\right), for j=0,1,dots,2Nj=0,1, \ldots, 2 N, we can write (7):
Remark 1. If g(y):=yg(y):=y then we obtain the classical upwind scheme.
Let alpha_(j)=(epsia_(j)^(-)(x_(j+1)-x_(j-1)))/(2r_(j)J_(j))\alpha_{j}=\frac{\varepsilon a_{j}^{-}\left(x_{j+1}-x_{j-1}\right)}{2 r_{j} J_{j}} and beta_(j)=((a_(j))/(a_(j)^(-))-(epsia_(j)^(+))/(r_(j)J_(j)))((x_(j+1)-x_(j-1)))/(2)\beta_{j}=\left(\frac{a_{j}}{a_{j}^{-}}-\frac{\varepsilon a_{j}^{+}}{r_{j} J_{j}}\right) \frac{\left(x_{j+1}-x_{j-1}\right)}{2} for j=1,dots,2N-1j=1, \ldots, 2 N-1. We obtain a finite dimensional linear system which can be written as
{:[(9)beta_(j)(u_(j)-u_(j-1))+alpha_(j)(u_(j)-u_(j+1))=(x_(j+1)-x_(j-1))/(2)f_(j)","" for "],[j=1","dots","2N-1.]:}\begin{gather*}
\beta_{j}\left(u_{j}-u_{j-1}\right)+\alpha_{j}\left(u_{j}-u_{j+1}\right)=\frac{x_{j+1}-x_{j-1}}{2} f_{j}, \text { for } \tag{9}\\
j=1, \ldots, 2 N-1 .
\end{gather*}
By using trapezoidal rule:
int_(y_(j))^(y_(j+1))g(s)ds≃h(g(y_(j))+g(y_(j+1)))/(2)=h(x_(j)+x_(j+1))/(2)\int_{y_{j}}^{y_{j+1}} g(s) \mathrm{d} s \simeq h \frac{g\left(y_{j}\right)+g\left(y_{j+1}\right)}{2}=h \frac{x_{j}+x_{j+1}}{2}
As usual when an IU method is implemented, two different kinds of unknowns must be distinguished: those associated with the coarse grid components which are on G_(c)G_{c}, and whose indices are even and those associated with the complementary points (odd indices) which are on G_(f)\\G_(c)G_{f} \backslash G_{c};
: points in G_(c),0G_{c}, 0 : points in G_(f)\\G_(c)G_{f} \backslash G_{c}.
If we write the system at the complementary points, we obtain
We note that u_(2i+1)u_{2 i+1} is expressed as the sum of a convex combination of u_(2i)u_{2 i} and u_(2i+2)u_{2 i+2}, which is nothing but a bilinear interpolation scheme, and a correction term whose order is connected to the order of the interpolation scheme. If we set
so that these values are now explicit. The incremental unknowns for this problem consist of the numbers y_(2i)=u_(2i),i=0,dots,Ny_{2 i}=u_{2 i}, i=0, \ldots, N, and, at the points 2i+12 i+1, the numbers z_(2i+1)z_{2 i+1}.
At j=2i,i=1,dots,N-1j=2 i, i=1, \ldots, N-1 (9) using (10) and (11) becomes:
Since the recurrence conditions are satisfied, we can obviously repeat recursively the process described above using d+1d+1 embedded grids, that is to say using dd levels of IUs.
From the point of view of the matriceal framework, this construction can be summarized by the determination of two matrices S and ^(t)T{ }^{t} \mathrm{~T} under and upper triangular respectively such that
^(t){ }^{t} TAS
is bloc diagonal, A being the discretization matrix.
We first consider two grid levels. The discretization matrix A written with the hierarchical ordering (considering first the coarse grisd unknowns
and then the complementary ones) in the form
We note that since the linear system is non-symmetrical, these IUs lead to a non-symmetrical hierarchical preconditioner.
The first diagonal block of hat(A)\hat{A} is still tridiagonal and we can and we can repeat recursively the reduction procedure described above by using dd levels of IUs.
These U1-IUs are Uncentered Incremental Unknowns defined in [3].
2) g^(')(y_(j))≃(g(y_(j+1))-g(y_(j)))/(h)=(x_(j+1)-x_(j))/(h)g^{\prime}\left(y_{j}\right) \simeq \frac{g\left(y_{j+1}\right)-g\left(y_{j}\right)}{h}=\frac{x_{j+1}-x_{j}}{h} then,
where Delta x=max_(j in{0,dots,2N-1})(x_(j+1)-x_(j))\Delta x=\underset{j \in\{0, \ldots, 2 N-1\}}{\max }\left(x_{j+1}-x_{j}\right) and CC is a constant independent of the mesh.
Using (13) and this result we can obtain a priori estimates for U3-IUs.
The numerical example.
We consider the following problem:
{:[-epsiu^('')(x)+u^(')(x)=1","" for "x in(0","1)],[u(0)=u(1)=0]:}\begin{gathered}
-\varepsilon u^{\prime \prime}(x)+u^{\prime}(x)=1, \text { for } x \in(0,1) \\
u(0)=u(1)=0
\end{gathered}
which have the exact solution u(x)=(exp((x)/( epsi))-exp((1)/(epsi)))/(1-exp((1)/(epsi)))+x-1u(x)=\frac{\exp \left(\frac{x}{\varepsilon}\right)-\exp \left(\frac{1}{\varepsilon}\right)}{1-\exp \left(\frac{1}{\varepsilon}\right)}+x-1.
We make the change of variable by using function g(y)=1-(1-y)^(p+1)g(y)=1-(1-y)^{p+1} and we consider p=2,h=(1)/(2^(N))p=2, h=\frac{1}{2^{N}} and epsi=0,0001\varepsilon=0,0001. We have in the following table the spectral condition number of the matrix hat(A)^(d)\hat{\mathrm{A}}^{d} obtained by using dd levels of IUs.
Fig. 1.
Fig. 2.
Condition number of the matrix hat(A)^(d)\hat{\mathrm{A}}^{d} using
U1-IUs respective U2-IUs.
In Fig. 1 the exact solution and the approximate solution, in the first case is presented ( N=4N=4 ).
In Fig. 2 the exact solution and the approximate solution, in the second case, is presented ( N=4N=4 ).
We remark that the results obtained by two different methods are very close.
REFERENCES
[1] CHEBAB, J. P., A Nonlinear Adaptive Multiresolution Method in Finite Differences with Incremental Unknowns, Modelisation Mathematiques et Analyse Numérique ( M^(2)AN\mathrm{M}^{2} \mathrm{AN} ), 29, no. 4, pp. 451-475, 1995.
[2] CHEBAB, J. P., Solution of Generalized Stokes Problem Using Hierarchical Methods and Incremental Unknowns, Appl. Numer. Math., 21, pp. 9-42, 1996.
[3] CHEBAB, J. P., MIRANVILLE, A., Incremental Unknowns on Nonuniform Mesches, Modelisation Mathematiques et Analyse Numerique ( M^(2)\mathrm{M}^{2} AN), 32, no. 5, pp. 539-577, 1998.
[4] CHEBAB, J. P., MIRANVILLE, A., Induced Hierarchical Preconditioners: The Finite Difference Case, Publication ANO-371, 1997.
[5] CHEN, M., TEMAM, R., Incremental Unknowns for Solving Partial Differential Equations, Numer. Math., 59, pp. 255-271, 1991.
[6] CHEN, M., TEMAM, R., Incremental Unknowns in Finite Differences: Condition Number of the Matrix, SIAM J. on Matrix Analysis and Applications (SIMAX), 14, no. 2, pp. 432-455, 1993.
[7] CHEN, M., TEMAM, R., Incremental Unknowns for Solving Convection-Diffusion Equations, 1993.
[8] CHEN, M., MIRANVILLE, A., TEMAM, R., Incremental Unknowns in Finite Differences in Space Dimension 3, Computational and Applied Mathematics, 14, no. 3, pp. 219-252, 1995.
[9] GARCIA, S., Thèse de 1'Université de Paris XI, Orsay, 1992.
[10] HEMKER, P. W., A Numerical Study of Stiff Two-Point Boundary Problems, Amsterdam. 1977.
[11] MUSTĂTA, C., MUREŞAN, A., MUSTĂTA, R., Approximation by Spline Functions of the Solution of a Singularly Perturbed Bilocal Problem, Revue d'Anal. Numér. et de Théorie de 1'Approx., 27, no. 2, pp. 297-308, 1998.
[12] TEMAM, R., Inertial Manifolds and Multigrid Methods, SIAM J. Math. Anal., 21, no. 1, pp. 154-178, 1990.
Received February 22, 2000
Université de Poitiers Département de Mathématiques 40, avenue du Reatour Pinean 86022 Poitiers Cedex, FranceE-mail: miranv@walles.univ-poitiers.fr"T. Popoviciu" Institute of Numerical Analysis P.O. Box 68 3400 Cluj-Napoca, RomaniaE-mail: amuresan@ictp-acad.ubbcluj.ro