A robust layer-resolving spline collocation method for a convection–diffusion problem

https://doi.org/10.1016/j.amc.2008.11.011Get rights and content

Abstract

We consider finite difference approximation of a singularly perturbed one-dimensional convection–diffusion two-point boundary value problem. The problem is numerically treated by a quadratic spline collocation method on a piecewise uniform slightly modified Shishkin mesh. The position of collocation points is chosen so that the obtained scheme satisfies the discrete minimum principle. We prove pointwise convergence of order O(N-2ln2N) inside the boundary layer and second order convergence elsewhere. The uniform convergence of the approximate continual solution is also given. Further, we approximate normalized flux and give estimates of the error at the mesh points and between them. The numerical experiments presented in the paper confirm our theoretical results.

Introduction

Differential equations with a small parameter multiplying the highest order derivatives are called singularly perturbed differential equations. They arise in modeling numerous processes in nature, e.g. in fluid and gas dynamics, semi-conductor modeling, aerodynamics, modeling of water and atmospheric pollution, financial modeling, etc. Their solutions are characterized by the presence of boundary layers, i.e. regions where the solution and its derivatives change rapidly. In general, classical numerical methods fail to catch those rapid changes of the solution which makes them inappropriate for singularly perturbed problems. In order to overcome this, one may use the so-called ε-uniform methods in the sense of the following definition, see [5].

Definition 1.1

Let uε be the solution of a singularly perturbed problem and let UεN be a numerical approximation of u obtained by a numerical method with N degrees of freedom. The numerical method is said to be ε-uniformly convergent with the respect to the perturbation parameter ε in the norm · if:uε-UεNϑ(N)forNN0with a function ϑ and a threshold value N0>0 that are both independent of ε andlimNϑ(N)=0.

A variety of ε-uniformly convergent numerical methods have been proposed and analyzed in the literature, see [4], [5], [7], [8], [9]. Here we focus our attention on the construction of the so-called robust layer-resolving ε-uniformly convergent numerical method, since such methods are often needed in real applications. According to Farrell et al. [3], a numerical method is layer-resolving if at each point of the solution domain generates numerical approximations of the exact solution and its derivatives for all values of the singular perturbation parameter from finite to arbitrarily small values. Also, numerical approximations are said to be robust if they inherit the stability properties of the exact solution by preserving the monotonicity of the original problem.

We consider the following singularly perturbed convection–diffusion model problem:Lyεy+a(x)y-b(x)y=f(x),xΩ=(0,1),y(0)=γ0,y(1)=γ1,where 0<ε1 is a small parameter. The functions a, b and f are assumed to be sufficiently smooth and to satisfy the conditions:a(x)a>0,b(x)β>0forx[0,1].The differential operator L satisfies the following minimum principle on Ω.

Theorem 1.1 Minimum Principle

Assume that φ(0)0 and φ(1)0, for any function φC2(Ω¯). Then Lφ(x)0 for all xΩ implies that φ(x)0 for all xΩ¯.

The numerical method constructed in this paper is based on difference scheme which is obtained by

  • Quadratic spline function as an approximation function in the collocation process.

  • Layer-adapted Shishkin mesh.

The spline function has its first derivative continuous at the layer region, but outside the layer first derivative may have discontinuities. Nonetheless, the obtained method is robust and ε-uniformly convergent in the sense of the above definitions.

In [15], the problem (1) is treated by the spline collocation method as well, but only in case b(x)=0. The quadratic spline function and the Shishkin mesh are also used for the construction of the numerical method, but the collocation points are placed in the standard way – in the middle between the mesh points. The obtained method is non-monotone and therefore the uniform convergence at the mesh points is proved using Green’s grid function.

In this paper the collocation points are moved in order to obtain the validity of the discrete minimum principle which enables application of the barrier functions technique. The proof of the uniform convergence is much simpler than the proof from Teofanov and Uzelac [15], and the case b(x)0 is involved. Moreover, the more precise estimate of the error outside the boundary layer is obtained.

A family of inverse monotone schemes is examined in [1] for a convection–diffusion problem in conservation form. On the piecewise uniform Shishkin mesh, the error of order:O(N-2ln2N)is proved. The error bound of the same order is derived in [2] for a modified version of Samarskii˘’s monotone scheme on a Shishkin mesh. The combination of central differencing on the fine part of the Shishkin mesh and midpoint upwind approximation on the coarse mesh is the basis for the methods of Stynes and Roos [10] and Stynes and Tobiska [11]. The obtained methods are also inverse monotone and the error of order (2) is proved in the case of b(x)=0. In the convergence analysis given in [1], [2], [11] and also in [15], Green’s grid function and (·,d,·1,d) stability result is used. We conjecture that this technique can also be applied in the case of spline difference scheme derived in the present paper. However, here we use (·,d,·,d) stability which is sufficient to obtain the error estimate of order (2).

The main virtue of the collocation method examined in the present paper lies in the possibility of simple and direct constructing of a continuous approximate solution and normalized flux between the mesh points.

The idea of moving collocation points in order to achieve inverse monotonicity is exploited in [14] for the first time for a two parameter singularly perturbed problem. The uniform pointwise convergence is proved in [14] but not for the case considered in the present paper.

A piecewise uniform Shishkin mesh is used as the basis for our discretization because of its simple structure. Performances of Shishkin meshes are in general inferior to those of smoother Bakhvalov meshes. On Bakhvalov meshes the logarithmic factor in the error estimate disappear. Therefore these meshes yield a higher rate convergence, but they are more complicated to construct and analyze.

The paper is organized as follows. In Section 2, we recall the decomposition of the problem (1) and its properties and give the construction of Shishkin mesh and derivation of the spline difference scheme. Section 3 is devoted to the construction of the barrier function for the boundary layer function. In Section 4, we prove the uniform pointwise convergence of the method. Section 5 is devoted to the proof of the uniform pointwise convergence of the normalized flux, while Section 6 contains the proof of uniform convergence of the normalized flux between the mesh points on a slightly modified Shishkin mesh. In Section 7, we give the convergence result for the continual solution. Finally, the numerical results are presented in Section 8.

Throughout the paper C is a generic positive constant independent of the parameter ε and the number of mesh points.

Section snippets

Properties of the exact solution and derivation of the spline difference scheme

For the construction of a layer-adapted mesh as well as for the analysis of the error we need information about the behavior of derivatives of the exact solution. We use solution decompositions and related estimates for the components and their derivatives from Roos et al. [9].

Lemma 2.1 S-decomposition

Let q be some positive integer. The solution y of the problem (1) can be decomposed asy=v+w,where the smooth part v satisfiesLv=f,|v(k)(x)|C,for0kq,while the layer part w satisfiesLw=0,|w(k)(x)|Cε-ke-axεfor 0kq.

Construction of the barrier function

In our error analysis we split numerical solution u according to the decomposition of the exact solution given by Lemma 2.1:u=V+W,whereLNVi=fi,i=1,,N-1,V0=v(0),VN=v(1),LNWi=0,i=1,,N-1,W0=w(0),WN=w(1).We prove that the function:ψi=j=1i(1+θhj)-1,ψ0=C,θ=a2ε,can be used as barrier function for the boundary layer term W, i.e.,|Wi|ψi,i=0,1,,N.Namely, we will show that there exist α1 and α2 such that the matrix of the system (14) has L-form and such that (17) holds.

We consider the function:ϕi=ψi±

Uniform convergence at the mesh points

We start with the analysis of the singular component of the error. We will use the decomposition of the exact solution given in Lemma 2.1 and the decomposition of the numerical solution given by (15).

Let us consider the interval [σ,1] and estimate the error |w(xi0)-Wi0| for i0=N/2.

According to (16), (17), we have:Wi0C(1+θH0)-N/2,where H0=2σ/N=8εN-1lnN/a. Since θ=a/(2ε) we obtain:|Wi0|C(1+4N-1lnN)-N/2.Using the standard inequality ln(1+t)>t(1-t/2), with t=4N-1lnN we obtain:(1+4N-1lnN)-N/2CN-

Convergence of normalized flux at mesh points

We compute the approximation of the normalized flux εui=εu(xi) by (11) or (13). The error of the approximation:εzi=εy(xi)-εuiis obtained using the following expressions:zi=(zi+1-zi)Qi+hi+12bi+zi+R2i+hi+12hi+1Pi,i=0,,N-1,zi=2hi(zi-zi-1)-(zi-zi-1)Ωi+hi2bi+zi-1+R2i-hi2hiDi+R1i-,i=1,,N,whereR2i+=-ai+hi+122(1-α2)2y(γ1i)+bi+hi+133!(1-α2)3y(γ0i)-hi+13!Qiy(ζ0i)-ε(1-α2)hi+1y(γ2i),R2i-=-ai-hi22(1-α1)2y(γ1,i-1)+bi-hi33!(1-α1)3y(γ0,i-1)-hi3!Ωiy(ζ0,i-1)-ε(1-α1)hiy(γ2,i-1),R1i-=-hi23y(ζ0,i-1

Convergence of normalized flux between mesh points

We compute the approximation of normalized flux εu from:ui(x)=ui+(x-xi)ui,xixxi+1,i=0,1,,N-1,where ui is obtained by (11) or (13), and ui by (10). Then uC[0,xi0], and for x[xi0,1], we have that u is a piecewise continuous function.

The error of the approximation zi(x)=y(x)-ui(x) is obtained usingzi(x)=zi+(x-xi)zi+(x-xi)22y(ξi),xiξixi+1,i=0,1,,N-1,where zi is given by (35) or (36), andzi=zi+1-zihi+1-hi+12y(ζ1i).For the approximation between the mesh points we use a

Convergence of the continual solution

We approximate y by the quadratic spline u given by (4). For error estimate we use the function z=y-u and we have:z(x)=zi+(x-xi)zi+(x-xi)22zi+(x-xi)33!y(ξi),xixxi+1,xiξixi+1.For 0xxi0, we have:|z(x)|CN-2ln2N,since x-xihi+1=H0.

For xi0xxi0+1, we have two cases:

  • (a)

    Let H1h˜. In that case, using Theorem 6.2, we obtain:(x-xi)|zi|C2a-1εNεN-2CN-1and from (41), (44), we have:(x-xi)2|zi|Chi+1h˜εziCN-1+1hi+1R2(xi0,xi0+1,w)CN-1.Also, we have:(x-xi)33!y(ξi)|R2(xi0,xi0+1,y)CN-2.From

Numerical experiments

We present numerical results for the test problem:εy(x)+(1+x)y(x)-y(x)=f(x,ε),x(0,1),y(0)=y(1)=0.where the right-hand side f(x,ε) is determined by the exact solution y given byy(x)=1-e-xε1-e-1ε-cosπ2(1-x).In Table 1, Table 2, Table 3, we present the errors of the continual approximation of the solution calculated at the points xi+23hi and presented separately in the layer region, at the transition point and in the outlayer region:ENl=max0ii0yxi+23hi-uxi+23hi,ENt=yxi0+23hi0-uxi0+23hi0,ENo=

Acknowledgement

This work was supported by Serbian Ministry of Science under grant 144006.

References (15)

There are more references available in the full text version of this article.

Cited by (5)

  • Qualocation for a singularly perturbed boundary value problem

    2013, Journal of Computational and Applied Mathematics
  • A robust spline collocation method for pricing American put options

    2019, Discrete Dynamics in Nature and Society
View full text