Loading [MathJax]/jax/element/mml/optable/Latin1Supplement.js
Research article Special Issues

An almost second order uniformly convergent method for a two-parameter singularly perturbed problem with a discontinuous convection coefficient and source term

  • In this paper, we discuss a higher-order convergent numerical method for a two-parameter singularly perturbed differential equation with a discontinuous convection coefficient and a discontinuous source term. The presence of perturbation parameters generates boundary layers, and the discontinuous terms produce interior layers on both sides of the discontinuity. In order to obtain a higher-order convergent solution, a hybrid monotone finite difference scheme is constructed on a piecewise uniform Shishkin mesh, which is adapted inside the boundary and interior layers. On this mesh (including the point of discontinuity), the present method is almost second-order parameter-uniform convergent. The current scheme is compared with the standard upwind scheme, which is used at the point of discontinuity. The numerical experiments based on the proposed scheme show higher-order (almost second-order) accuracy compared to the standard upwind scheme, which provides almost first-order parameter-uniform convergence.

    Citation: M. Chandru, T. Prabha, V. Shanthi, H. Ramos. An almost second order uniformly convergent method for a two-parameter singularly perturbed problem with a discontinuous convection coefficient and source term[J]. AIMS Mathematics, 2024, 9(9): 24998-25027. doi: 10.3934/math.20241219

    Related Papers:

    [1] Ruby, Vembu Shanthi, Higinio Ramos . A numerical approach to approximate the solution of a quasilinear singularly perturbed parabolic convection diffusion problem having a non-smooth source term. AIMS Mathematics, 2025, 10(3): 6827-6852. doi: 10.3934/math.2025313
    [2] Zhongdi Cen, Jian Huang, Aimin Xu . A posteriori mesh method for a system of singularly perturbed initial value problems. AIMS Mathematics, 2022, 7(9): 16719-16732. doi: 10.3934/math.2022917
    [3] Şuayip Toprakseven, Seza Dinibutun . Error estimations of a weak Galerkin finite element method for a linear system of 2 coupled singularly perturbed reaction-diffusion equations in the energy and balanced norms. AIMS Mathematics, 2023, 8(7): 15427-15465. doi: 10.3934/math.2023788
    [4] Ram Shiromani, Carmelo Clavero . An efficient numerical method for 2D elliptic singularly perturbed systems with different magnitude parameters in the diffusion and the convection terms, part Ⅱ. AIMS Mathematics, 2024, 9(12): 35570-35598. doi: 10.3934/math.20241688
    [5] Jagbir Kaur, Vivek Sangwan . Stability estimates for singularly perturbed Fisher's equation using element-free Galerkin algorithm. AIMS Mathematics, 2022, 7(10): 19105-19125. doi: 10.3934/math.20221049
    [6] V. Raja, E. Sekar, S. Shanmuga Priya, B. Unyong . Fitted mesh method for singularly perturbed fourth order differential equation of convection diffusion type with integral boundary condition. AIMS Mathematics, 2023, 8(7): 16691-16707. doi: 10.3934/math.2023853
    [7] Nien-Tsu Hu, Sekar Elango, Chin-Sheng Chen, Murugesan Manigandan . Computational methods for singularly perturbed differential equations with advanced argument of convection-diffusion type. AIMS Mathematics, 2024, 9(8): 22547-22564. doi: 10.3934/math.20241097
    [8] T. Prathap, R. Nageshwar Rao . Fitted mesh methods based on non-polynomial splines for singularly perturbed boundary value problems with mixed shifts. AIMS Mathematics, 2024, 9(10): 26403-26434. doi: 10.3934/math.20241285
    [9] Essam R. El-Zahar, Ghaliah F. Al-Boqami, Haifa S. Al-Juaydi . Piecewise approximate analytical solutions of high-order reaction-diffusion singular perturbation problems with boundary and interior layers. AIMS Mathematics, 2024, 9(6): 15671-15698. doi: 10.3934/math.2024756
    [10] Essam R. El-Zahar . Approximate analytical solution of singularly perturbed boundary value problems in MAPLE. AIMS Mathematics, 2020, 5(3): 2272-2284. doi: 10.3934/math.2020150
  • In this paper, we discuss a higher-order convergent numerical method for a two-parameter singularly perturbed differential equation with a discontinuous convection coefficient and a discontinuous source term. The presence of perturbation parameters generates boundary layers, and the discontinuous terms produce interior layers on both sides of the discontinuity. In order to obtain a higher-order convergent solution, a hybrid monotone finite difference scheme is constructed on a piecewise uniform Shishkin mesh, which is adapted inside the boundary and interior layers. On this mesh (including the point of discontinuity), the present method is almost second-order parameter-uniform convergent. The current scheme is compared with the standard upwind scheme, which is used at the point of discontinuity. The numerical experiments based on the proposed scheme show higher-order (almost second-order) accuracy compared to the standard upwind scheme, which provides almost first-order parameter-uniform convergence.



    Singularly perturbed problems (SPPs) frequently appear in several fields of applied mathematics, such as fluid dynamics [22], chemical reactor theory [26], etc. These problems are characterized by the presence of a small positive parameter multiplying the highest-order derivative, but other small parameters may appear affecting other terms. Depending on the parameter location and the smoothness of the coefficients of the SPP, the solution shows steep gradients on the boundary and interior parts of the domain, which are characterized as boundary and interior layers. The layer occurrence causes several hurdles (which include huge computational costs in the case of uniform meshes) in the numerical analysis, which is the reason to consider an adaptive mesh. The simplest adaptive mesh in this context is due to Shishkin [9], who proposed a piecewise uniform mesh to capture the layer behavior. In contemporary literature, numerical methods for SPPs (involving only a diffusion parameter) with smooth data can be seen in [6,9,20], while for non-smooth data, the works [1,7,8,10] considered Shishkin meshes.

    Two-parameter problems involving convection (εc) and diffusion (εd) parameters extend the convection and reaction-dominated models. In recent years, several higher-order accurate boundary layer resolving numerical methods based on hybrid schemes, cubic spline schemes, asymptotic expansion methods, etc., have been presented in [11,12,15,24,25,27] for two-parameter problems with smooth data. The non-smooth data produce interior layers in addition to the boundary layers, whose sharpness depends on the sign of the convection coefficient and has been investigated by various researchers for both singularly perturbed ordinary and partial differential equations (for instance, see [2,3,4,17,19,21]). The works [7,10,14] (involving only a diffusion parameter) are devoted to the numerical analysis of interior layers due to the presence of a discontinuous convection coefficient. A rigorous analysis of the effect of all possible subclasses of discontinuous convection coefficients can be found in Riordan [14,18]. These above works motivated us to develop a higher-order numerical approximation for a two-parameter singularly perturbed problem where some of the coefficients have jump discontinuities.

    Motivated by the studies in [14,18], we consider the following two-parameter singularly perturbed problem with a discontinuous convection coefficient and a discontinuous source term:

    Lu(x)εdu(x)+εca(x)u(x)b(x)u(x)=f(x)x(ΓΓ+), (1.1)
    u(0)=u0,u(1)=u1, (1.2)
    where a(x)α1<0forxΓanda(x)α2>0forxΓ+, (1.3)
    [a](d)∣≤C,[f](d)∣≤C. (1.4)

    Here εd and εc are known as singular perturbation parameters, where 0<εd1, 0εc1. For simplicity, we consider the domain as ¯Γ=[0,1], with Γ=(0,1), Γ=(0,d) and Γ+=(d,1). Here b(x) is assumed to be a sufficiently smooth function in ¯Γ satisfying b(x)β>0 and a(x), f(x) are sufficiently smooth in (ΓΓ+){0,1}. Also, a(x) and f(x) have a jump discontinuity at dΓ, where the jump of ω(x) at x=d is denoted as [ω](d)=ω(d+)ω(d). These assumptions ensure that the SPP (1.1)-(1.2) has a solution u(x)C0(¯Γ)C1(Γ)C2(ΓΓ+).

    Note that εc=1 reduces the general problem in (1.1) to a convection-diffusion problem [7], and εc=0 reduces (1.1) to a reaction-diffusion problem [8]. The nature of the solution behaves differently with respect to the ratio of the parameters εd/ε2c. The solution behaves similarly to a dissipative case, when εd/ε2c0 as εc0, and it acts as in the dispersive case when ε2c/εd0 as εd0 [16]. Hence, we consider the following two cases for the numerical analysis of (1.1):

    Case (i): αεcγεd,

    Case (ii): αεcγεd,

    where γ=min¯Γ{b(x)α(x)}, where α(x)=α1,x<d, and α(x)=α2,x>d.

    Apart from the assumptions considered in (1.3), we have also noted the case when the sign of the convection coefficient is reversed in Γ and Γ+ (i.e., a(x)α1>0,xΓ and a(x)α2<0,xΓ+) as a remark.

    For two-parameter singularly perturbed problems with smooth data, Riordan et al. [15] analyzed the upwind scheme on a Shishkin mesh and obtained a uniform accuracy of O(N1ln2N), where N defines the number of partitions in the domain. Later, Gracia et al. [11] established a higher-order numerical method for this problem, which is based on the combination of upwind, central difference, and mid-point schemes in various partitions of the domain. Their numerical method provided parameter-uniform convergence of accuracy O(N2ln3N), if αεcγεd, and O(N2ln2N), if αεcγεd on a Shishkin mesh. In [23], the authors introduced a discontinuity in the source term for this problem and obtained O(N1ln2N), for αεcγεd and O(N1ln3N), for αεcγεd on a Shishkin mesh. Several other adaptive meshes, based on arc-length equidistribution [13] and curvature-based monitor functions [5], have also been considered to improve uniform accuracy up to the first-order.

    The above articles motivated us to develop a higher-order numerical analysis for two-parameter problems with a discontinuous convection coefficient and source term. The discontinuous data make the numerical analysis different as it gives rise to the interior layer in addition to the boundary layer. We consider the error analysis on the Shishkin mesh and show that the error is independent of the convection and diffusion parameters.

    Throughout this article, we denote C as a generic positive constant independent of the number of nodal points and the perturbation parameters εd, εc. The convergence is estimated in the infinity norm, which is denoted as uΩ=maxxΩ|u(x)| for a function u(x) defined on a general domain Ω. We also write .=.Ω, if the norm and domain are obvious. Accordingly, the corresponding discrete norm is denoted as .=.ΩN. Without loss of generality, we assume that the number of mesh intervals N is divisible by 2.

    The paper is arranged as follows: In Section 2, we note the existence of the solution and derive a minimum principle for (1.1)-(1.2), from which it follows the stability of the solution u(x). Some estimates of the solution and its derivatives are also stated here. Section 3 presents a discrete problem based on a hybrid finite difference scheme corresponding to the continuous problem. A decomposition of the discrete solution is introduced in Section 4, which helps us evaluate the truncation error estimate. In Section 5, we have shown that this estimate provides a higher-order εd-εc uniform numerical approximation in the discrete maximum norm. Numerical examples, given in Section 6, validate the theoretical findings. In the end, we draw a conclusion by highlighting the major contribution of the paper.

    In this section, we consider a few analytical properties of the solution of (1.1)-(1.2). The solution is decomposed into regular and singular components, which describe the solution behavior at the outer and inner regions of the boundary and interior layers, respectively. This decomposition will be used in the subsequent sections to obtain a parameter-uniform error estimate. We begin this section with an existence theorem.

    Theorem 2.1. The SPP (1.1)-(1.2) has a solution u(x), which belongs to the class C0(¯Γ)C1(Γ)C2(ΓΓ+).

    Proof. By using the constructive method presented in [8,10], a solution of the SPP (1.1)-(1.2) can be obtained.

    The operator L at (1.1) satisfies the following minimum principle on ¯Γ.

    Lemma 2.1. If a function u(x)C0(¯Γ)C2(ΓΓ+) satisfies u(0)0, u(1)0, Lu(x)0 for all x(ΓΓ+) and [u](d)0, then u(x)0x¯Γ.

    Proof. For the proof and the existence of the solution of the SPP (1.1)-(1.2), the reader is referred to [18].

    As a consequence, we get the following stability estimate:

    Lemma 2.2. Let u(x) be a solution of (1.1)-(1.2), then

    ||u(x)||¯Γmax{|u(0)|,|u(1)|}+1β||f||¯Γ{d}.

    One can also obtain the following bounds for the solution derivatives when a(x) and f(x) have a jump discontinuity at x=d (see [18]).

    Lemma 2.3. Let u(x) be the solution of problem (1.1)-(1.2), where |u(0)|C and |u(1)|C. Then, for all 0k4, it holds

    ||u(k)(x)||Γ{d}C(εd)k{1+(εcεd)k}.

    Proof. Let us begin the discussion on the domain Ω. Consider any point x(0,d) and a neighborhood Np=(p,p+r), where r is positive, such that xNp(0,d). Since u is differentiable in Np, the Mean Value Theorem implies that there exists qNp such that u(q)=u(p+r)u(p)r. Now, we obtain

    |u(q)||u(p+r)|+|u(p)|rur.

    We can define u(x) as

    u(x)=u(q)+xqu(η)dη=u(q)+ε1xq(f(η)+b(η)u(η)εca(η)u(η))dη=u(q)+ε1xq(f(η)+b(η)u(η)+εca(η)u(η)dηεcεd(a(x)u(x)a(q)u(q))).

    Further, the result for the first derivative can be deduced assuming that xqr and r=εd, from which we obtain

    |u(x)|C(1r+rεd+εcεd)max{||u||,||f||}Cεd(1+(εcεd))max{||u||,||f||}.

    The bounds for the second derivative will be

    u(2)(x)=1εd(f(x)+b(x)u(x)εca(x)u(x)),|u(2)(x)|1εdmax(||f||+||b||||u||)+εcεd||a||(Cεd(1+εcεd))max{||u||,||f||}Cεd(1+εcεd+ε3cεd)max{||u||,||f||},u(2)(x)C(εd)2(1+(εcεd)2)max{||u||,||f||}.

    Now, we differentiate (1.1) to obtain the third derivative bounds, which result in

    u(3)(x)=1εd(f(x)+(b(x)u(x)εca(x)u(x))),||u(3)(x)||Cεdεd(1+εc+εd+εdεd+ε2dεd+ε3dεdεd)max{||u||,||f||,||f||},||u(3)(x)||C(εd)3(1+(εcεd)3)max{||u||,||f||,||f||}.

    Finally, we derive the bounds for the fourth derivative as follows:

    u(4)(x)=1εd(f(x)+b(x)u(x)+b(x)u(x)+b(x)u(x)+b(x)u(x)εca(x)u(x)εca(x)u(x)εca(x)u(x)εca(x)u(x)),|u(4)(x)|Cεd(f+bu+2bu+bu+2εcay+εcau+εcau).

    After simplifying it, we can write the required result as

    ||u(4)(x)||C(εd)4(εd+1+εd+εc+εcεd+εcεd+ε2c(εd)2+ε3c(εd)2+ε2c++ε4c(εd)4)max{||u||,||f||,||f||,||f||},||u(4)(x)||C(εd)4(1+(εcεd)4)max{||u||,||f||,||f||,||f||}.

    The proof for the domain Ω+ can be obtained using similar arguments.

    Before going into further details about the decomposition of u(x) into regular and singular components, we will consider the following: Let F(x) be a smooth function in (ΓΓ+), such that F(x) and its derivatives have a jump discontinuity at dΓ. Consider u(x)C1(Γ)C2(ΓΓ+), such that

    {Lu(x)=F(x),x(ΓΓ+),u(0)=p,u(1)=q. (2.1)

    It can be proven that problem (2.1) has a unique solution [7]. Let

    F(k)(x)={F(k)(x),x(0,d),F(k)(d),atx=d,

    and further let ul(x) be the solution of

    {Lul(x)=F(x),x(0,d),ul(0)=p,ul(d)=u(d).

    Similarly, one can define ur(x) on the interval [d,1]. Now

    u(x)={ul(x),x[0,d),ul(d)=ur(d),ur(x),x(d,1].

    To establish a sharper bound on the error analysis, the solution u(x) is decomposed into a regular component v(x) and a singular component w(x) such that

    v(x)={v(x),xΓ,v+(x),xΓ+,

    and w(x)=wl(x)+wr(x) where

    wl(x)={wl(x),xΓ,w+l(x),xΓ+,andwr(x)={wr(x),xΓ,w+r(x),xΓ+.

    We now define the regular and singular components as the solutions to the following problems, respectively.

    Lv=f,x(ΓΓ+),v(0)=u(0),v(1)=u(1),andv(d),v(d+)are chosen suitably,

    and

    Lwl(x)=0,x(ΓΓ+),wl(0)=u(0)v(0)wr(0),wl(1)=0,Lwr(x)=0,x(ΓΓ+),wherewr(0)is suitably chosen,wr(1)=u(1)v(1),[wr](d)=[v](d)[wl](d),[wr](d)=[v](d)[wl](d).

    Now, let us consider the case (i): αεcγεd.

    We first define v0(x),v1(x) and v2(x) as the solutions to the following problems:

    b(x)v0(x)=f(x),x(ΓΓ+),b(x)v1(x)=εcεda(x)v0(x)+εdv0(x),x(ΓΓ+),b(x)v2(x)=εcεda(x)v1(x)+εdv1(x),x(ΓΓ+).

    Choose v3(x)C0(¯Γ)C1(Γ)C2(ΓΓ+), such that

    Lv3(x)=εcεda(x)v2(x)εdv2(x),x(ΓΓ+),v3(0)=v3(1)=0.

    Adopting the procedure from [11,18], we obtain the upper bounds of the derivatives of the regular and the singular components given in the following Lemmas 2.4 and 2.5.

    Lemma 2.4. When αεcγεd, the regular component v(x) and its derivatives satisfy the following bounds:

    ||v(k)(x)||Γ{d}C(1+1(εd)k3),0k4.

    Lemma 2.5. When αεcγεd, the singular components wl(x) and wr(x) and their derivatives satisfy the bounds

    |w(k)l(x)|Γ{d}C(εd)k{eθ2x,xΓ,eθ1(xd),xΓ+,0k4,
    |w(k)r(x)|Γ{d}C(εd)k{eθ1(dx),xΓ,eθ2(1x),xΓ+,0k4,

    where

    θ1=γαεdandθ2=γα2εd.

    Now consider the case (ii): αεcγεd.

    Let v0(x),v1(x), and v2(x) be the solutions of the following problems, respectively:

    εcav0(x)bv0(x)=f(x),x(ΓΓ+),v0(1,εc),is chosen,εcav1(x)bv1(x)=v0(x),x(ΓΓ+),v1(1,εc),is chosen,andεcav2(x)bv2(x)=v1(x),x(ΓΓ+),v2(1,εc),is chosen.

    Choose v3(x)C0(¯Γ)C1(Γ)C2(ΓΓ+) such that

    Lv3(x)=v2(x),x(ΓΓ+),v3(0)=v3(1)=0.

    Using the reasoning given in [11,18], the following Lemmas 2.6 and 2.7 can be proved for the case αεcγεd.

    Lemma 2.6. When αεcγεd, the regular component v(x) satisfies the following bounds

    ||v(k)(x)||Γ{d}C(1+(εdεc)3k),0k4.

    Lemma 2.7. When αεcγεd the singular components wl(x) and wr(x) satisfy the bounds

    |w(k)l(x)|Γ{d}C(εcεd)k{eθ2x,xΓ,eθ1(xd),xΓ+,0k4,
    |w(k)r(x)|Γ{d}C(1εkc){eθ1(dx),xΓ,eθ2(1x),xΓ+,0k4,

    where

    θ1=αεcεdandθ2=γ2εc.

    It can be verified that v(x)+wl(x)+wr(x) satisfies the problem (1.1)-(1.2). Therefore, the unique solution to the problem is

    u(x)={v(x)+wl(x)+wr(x),xΓ,v(d)+wl(d)+wr(d)=v+(d+)+w+l(d+)+w+r(d+)atx=d,v+(x)+w+l(x)+w+r(x),xΓ+.

    In this section, we introduce a difference scheme to discretize the continuous problem (1.1)-(1.2). The discrete problem combines the standard upwind, mid-point, central difference, and five-point difference schemes. The five-point difference scheme is applied at the point of discontinuity to ensure higher-order (in this case, second-order) accuracy. This scheme is reduced to a three-point structure to preserve the monotonicity property with almost second-order accuracy. The numerical scheme, obtained by combining all these operators, maintains the monotonicity property.

    The discrete problem will be defined on an a priori adaptive piecewise uniform mesh, which is dense inside the boundary and interior layer regions. To construct this mesh, we first divide the domain ¯Γ into six subintervals:

    ¯Γ=[0,τ1][τ1,dτ2][dτ2,d][d,d+τ3][d+τ3,1τ4][1τ4,1],

    for some τ1,τ2,τ3, and τ4. The mesh points are denoted as ¯ΓN={xi}N0, where xN/2 denotes the point of discontinuity, xN/2=d. On these mesh points, we define the discrete solution as Ui. The transition parameters τ1,τ2,τ3, and τ4 in ¯Γ are chosen as follows:

    {τ1=min{d4,2θ2lnN},τ2=min{d4,2θ1lnN},τ3=min{1d4,2θ1lnN},τ4=min{1d4,2θ2lnN}, (3.1)

    where θ1 and θ2 are defined in the previous section. Now we construct a uniform mesh on each of the subintervals [0,τ1],[dτ2,d],[d,d+τ3] and [1τ4,1], so that each one contains N/8+1 uniform mesh points, and the subintervals [τ1,dτ2] and [d+τ3,1τ4] contain N/4+1 uniform mesh points respectively. The mesh sizes in each of the subintervals from left to right of ¯Γ are denoted as h1=8τ1/N,h2=4(dτ2τ1)/N,h3=8τ2/N,h4=8τ3/N,h5=4(1dτ3τ4)/N,andh6=8τ4/N. On the above adaptive mesh ¯ΓN, we discretize the BVP (1.1)-(1.2) as

    LNUiεdδ2Ui+εcaiDUibiUi=fifori=1,,N1,D+UN/2DUN/2=0withU0=u0,UN=u1. (3.2)

    The discretization (3.2), based on the upwind scheme, is almost first-order accurate [23] (see the numerical Section 6). Hence, our goal is to improve the order of accuracy. Now, we construct an almost second-order accurate hybrid scheme for (1.1)-(1.2) by combining the following central, upwind, and mid-point difference schemes with a five-point scheme:

    LNcUiεdδ2Ui+εcaiD0UibiUi=fi,LNuUiεdδ2Ui+εcaiDUibiUi=fi,LNmUiεdδ2Ui+εc¯aiDUi¯biUi=¯fi,

    where, D0Ui=Ui+1Ui1hi+hi+1,D+Ui=Ui+1Uihi+1, DUi=UiUi1hi, δ2Ui=1¯hi(D+UiDUi), ¯zi=zi+zi+12 and D={D,ifi<N/2,D+,ifi>N/2.

    At xN/2=d, we use a five-point difference scheme by combining the second-order accurate one-sided forward difference approximation u(x)(3U(x)+4U(x+h3)U(x+2h3))/2h3 with the backward difference approximation u(x)(3U(x)4U(xh4)+U(x2h4))/2h4. At the point of discontinuity, we define the scheme as:

    LNtUN/2UN/2+2+4UN/2+13UN/22hUN/224UN/21+3UN/22h=0, (3.3)

    where h=max{h3,h4}.

    The finite difference scheme, which involves the central, upwind, mid-point, and five-band difference schemes on the piecewise uniform mesh, will be written as

    LNUisiUi1+sciUi+s+iUi+1=fi,

    where LN is defined as follows:

    When αεcγεd,

    LN{LNc,ifxi(0,τ1)(dτ2,d)(d,d+τ3)(1τ4,1),LNc,ifxi(τ1,dτ2)(d+τ3,1τ4),with2εcahk<εd,k=2,5,LNt,ifxi=d,

    and for αεcγεd

    LN{LNm,ifxi(0,τ1)(1τ4,1),LNm,ifxi(τ1,dτ2)(d+τ3,1τ4),with{2εcahkεd,2bhk<εcα,k=2,5,LNu,ifxi(τ1,dτ2)(d+τ3,1τ4),with{2εcahkεd,2bhkεcα,k=2,5,LNc,ifxi(dτ2,d)(d,d+τ3),LNt,ifxi=d.

    At the transition points τ1 and (d+τ3), the scheme is defined as

    LN{LNc,ifxi={τ1=18,d+τ3=d+18,LNm,ifxi={τ1,whereτ1<18for2bh2<εcα,d+τ3,whered+τ3<d+18for2bh5<εcα,LNu,otherwise.

    At the transition points (dτ2) and (1τ4), we define the scheme as

    LN{LNc,ifxi={dτ2=d18for2εcah3<εd,1τ4=118for2εcah6<εd,LNm,ifxi={dτ2=d18for2εcah3 εd,1τ4=118for2εcah6εd,LNm,ifxi={dτ2,wheredτ2>d18for2bh3<εcα,1τ4,where1τ4>118for2bh6<εcα,LNu,otherwise.

    Now, we define the discrete scheme as

    LNUi=QNfifori=1,,N1,withU0=u,UN=u1,where,QNfi={fi,ifLNLNcorLNu,¯fi,ifLNLNm,0,ifLNLNt. (3.4)

    The matrix associated with (3.4) does not satisfy the M-matrix condition at the point of discontinuity xi=d. But, without loss of generality, we can convert this five-point difference scheme into a three-point difference scheme (say, LNTUi) by estimating UN/22,UN/2+2 from LNcUi so that the new equations have the monotonicity property. To do this, we take

    UN/22=2h32εdh3εcaN/21[h3fN/21+(2εdh3+h3bN/21)UN/21(2εd+h3εcaN/212h3)UN/2],
    UN/2+2=2h42εd+h4εcaN/2+1[h4fN/2+1+(2εdh4+h4bN/2+1)UN/2+1(2εdh4εcaN/2+12h4)UN/2].

    Now we replace the above expressions of UN/22,UN/2+2 at the five-point difference scheme (LNtUN/2) to construct a three-point scheme (LNTUN/2) that preserves the monotonicity property and leads to a higher-order accuracy at the point of discontinuity, as given by

    LNTUN/2(2εdh4εcaN/2+12εd+h4εcaN/2+16+2εdh3εcaN/212εd+h3εcaN/21)UN/2+(4εd2h24bN/2+12εd+h4εcaN/2+1+4)UN/2+1+(4εd2h23bN/212εd+h3εcaN/21+4)UN/21=2h23fN/212εd+h3εcaN/21+2h24fN/2+12εd+h4εcaN/2+1.

    So, the reformulated discrete operator (say LNUi) of (3.4) can be written as

    LNUi=QNfifori=1,,N1,withU0=u0,UN=u1, (3.5)

    where

    LNUi={LNTUifori=N/2,LNUiforiN/2,

    and

    QNfi={2h23fN/212εd+h3εcaN/21+2h24fN/2+12εd+h4εcaN/2+1fori=N/2,QNfiforiN/2.

    The entries of the stiffness matrix corresponding to LN are given by

    si=εdhi¯hiεcai2¯hi,s+i=εdhi+1¯hi+εcai2¯hi,sci=s+isibi,ifLNLNc,si=εdhi¯hiεcaihi,s+i=εdhi+1¯hi,sci=s+isibi,ifLNLNuandi<N/2,si=εdhi¯hi,s+i=εdhi+1¯hi+εcaihi+1,sci=s+isibi,ifLNLNuandi>N/2,si=εdhi¯hiεcaihi,s+i=εdhi+1¯hibi+12,sci=s+isi¯bi,ifLNLNmandi<N/2,si=εdhi¯hi,s+i=εdhi+1¯hi+εc¯aihi+1bi2,sci=s+isi¯bi,ifLNLNmandi>N/2,sN/2=4εd2h23bN/212εd+h3εcaN/21+4,s+N/2=4εd2h24bN/2+12εd+h4εcaN/2+1+4,scN/2=sN/2s+N/22bN/21[h232εd+εcaN/21h3+h242εd+εcaN/2+1h4],ifLNLNT.

    Now, we state a few conditions that are used to preserve the monotonic properties of the discrete problem (3.5). In (0,τ1) and (d,d+τ3), note that

    2εc||a||h1/εd=16εc||a||τ1/εdN64||a||lnN/αN,2εc||a||h4/εd=16εc||a||τ3/εdN64||a||lnN/αN. (3.6)

    For αεcγεd in (dτ2,d) and (1τ4,1), we get

    2εc||a||h3/εd=16εc||a||τ2/εdN64||a||lnN/αN,2εc||a||h6/εd=16εc||a||τ4/εdN64||a||lnN/αN. (3.7)

    For αεcγεd in (dτ2,d) and (1τ4,1), we get

    2||b||h3/αεc=16||b||τ2/αεcN64||b||lnN/αγN,2||b||h6/αεc=16||b||τ4/αεcN64||b||lnN/αγN. (3.8)

    At xi=d, we have

    4bh2<εd,2εcah<εd,ifαεcγεdandh=h3=h4,2bh3<εcα,bh4<εd/4,ifαεcγεd. (3.9)

    We note that in order to guarantee that the operator LN is monotone, it is necessary to impose the following assumption:

    N(lnN)1>64max{aα,bαγ}, (3.10)

    which will be evident in the proof of the following lemma. Thus, the discrete problem is

    LNUi=QNfifori=1,,N1,withU0=u0,UN=u1. (3.11)

    The following lemma shows that the discrete operator LN has stability properties analogous to those of the continuous operator L.

    Lemma 3.1. If a mesh function Ui satisfies U00, UN0, LNUi0 for all i=1,2,,N1 and LNTUN/20, then Ui0 for all i=0,1,,N.

    Proof. The system LNUi=QNfi for all 1iN1 is a linear system of N1 equations. We show that the corresponding matrix is diagonally dominant. To show this, it is sufficient to check that the conditions

    si>0,s+i>0,si+sci+s+i<0, (3.12)

    are fulfilled for the operators defined in (3.11).

    For αεcγεd, the central difference operator (LNc) is used in all the subintervals of ¯ΓN. Therefore, si>0 is guaranteed in the subintervals (dτ2,d) and (d,d+τ3) by the definition of h3 and h4. In the remaining regions, the LNc operator is used when εch1a,εch2a,εch5a,εch6a<2εd, and thus, si>0 is satisfied from (3.7), (3.8), and (3.10).

    For αεcγεd, the central difference operator is applied in (dτ2,d) and (d,d+τ3). Here, h3 and h4 are given by si>0 and s+i>0. The mid-point operator is applied to the layer region (0,τ1). Here, the inequalityhisi=εd¯hiεcai>0 is guaranteed since εch1a<εd2 and s+i=εdhi+1¯hibi+12>0 is satisfied if bh21<εd4. The inequalities (3.6) and (3.10) make it obvious. The sign pattern of s+i+sci+si<0 is direct using the condition sci=s+isi¯bi. When the mid-point operator is used for the interval (1τ4,1) the condition (3.12) is satisfied if s+i=εc¯aihi+1bi2>0. This is guaranteed since bh6<εcα/2.

    In the coarse mesh region (τ1,dτ2) and (d+τ3,1τ4), s+i>0 also follows from the mid-point operator since 2bh2<εcα and 2bh5<εcα on each of the intervals. If 2bh2,2bh5εcα, the upwind operator LNu is used to preserve s+i>0.

    At the point of discontinuity, xN/2=d, where αεcγεd, s+N/2=2εd+2h4εcaN/2bN/2h24>0 is guaranteed since bh42εcα. For sN/2=2εdbh232εch3aN/2>0 is assured with bh23<εd/4 and εch3a<εd/2. Again, scN/2=sN/2s+N/22bN/21[h232εd+εcaN/21h3+h242εd+εcaN/2+1h4] follows, scN/2<0. For αεcγεd, we have s+N/2>0 and sN/2>0 since bh24<εd/4 and 2bh3<εcα. Similarly, we can show scN/2<0.

    Hence, combining all the above relations defined at various mesh points, it can be noted that the matrix corresponding to LN is an M-matrix, and hence it satisfies the discrete minimum principle.

    Lemma 3.2. If Ui is the solution to (3.11), then

    |Ui|max{|U0|,|UN|}+1θQNf,

    where i=0,1,2,,N and θ=min{α1/d,α2/(1d)}.

    Proof. Let us define the mesh functions

    Θ±i=M+xifiθd±Ui0iN/2,Θ±i=M+(1xi)fiθ(1d)±UiN/2+1iN,

    where M=max{|U0|,|UN|}+1θQNfi.

    It is obvious, Θ±00, Θ±N0 and also

    LNcΘ±iεcα1hifiθdbi(M+xifiθd)±LNcUi01iN/21,LNcΘ±iεcα2hifiθ(1d)bi(M+(1xi)fiθ(1d))±LNcUi0N/2+1iN1.

    Similarly, LNmΘ±i0 and LNuΘ±i0 for the above values of i.

    At the point of discontinuity, it is

    LNTΘ±N/2=LNT(M+xN/2fN/2θd)±LNTUN/20.

    Applying Lemma 3.1, it follows that

    Θ±i00iN,

    which leads to the desired bound on Ui.

    We address the error analysis in this section. The nodal error is denoted by ei=Uiu(xi). To bound the nodal error |ei|, we first decompose the discrete solution (in a similar manner, as was done with the continuous solution) of (3.11) as Ui=Vi+Wl,i+Wr,i. The discrete regular component (Vi) and singular components (Wl,i and Wr,i) are again decomposed to obtain sharper bounds. Let us define the mesh functions Vi and V+i, which approximate Vi on either side of the point xi=d. In addition, we construct the mesh functions Wl,i,W+l,i and Wr,i,W+r,i to approximate Wl,i and Wr,i on the left and right sides of xi=d. Here, Wl,i and Wr,i correspond to the left boundary layer and right interior layer, respectively. Similarly, W+l,i and W+r,i are the solutions of the left interior layer and right boundary layer. These mesh functions are useful to show the convergence of the nodal error |ei| inside and outside the layers.

    Let the regular components Vi, V+i are the solutions to the following discrete problems:

    LNVi=fi1iN/21,V0=v(0),VN/2=v(d),andLNV+i=fiN/2+1iN1,V+N/2=v(d+),V+N=v(1).

    Similarly, the discrete problem corresponding to the left singular components Wl,i and W+l,i is defined as follows:

    LNWl,i=0on1iN/21,Wl,0=wl(0),Wl,N/2=wl(d),LNW+l,i=0onN/2+1iN1,W+l,N/2=w+l(d),W+l,N=0.

    The corresponding right singular components Wr,i and W+r,i can be described in a similar way.

    Consequently, the solution of the discrete problem (3.11) can be written as

    Ui={Vi+Wl,i+Wr,i1iN/21,VN/2+Wl,N/2+Wr,N/2=V+N/2+W+l,N/2+W+r,N/2,V+i+W+l,i+W+r,iN/2+1iN1.

    The following lemma provides the bounds for the singular components.

    Lemma 4.1. The bounds of the left and right singular components Wl,i,W+l,i,Wr,i and W+r,i are as follows:

    Wl,iCk1j=1(1+θ2hj)1=ψl,i,ψl,0=C,W+l,iCk2j=N/2+1(1+θ1hj)1=ψ+l,i,ψ+l,N/2=C,Wr,iCN/2j=k1+1(1+θ1hj)1=ψr,i,ψr,N/2=C,W+r,iCNj=k2+1(1+θ2hj)1=ψ+r,i,ψ+r,N=C,

    where k1=i, k2=N/2+i, and C is a positive constant independent of εc,εd.

    Proof. Define the barrier functions

    ϕl,i=ψl,i±Wl,iandϕr,i=ψr,i±Wr,i,

    where

    ψl,i={k1j=1(1+θ2hj)1,1k1N/2,1,k1=0,andψr,i={N/2j=k1+1(1+θ1hj)1,0k1<N/2,1,k1=N/2,

    and also

    θ1={γα2εd,ifαεcγεd,αεc2εd,ifαεcγεd,andθ2={γα2εd,ifαεcγεd,γ2εc,ifαεcγεd. (4.1)

    Now we will prove that LNψl,i0,LNψr,i0. Applying the discrete operator (3.11) on ψl,i, we have

    LNψl,i=ψl,i(si+sci+s+iθ2(hisi1+θ2hihi+1s+i)).

    Again, for the central difference operator, it follows that

    LNcψl,i=ψl,i1+θ2hi[εdθ22(hi¯hi2)+(2εdθ22+εcaiθ22bi)+εcaiθ22bihiθ2]ψl,i1+θ2hi(2εdθ22+εcaiθ2bi).

    Applying (4.1) in the above equation for both the cases αεcγεd and αεcγεd, we obtain

    LNcψl,iψl,i1+θ2hi(γα2+γai2bi)ψl,i1+θ2hi(γaibi)ψl,i1+θ2hiai(γbiai)0.

    In a similar way, the upwind and mid-point difference schemes on ψl,i lead to

    LNuψl,iψl,i1+θ2hi[εdθ22(hi¯hi2)+(2εdθ22+εcaiθ2β)2εcaiθ2bihiθ2]ψli1+θ2hi(εdθ22+εcaiθ2bi)0,

    and

    LNmψl,iψl,i1+θ2hi(2εdθ22+εc¯aiθ2¯bi)0.

    Combining all the above inequalities, we can conclude that LNψl,i0. Now we find that, ϕl,0>0,ϕl,N/2>0 and LNϕl,i<0. Hence, by using Lemma 10 in [11], we can prove that ϕl,i0. Therefore, |Wl,i|Ck1j=1(1+θ2hj)1.

    Now consider the right layer barrier function ψr,i. Applying the discrete operator defined in (3.11) over ψr,i, we obtain

    LNψr,i=ψr,i[si+sci+s+iθ1(hi+1s+i1+θ1hi+1hisi)].

    Applying the central difference scheme in the place of LN, we get

    LNcψr,i=ψr,i+1[2εdθ21(hi+12¯hi1)+2εdθ21εcaiθ12bi+εcaiθ1(1θ1hi)hi+12¯hi+biθ1hi+1]ψr,i+1(2εdθ21εcaiθ1bi).

    Using (4.1) for both the cases αεcγεd and αεcγεd, we obtain

    LNcψr,iψr,i+1(γα22bi)0.

    Similar arguments can be used to show that the upwind difference and mid-point difference satisfy

    LNuψr,iψr,i+1(εdθ21εcaiθ1bi)0,

    and

    LNmψr,iψr,i+1(εdθ21εc¯aiθ1¯bi)0.

    Hence, it is clear that, ϕr,0>0, ϕr,N/2>0 and LNϕr,i<0. Therefore, applying Lemma 10 in [11], we obtain ϕr,i0 and hence |Wr,i|CN/2j=k1+1(1+θ1hj)1. Similarly, we can prove the bounds of W+l,i and W+r,i as i varies from N/2+1 to N1.

    Now, we examine the truncation errors based on the three different operators. At the transition points, the mid-point scheme provides better accuracy in the convective terms compared to the central difference scheme on a non-uniform mesh. On a non-uniform mesh, we have

    |LNei|={|(LNcL)u(xi)|εd¯hiu(3)+εc¯hiau(2),|(LNuL)u(xi)|εd¯hiu(3)+εchi+1au(2),|(LNmL)u(xi)|εd¯hiu(3)+Cεch2i+1(u(3)+u(2)),

    where ¯hi=(hi+hi+1)/2, and on a uniform mesh with step size h, we have

    |LNei|={|(LNcL)u(xi)|εdh2u(4)+εch2au(3),|(LNuL)u(xi)|εdh2u(4)+εchau(2),|(LNmL)u(xi)|εdhu(3)+Cεch2(u(3)+u(2)).

    In the following lemma, we present the local error of the regular component.

    Lemma 4.2. The regular component of the truncation error satisfies the following estimate:

    Viv(xi)CN21iN1.

    Proof. For both the cases αεcγεdandαεcγεd, when the mesh is uniform, i.e., τ1=τ2=τ3=τ4=1/8, we have for 1iN/2,

    |LN(Viv(xi))|=|LNViQNfi||εd(δ2d2dx2)v(xi)|+|εca(xi)(D+ddx)v(xi)|Cεd(xi+1xi)2(v)(4)εca(xi)(xi+1xi)(v)(2)|LN(Viv(xi))|CN2.

    Similarly, we obtain

    |LN(V+iv+(xi))|CN2N/2+1iN1.

    When the mesh is non-uniform, we have

    |LN(Viv(xi))|CN2forxi(Γ¯Γ){τ1,dτ2},|LN(V+iv+(xi))|CN2forxi(Γ+¯Γ){d+τ3,1τ4}.

    At the transition points, the upwind difference scheme is used if 2bhiεcα for i=2,3,5,6; otherwise, the mid-point difference scheme will be used. For both of these schemes, we obtain

    |LN(V+iv+(xi))|CN1(εd+N1).

    Define the barrier function ψi=CN2ζ(xi)±(Viv(xi)), where

    ζ(xi)={1,if0xiτ1,1(xiτ1)2(dτ1τ2),ifτ1xidτ2,1(dxi)2τ2,ifdτ2xid,1(xid)2τ3,ifdxid+τ3,11τ4xi2(1(d+τ3+τ4)),ifd+τ3xi1τ4,1xiτ4,if1τ4xi1.

    Then, ψi satisfies

    εdδ2ψi={0forxiτ1,dτ2,d+τ3and1τ4,O(N1εd),otherwise,

    and D0ψi0, D+ψi0. Now, applying Lemma 3.1, we obtain

    Viv(xi)CN21iN1.

    Therefore, we get the required result.

    The subsequent lemma provides the local error of the left and right singular components Wl,i and Wr,i associated with the boundary and interior layers.

    Lemma 4.3. Let us assume (3.10). Then, the left and right singular components of the error satisfy the following estimates:

    Wl,iwl(xi) {C(N1lnN)2,ifαεcγεd,CN2ln3N,ifαεcγεd,1iN1,andWr,iwr(xi)C(N1lnN)2,if{αεcγεd,αεcγεd1iN1.

    Proof. Firstly, consider the uniform mesh, i.e., τ1=τ2=τ3=τ4=1/8, and for αεcγεd for i=1,,N/21, we have

    |LN(Wl,iwl(xi))|=|LNcWlLwl||Ch2εd(wl)(4)|+|Ch2εc(wl)(3)|CN2(εd(wl)(4)+εc(wl)(3))CN2/εd,|LN(Wl,iwl(xi))|C(N1lnN)2.

    Similarly, |LN(W+l,iw+l(xi))|C(N1lnN)2N/2+1iN1.

    Again when αεcγεd, the above inequalities lead to

    |LN(Wl,iwl(xi))|=|LNcWlLwl|CN2(εd(wl)(4)+εc(wl)(3))<CN2ε4c/ε3d,|LN(Wl,iwl(xi))|CεcN2ln3N.

    Similarly, |LN(W+l,iw+l)(xi)|CεcN2ln3N.

    Now, we consider the error analysis on the non-uniform mesh. In the left boundary layer region (0,τ1), the truncation error is

    |LN(Wl,iwl(xi))||LNc(Wl,iwl(xi))||εdwl+aiεcwlbiwl(εdδ2+aiεcD0bi)Wl||Ch21εd(wl)(4)|+|Ch21εc(wl)(3)|,|LN(Wl,iwl(xi))|CN2(εdτ21(wl)(4)+εcτ21(wl)(3)). (4.2)

    If αεcγεd, from (4.2) we obtain

    |LN(Wl,iwl(xi))|C(N1lnN)2(1+εcεd)C(N1lnN)2.

    Similarly, we can obtain the result |LN(W+l,iw+l(xi))|C(N1lnN)2 on the left interior layer region (d,d+τ3).

    If αεcγεd, we obtain from (4.2),

    |LN(Wl,iwl(xi))|Cε2cεd(N1lnN)2.

    Now consider the barrier function on [0,τ1], see [11]

    Ψi=C(N2+(N1lnN)2(τ1xi)εcεd).

    It is easy to check that the barrier function Ψi is non-negative at the boundary points of [0,τ1] and LNcΨi<0. Hence, from Lemma 10 of [11], it follows Ψi0 for all [0,τ1]. Therefore

    |Wl,iwl(xi)|ΨiC(N2+(N1lnN)2τ1εcεd)CN2ln3N.

    Similarly, we obtain |W+l,iw+l(xi)|CN2ln3N for xi(d,d+τ3).

    When xi[τ1,d) for αεdγεd and αεdγεd we obtain the truncation error

    |LN(Wl,iwl(xi))||wl(xi)|+|Wl,i|C(eθ1xi+N2)C(eθ1τ1+N2),|LN(Wl,iwl(xi))|CN2.

    Similarly, we have |LN(W+l,iw+l(xi))|CN2 for xi[d+τ3,1). Following the above procedures, we can prove the bound for the right singular components.

    The above estimates provide the truncation errors at the boundary and interior layer regions (ΓΓ+) except at the point of discontinuity. Estimating the error at the point of discontinuity is not straightforward. The following lemma gives an estimate for the local error at the point of discontinuity.

    Lemma 4.4. At the point of discontinuity xN/2=d, the error ed satisfies the following estimate:

    |LN(UN/2u(xN/2))|{Ch2/ε3/2d,ifαεcγεd,Ch2ε3c/ε3d,ifαεcγεd.

    Proof. Consider the case αεcγεd. Then

    |LN(UN/2u(xN/2))|=|LNUN/22h23f(xN/21)2εdh3εca(xN/21)2h24f(xN/2+1)2εd+h4εca(xN/2+1)|=|LNTUN/22h23f(xN/21)2εdh3εca(xN/21)2h24f(xN/2+1)2εd+h4εca(xN/2+1)|,|LN(UN/2u(xN/2))|Ch2/ε3/2d.

    For αεcγεd, we have

    |LN(UN/2u(xN/2))|=|LNUN/22h23f(xN/21)2εdh3εca(xN/21)2h24f(xN/2+1)2εd+h4εca(xN/2+1)|=|LNtUN/22h23f(xN/21)2εdh3εca(xN/21)2h24f(xN/2+1)2εd+h4εca(xN/2+1)|+C|LUN/21LNmUN/21|+C|LUN/2+1LNcUN/2+1||LNtUN/2+[u(d)]|+2h22εdh3εca(xN/21)|LNcUN/21fN/21|+2h22εd+h4εca(xN/2+1)|LNcUN/2+1fN/2+1||UN/2+2+4UN/2+13UN/22hu(xN/2)|+|UN/224UN/21+3UN/22hu(xN/2)|+C|Lu(xN/21)LNcUN/21|+C|Lu(xN/2+1)LNcUN/2+1|,|LN(UN/2u(xN/2))|Ch2ε3c/ε3d,

    where we have used Lemma 2.3 and a similar procedure adopted in [1].

    Remark. When the sign of the discontinuous convection coefficient a(x) is reversed, the above result at the point of discontinuity xi=d takes the form

    |LN(UN/2u(xN/2))|{Ch2/ε3/2d,ifαεcγεd,Ch2/ε3c,ifαεcγεd.

    This section presents the main contribution of the paper. The following theorem provides the εdεc uniform higher-order error estimate of the computed solution.

    Theorem 5.1. Let u(xi) be the solution of the continuous problem (1.1)-(1.2) and Ui be the solution of the discrete problem (3.11) at x=xi. Then, for sufficiently large N satisfying the stability condition (3.10), we have

    Uiu(xi){C(N1lnN)2,ifαεcγεd,CN2(lnN)3,ifαεcγεd,0iN.

    Proof. From the results of Lemmas 2.3, 4.2, 4.3 and using the procedure adopted in [11], it follows that

    |ei|{CN2ln2N,ifαεcγεd,CN2ln3N,ifαεcγεd,xi¯ΓN{d}. (5.1)

    The presence of the discontinuity leads to the interior layers in a neighborhood of point d. We consider the following two cases to prove the error at the discontinuity point:

    Case (i): αεcγεd, define the discrete barrier function Φi to be the solution of the problem

    εdδ2Φi+εcαDΦiβΦi=01iN1,Φ0=0,Φd=1,ΦN=0,

    where

    α={α1,ifxi<d,α2,ifxi>d.

    A straight-forward application of the discrete minimum principle on the intervals [0,d] and [d,1] leads to 0Φi1. Also

    LNΦi=(α+ai)εcDΦi+[βbi]Φi01iN1.

    Now, define the ancillary continuous functions u1(x) and u2(x) by

    εdu1(x)εcαu1(x)βu1(x)=0,u1(0)=0,u1(d)=1,ifxΓ,εdu2(x)+εcαu2(x)βu2(x)=0,u2(d)=1,u2(1)=0,ifxΓ+.

    It is to be observed that the solutions of the above equations are

    u1(x)=eη(dx)(sinhλxsinhλd)andu2(x)=eη(dx)(sinhλ(1x)sinhλ(1d)),

    where

    η=αεc2εdandλ=((αεc)2+4εdβ2εd).

    Define

    ˜u(x)={u1(x),ifx(0,d),u2(x),ifx(d,1).

    Now

    LNT˜uN/2=8εd8hεcα2εd+hεcα˜u(xN/2)+4εd+hεcα2h2β2εd+hεcα[˜u(d+h)+˜u(dh)]=8εd8hεcα2εd+hεcα˜u(xN/2)+4εd+hεcα2h2β2εd+hεcα×[eηh(sinh(λ(1dh))sinh(λ(1d)))+eηh(sinh(λ(dh))sinh(λd))]C1+C2[(e(η+λ)h1e2λ(1d))(1e2λ(1dh))+(e(η+λ)h1e2λd)(1e2λ(dh))]C[(1e2λ(1dh))(1e2λ(dh))],LNT˜uN/2Cεd.

    Hence, following the analysis given in [8] on the interval [0,d] and [d,1], we obtain

    |Φiu1(xi)|C(N1lnN)2,ifiN/2,|Φiu2(xi)|C(N1lnN)2,ifiN/2,

    and at the point of discontinuity, i.e., for i=N/2,

    LNTΦiCεd.

    Now, define the mesh function

    y1(xi)=CN2ln2N+Ch2εdΦi±ei1iN1.

    It can be clearly checked that y1(0),y1(1)0,LNy1(xi)0xi¯ΓN and LNty1(xN/2)0. Hence, Lemma 3.1 implies that y1(xi)0xi¯ΓN. Therefore

    |ei|CN2ln2N. (5.2)

    Case (ii): αεcγεd. To show the error on the discontinuity point, we define the mesh function y2(xi)=˜Wi±ei on the mesh points in (dτ2,d+τ3) where,

    ˜Wi={CN2ln3N+Ch2ε3cN2ε3d(xi(dτ2)),ifxi(dτ2,d],CN2ln3N+Ch2ε3cN2ε3d(d+τ3xi),ifxi[d,d+τ3).

    Applying the central difference operator inside the domains (dτ2,d] and [d,d+τ3), we obtain

    εdδ2˜Wi=0,D0˜Wi<0,andLNc˜Wi<0.

    Also,

    ˜WN/2+1<0,˜WN/21<0andLNT˜WN/2<0.

    Hence, we have

    LN˜Wi<0forxi(dτ2,d+τ3).

    Now, y2(dτ2)0,y2(d+τ3)0, and LNy2(xi)0forxi(dτ2,d+τ3). Applying Lemma 3.1 to y2(xi) in the above domain, we get

    |ei|Ch24τ3ε3cε3dCN2τ33ε3cε3dCN2ln3Nforxi(dτ2,d+τ3). (5.3)

    Hence, combining (5.1)–(5.3), we obtain the desired result.

    This section experimentally demonstrates the applicability of the hybrid scheme (3.11) and compares it with the existing upwind scheme (3.2) for two test problems. These problems have a jump discontinuity in the convective coefficient and source term. For these problems, the signs of the convection coefficients are different to show different boundary and interior layers. The numerical experiments are conducted on piecewise uniform Shishkin mesh, which changes with the various convection coefficients.

    Example 6.1. Consider the two-parameter problem (1.1)-(1.2) with the following discontinuous convection coefficient and source term:

    a(x)={(1+x(1x)) for 0x0.5,(1+x(1x)) for 0.5<x1,b(x)=1,f(x)={2(1+x2) for 0x0.5,3(1+x2) for 0.5<x1, and u(0)=u(1)=0.

    Example 6.2 Consider the singularly perturbed two-parameter BVP (1.1)-(1.2) with the following discontinuous convection coefficient and source term:

    a(x)={x+2 for 0x0.5,(2x+3) for 0.5<x1,b(x)=1,f(x)={2x+1 for 0x0.5,(3x+4) for 0.5<x1, and u(0)=u(1)=0.

    As the exact solutions of Examples 6.1 and 6.2 are unknown, we use the double mesh principle [5] to calculate the maximum pointwise error and the corresponding order of convergence of the numerical solution provided by the scheme (3.11). The error ENεd,εc and corresponding order of convergence ρNεd,εc are computed as follows:

    ENεd,εc=max0iN|UNiU2Ni|andρNεd,εc=log2(ENεd,εcE2Nεd,εc).

    Here UNi denotes the numerical solution obtained with N number of mesh intervals, and U2Ni denotes the solution on 2N number of mesh intervals obtained by bisecting the previous original mesh. Similarly, we find the error EN and order of convergence ρN of the existing upwind scheme (3.2) for a fixed value of εc and various values of εd, taken from the set S={εd|εd=102,104,,1014}:

    EN=maxεdSENεd,εcandρN=log2(ENE2N).

    Here, the numerical experiments are performed by choosing the constant values α = 1.25, β = 1.0 and γ = 0.8 for Example 6.1 and α = 2.0, β = 1.0, and γ = 0.5 for Example 6.2.

    We present the maximum pointwise errors ENεd,εc for Examples 6.1 and 6.2 in Tables 1 and 2, respectively. The corresponding orders of convergence ρNεd,εc for Examples 6.1 and 6.2 are shown in Tables 3 and 4, respectively. These tables show that the order of convergence is almost second-order O(N2ln2N) when αεcγεd and O(N2ln3N) when αεcγεd for the above two examples. Table 5 presents the maximum error EN and order of convergence ρN using the standard upwind scheme (3.2). This table shows that the existing scheme gives first-order parameter uniform convergence, while Tables 3 and 4 show almost second-order convergence using the hybrid difference scheme. Note that the errors are also lower in Tables 1 or 2 compared to Table 5.

    Table 1.  Maximum pointwise errors ENεd,εc for εc=104 for Example 6.1.
    εd Number of mesh points N
    128 256 512 1024 2048
    102 3.01720E-05 7.03000E-06 1.21160E-06 1.77190E-07 2.39400E-08
    104 1.55370E-03 7.67900E-04 2.02340E-04 5.52550E-05 1.32040E-05
    106 1.30140E-03 6.03150E-04 2.63820E-04 1.09680E-04 3.83720E-05
    108 1.45400E-03 3.22960E-04 1.05520E-04 2.74780E-05 8.60100E-06
    1010 4.45260E-03 2.01520E-03 7.84000E-04 2.43460E-04 7.18400E-05
    1012 4.48230E-03 2.03110E-03 7.90700E-04 2.45440E-04 7.25100E-05
    1014 4.48260E-03 2.03130E-03 7.90800E-04 2.45460E-04 7.25150E-05

     | Show Table
    DownLoad: CSV
    Table 2.  Maximum pointwise errors ENεd,εc for εc=104 for Example 6.2.
    εd Number of mesh points N
    128 256 512 1024 2048
    102 2.16050E-05 3.74720E-06 5.75700E-07 8.04480E-08 1.06510E-08
    104 7.06770E-04 2.80330E-04 7.20170E-05 1.80630E-05 4.33770E-06
    106 1.05360E-03 4.48120E-04 1.83550E-04 7.82630E-05 2.75830E-05
    108 2.48800E-03 8.44720E-04 3.04080E-04 9.67350E-05 3.07670E-05
    1010 2.32030E-03 8.00430E-04 2.58070E-04 7.99000E-05 2.37830E-05
    1012 2.31830E-03 7.99880E-04 2.57530E-04 7.97050E-05 2.37520E-05
    1014 2.31830E-03 7.99880E-04 2.57530E-04 7.97030E-05 2.37520E-05

     | Show Table
    DownLoad: CSV
    Table 3.  Orders of convergence ρNεd,εc for εc=104 for Example 6.1.
    εd Number of mesh points N
    128 256 512 1024 2048
    102 2.101589829 2.536670744 2.773525566 2.887791549 2.944105039
    104 1.016671183 1.924101248 1.872640276 2.065184608 2.476653267
    106 1.109475717 1.192935556 1.266280804 1.515174609 1.550321966
    108 2.170649483 1.613839022 1.941167564 1.675700690 1.594048784
    1010 1.143741186 1.361997468 1.687198524 1.760795875 2.076963082
    1012 1.141926332 1.361094457 1.687760037 1.759118509 2.075855289
    1014 1.141916350 1.361018549 1.687824928 1.759136585 2.075787013

     | Show Table
    DownLoad: CSV
    Table 4.  Orders of Convergence ρNεd,εc for εc=104 for Example 6.2.
    εd Number of mesh points N
    128 256 512 1024 2048
    102 2.527493178 2.702411030 2.839182775 2.917005920 2.957896449
    104 1.334090700 1.960740570 1.995266679 2.058073050 2.466032116
    106 1.233358139 1.287701271 1.229764652 1.504539747 1.532088543
    108 1.558447064 1.474000771 1.652356870 1.652669823 1.741087508
    1010 1.535478921 1.633037441 1.691476399 1.748244574 1.746602194
    1012 1.535226517 1.635030415 1.692017043 1.746641478 1.748178614
    1014 1.535226517 1.635030415 1.692047210 1.746611310 1.748212622

     | Show Table
    DownLoad: CSV
    Table 5.  Maximum errors EN and orders of convergence ρN for Examples 6.1 & 6.2.
    εdS,εc=104 Number of mesh points N
    Example 6.1 128 256 512 1024 2048
    EN 1.16250E-01 1.00500E-01 7.58210E-02 5.27330E-02 3.30160E-02
    ρN 0.210035215 0.406526112 0.523891410 0.675540731 0.748636031
    Example 6.2 128 256 512 1024 2048
    EN 8.51980E-02 6.88640E-02 4.79440E-02 3.11440E-02 1.81550E-02
    ρN 0.307069581 0.522399704 0.622396029 0.778587320 0.802674063

     | Show Table
    DownLoad: CSV

    Furthermore, we have plotted the numerical solution and the corresponding error for Example 6.1 in Figures 1 and 2. This shows that the interior layer (due to the discontinuity of the convection coefficient and source term) becomes sharper as εc decreases from 102 to 104 for fixed εd=106 (i.e., the case αεcγεd and αεcγεd). Similar behavior can be observed for Example 6.2, whose solution and error graph are depicted in Figures 3 and 4. The Loglog plot of the maximum pointwise error for these problems in Figure 5 also demonstrates the uniform convergence of the numerical solution. From this figure we observe that the numerical (hybrid) method provides parameter-uniform convergence of O(N2ln3N), if αεcγεd and O(N2ln2N), if αεcγεd on Shishkin mesh.

    Figure 1.  Numerical solution and pointwise errors for εd=106,εc=104 with N=256 of Example 6.1.
    Figure 2.  Numerical solution and pointwise errors for εd=106,εc=102 with N=256 of Example 6.1.
    Figure 3.  Numerical solution and pointwise errors for εd=106,εc=104 with N=256 of Example 6.2.
    Figure 4.  Numerical solution and pointwise errors for εd=106,εc=102 with N=256 of Example 6.2.
    Figure 5.  Loglog plot of maximum errors for Examples 6.1 and 6.2, respectively.

    In this paper, an almost second-order uniformly convergent numerical solution is obtained for a two-parameter singularly perturbed problem where the convection coefficient and source term have a jump discontinuity at an interior point of the domain. The present hybrid difference scheme is a combination of upwind, mid-point, and central difference schemes at the interior points with a five-point scheme at the point of discontinuity so that it preserves the monotonicity property on the Shishkin mesh. Both theoretical and computational results based on this scheme produce almost second-order uniform convergence in the discrete maximum norm. Numerical experiments for the test problems validate the theoretical results. As an extension of this work, in the future, we aim to solve the proposed problem by considering a hybrid difference scheme using a Shishkin-Bakhvalov mesh.

    All authors contributed equally to the writing of this article. All authors have accepted responsibility for the entire manuscript content and approved its submission.

    The authors declare they have not used Artificial Intelligence (AI) tools in creating this article.

    Vellore Institute of Technology, Vellore supported the work of MC under a SEED grant (Sanction Order No. SG20230081).

    The authors would like to thank the editor and reviewers for their constructive comments.

    Higinio Ramos is the(a) Guest Editor of special issue "Numerical Analysis of Differential Equations with Real-world Applications" for AIMS Mathematics. Higinio Ramos was not involved in the editorial review and the decision to publish this article.

    The authors declare that there is no conflict of interest regarding the publication of this manuscript.



    [1] Z. Cen, A hybrid difference scheme for a singularly perturbed convection-diffusion problem with discontinuous convection coefficient, Appl. Math. Comput., 169 (2005), 689–699. https://doi.org/10.1016/j.amc.2004.08.051 doi: 10.1016/j.amc.2004.08.051
    [2] M. Chandru, P. Das, H. Ramos, Numerical treatment of two-parameter singularly perturbed parabolic convection diffusion problems with non-smooth data, Math. Methods Appl. Sci., 41 (2018), 5359–5387. https://doi.org/10.1002/mma.5067 doi: 10.1002/mma.5067
    [3] M. Chandru, T. Prabha, P. Das, V. Shanthi, A numerical method for solving boundary and interior layers dominated parabolic problems with discontinuous convection coefficient and source terms, Differ. Equ. Dyn. Syst., 27 (2019), 91–112. https://doi.org/10.1007/s12591-017-0385-3 doi: 10.1007/s12591-017-0385-3
    [4] M. Chandru, T. Prabha, V. Shanthi, A parameter robust higher order numerical method for singularly perturbed two parameter problems with non-smooth data, J. Comput. Appl. Math., 309 (2017), 11–27. https://doi.org/10.1016/j.cam.2016.06.009 doi: 10.1016/j.cam.2016.06.009
    [5] P. Das, V. Mehrmann, Numerical solution of singularly perturbed convection-diffusion-reaction problems with two small parameters, BIT Numer. Math., 56 (2016), 51–76. https://doi.org/10.1007/s10543-015-0559-8 doi: 10.1007/s10543-015-0559-8
    [6] E. P. Doolan, J. J. H. Miller, W. H. Schilders, Uniform numerical methods for problems with initial and boundary layers, Vol. 1, Boole Press, 1980.
    [7] P. A. Farrell, A. F. Hegarty, J. J. H. Miller, E. O'Riordan, G. I. Shishkin, Singularly perturbed convection–diffusion problems with boundary and weak interior layers, J. Comput. Appl. Math., 166 (2004), 133–151. https://doi.org/10.1016/j.cam.2003.09.033 doi: 10.1016/j.cam.2003.09.033
    [8] P. A. Farrell, J. J. H. Miller, E. O'Riordan, G. I. Shishkin, Singularly perturbed differential equations with discontinuous source terms, In: Analytical and numerical methods for convection-dominated and singularly perturbed problems, Nova Publishers, 2000.
    [9] P. A. Farrell, A. Hegarty, J. J. H. Miller, E. O'Riordan, G. I. Shishkin, Robust computational techniques for boundary layers, CRC Press, 2000. https://doi.org/10.1201/9781482285727
    [10] P. A. Farrell, A. F. Hegarty, J. J. H. Miller, E. O'Riordan, G. I. Shishkin, Global maximum norm parameter-uniform numerical method for a singularly perturbed convection-diffusion problem with discontinuous convection coefficient, Math. Comput. Model., 40 (2004), 1375–1392. https://doi.org/10.1016/j.mcm.2005.01.025 doi: 10.1016/j.mcm.2005.01.025
    [11] J. L. Gracia, E. O'Riordan, M. L. Pickett, A parameter robust second order numerical method for a singularly perturbed two-parameter problem, Appl. Numer. Math., 56 (2006), 962–980. https://doi.org/10.1016/j.apnum.2005.08.002 doi: 10.1016/j.apnum.2005.08.002
    [12] N. Kumari, S. Gowrisankar, A robust B-spline method for two parameter singularly perturbed parabolic differential equations with discontinuous initial condition, J. Appl. Math. Comput., 2024, 1–25. https://doi.org/10.1007/s12190-024-02168-3
    [13] J. Mohapatra, Equidistribution grids for two-parameter convection–diffusion boundary-value problems, J. Math. Model., 2 (2014), 1–21.
    [14] E. O'Riordan, Opposing flows in a one dimensional convection-diffusion problem, Centr. Eur. J. Math., 10 (2012), 85–100. https://doi.org/10.2478/s11533-011-0121-0 doi: 10.2478/s11533-011-0121-0
    [15] E. O'Riordan, M. L. Pickett, G. I. Shishkin, Singularly perturbed problems modeling reaction-convection-diffusion processes, Comput. Methods Appl. Math., 3 (2003), 424–442. https://doi.org/10.2478/cmam-2003-0028 doi: 10.2478/cmam-2003-0028
    [16] K. C. Patidar, A robust fitted operator finite difference method for a two-parameter singular perturbation problem, J. Differ. Equ. Appl., 14 (2008), 1197–1214. https://doi.org/10.1080/10236190701817383 doi: 10.1080/10236190701817383
    [17] T. Prabha, M. Chandru, V. Shanthi, Hybrid difference scheme for singularly perturbed reaction-convection-diffusion problem with boundary and interior layers, Appl. Math. Comput., 314 (2017), 237–256. https://doi.org/10.1016/j.amc.2017.06.029 doi: 10.1016/j.amc.2017.06.029
    [18] T. Prabha, M. Chandru, V. Shanthi, H. Ramos, Discrete approximation for a two-parameter singularly perturbed boundary value problem having discontinuity in convection coefficient and source term, J. Comput. Appl. Math., 359 (2019), 102–118. https://doi.org/10.1016/j.cam.2019.03.040 doi: 10.1016/j.cam.2019.03.040
    [19] S. C. S. Rao, A. K. Chaturvedi, Parameter-uniform numerical method for a two-dimensional singularly perturbed convection–reaction–diffusion problem with interior and boundary layers, Math. Comput. Simul., 187 (2021), 656–686. https://doi.org/10.1016/j.matcom.2021.03.016 doi: 10.1016/j.matcom.2021.03.016
    [20] H. G. Roos, M. Stynes, L. Tobiska, Numerical methods for singularly perturbed differential equations, Springer, 1996.
    [21] N. Roy, A. Jha, A parameter uniform method for two-parameter singularly perturbed boundary value problems with discontinuous data, MethodsX, 10 (2023), 102004. https://doi.org/10.1016/j.mex.2023.102004 doi: 10.1016/j.mex.2023.102004
    [22] H. Schlichting, K. Gersten, Boundary-layer theory, Springer Science & Business Media, 2003.
    [23] V. Shanthi, N. Ramanujam, S. Natesan, Fitted mesh method for singularly perturbed reaction-convection-diffusion problems with boundary and interior layers, J. Appl. Math. Comput., 22 (2006), 49–65. https://doi.org/10.1007/BF02896460 doi: 10.1007/BF02896460
    [24] M. Shivhare, P. Pramod Chakravarthy, D. Kumar, Quadratic B-spline collocation method for two-parameter singularly perturbed problem on exponentially graded mesh, Int. J. Comput. Math., 98 (2021), 2461–2481. https://doi.org/10.1080/00207160.2021.1901277 doi: 10.1080/00207160.2021.1901277
    [25] G. Singh, S. Natesan, Study of the nipg method for two–parameter singular perturbation problems on several layer adapted grids, J. Appl. Math. Comput., 63 (2020), 683–705. https://doi.org/10.1007/s12190-020-01334-7 doi: 10.1007/s12190-020-01334-7
    [26] A. Vasil'Eva, Asymptotic methods in the theory of ordinary differential equations containing small parameters in front of the higher derivatives, USSR Comput. Math. Math. Phys., 3 (1963), 823–863.
    [27] R. Vulanovicˊ, A higher-order scheme for quasilinear boundary value problems with two small parameters, Computing, 67 (2001), 287–303.
  • Reader Comments
  • © 2024 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(693) PDF downloads(65) Cited by(0)

Figures and Tables

Figures(5)  /  Tables(5)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog