Abstract
In this paper, a weak Galerkin finite element method is proposed and analyzed for one-dimensional singularly perturbed convection–diffusion problems. This finite element scheme features piecewise polynomials of degree \(k\ge 1\) on interior of each element plus piecewise constant on the node of each element. Our WG scheme is parameter-free and has competitive number of unknowns since the interior unknowns can be eliminated efficiently from the discrete linear system. An \(\varepsilon \)-uniform error bound of \(\mathcal {O}((N^{-1}\ln N)^k)\) in the energy-like norm is established on Shishkin mesh, where N is the number of elements. Finally, the numerical experiments are carried out to confirm the theoretical results. Moreover, the numerical results show that the present method has the optimal convergence rate of \(\mathcal {O}(N^{-(k+1)})\) in the \(L^2\)-norm and the superconvergence rates of \(\mathcal {O}((N^{-1}\ln N)^{2k})\) in the discrete \(L^{\infty }\)-norm.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
In this paper, we consider the following one-dimensional singularly perturbed convection–diffusion problem
where \(0<\varepsilon \ll 1\) is a small positive parameter, and b, c, f are sufficiently smooth functions with the following properties
for some constants \(b_0\) and \(c_0\). This assumption guarantees that problem (1.1) has a unique solution in \(H^2(\varOmega )\cap H_0^1(\varOmega )\) for all \(f\in L^2(\varOmega )\) [16, 26].
It is well known that the exact solution of problem (1.1) typically has an exponential boundary layer at \(x=1\), which cause difficulties for classical numerical methods. For example, the standard finite element or finite difference method fails to produce an accurate numerical solution unless the mesh size is comparable or smaller than the parameter \(\varepsilon \).
Layer-adapted meshes [9, 13], such as Bakhvalov mesh and Shishkin mesh, have been developed to remedy the difficulties caused by the boundary layers. As it is shown in [4], on layer-adapted meshes one can use standard discretization techniques such as conforming finite element method [16, 26], but some small oscillations still appear in the discrete solution. Additional stabilization is necessary to improve the situation. Over the past several decades, many stabilized numerical methods such as the up-winding finite difference scheme [8], the streamline-diffusion finite element method [10, 11, 17], variational multiscale method [19], and the discontinuous Galerkin finite element method [5, 6, 14, 18, 23,24,25, 27, 30, 31], have been developed for the singularly perturbed convection–diffusion problem. Details of these methods can be found in the classical book [15] and the references therein.
Recently, the WG finite element methods have attracted increasing attention. The WG methods, first proposed and analyzed by Wang and Ye [20], provide a general finite element technique for solving partial differential equations. In general, the WG scheme for PDEs by replacing usual derivatives by weakly-defined derivatives in the corresponding weak form with additional parameter-free stabilization term. The WG methods have been successfully applications in the elliptic problems [20, 28], the options pricing problem [29], the Stokes equation [21], the Maxwell equations [12], the biharmonic equations [22], and etc.
Most recently, the WG methods demonstrate robust and stable discretizations for singularly perturbed problems (SPP). For example, a WG method with an upwinding-type stabilization was presented and analyzed for the SPP with convection–diffusion type [7]. A \(P_0\)-\(P_0\) WG method was investigated in [1] for the SPP with reaction-diffusion type. The WG method was also studied for the fourth order singularly perturbed problems [2]. But the uniform convergence of the WG finite element method on layer-adapted mesh has not been discussed so far. The main concern here is to investigate the uniform convergence of the WG finite element scheme on a Shishkin mesh for one-dimensional singularly perturbed convection–diffusion equations.
The outline of this paper is organized as follows. In Sect. 2, we introduce some preliminaries and notations which will be used later. The formulation of WG finite element method for the singularly perturbed convection–diffusion equation is presented in Sect. 3. The error estimates of the proposed method are discussed in Sect. 4. Some numerical experiments are displayed in Sect. 6. It aims to confirm our theoretical results and investigate some interesting convergence phenomenons.
In the following, C denotes generic positive constants independent of N and \(\varepsilon \), and their value will not be the same in different inequalities.
2 Preliminary and Notations
2.1 The Shishkin Mesh
Let N be an even integer. Define the transition parameter
where k is the degree of polynomials in the finite element space which will be given later. Then divide each of the subdomains \(\varOmega _1=[0,1-\tau ]\) and \(\varOmega _2=[1-\tau , 1]\) into N/2 equidistant subintervals. Notice that \(\varepsilon \ll 1\) , here and below we take \(\tau =\frac{k+1}{b_0}\varepsilon \ln N\). Now, we have
where
It can be easily shown that
Denote the mesh by \(I_j=[x_{j-1},x_j]\) for \(j=1,\ldots ,N\) and set \(\mathcal {T}_N=\{I_j, j=1,\ldots ,N\}\). For each interval \(I_j\in \mathcal {T}_N\), we define its outward unit normal \(n_{I_j}(x_j)=1\) and \(n_{I_j}(x_{j-1})=-1\); if there is no confusion, instead of \(n_{I_j}\) we simply write n.
2.2 Weak Function and Weak Derivative
On each interval \(I_j=[x_{j-1},x_j]\), a weak function on the interval \(I_j\) refers to a function \(v=\{v_0,v_b\}\) such that \(v_0\in L^2(I_j)\) and \(v_b\in L^{\infty }(\partial I_j)\), where \(\partial I_j=\{x_{j-1},x_j\}\). That is, for each interval \(I_j\in \mathcal {T}_N, j=1,\ldots ,N\), we have
Here \(v_0\) can be understood as the value of v in \((x_{j-1},x_j)\), and \(v_b\) represents the values of v on the endpoints of \(I_j\). Denote by \(\mathcal {M}(I_j)\) the space of weak functions on \(I_j\), i.e.,
The local Sobolev space \(H^1(I_j)\) can be embedded into the space \(\mathcal {M}(I_j)\) by the inclusion map
Let \(\mathbb {P}^k(I_j)\) be the set of polynomials defined on \(I_j\) with degree no more than k. Denote by \(\mathbb {P}^0(\partial I_j)\) is the set of piecewise constants on \(\partial I_j\). For a given integer \(k\ge 1\), we define a local WG finite element space \(\mathcal {M}_N(I_j)\) on each element \(I_j\in \mathcal {T}_N\) as follows
A global WG finite element space \(\mathcal {M}_N\) is then obtained by gluing all the local space \(\mathcal {M}_N(I_j)\) with common values on interior nodes. In other words, for any function \(v=\{v_0,v_b\}\in \mathcal {M}_N\), it means \(v_0|_{I_j}\) belongs to the polynomial space \(\mathbb {P}^k(I_j)\) for \(j=1,\ldots ,N\), and \(v_b\) has a single value on the nodes of the partition \(\mathcal {T}_N\).
Let \(\mathcal {M}_N^0\) be the subspace of \(\mathcal {M}_N\) consisting of discrete weak functions with vanishing boundary values, i.e.,
The weak derivative of a weak function \(v=\{v_0,v_b\}\in \mathcal {M}_N\) is defined as follows.
Definition 2.1
For any weak function \(v\in \mathcal {M}_N(I_j)\), the weak derivative of \(v=\{v_0, v_b\}\) is defined as the unique polynomial \(D_{w,I_j} v\in \mathbb {P}^{k-1}(I_j)\) satisfying
Here, we have used the notation
and
To approximate the convection term \(bu'\) in the problem (1.1), we introduce a weak convection derivative as follows.
Definition 2.2
For any weak function \(v\in \mathcal {M}_N(I_j)\), the weak convection derivative of \(v=\{v_0, v_b\}\) is defined as the unique polynomial \(D_{w,I_j}^b v\in \mathbb {P}^k(I_j)\) satisfying
The weak derivatives \(D_{w}\) and \(D_{w}^b\) on the finite element space \(\mathcal {M}_N\) can be computed by using the Eqs. (2.2) and (2.3) respectively on each element \(I_j\in \mathcal {T}_N\). More precisely, it is given by
3 The Weak Galerkin Finite Element Scheme
For simplicity, we adopt the following notations,
To describe our weak Galerkin finite element method, we need to introduce three bilinear forms on \(\mathcal {M}_N\) as follows: for any \(\varphi =\{\varphi _0, \varphi _b\},\psi =\{\psi _0, \psi _b\}\in \mathcal {M}_N\), we define
where \(\partial _{+} I_j=\{x\in \partial I_j: b(x)n_{I_j}(x)\ge 0\}\), \(\sigma _j\) is a penalty parameter given as follows:
Remark 1
The value of \(\sigma _j\) is chose as \(\sigma _j=\varepsilon h_j^{-1}\) in most of existence works of WG finite element method such as [20, 28, 29]. But \(\varepsilon \)-uniform error estimates can’t be obtained by this choice of \(\sigma _j\).
With the above notations and definitions, the weak Galerkin finite element approximation of the problem (1.1) is to find an approximate solution \(u_N=\{u_0,u_b\}\in \mathcal {M}_N^0\) such that
where
Let \(\phi _{0,i}^{j}, i=1,\ldots , k+1\) be the basis functions of piecewise polynomial space \(\mathbb {P}^k(I_j)\). Denote by \(\mathcal {E}_N^0=\{x_j, j=1,\ldots ,N-1\}\) the set of interior nodes of the mesh \(\mathcal {T}_N\). And let \(\phi _{b,j}, j=0,\ldots ,N\) be the nodal basis function of \(\mathbb {P}^0(\mathcal {E}_N)\), i.e., \(\phi _{b,j}(x_i)=\delta _{ij}\), where \(\delta _{ij}=1\) if \(j=i\) else \(\delta _{ij}=0\) if \(j\ne i\). Denote \(\varPhi _{0,m}=\{\phi _{0,i}^j, 0\}\) where \(m=i+(j-1)(k+1)\), with \(i= 1,\ldots ,k+1, j=1,\ldots ,N\). Let \(\varPhi _{b,j}=\{0, \phi _{b,j}\}\) with \(j=1,\ldots ,N-1\). Then the WG finite element space \(\mathcal {M}_N^0=span\{\varPhi _{0,1},\ldots , \varPhi _{0,(k+1)N}, \varPhi _{b,1},\ldots \varPhi _{b,N-1}\}\). Denote by
then the matrix form of the WG scheme (3.2) can be written as
where \(U_0\) and \(U_b\) represent the vectors of degrees of freedom for \(u_0\) and \(u_b\), respectively. We can write the above system as
and
We emphasize that the inverse \(B_{0,0}^{-1}\) can be computed on each element independently of each other since the matrix \(B_{0,0}\) is block-diagonal owing to the discontinuous nature of the approximation space \(\mathcal {M}_N^0\).
Remark 2
It can be observed that the interior degrees of freedom \(U_0\) can be locally eliminated in terms of the interface degrees of freedom \(U_b\) in practical implementation. This means that, the linear system resulting from WG finite element methods only involves the degrees of freedom on the skeleton of the mesh. Therefore, the degrees of freedom of the WG method is comparable with conforming finite elements, and it is much less than the degrees of freedom of the discontinuous Galerkin method. It is worth to point out that the procedure of elimination of \(U_0\) by \(U_b\) is the so-called Schur complement technique in the domain decomposition community, which can be used any dimensional problem.
3.1 Coercivity of the Bilinear form \(\mathcal {B}(\cdot ,\cdot )\)
We introduce an energy norm \(|||\cdot |||\) in the finite element space \(\mathcal {M}_N\) as follows: for all \(v=\{v_0,v_b\}\in \mathcal {M}_N\),
with the seminorm
where
In addition, for \(v\in \mathcal {M}_N+H_0^1(\varOmega )\), define the discrete \(H^1\) energy norm
with the seminorm
It is worth noting that a function \(v\in H_0^1(\varOmega )\) can be understood as a weak function \(\{v_0, v_b\}\) with \(v_0=v|_{I_j}\) and \(v_b=v|_{\partial I_j}\) for any \(I_j\in {\mathcal T}_h\).
The following lemma shows that the \(|||\cdot |||\)-norm and \(\Vert \cdot \Vert _{\mathcal {M}}\) are equivalent in the WG finite element space \(\mathcal {M}_N^0\).
Lemma 3.1
For any \(v_N=\{v_0, v_b\}\in \mathcal {M}_N^0\), there holds
where \(C_\mathrm{ub}:=\max \{C_\mathrm{eq}, 1\}\) with \(C_\mathrm{eq}=\max \{\sqrt{2}, \sqrt{1+2C_{*}}\}\) and \(C_{\mathrm{lb}}:=1/C_\mathrm{ub}\).
Proof
For any \(v_N=\{v_0, v_b\}\in \mathcal {M}_N^0\), it follows from the definition of weak derivative (2.1) and integration by parts that
Let \(w=D_wv_N\) in (3.6), we have
Using the Cauchy-Schwarz inequality and the trace inequality (4.3), we infer
Thus,
Squaring this inequality and summing over \(I_j\in \mathcal {T}_N\) yields
Recalling (3.1), we have
Then, from the definition of \(\mathcal {S}_d(\cdot ,\cdot )\), we get
As a result,
Moreover,
which yields
with \(C_\mathrm{eq}=\max \{\sqrt{2}, \sqrt{1+2C_{*}}\}\).
As to the lower bound, we choose \(w=v_0'\) in (3.6) to obtain
Using the Cauchy-Schwarz inequality and the trace inequality (4.3), we infer
Thus,
As a result,
which yields
Then, we arrive at
which together with (3.7) yields
From the definition of \(|||\cdot |||\)-norm and \(\Vert \cdot \Vert _{\mathcal {M}}\)-norm, we observe that
with \(C_\mathrm{ub}:=\max \{C_\mathrm{eq}, 1\}\) and \(C_{\mathrm{lb}}:=1/C_\mathrm{ub}\). The proof is completed. \(\square \)
Now we turn to the coercivity of the WG bilinear form \(\mathcal {B}(\cdot ,\cdot )\) with respect to the \(|||\cdot |||\)-norm defined by (3.4).
Lemma 3.2
(Coercivity with respect to the \(|||\cdot |||\)-norm) The WG bilinear form defined by (3.3) is coercive on \(\mathcal {M}_N^0\) with respect to the \(|||\cdot |||\)-norm, i.e.,
Proof
Let \(v_N=\{v_0, v_b\}, w_N=\{w_0, w_b\}\in \mathcal {M}_N^0\). It follows from (2.2) and integration by parts that
Since \(v_b\) and \(w_b\) are single value at the interior nodes of \(\mathcal {T}_N\) and vanish at the boundaries nodes of \(\mathcal {T}_N\), we have
whence we infer from (2.2) that
Summing (3.9) and (3.10), and let \(v_N=w_N\), we obtain
By a simple manipulation, we have
which together with (3.11) yields
Owing to the definition of \(\mathcal {B}(\cdot ,\cdot )\) and (3.12), we obtain, for any \(v_N\in \mathcal {M}_N^0\),
The proof is completed.\(\square \)
As a consequent of Lemma 3.1 and Lemma 3.2, the WG bilinear form \(\mathcal {B}_h(\cdot ,\cdot )\) also has the coercivity with respect to the \(\Vert \cdot \Vert _{\mathcal {M}}\)-norm defined by (3.5).
Lemma 3.3
(Coercivity with respect to the \(\Vert \cdot \Vert _{\mathcal {M}}\)norm) The WG bilinear form defined by (3.3) is coercive on \(\mathcal {M}_N^0\) with respect to the \(\Vert \cdot \Vert _{\mathcal {M}}\)-norm, i.e.,
3.2 Interpolation Operator
Usually, the locally defined \(L^2\) projections on each element and its boundaries are used for the error analysis of WG finite element method in all existence references such as [20, 28, 29]. Unfortunately, the interpolation error bound of \(L^2\) projection is not \(\varepsilon \)-uniform on Shishkin mesh because of its anisotropic property. So in our analysis we will adopt a special interpolation introduced in [19].
On each element \(I_j\in \mathcal {T}_N\) with \(I_j=[x_{j-1},x_j]\), we define the set of \(k+1\) nodal functionals
Now a local interpolation \(\mathcal {I}:{ H^1(I_j)}\rightarrow \mathbb {P}^k(I_j)\) is defined by
which can be extended to a continuous global interpolation \(\mathcal {I} v\).
Obviously, \(\mathcal {I}v|_{I_j}\) is continuous on \(I_j\) and belongs to \(H^1(I_j)\). Then, the weak function \(\{(\mathcal {I}v)|_{I_j}, (\mathcal {I}v)|_{\partial I_j}\}\), still denoted by \(\mathcal {I}v\) for simplicity, belongs to the local WG finite element space \(\mathcal {M}_N(I_j)\).
Lemma 3.4
(Commutativity of \(\mathcal {I}\)) Let \(\mathcal {I}\) be the interpolation operator defined by (3.16). Then, on each element \(I_j\in \mathcal {T}_N\), we have
Proof
It follows from the definition of weak derivative (2.1) that for any \(w\in \mathbb {P}^{k-1}(I_j)\)
Applying integration by parts to the first term on the right hand side of the above equation leads to the assertion.\(\square \)
3.3 Error Equation
The WG finite element scheme (3.2) is not consistent in the sense that for the solution u of problem (1.1), one doesn’t have \(\mathcal {B}_N(u,v_N)=(f,v_0)\) for some \(v_N=\{v_0,v_b\}\in \mathcal {M}_N^0\). As a result of the inconsistency, the usual orthogonality property for the conforming Galerkin finite element methods doesn’t hold true for the weak Galerkin method; i.e., \(\mathcal {B}_N(u-u_N,v_N)\ne 0\) for some \(v_N=\{v_0,v_b\}\in \mathcal {M}_N^0\). In this subsection, we will derive an error equation which will be used in error analysis.
Lemma 3.5
Let u be the solution of the problem (1.1). Then for \(v_N=\{v_0, v_b\}\in \mathcal {M}_N^0\), there holds
where
Proof
Let \(v_N=\{v_0, v_b\}\in \mathcal {M}_N^0\). We infer from Lemma 3.4 that \(D_w(\mathcal {I}u)=(\mathcal {I}u)'\), which yields
Then, it follows the definition of the weak derivative (2.1) and integration by parts that
The definition of \(\mathcal {I}\) and integration by parts implies
thus
which together with (3.19) and (3.20), leads to
Summing the above equation over all element \(I_j\in \mathcal {T}_N\), we obtain
Integration by parts shows that
Summing the above equation over all element \(I_j\in \mathcal {T}_N\), and recalling the fact
we obtain
which combining with (3.21) yields the assertion (3.17).\(\square \)
Lemma 3.6
Let u be the solution of the problem (1.1). Then for \(v_N=\{v_0, v_b\}\in \mathcal {M}_N^0\), there holds
where
Proof
It follows from the definition of the weak convection derivative (2.2) that
Integration by parts shows that
which together with (3.24) and recalling the fact \(\mathcal {I}u = u\) on \(\partial I_j\) yields the assertion (3.22).\(\square \)
Lemma 3.7
(Error equation) Let u and \(u_N\in \mathcal {M}_N^0\) be the solutions of problem (1.1) and (3.2), respectively. Then, for any \(v_N\in \mathcal {M}_N^0\), there holds
where
Here \(\mathcal {E}_1(u,v_N)\) and \(\mathcal {E}_2(u,v_N)\) are defined by (3.18) and (3.23) respectively, and \(\mathcal {E}_3(u,v_N)\) is given as
Proof
Testing (1.1) by \(v_N=\{v_0, v_b\}\in \mathcal {M}_N^0\), we arrive at
Plugging (3.17) and (3.22) into the above equation yields
Since \(\mathcal {I}u\) is continuous in \(\varOmega \), with the aid of the definitions of \(\mathcal {S}_c(\cdot , \cdot )\) and \(\mathcal {S}_d(\cdot , \cdot )\), we conclude
Thus,
Subtracting (3.2) from (3.28) yields the error equation (3.25). The proof is completed.\(\square \)
4 Error Analysis on a Shishkin Mesh
In this section, we will provide a \(\varepsilon \)-uniform error estimate for the error \(u-u_N\) in the \(\Vert \cdot \Vert _{\mathcal {M}}\)-norm defined by (3.5). The error analysis relies on a layer-adapted mesh — the Shishkin mesh, S-decomposition and a priori estimate of the exact solution of (1.1) and a special interpolation introduced in [19]. In the following analysis, we will assume \(\varepsilon \le N^{-1}\) which is realistic for singularly perturbed problem.
The following trace inequality and inverse inequality from [3] will be used frequently in our analysis:
where \(C_\mathrm{tr}\), \(C_\mathrm{inv}\) and \(C_*\) are positive constants, and independent of both \(I_j\) and \(h_j\).
The following statements present a decomposition of the exact solution u of problem (1.1) into a sum of a smooth part and a layer part, which is necessary to the \(\varepsilon \)-uniform error estimates of numerical methods for singularly perturbed problems [8].
Lemma 4.1
(S-decomposition) [15] Let q be some positive integer. Consider the problem (1.1) with the assumption of (1.2). The exact solution u can be composed as \(u=u_{S}+u_{E}\), where the smooth part \(u_S\) and the layer part \(u_E\) satisfies
and
The following lemma shows the approximation properties of the interpolation operator \(\mathcal {I}\) defined by (3.16).
Lemma 4.2
[19] For any element \(I_j\in \mathcal {T}_N\) with \(I_j=[x_{j-1}, x_j]\) and \(v\in H^{k+1}(I_j)\), the interpolation \(\mathcal {I}v\) defined by (3.16) has the following approximation properties:
where C is independent of \(h_j\) and \(\varepsilon \).
From Lemmas 4.1 and 4.2, we have the following interpolation error estimates on the Shishkin mesh \(\mathcal {T}_N\).
Lemma 4.3
[19, 31] Let the exact solution \(u=u_S+u_E\) of the problem (1.1) can be decomposed into a smooth and layer part, respectively. Denote \(\mathcal {I}u_S\) and \(\mathcal {I}u_E\) by the interpolations \(u_S\) and \(u_E\) on a Shishkin mesh, respectively. Assume \(\varepsilon \ln N\le b_0/2(k+1)\). Then, we have \(\mathcal {I}u=\mathcal {I}u_S+\mathcal {I}u_E\) and the estimates
Lemma 4.4
Assume \(u\in H^{k+1}(\varOmega )\). Under the conditions of Lemma 4.3, there holds
with \(l=1,2\).
Proof
Owing to the triangle inequality and (4.7e) and (4.7g) of Lemma 4.3,
As the same procedure, and using the inverse inequality, we get
Due to (4.5) of Lemma 4.2 and (4.4), we obtain, for \(l=1,2\),
The proof is completed.\(\square \)
Lemma 4.5
Assume \(u\in H^{k+1}(\varOmega )\). Let \(\sigma _j\) is given by (3.1). Under the conditions of Lemma 4.3, there holds
Proof
To simplify notation in the proof, let \(\eta _S:=u_S-\mathcal {I}u_S\) and \(\eta _E:=u_E-\mathcal {I}u_E\) denote the interpolation errors of \(u_S\) and \(u_E\), respectively. Then, the total interpolation error \(\eta :=u-\mathcal {I}u\) can be written as \(\eta =\eta _S+\eta _E\).
By the triangle inequality, we have
Owing to the trace inequality (4.1),
then, by (4.5) of Lemma 4.2, we arrive at
where \(\varepsilon N<1\) and \(\varepsilon \ln N<1\) are used.
Using the trace inequality (4.1) again, we have
As a result,
Then, it follows from Lemma 4.4 that
which combining with (4.8) and (4.9) yields
Thus,
The proof is completed.\(\square \)
Lemma 4.6
Let \(u\in H^{k+1}(\varOmega )\) solve the problem (1.1) and \(\sigma _j\) is given by (3.1). Then, for \(v_N\in \mathcal {M}_N^0\), there holds
where C is independent of N and \(\varepsilon \).
Proof
It follows from the Cauchy-Schwarz inequality and Lemma 4.5 that
From (3.23) and (3.27), we observe that
With the aid of the Cauchy-Schwarz inequality and the estimates (4.7a), (4.7b) of Lemma 4.3, we have
On \(\varOmega _1\), the inverse inequality implies
while on \(\varOmega _2\) the Cauchy-Schwarz inequality gives
As a result,
where we use the fact \(N^{-1}(\ln N)^{3/2}<1\).
From (4.15) we observe that
Hence, \(T_2\) can be bounded by
which together with (4.11) and (4.12) completed the proof.\(\square \)
Theorem 4.1
Let u solve the problem (1.1) and \(u_N\in \mathcal {M}_N^0\) be the WG finite element solution of (3.2) calculated on Shishkin mesh \(\mathcal {T}_N\). Then, there holds
where C is independent of N and \(\varepsilon \).
Proof
Let \(\xi :=\mathcal {I}u - u_N\). Owing to Lemma 3.3,
Taking \(v_N=\xi \) in the error equation (3.25) leads to
It follows from Lemma 4.6 that
which together with (4.13) complete the proof.\(\square \)
Theorem 4.2
Assume \(u\in H^{k+1}(\varOmega )\) and \(\sqrt{\varepsilon }(\ln N)^{k+1}<C\). Under the conditions of Lemma 4.3, there holds
where C is independent of N and \(\varepsilon \).
Proof
Let \(\eta = u-\mathcal {I}u\). Since \(\eta \) is continuous in \(\varOmega \), we have \(|\eta |_\mathrm{J}=0\) and \(\mathcal {S}_d(\eta ,\eta )=0\). Then,
Applying the estimates (4.7c)–(4.7f) of Lemma 4.3 and the Cauchy-Schwarz inequality, we obtain
Due to Lemma 4.4, we obtain
which together with (4.7c) of Lemma 4.3 yields
Combining (4.14), (4.15), and (4.16) leads to
which completes the proof.\(\square \)
Using the triangle inequality and the results of Theorems 4.2 and 4.1, we arrive at the following statements.
Theorem 4.3
Let \(u\in H^{k+1}(\varOmega )\) and \(u_N\in \mathcal {M}_N^0\) solve the problem (1.1) and (3.2), respectively. Then, there holds
where C is independent of N and \(\varepsilon \).
5 Numerical Experiments
In this section, we carried out some numerical experiments to verify our theoretical findings in previous section. The Shishkin mesh with N elements is called mesh N. Let \(e_N\) denote the error of the approximate solution computed on the mesh N. Then the approximate order of convergence, i.e., order(2N), is computed by
Firstly, we confirm the convergence rate of the errors between the exact solution u and the WG finite element solution \(u_N=\{u_0, u_b\}\) computed by (3.2) measured in the \(\Vert \cdot \Vert _{\mathcal {M}}\)-norm defined by (3.5). Furthermore, we investigate the convergence properties of the error \(u-u_N\) measured in the \(L^2\)-norm defined by
and the discrete \(L^{\infty }\)-norm given by
Example 1
Consider the following convection–diffusion problem
with the right-hand side f chosen such that
is the exact solution, which has a boundary layer with the width \(\mathcal {O}(\varepsilon \ln \frac{1}{\varepsilon })\) at the outflow boundary \(x=1\).
Table 1 displays the history of convergence of the WG finite element method for Example 1. They are clear illustrations of the k-th order convergence rate in the energy-like norm (3.5), which is agree with the theoretical result of Theorem 4.3. The errors \(\Vert u-u_N\Vert _{\mathcal {M}}\), \(\Vert u-u_0\Vert _{L^2(\mathcal {T}_N)}\) and \(\Vert u-u_b\Vert _{L^{\infty }(\mathcal {T}_N)}\) for Example 1 with \(\varepsilon =10^{-9}\) are plotted on log-log scales in Fig. 1. It is observed that the rate of convergence in the \(\Vert \cdot \Vert _{\mathcal {M}}\)-norm is \(\mathcal {O}((N^{-1}\ln N)^k)\), which verifies the theoretical findings in Theorem 4.3. Fig. 1 indicates that our WG finite element scheme (3.2) has the optimal convergence rates of \(\mathcal {O}(N^{-(k+1)})\) in the \(L^2\)-norm and the super-convergence rate of \(\mathcal {O}((N^{-1}\ln N)^{2k})\) in the discrete \(L^{\infty }\)-norm.
Example 2
Consider the following convection–diffusion problem
The exact solution of this test problem is unknown. Therefore, we use the following variant of the double mesh principle to estimate the errors. Compute
where \(\Vert \cdot \Vert _{{\mathcal T}_N}\) refers one of the three norm \(\Vert \cdot \Vert _{\mathcal {M}}\), \(\Vert \cdot \Vert _{L^2}\) and \(\Vert \cdot \Vert _{L^{\infty }}\), and \(u_{2N}\) is the WG solution obtained on a mesh containing the mesh points of the original Shishkin mesh \({\mathcal T}_N\) and its midpoints \(x_j=(x_{j}+x_{j+1})/2, j=0,1,\ldots ,N-1\).
For different \(\varepsilon =10^{-1}, 10^{-2}, 10^{-3}\), the numerical solutions of Example 2 computed by the WG scheme (3.2) with \(\mathbb {P}^1\) element on Shishkin meshes of \(N=32\) elements are displayed in Fig. 2. It can be observed that there is a boundary layer near \(x=1\) for small \(\varepsilon \).
We show the history of convergence of the WG finite element method for Example 2 in Table 2. The errors \(\Vert u-u_N\Vert _{\mathcal {M}}\), \(\Vert u-u_0\Vert _{L^2(\mathcal {T}_N)}\) and \(\Vert u-u_b\Vert _{L^{\infty }(\mathcal {T}_N)}\) for Example 2 with \(\varepsilon =10^{-9}\) are plotted on log-log scales in Fig. 3. From Table 2 and Fig. 3, we observe the same convergence behavior as in Example 1.
6 Conclusion
In this article, a WG finite element method is presented and analyzed for the one-dimensional singularly perturbed problem of convection–diffusion type. To obtain \(\varepsilon \)-independent error estimate, a special stabilization term is proposed for the discretization of the diffusion term. Optimal and uniformly convergent error estimates in the energy-like norm of the present method is proved on the Shishkin mesh for any high order element. In the view of implementation, the presented WG finite element method and the technique of elimination of interior unknowns can be extended to two-dimensional singularly perturbed problem of convection–diffusion type. Using our error analysis approach, it is not hard to prove optimal and uniformly convergent error estimates in the energy-like norm of our presented method with linear element on Shishkin meshes. As for the uniform convergence of high order element case, the main difficulty is to construct a special type of interpolation satisfying two following conditions: (1) its interpolation error is uniformly convergent on Shishkin meshes; (2) it is suitable for the analysis of the WG finite element method. We will investigate this topic in future work.
References
Al-Taweel, A., Hussain, S., Wang, X., Jones, B.: A \(P_0\)-\(P_0\) weak Galerkin finite element method for solving singularly perturbed reaction–diffusion problems. Numer. Methods Partial Differ. Eq. 36, 213–227 (2020)
Cui, M., Zhang, S.: On the uniform convergence of the weak Galerkin finite element method for a singularly-perturbed biharmonic equation. J. Sci. Comput. 82, 5 (2020). https://doi.org/10.1007/s10915-019-01120-z
Di Pietro, D.A., Ern, A.: Mathematical aspects of discontinuous Galerkrin methods. Springer-Verlag, Berlin (2012)
Franz, S., Roos, H.-G.: The capriciousness of numerical methods for singular perturbations. SIAM Rev. 53(1), 157–173 (2011)
Lin, R.: Discontinuous discretization for least-squares formulation of singularly perturbed reaction–diffusion problems in one and two dimensions. SIAM J. Numer. Anal. 47, 89–108 (2008)
Lin, R.: Discontinuous Galerkin least-squares finite element methods for singularly perturbed reaction–diffusion problems with discontinuous coefficients and boundary singularities. Numer. Math. 112, 295–318 (2009)
Lin, R., Ye, X., Zhang, S., Zhu, P.: A weak Galerkin finite element method for singularly perturbed convection–diffusion–reaction problems. SIAM J. Numer. Anal. 56(3), 1482–1497 (2018)
Linß, T.: The necessity of Shishkin decompositions. Appl. Math. Lett. 14, 891–896 (2001)
Linß, T.: Layer-adapted meshes for convection–diffusion problems. Comput. Methods Appl. Mech. Eng. 192, 1061–1105 (2003)
Linß, T., Stynes, M.: The SDFEM on Shishkin meshes for linear convection–diffusion problems. Numer. Math. 87, 457–484 (2001)
Liu, L., Leng, H., Long, G.: Analysis of the SDFEM for singularly perturbed differential–difference equations. Calcolo 55, 23 (2018). https://doi.org/10.1007/s10092-018-0265-4
Mu, L., Wang, J., Ye, X., Zhang, S.: A weak Galerkin finite element method for the Maxwell equations. J. Sci. Comput. 65, 363–386 (2015)
Roos, H.-G.: Layer-adapted grids for singular perturbation problem. ZAMM Z. Angew. Math. Mech. 78, 291–309 (1998)
Roos, H.-G., Zarin, H.: A supercloseness result for the discontinuous Galerkin stabilization of convection–diffusion problems on Shishkin meshes. Numer. Methods Partial Differ. Equ. 23(6), 1560–1576 (2007)
Roos, H.-G., Stynes, M., Tobiska, L.: Robust numerical methods for singularly perturbed differential equations, Springer Series in Computational Mathematics, vol. 24. Springer-Verlag, Berlin Heidelberg (2008)
Stynes, M., O’Riorddan, E.: A uniformly convergent Galerkin method on a Shishkin mesh for a convection–diffusion problem. J. Math. Anal. Appl. 214, 36–54 (1997)
Stynes, M., Tobiska, L.: Analysis of the streamline-diffusion finite element method on a Shishkin mesh for a convection–diffusion problem with exponential layers. J. Numer. Math. 9, 59–76 (2001)
Singh, G., Natesan, S.: Superconvergence of discontinuous Galerkin method with interior penalties for singularly perturbed two-point boundary-value problems. Calcolo 55, 54 (2018). https://doi.org/10.1007/s10092-018-0297-9
Tobiska, L.: Analysis of a new stabilized higher order finite element method for advection–diffusion equations. Comput. Methods Appl. Mech. Eng. 196, 538–550 (2006)
Wang, J., Ye, X.: A weak Galerkin finite element method for second-order elliptic problems. J. Comput. Appl. Math. 241, 103–115 (2013)
Wang, J., Ye, X.: A weak Galerkin finite element method for the Stokes equations. Adv. Comput. Math. 42, 155–174 (2016)
Wang, C., Wang, J.: An efficient numerical scheme for the biharmonic equation by weak Galerkin finite element methods on polygonal or polyhedral meshes. Comput. Math. Appl. 68, 2314–2330 (2014)
Xie, Z.Q., Zhang, Z.: Superconvergence of DG method for one-dimensional singularly perturbed problems. J. Comput. Math. 25, 185–200 (2007)
Xie, Z.Q., Zhang, Z.Z., Zhang, Z.: A numerical study of uniform superconvergence for solving singularly perturbed problems. J. Comput. Math. 27, 280–298 (2009)
Zarin, H., Roos, H.-G.: Interior penalty discontinuous approximations of convection–diffusion problems with parabolic layers. Numer. Math. 100, 735–759 (2005)
Zhang, Z.: Finite element superconvergence on Shishkin mesh for 2-D convection–diffusion problems. Math. Comput. 245, 1147–1177 (2003)
Zhang, Z.Z., Xie, Z.Q., Zhang, Z.: Superconvergence of discontinuous Galerkin methods for convection diffusion problems. J. Sci. Comput. 41, 70–93 (2009)
Zhang, T., Tang, L.: A weak finite element method for elliptic problems in one space dimension. Appl. Math. Comput. 280, 1–10 (2016)
Zhang, R., Song, H., Luan, N.: Weak Galerkin finite element method for valuation of American options. Front. Math. China 9, 455–476 (2014)
Zhu, H., Zhang, Z.: Uniform convergence of the LDG method for a singularly perturbed problem with the exponential boundary layer. Math. Comput. 83, 635–663 (2014)
Zhu, P., Xie, S.: Higher order uniformly convergent continuous/discontinuous Galerkin methods for singularly perturbed problems of convection-diffusion type. Appl. Numer. Math. 76, 48–59 (2014)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supported by Natural Science Foundation of Zhejiang province, China (Grant No.LY19A010008).
Rights and permissions
About this article
Cite this article
Zhu, P., Xie, S. A Uniformly Convergent Weak Galerkin Finite Element Method on Shishkin Mesh for 1d Convection–Diffusion Problem. J Sci Comput 85, 34 (2020). https://doi.org/10.1007/s10915-020-01345-3
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10915-020-01345-3
Keywords
- Singularly perturbed problem
- Convection–diffusion equation
- Weak Galerkin finite element method
- Shishkin mesh