Loading [MathJax]/jax/output/SVG/jax.js
Special Issues

A weak Galerkin finite element method for nonlinear conservation laws

  • A weak Galerkin (WG) finite element method is presented for nonlinear conservation laws. There are two built-in parameters in this WG framework. Different choices of the parameters will lead to different approaches for solving hyperbolic conservation laws. The convergence analysis is obtained for the forward Euler time discrete and the third order explicit TVDRK time discrete WG schemes respectively. The theoretical results are verified by numerical experiments.

    Citation: Xiu Ye, Shangyou Zhang, Peng Zhu. A weak Galerkin finite element method for nonlinear conservation laws[J]. Electronic Research Archive, 2021, 29(1): 1897-1923. doi: 10.3934/era.2020097

    Related Papers:

    [1] Xiu Ye, Shangyou Zhang, Peng Zhu . A weak Galerkin finite element method for nonlinear conservation laws. Electronic Research Archive, 2021, 29(1): 1897-1923. doi: 10.3934/era.2020097
    [2] Hongze Zhu, Chenguang Zhou, Nana Sun . A weak Galerkin method for nonlinear stochastic parabolic partial differential equations with additive noise. Electronic Research Archive, 2022, 30(6): 2321-2334. doi: 10.3934/era.2022118
    [3] Jiwei Jia, Young-Ju Lee, Yue Feng, Zichan Wang, Zhongshu Zhao . Hybridized weak Galerkin finite element methods for Brinkman equations. Electronic Research Archive, 2021, 29(3): 2489-2516. doi: 10.3934/era.2020126
    [4] Bin Wang, Lin Mu . Viscosity robust weak Galerkin finite element methods for Stokes problems. Electronic Research Archive, 2021, 29(1): 1881-1895. doi: 10.3934/era.2020096
    [5] Guanrong Li, Yanping Chen, Yunqing Huang . A hybridized weak Galerkin finite element scheme for general second-order elliptic problems. Electronic Research Archive, 2020, 28(2): 821-836. doi: 10.3934/era.2020042
    [6] Chunmei Wang . Simplified weak Galerkin finite element methods for biharmonic equations on non-convex polytopal meshes. Electronic Research Archive, 2025, 33(3): 1523-1540. doi: 10.3934/era.2025072
    [7] Yue Feng, Yujie Liu, Ruishu Wang, Shangyou Zhang . A conforming discontinuous Galerkin finite element method on rectangular partitions. Electronic Research Archive, 2021, 29(3): 2375-2389. doi: 10.3934/era.2020120
    [8] Suayip Toprakseven, Seza Dinibutun . A weak Galerkin finite element method for parabolic singularly perturbed convection-diffusion equations on layer-adapted meshes. Electronic Research Archive, 2024, 32(8): 5033-5066. doi: 10.3934/era.2024232
    [9] Yan Yang, Xiu Ye, Shangyou Zhang . A pressure-robust stabilizer-free WG finite element method for the Stokes equations on simplicial grids. Electronic Research Archive, 2024, 32(5): 3413-3432. doi: 10.3934/era.2024158
    [10] Jun Pan, Yuelong Tang . Two-grid $ H^1 $-Galerkin mixed finite elements combined with $ L1 $ scheme for nonlinear time fractional parabolic equations. Electronic Research Archive, 2023, 31(12): 7207-7223. doi: 10.3934/era.2023365
  • A weak Galerkin (WG) finite element method is presented for nonlinear conservation laws. There are two built-in parameters in this WG framework. Different choices of the parameters will lead to different approaches for solving hyperbolic conservation laws. The convergence analysis is obtained for the forward Euler time discrete and the third order explicit TVDRK time discrete WG schemes respectively. The theoretical results are verified by numerical experiments.



    The nonlinear hyperbolic equation of conservation laws is considered: seeking an unknown function u satisfying

    ut+f(u)x=0,(x,t)I×(0,T], (1.1)
    u(x,0)=ϕ(x),xI, (1.2)

    with I=(0,1) and a periodic boundary condition. For simplicity, the nonlinear flux function f(u) is assumed to be smooth enough.

    The Runge-Kutta discontinuous Galerkin (RKDG) method has been developed for solving time-dependent nonlinear conservation laws [1,2]. The RKDG method, by name, uses DG method for spacial discretization and explicit high order Runge-Kutta method for time discretizations. The stability and error analysis of the RKDG method has been studied in [22,23] for the second and the third order explicit total variation diminishing Runge-Kutta method. A discontinuous Galerkin method with Lagrange multiplier (DGLM) has been developed in [6,7] for nonlinear conservation laws with backward Euler method for time discretization. Lagrange multipliers are introduced on each element so that they are the only globally coupled variables in the resulting system. The final global system of the DGLM has fewer numbers of coupled unknowns than the usual DG methods.

    The most finite element methods for conservation law employ purely upwind or general monotone fluxes. In [11], discontinuous Galerkin methods using more general upwind-biased numerical fluxes have been investigated for time-dependent linear conservation laws. Optimal order of convergence rate has been obtained. As pointed out in [11], purely upwind fluxes may be difficult to construct for complex systems.

    Weak Galerkin methods refer to general finite element techniques for partial differential equations and were first introduced in [18,19] for second order elliptic equations. Weak Galerkin methods make use of discontinuous piecewise polynomials on finite element partitions with arbitrary shape of polygons and polyhedrons. The weak Galerkin methods have been applied to solve various PDEs such as second order elliptic equations, biharmonic equations, Stokes equations, parabolic equations, second order hyperbolic equations, Maxwell's equations and singularly perturbed convection-diffusion-reaction problems [8,9,10,12,13,14,15,16,17,19,20]. A least-squares based weak Galerkin method is presented for stationary linear hyperbolic equations [21].

    The objective of this work is to develop a weak Galerkin finite element method for the time-dependent nonlinear conservation laws (1.1)-(1.2), with the explicit first order Euler method and the third order explicit TVD Runge-Kutta method for time discretization. Similar to [11], this new WG formulation provides a class of finite element methods featuring two built-in parameters λ1 and λ2. By tuning these parameters, different schemes can be obtained for solving the problem (1.1)-(1.2) including purely upwinding scheme. However, unlike the method in [11], our new WG method can be used for the time-dependent nonlinear conservation laws. The stability is derived for the semi-discretized WG method. For the forward Euler time discrete WG method, the L2 error estimate of O(hk+12+τ) is derived in general and convergence rate of O(hk+1+τ) is obtained for some special combination of the parameters. The temporal-spatial CFL condition τ<Ch2 is necessary in the error analysis for the first order forward Euler method. If the third order explicit TVDRK time discrete scheme [3] is used, the L2 error estimate of O(hk+12+τ3) is proved under the CFL condition τ<Ch.

    The rest of the paper is organized as follows. In Section 2, a WG finite element is proposed for spatial discretization. The stability is derived for semi-discretized WG method. The forward Euler time discretized WG scheme and its error analysis are presented in Section 3. Error analysis of the WG method with third order explicit TVDRK time discretization can be found in Section 4. Numerical experiments are presented in Section 5 to support the theoretical results. We end the paper with a conclusion.

    The usual notation of norms in Sobolev spaces will be used. For any integer s0, let Hs(D) represent the well-known Sobolev space equipped with the norm s,D, which consists of functions with (distributional) derivatives of order no more than s in L2(Ω). Next, denote by (,)D the scalar inner product on L2(D) and D denotes the associated L2 norm. Furthermore, let ,D be the norm on L(D). If D=I, we omit this subscript.

    In this section, we introduce a weak Galerkin finite element method for solving the model problem (1.1)-(1.2).

    Let Th=Ni=1Ii with Ii=[xi12,xi+12] for 1iN where

    0=x12<x32<<xN+12=1.

    Define

    hi=xi+12xi12,1iN;h=max1iNhi,Ii={xi12}{xi+12}.

    The weak Galerkin methods introduce a new way to define a function v, called weak function, which allows v taking different forms in the interior and on the boundary of the element:

    v={v0,inIi0,vb,onIi,

    where Ii0 is the interior of Ii, where Ii is an element in Th. Since a weak function v is formed by two parts v0 and vb, we write v as v={v0,vb} in short without confusion.

    Denote by Pk(Ii) the set of polynomials on Ii with degree no more than k. Let Vh be a weak Galerkin finite element space consisting of weak function v={v0,vb} defined as follows for k1,

    Vh={v={v0,vb}:v0|IiPk(Ii),vb|IiP0(Ii),vb(0)=vb(1),i=1,,N}. (2.1)

    Denote by v(xi+12) and v(x+i+12) the values of v at xi+12 from the left element Ii and the right element Ii+1, respectively. Further, the jump of v at xi+12 is denoted as [[v]]i+12=v(x+i+12)v(xi+12).

    For v,wVh, we introduce some notations,

    v,wIi=v(xi+12)w(xi+12)+v(x+i12)w(x+i12),v,wTh=Ni=1v,wIi,(v,w)Th=Ni=1(v,w)Ii=Ni=1Iivwdx.

    For any v={v0,vb}Vh, a weak derivative Dwf(v)Pk(Ii) for i=1,,N satisfies

    (Dwf(v),w)Ii=(f(v0),Dw)Ii+f(vb),wnIi,wPk(Ii), (2.2)

    where n=1 at xi12 and n=1 at xi+12. Here Dw means the first order derivative of w, i.e. Dw=w.

    Then we introduce a stabilizer in Vh as follows:

    sh(v,w)=Ni=1(λ1(v0vb),w0wb+Ii+λ2(v0vb),w0wbIi), (2.3)

    where +Ii=xi+12, Ii=xi12, and λ1 and λ2 are two parameters. Here v0(xi+12) and w0(xi+12) are the left limit of v0(x) and w0(x) at xi+12 respectively, and v0(xi12) and w0(xi12) are the right limit of v0(x) and w0(x) at xi12 respectively.

    The following is the semi-discretized weak Galerkin method.

    Algorithm 1 (SD-WG method). A numerical approximation for (1.1)-(1.2) can be obtained by seeking uh(t)={u0(t),ub(t)}Vh satisfying uh(0)=Q0ϕ and the following equation,

    (tu0,v0)+(Dwf(uh),v0)Th+sh(uh,v)=0, v={v0,vb}Vh, (2.4)

    where Q0 is the L2 projection onto Pk(Ii) on each element Ii.

    Let Ii and Ii+1 be the two intervals sharing xi+12. Define the average {{v}} on xi+12 by

    {{v}}i=λ1λ1+λ2v(xi+12)+λ2λ1+λ2v(x+i+12),

    and

    {{v}}0=v(0),{{v}}N=v(1).

    Please note that the definition of average {{}} above is different from the standard definition of average which is when λ1=λ2.

    Testing (2.4) by v={v0,vb} such that v0=0 and vb=1 at xi+12 and vb=0 otherwise, we can easily obtain that at xi+12

    ub(t)={{u0(t)}}. (2.5)

    Remark 1 (Relation to the upwinding-type DG method). If f(u)>0 and taking λ2=0, then ub=u0 and sh(uh,vh)=0. Thus, the WG scheme (2.4) reduces to

    (tu0,v0)Ii(f(u0),v0)Ii+f(u0),v0nIi=0,1iN,

    which is the classical upwinding type discontinuous Galerkin method for nonlinear conservation law.

    Remark 2 (Relation to the upwinding-biased DG method). Considering a special case f(u)=u. Taking λ1=λ2=λ in (2.3), and denote by

    ˆu0=(12+14λ)u0+(1214λ)u+0,

    then the WG scheme (2.4) reduces to

    (tu0,v0)Ii(u0,v0)Ii+(ˆu0)i+1/2(v0)i+1/2(ˆu0)i1/2(v0)+i1/2=0,1iN,

    which is the upwinding-biased DG method discussed in [11].

    In this subsection, we will study the stability of the semi-discrete WG scheme (2.4).

    Lemma 2.1. Let α2f(s)α1. If λ1>α1/2 and λ2>α2/2, then for v={v0,vb}Vh, there holds

    (Dwf(v),v0)Th+sh(v,v)0. (2.6)

    Proof. As [5], we introduce g(s)=f(s), then

    (f(v0),Dv0)Th=Ni=1Iif(v0)Dv0dx=Ni=1IiDg(v0)dx=Ni=1(g(v0(xi+12))g(v0(x+i12)))=Ni=1v0(xi+12)vb(xi+12)f(s)dsNi=1v0(x+i12)vb(xi12)f(s)ds.

    Since f(vb) and vb take single value on Ii, the periodic boundary condition implies

    Ni=1f(vb),vbnIi=0. (2.7)

    Using the definition of the weak derivative (2.2), the mean value theory and the periodic boundary condition that

    (Dwf(v),v0)Th=(f(v0),Dv0)Th+f(vb),v0nTh=Ni=1v0(xi+12)vb(xi+12)(f(s)f(vb))ds+Ni=1v0(x+i12)vb(xi12)(f(s)f(vb))ds=Ni=1v0(xi+12)vb(xi+12)f(ξ1)(svb)ds+Ni=1v0(x+i12)vb(xi12)f(ξ2)(svb)ds

    which implies

    (Dwf(v),v0)Thα12Ni=1(v0(xi+12)vb(xi+12))2+α22Ni=1(v0(x+i12)vb(xi12))2, (2.8)

    and

    (Dwf(v),v0)Thα2(Ni=1(v0(xi+12)vb(xi+12))2+Ni=1(v0(x+i12)vb(xi12))2), (2.9)

    where α=max{|α1|,|α2|}. The equation (2.8) gives

    (Dwf(v),v0)Th+sh(v,v)Ni=1(λ1α12)(v0(xi+12)vb(xi+12))2+Ni=1(λ2+α22)(v0(x+i12)vb(xi12))20.

    We complete the proof.

    Define v2=Iv2dx. Then we have the following stability result.

    Lemma 2.2 (Stability of the SD-WG method). Let uh={u0,ub}Vh be the solution of the semi-discrete WG scheme (2.4), then

    u0(T)u0(0). (2.10)

    Proof. Let v=uh in the semi-discrete WG scheme (2.4). From (2.6), we have

    12ddtu02((u0)t,u0)+(Dwf(uh),u0)Th+sh(uh,uh)=0.

    Integrating the above inequality with respect to time between 0 and T completes the proof.

    We use forward Euler method for time discretization to obtain a full discrete WG finite element method.

    Let τ be a time step and tn=nτ.

    Algorithm 2 (FE-WG method). Find un+1h={un+10,un+1b}Vh satisfying u0h={Q0ϕ,{{Q0ϕ}}} and

    (un+10un0,v0)+τ(Dwf(unh),v0)Th+τsh(unh,v)=0,vVh. (3.1)

    Testing (3.1) by v={v0,vb} such that v0=0 and vb=1 at xi+12 and vb=0 otherwise, we can easily obtain that at xi+12

    unb={{un0}}. (3.2)

    We define a projection operator Qhu={Q0u,Qbu}Vh, where Q0 is the L2 projection onto Pk(Ii) on each element Ii and Qbu={{Q0u}} on Ii.

    Define

    enh={en0,enb}=Qhu(tn)unh={Q0u(tn)un0,Qbu(tn)unb}, (3.3)
    ρnh={ρn0,ρnb}=u(tn)Qhu(tn)={u(tn)Q0u(tn),u(tn)Qbu(tn)} (3.4)

    and

    1(v)=(ut(tn)u(tn+1)u(tn)τ,v0),2(v)=(Dwf(u(tn)),v0)Th(Dwf(unh),v0)Th.

    Lemma 3.1. The error function enh defined in (3.3) satisfies the following equation,

    12en+102+12en+10en0212en02+τsh(enh,en+1henh)+τsh(enh,enh)+τ2(en+1h)=τ1(en+1h)+τsh(Qhu(tn),en+1h). (3.5)

    Proof. Testing (1.1) by v0 of v={v0,vb}Vh we arrive at

    (ut,v0)+(Df(u),v0)Th=0.

    The definition of Dw implies,

    (Df(u(tn)),v0)Th=(Dwf(u(tn)),v0)Th.

    It follows from the definition of Q0 and the above equation,

    (Q0u(tn+1)Q0u(tn),v0)+τ(Dwf(u(tn)),v0)Th=τ1(v).

    Adding τsh(Qhu(tn),v) to the both sides of the above equation implies

    (Q0u(tn+1)Q0u(tn),v0)+τ(Dwf(u(tn)),v0)Th+τsh(Qhu(tn),v)=τsh(Qhu(tn),v)τ1(v).

    The difference of (3.1) and the equation above yields

    (en+10en0,v0)+τsh(enh,v)+τ(Dwf(u(tn)),v0)Thτ(Dwf(unh),v0)Th=τsh(Qhu(tn),v)τ1(v). (3.6)

    Using the fact 2p(pq)=p2+(pq)2q2 and letting v=en+1h, (3.6) becomes

    12en+102+12en+10en0212en02+τsh(enh,en+1henh)+τsh(enh,enh)+τ2(en+1h)=τ1(en+1h)+τsh(Qhu(tn),en+1h).

    We have proved the lemma.

    In this subsection we carry out an a priori error estimate for the fully discrete WG scheme with forward Euler time marching for smooth solutions. We will assume the nonlinear flux function f(u) is smooth enough for simplicity.

    For any function φH1(Ii), the following trace inequality holds true,

    φ2IiC(h1iφ2Ii+hiφ2Ii). (3.7)

    Lemma 3.2. Let ρnh and enh be defined in (3.4) and (3.3) respectively. Then we have

    ρn0IiChk+1|u|k+1,Ii,ρnbIiChk+12|u|k+1,Ii, (3.8)
    enbIiCh1/2en0Ii. (3.9)

    Proof. The first estimate in (3.8) is a direct result of the approximation property of the L2 projection Q0. The second estimate in (3.8) follows from the trace inequality (3.7) and the definitions of ρnb and Qh,

    ρnbIi=u(tn)Qbu(tn)Ii={{u(tn)Q0u(tn)}}IiChk+12|u|k+1,Ii.

    Similarly, we can prove (3.9).

    Lemma 3.3. Let τch2. Then we have

    τsh(Qhu(tn),en+1h)Cτh2k+1|u|2k+1+ϵ1en+10en02+ϵ2τsh(enh,enh), (3.10)
    τ1(en+1h)Cτ3utt2+ϵ1en+10en02+τen02, (3.11)
    τsh(enh,en+1henh)Cτen02+ϵ1en+10en02. (3.12)

    Proof. It follows from (3.7), the Cauchy-Schwarz inequality and the definition of Qb that

    sh(Qhu(tn),en+1h)=sh(Qhu(tn),en+1henh)+sh(Qhu(tn),enh)=Ni=1(λ1(Q0u(tn)u(tn)),(en+10en0)(en+1benb)+Ii+λ2(Q0u(tn)u(tn)),(en+10en0)(en+1benb)Ii)+Ni=1(λ1(Q0u(tn)u(tn)),en0enb+Ii+λ2(Q0u(tn)u(tn)),en0enbIi)C(h1hk+1|u|k+1en+10en0+hk+12|u|k+1s1/2h(enh,enh)).

    Using the assumption τch2, we have

    τsh(Qhu(tn),en+1h)Cτ(h1hk+1|u|k+1en+10en0+hk+12|u|k+1s1/2h(enh,enh))C(ττh2h2k+2|u|2k+1+τh2k+1|u|2k+1)+ϵ1en+10en02+ϵ2τsh(enh,enh)Cτh2k+1|u|2k+1+ϵ1en+10en02+ϵ2τsh(enh,enh),

    which proves (3.10).

    It follows from the Cauchy-Schwarz inequality that

    τ1(en+1h)Cτ2utten+10Cτ2utt(en+10en0+en0)Cτ3utt2+ϵ1en+10en02+τen02.

    Using (3.7), Cauchy-Schwarz inequality, Lemma 3.2 and the assumption τch2, we have

    τsh(enh,en+1henh)Cτhen0en+10en0Cτen02+ϵ1en+10en02.

    We have proved the lemma.

    Lemma 3.4. For τch2 and λ1,λ2α. Then we have

    τ2(en+1h)Cτh2k+1|u|2k+1+Cτen02+ϵ1en+10en02+τ(12+ϵ2)sh(enh,enh). (3.13)

    Proof. It follows from definition of the weak derivative Dw and the Taylor theory,

    2(en+1h)=(Dwf(u(tn)),en+10)Th(Dwf(unh),en+10)Th=(f(u(tn))f(un0),Den+10)Th+f(u(tn))f(unb),en+10nTh=(f(u(tn))(ρn0+en0),Den+10)Th+12(f(ξ1)(ρn0+en0)2,Den+10)Th+f(u(tn))(ρnb+enb),en+10nTh12f(ξ2)(ρnb+enb)2,en+10nTh
    =(f(u(tn))ρn0,Den+10)Th+f(u(tn))ρnb,en+10nTh+((f(u(tn))en0,Den+10)Th+f(u(tn))enb,en+10nTh)+12(f(ξ1)(ρn0+en0)2,Den+10)Th12f(ξ2)(ρnb+enb)2,en+10nTh=5i=1Mi.

    Next, we will bound all the terms above. Define ¯f(u)=1|Ii|Iif(u)dx. Using the definitions of ρn0 and Q0, (3.8) and the inverse inequality, we arrive

    M1=(f(u(tn))ρn0,Den+10)Th=((f(u(tn))¯f(u(tn)))ρn0,Den+10)ThChk+1|u|k+1en+10Chk+1|u|k+1(en+10en0+en0).

    It follows from the fact f(u(tn))ρnb,enbnTh=0, (3.7) and the inverse inequality,

    M2=f(u(tn))ρnb,en+10nTh=f(u(tn))ρnb,(en+10en0)nTh+f(u(tn))ρnb,(en0enb)nThC(h1hk+1|u|k+1en+10en0+hk+12|u|k+1s12h(enh,enh)).

    Using the inverse inequality, the trace inequality (3.7), (3.9) and (2.9), we obtain

    M3=(f(u(tn))en0,Den+10)Th+f(u(tn))enb,en+10nTh=((f(u(tn))¯f(u(tn)))en0,Den+10)Th+(f(u(tn))¯f(u(tn)))enb,en+10nTh(¯f(u(tn))en0,D(en+10en0))Th+¯f(u(tn))enb,(en+10en0)nTh(¯f(u(tn))en0,Den0)Th+¯f(u(tn))enb,en0nThC(en02+h1en0en+10en0+12sh(enh,enh)).

    As [22,23], we adopt the following a priori assumption to deal with the nonlinearity of the flux f(u)

    en0Ch3/2. (3.14)

    And the justification of such assumption will be given in Remark 3. Then the above estimate with (3.2) gives

    en0Ch,enbCh. (3.15)

    Using (3.8), (3.15) and the inverse inequality, we have

    M4=12(f(ξ)(ρn0+en0)2,Den+10)ThC(hk+1|u|k+1+en0)(en+10en0+en0),M5=12f(ξ)(ρnb+enb)2,en+10nThC(hk+1|u|k+1+en0)(en+10en0+en0).

    Combining all the estimates above gives

    τ2(en+1h)Cτh2k+1|u|2k+1+Cτen02+ϵ1en+10en02+τ(12+ϵ2)sh(enh,enh),

    which proves the lemma.

    Theorem 3.5. Let un+1hVh be the WG finite element solution of the problem (1.1)-(1.2) arising from (3.1). Then there exists a constant C such that

    en+10C(hk+12|u|k+1+τutt).

    Proof. It follows from (3.5) that

    12en+102+12en+10en0212en02+τsh(enh,en+1henh)+τsh(enh,enh)+τ2(en+1h)=τ1(en+1h)+τsh(Qhu(tn),en+1h).

    Then using Lemma 3.3 and Lemma 3.4, we have

    12en+102+(124ϵ1)en+10en0212en02+(1122ϵ2)sh(enh,enh)Cτh2k+1|u|2k+1+Cτen02+Cτ3utt2.

    Letting ϵ1 and ϵ2 small enough gives

    12en+10212en02Cτh2k+1|u|2k+1+Cτen02+Cτ3utt2.

    Summing the above equation over n+1, we have

    en+102e002+Ch2k+1|u|2k+1+Cτ2utt2+ni=0Cτei02.

    The discrete Gronwall's inequality implies

    en+102C(h2k+1|u|2k+1+τ2utt2),

    which proves the theorem.

    Remark 3. The assumption (3.14) is obviously satisfied for n=0 since u00=Q0ϕ. If (3.14) holds for a certain n, then it follows from the conclusion of Theorem 3.5 and τch2 that

    en+10C(hk+1/2+τ)Ch3/2,

    for k1. Thus the given a priori (3.14) is verified.

    The result in the following theorem is a special case of Theorem 3.5. We omit the proof of the theorem since it is similar to the proof of Theorem 3.5.

    Theorem 3.6. Let un+1hVh be the WG finite element solution of the problem (1.1)-(1.2) arising from (3.1). Assume f(u)>0 (or f(u)<0) and let λ2=0 (or λ1=0). Then there exists a constant C such that

    en+10C(hk+1|u|k+1+τutt).

    This section discusses the fully discrete WG method coupled with the explicit TVDRK3 time-marching.

    First, we set the initial value u0h={Q0ϕ,{{Q0ϕ}}}. Then for each n0, the approximate solution from the time nτ to the next time (n+1)τ is defined as follows:

    Algorithm 3 (RK3-WG method). Find un,1h={un,10,un,1b},un,2h={un,20,un,2b} and un+1h={un+10,un+1b} in the finite element space Vh such that, for any vVh

    (un,10un0,v0)+τ(Dwf(unh),v0)Th+τsh(unh,v)=0, (4.1)
    (un,2014un,1034un0,v0)+14τ(Dwf(un,1h),v0)Th+14τsh(un,1h,v)=0, (4.2)
    (un+1023un,2013un0,v0)+23τ(Dwf(un,2h),v0)Th+23τsh(un,2h,v)=0. (4.3)

    Similar as (3.2), we obtain the time update for ub as

    un,1b={{un,10}},un,2b={{un,20}},un+1b={{un+10}}. (4.4)

    Following [22], two reference functions are defined in parallel to the TVDRK3 time discretization stages for the exact solution of the conservation law (1.1). Let u(0)(x,t)=u(x,t) and

    u(1)(x,t)u(0)(x,t)+τ[f(u0(x,t))]x=0, (4.5)
    u(2)(x,t)14u(1)(x,t)34u(0)(x,t)+14τ[f(u(1))(x,t)]x=0. (4.6)

    Lemma 4.1 ([23]). If utttt is bounded uniformly for any t[0,T], we have

    u(x,t+τ)23u(2)(x,t)13u(0)(x,t)+23τ[f(u(2))(x,t)]x=E(x,t), (4.7)

    where E(x,t) is the local truncation error in time and E(x,t)=O(τ4) uniformly for any time t[0,T].

    Denote un,i=u(i)(x,tn) for any time level n and i=0,1,2. The error at each stage is denote by

    en,ih=Qhun,iun,ih,ρn,ih=un,iQhun,i

    for any n and inner state i=0,1,2, where un,0h=unh.

    Lemma 4.2 (Error equation). For any vVh, the error functions en,1h,en,2h and en+1h satisfy the following equations

    (en,10,v0)=(en0,v0)+τH(un,unh;v), (4.8)
    (en,20,v0)=34(en0,v0)+14(en,10,v0)+14τH(un,1,un,1h;v), (4.9)
    (en+10,v0)=13(en0,v0)+23(en,20,v0)+23τH(un,2,un,2h;v)+(E,v0), (4.10)

    where

    H(u,uh;v):=(Dwf(uh)Dwf(u),v0)Th+sh(uh,vh). (4.11)

    Proof. Let t=tn and test (4.5) by v0 of v={v0,vb} in Vh, we arrive at

    (un,1un,v0)+τ(Df(un),v0)Th=0.

    The definition of Dw implies

    (Df(un),v0)Th=(Dwf(un),v0)Th.

    It follows from the definition of Q0 and the above equation that

    (Q0un,1Q0un,v0)+τ(Dwf(un),v0)Th=0.

    The difference of (4.1) and the equation above yields (4.8).

    The error equations (4.9) and (4.10) can be obtained similarly. The details are therefore omitted.

    For any uh={u0,ub} and vh={v0,vb} in Vh, it follows from the definition of weak derivative Dw that

    (Dwf(uh)Dwf(u),v0)Th=(f(u)f(u0),Dv0)Thf(u)f(ub),v0nTh=(Ri(u,uh),Dv0)ThRb(u,uh),v0nTh+(f(u)(uu0),Dv0)Thf(u)(uub),v0nTh,

    where

    Ri(u,uh):=f(u)f(u0)f(u)(uu0),Rb(u,uh):=f(u)f(ub)f(u)(uub).

    Since Rb(u,u0) and f(u)(uub) take single value on Ii, the periodic boundary condition implies

    Rb(u,uh),v0nTh=Nj=1Rb(u,uh)j+1/2[[v0]]j+1/2,f(u)(uub),v0nTh=Nj=1(f(u)(uub))j+1/2[[v0]]j+1/2.

    Therefore, the operator H(u,uh;vh) defined in (4.11) can be rewritten as

    H(u,uh;vh)=Hlin(f(u);uu0,v0)+Hnls(u,uh;vh)+sh(uh,vh), (4.12)

    for uh,vhVh, where

    Hlin(Z;v,w)=(Zv,Dw)Th+Nj=1(Z{{v}}[[w]])j+1/2,Hnls(u,uh;vh)=(Ri(u,uh),Dv0)Th+Nj=1Rb(u,uh)j+1/2[[v0]]j+1/2.

    Lemma 4.3. For any continuous and differentiable function Z, there exists a positive constant C, independent of n,h,τ, and uh, such that

    |Hlin(Z;v,w)|Ch1Zvw,v,wVh, (4.13)
    |Hlin(Z;v,v)|Cv2,vVh, (4.14)
    |Hlin(Z;uQ0u,v)|ε|Z|[[v]]2+εv2+Ch2k+1,vVh, (4.15)

    where ε is any positive constant, and |Z|[[v]]2=Nj=1|Zj+1/2|[[v]]2j+1/2.

    Proof. For the proof of (4.13), it follows from Cauchy-Schwartz inequality and the inverse inequality that

    |Hlin(Z;v,w)|Nj=1(|(Zv,Dw)Ij|+|Z|j+1/2|{{v}}|j+1/2|[[w]]|j+1/2)
    Nj=1Z(vIjDwIj+vIjwIj)Ch1Zvw.

    A simple manipulation indicates that

    Hlin(Z;v,v)=(Zv,Dv)Th+Nj=1(Z{{v}}[[v]])j+1/2=Nj=1(Z{{v}}[[v]]12Z[[v]]2)j+1/2ThZv2dx=ThZv2dx,

    which implies the second conclusion (4.14).

    Let ¯Zj=1|Ij|IjZdx. It follows from Cauchy-Schwartz inequality and Young's inequality that

    Hlin(Z;uQ0u,v)=(Z(uQ0u),Dv)Th+Nj=1(Z{{uQ0u}}[[v]])j+1/2=Nj=1((Z¯Zj)(uQ0u),Dv)Ij+Nj=1(Z{{uQ0u}}[[v]])j+1/2Nj=1Z¯ZjL(Ij)uQ0uIjDvIj+Nj=1|Zj+1/2|uQ0uL(Ij)|[[v]]|j+1/2εv2+εNj=1|Zj+1/2|[[v]]2j+1/2+Ch2k+1.

    The proof is completed.

    Lemma 4.4. Let uHk+1(I) be the exact solution of (1.1). For any uh={u0,{{u0}}},vh={v0,{{v0}}}Vh, there holds

    |Hnls(u,uh;vh)|C[v02+h2uu02(Q0uu02+h2(k+1))].

    Proof. By Taylor expansion up to the second order derivative term, we obtain

    Ri(u,uh)=12f(ξ1)(uu0)2,Rb(u,uh)=12f(ξ2){{uu0}}2,

    where f(ξ1) and f(ξ2) are the second order derivative of f in the two expansion, which are both bounded.

    Thus, by the triangle inequality and the inverse inequality, we have

    |Hnls(u,uh;vh)|12Nj=1|Ijf(ξ1)(uu0)2Dv0dx|
    +12Nj=1|f(ξ2){{uu0}}2|j+1/2|[[v0]]|j+1/2Cuu0Nj=1(uu0IjDv0Ij+uu0Ijv0Ij)Cuu0Nj=1[(uQ0uIj+Q0uu0Ij)h1v0Ij+(uQ0uL(Ij)+h1/2Q0uu0Ij)h1/2v0Ij]Ch1uu0(Q0uu0+hk+1)v0,

    which together with Young's inequality completes the proof.

    Lemma 4.5. Let uHk+1(I) be the exact solution of (1.1). For any uh={u0,{{u0}}},vh={v0,{{v0}}}Vh, there { hold}

    |sh(uh,vh)|Ch1(hk+1+Q0uu0)v0, (4.16)
    sh(uh,eh)Ch2k+1(1ε)ϑ[[e0]]2, (4.17)

    where ε is any positive constant, [[e0]]2:=Nj=1[[e0]]2j+12, and ϑ=λ1λ2λ1+λ2.

    Proof. Since u is continuous function, there holds [[u]]=0. It follows from (2.3) and (4.4) that

    sh(uh,vh)=Nj=1ϑ[[u0]]j+1/2[[v0]]j+1/2=Nj=1ϑ[[u0u]]j+1/2[[v0]]j+1/2. (4.18)

    Hence, by the triangle inequality and the inverse inequality, we have

    |sh(uh,vh)|CNj=1|[[u0u]]|j+1/2|[[v0]]|j+1/2CNj=1(uQ0uL(Ij)+h1/2Q0uu0Ij)h1/2v0IjCh1(hk+1+Q0uu0)v0,

    which completed the proof of (4.16).

    From (4.18) and Young's inequality, we have

    sh(uh,eh)=Nj=1ϑ[[Q0uu]]j+1/2[[e0]]j+1/2Nj=1ϑ[[e0]]2j+1/214εNj=1ϑ[[Q0uu]]2j+1/2(1ε)Nj=1ϑ[[e0]]2j+1/2Ch2k+1(1ε)Nj=1ϑ[[e0]]2j+1/2.

    The proof is completed.

    Lemma 4.6. If the time step satisfies τ=O(h), then we have

    en,102C(en02+h2k+2), (4.19)
    en,202C(en02+en,102+h2k+2), (4.20)

    where C is a positive constant independent of n,h,τ and uh.

    Proof. Taking v=en,1h in the error equation (4.8), we get

    en,102=(en0,en,10)+τH(un,unh;en,1h). (4.21)

    Firstly, we consider the first term of H(un,unh;en,1h). It follows from the definition of the weak derivative Dw that

    (Dwf(unh)Dwf(un),en,10)Th=(f(un)f(un0),Den,10)Thf(un)f({{un0}}),en,10nTh=:T1+T2. (4.22)

    From Cauchy-Schwarz inequality, the inverse inequality and the approximation property of Q0, we have

    |T1|Nj=1f(un)f(un0)IjDen,10IjCNj=1(unQ0unIj+Q0unun0Ij)h1en,10IjCh1(hk+1+en0)en,10, (4.23)

    where the assumption f(u) is bounded has been used in the second inequality above.

    Now we turn to the term T2. Since periodic boundary condition is considered, T2 can be rewritten as

    T2=Nj=1(f(un)f({{un0}}))j+1/2[[en,10]]j+1/2.

    Then, by the triangle inequality and the inverse inequality, we obtain

    |T2|CNj=1(|unQ0un|+|Q0un{{un0}}|)j+1/2|[[en,10]]|j+1/2CNj=1(unQ0unL(Ij)+h1/2Q0unun0Ij)h1/2en,10IjCh1(hk+1+en0)en,10. (4.24)

    Collecting (4.22), (4.23) and (4.24), we can conclude

    |(Dwf(unh)Dwf(un),en0)Th|Ch1(hk+1+en0)en,10,

    which together with the inequality (4.16) of Lemma 4.5 and (4.21) yields

    en,102en0en,10+Cτh1(hk+1+en0)en,10.

    Cancelling en,10 on both sides of the above equation, and noting that τ=O(h), we have

    en,10C(en0+hk+1),

    which implies (4.19).

    In a similar way, we can obtain the conclusion (4.20). The proof is completed.

    By taking the test function v=enh,4en,1h, and 6en,2h in the error equations (4.8), (4.9) and (4.10), respectively, we obtain the energy equation for enh in the form

    3en+1023en02=Ξ1+Ξ2, (4.25)

    where

    Ξ1:=τH(un,unh;enh)+τH(un,1,un,1h;en,1h)+4τH(un,2,un,2h;en,2h)+6(E,en,20),Ξ2:=2en,20en,10en02+3(en+10en0,en+102en,20+en0).

    It follows from (4.14) and (4.15) of Lemma 4.3 that

    Hlin(f(un);ununh,en0)=Hlin(f(un);unQ0un,en0)+Hlin(f(un);en0,en0)ε|f(un)|[[en0]]2+(ε+C)en02+Ch2k+1.

    Denote by B=maxsR|f(s)|. In the above inequality, taking ε small enough such that εB0.1ϑ, then we have

    Hlin(f(un);ununh,en0)0.1ϑ[[en0]]2+Cen02+Ch2k+1. (4.26)

    From Lemma 4.4, we have

    Hnls(un,unh;enh)C[en02+h2unun02(en02+h2(k+1))]. (4.27)

    Using (4.17) of Lemma 4.5 with ε=0.1, we have

    sh(unh,enh)Ch2k+10.9ϑ[[en0]]2. (4.28)

    Denote by

    C(un,i,un,i0)=C(1+h2un,iun,i02),i=0,1,2,

    where C is a general positive constant independent of h,τ,u and uh. Collecting (4.26), (4.27) and (4.28), we obtain

    H(un,unh;enh)C(un,un0)(en02+h2k+1)0.8ϑ[[en0]]2.

    Similarly, we have

    H(un,i,un,ih;en,ih)C(un,i,un,i0)(en,i02+h2k+1)0.8ϑ[[en,i0]]2,

    for i=1,2.

    Since E=O(τ4), by Cauchy-Schwartz inequality, we have

    (E,en,20)Een,20Cτ4en,20C(τ7+τen,202).

    Collecting the three above estimates, we obtain the estimate of Ξ1 as follows

    Ξ1τ2i=0{C(un,i,un,i0)(en,i02+h2k+1)0.8ϑ[[en,i0]]2}+Cτ7. (4.29)

    Following [23], we introduce the following notations

    Enh=en,1henh,Fnh=2en,2hen,1henh,Gnh=en+1h2en,2h+enh.

    Obviously,

    en,2034en014en,10=14En0+12Fn0,en+1013en023en,20=23En0+23Fn0+Gn0.

    From the above equalities and the error equations (4.8)-(4.10), we easily obtain the following results.

    Lemma 4.7. For the fully discrete WG method (4.1)-(4.3) with the explicit TVDRK3 time marching, we have the following equations

    (En0,v0)=τH(un,unh;vh), (4.30)
    (Fn0,v0)=τ2[H(un,1,un,1h;vh)H(un,unh;vh)], (4.31)
    (Gn0,v0)=τ3[2H(un,2,un,2h;vh)H(un,1,un,1h;vh)H(un,unh;vh)]+(E,v0), (4.32)

    for any vh={v0,vb}Vh.

    Note that en+10en0=En0+Fn0+Gn0, there holds

    Ξ2=(Fn0,Fn0)+3(En0,Gn0)+3(Fn0,Gn0)+3(Gn0,Gn0):=J1+J2+J3+J4. (4.33)

    Let vh=Fnh in (4.31) and vh=Enh in (4.32), and by (4.12), we have

    J1+J2=(Fn0,Fn0)+2(Fn0,Fn0)+3(En0,Gn0)=Fn02+τ[H(un,1,un,1h;Fnh)H(un,unh;Fnh)]+τ[2H(un,2,un,2h;Enh)H(un,1,un,1h;Enh)H(un,unh;Enh)]+3(E,En0)=Fn02+3i=1Mi+3(E,En0), (4.34)

    where

    M1:=τ[Hlin(f(un,1);un,1un,10,Fn0)Hlin(f(un);unun0,Fn0)]+τ[2Hlin(f(un,2);un,2un,20,En0)Hlin(f(un,1);un,1un,10,En0)Hlin(f(un);unun0,En0)],M2:=τ[Hnls(un,1,un,1h;Fnh)Hnls(un,unh;Fnh)]+τ[2Hnls(un,2,un,2h;Enh)Hnls(un,1,un,1h;Enh)Hnls(un,unh;Enh)],M3:=τ[sh(un,1hunh,Fnh)+sh(2un,2hun,1hunh,Enh)].

    Lemma 4.8 (Estimate of M1). If the time step satisfies τ=O(h), then we have

    |M1|Cτ(en,202+en,102+en02+h2(k+1)).

    Proof. Since un,iun,ih=ρn,ih+en,ih(i=0,1,2), then M1 can be rewritten as

    M1=τ[L(ρh)+L(eh)], (4.35)

    where

    L(w)=Hlin(f(un,1);wn,1,Fn0)Hlin(f(un);wn,Fn0)+2Hlin(f(un,2);wn,2,En0)Hlin(f(un,1);wn,1,En0)Hlin(f(un);wn,En0),

    for w=ρh or eh.

    Denote by

    zn,i=f(un,i)f(un),i=1,2,

    and collecting the terms with the same speed f(un), the operator L(w) can be expressed as

    L(w)=Hlin(f(un);wn,1wn,Fn0)+Hlin(f(un);2wn,2wn,1wn,En0)+Hlin(zn,1;wn,1,Fn0)+2Hlin(zn,2;wn,2,En0)Hlin(zn,1;wn,1,En0):=5i=1Li(w).

    Now we estimate Li(eh),i=1,,5 firstly. Due to periodic boundary condition, and using integration by parts, we have

    L1(eh)+L2(eh)=Hlin(f(un);en,1h,Fn0)+Hlin(f(un);en,2h,En0)=Nj=1[Ijf(un)(En0Fn0)xdx+f(un)j+1/2[[En0Fn0]]j+1/2]=Nj=1Ij[f(un)]xEn0Fn0dx.

    Consequently, by Cauchy-Schwartz inequality, we can conclude that

    |L1(eh)+L2(eh)|CEn0Fn0.

    Since |zn,1|=O(τ)=O(h), it follows from the equation (4.13) of Lemma 4.3 that

    |L3(eh)|=|Hlin(zn,1;en,1h,Fn0)|Ch1zn,1en,10Fn0Cen,10Fn0.

    In a similar way, we obtain

    |L4(eh)|+|L5(eh)|C(en,20+en,10)En0.

    Collecting the estimate of Li(eh),i=1,,5 and using Cauchy-Schwarz inequality yields

    |L(eh)|C(En02+Fn02+en,102+en,202). (4.36)

    Next, we turn to the term Li(ρh),i=1,,5. Note that f(u) is bounded, it follows from the Cauchy-Schwartz inequality and inverse equality that

    |L1(ρh)|=|Hlin(f(un);ρn,10ρn0,Fn0)|CNj=1f(un)(ρn,10ρn0IjDFn0Ij+ρn,10ρn0IjFn0Ij)C(h1ρn,10ρn0+h1/2ρn,10ρn0)Fn0. (4.37)

    Since

    un,1un=τ[f(un)]x,

    it follows from the approximation property of L2 projector Q0 that

    ρn,10ρn0=(un,1un)Q0(un,1un)Chk+1τ,ρn,10ρn0=(un,1un)Q0(un,1un)Chk+1/2τ,

    which together with (4.37) yields

    |L1(ρh)|ChkτFn0C(Fn02+h2kτ2).

    Similarly we can estimate the second term as |L2(ρh)|C(En02+h2kτ2).

    Using |zn,i|=O(τ)=O(h) and similar as the proof of L1(ρh), it is easy to obtain

    |L3(ρh)|+|L4(ρh)|+|L5(ρh)|C(En02+Fn02+h2(k+1)).

    Since τ=O(h), finally we have

    |L(ρh)|C(En02+Fn02+h2(k+1)). (4.38)

    By the triangle inequality, we have

    En02+Fn02C(en,202+en,102+en02),

    which together with (4.36) and (4.38) completes the proof.

    Lemma 4.9 (Estimate of M2). There exists a positive constant C, independent of n,h,τ, and uh, such that

    |M2|Cτ2i=0[en,i02+h2un,iun,i02(en,i02+h2(k+1))].

    Proof. It follows from Lemma 4.4 that

    |Hnls(un,i,un,ih;wh)|C[w02+h2un,iun,i02(en,i02+h2(k+1))],

    for whVh and i=0,1,2.

    Let wh=Enh and Fnh in the above inequality, respectively. By the triangle inequality and the definition of M2, we have

    |M2|τ[|Hnls(un,1,un,1h;Fnh)|+|Hnls(un,unh;Fnh)|]+τ[2|Hnls(un,2,un,2h;Enh)|+|Hnls(un,1,un,1h;Enh)|+|Hnls(un,unh;Enh)|]Cτ[En02+Fn02+2i=0h2un,iun,i02(en,i02+h2(k+1))],

    which completes the proof.

    Lemma 4.10 (Estimate of M3). There exists a positive constant C, independent of n,h,τ, and uh, such that

    |M3|Ch2k+1τ0.9ϑ([[En0]]2+[[Fn0]]2)τ.

    Proof. Using (4.17) of Lemma 4.5 with ε=0.1, we have

    sh(un,1hunh,Fnh)Ch2k+10.9ϑ[[Fn0]]2,sh(2un,2hun,1hunh,Enh)Ch2k+10.9ϑ[[En0]]2.

    Combining the above two estimates completes the proof.

    Since E=O(τ4), by Cauchy-Schwartz inequality, we have

    (E,En0)C(τ7+τEn02)C(τ7+τen02+τen,102),

    which together with (4.34) and Lemma 4.8, 4.9 and 4.10 yields

    J1+J2Fn02+τ2i=0C(un,i,un,i0)(en,i02+h2k+1)+Cτ70.9ϑ([[En0]]2+[[Fn0]]2)τ. (4.39)

    Now we consider the upper bound of J3 and J4. Since J3=3(Gn0,Fn0) and J4=3(Gn0,Gn0), we estimate 3(Gn0,v0) in general. From (4.12) and (4.32), we have

    3(Gn0,v0)=τ[2H(un,2,un,2h;vh)H(un,1,un,1h;vh)H(un,unh;vh)]+3(E,v0):=τ[I1(v0)+I2(v0)+I3(v0)]+3(E,v0), (4.40)

    where

    I1(v0):=2Hlin(f(un,2);un,2un,20,v0)Hlin(f(un,1);un,1un,10,v0)Hlin(f(un);unun0,v0),I2(v0):=2Hnls(un,2,un,2h;vh)Hnls(un,1,un,1h;vh)Hnls(un,unh;vh),I3(v0):=2sh(un,2h,vh)sh(un,1h,vh)sh(unh,vh).

    Denote by

    ˜Fn0:=2ρn,20ρn,10ρn0,

    and collecting the terms with the same speed f(un), we rewrite the operator I1(v0) as

    I1(v0):=Hlin(f(un);Fn0,v0)+2Hlin(zn,2;en,20,v0)Hlin(zn,1;en,10,v0)+Hlin(f(un);˜Fn0,v0)+2Hlin(zn,2;ρn,20,v0)Hlin(zn,1;ρn,10,v0) (4.41)

    It follows from (4.13) of Lemma 4.3, Cauchy-Schwartz inequality and |zn,i|=O(τ)=O(h) that

    |Hlin(f(un);Fn0,v0)|Ch1f(un)Fn0v0Ch1(Fn02+v02), (4.42)
    |Hlin(zn,i;en,i0,v0)|Ch1zn,ien,i0v0C(en,i02+v02),i=1,2. (4.43)

    Note that f(u) is bounded, it follows from the Cauchy-Schwartz inequality and inverse equality that

    |Hlin(f(un);˜Fn0,v0)|Nj=1f(un)(˜Fn0IjDv0Ij+˜Fn0Ijv0Ij)CNj=1(h1˜Fn0Ij+h1/2˜Fn0Ij)v0Ij. (4.44)

    Since

    ˜Fn0=(2un,2un,1un)Q0(2un,2un,1un)

    and

    2un,2un,1un=τ2([f(un)]x[f(un,1)]x),

    by the approximation property of L2 projector Q0, we have

    ˜Fn0IjChk+1τ,˜Fn0IjChk+1/2τ. (4.45)

    Plugging (4.45) into (4.44), and using 2aba2+b2, we get

    |Hlin(f(un);˜Fn0,v0)|C(h2kτ2+v02). (4.46)

    Similar to the proof of (4.44), and note that |zn,i|=O(τ), we have

    |Hlin(zn,i;ρn,i0,v0)|C(h2kτ2+v02),i=1,2. (4.47)

    Combining (4.41), (4.42), (4.43), (4.46) and (4.47), and assume τ=O(h), we have

    I1(v0)Ch1(Fn02+v02)+C(en,102+en,202+v02+h2k+2). (4.48)

    Thanks to Lemma 4.4, we have

    I2(v0)Cv02+C2i=0h2un,iun,i02(en,i02+h2(k+1)). (4.49)

    It follows from (4.18) and Young's inequality that

    I3(v0)=sh(2(un,2hun,2)(un,1hun,1)(unhun),vh)=Nj=1ϑ[[˜Fn0]]j+1/2[[v0]]j+1/2Nj=1ϑ[[Fn0]]j+1/2[[v0]]j+1/214Nj=1ϑ[[˜Fn0]]2j+1/2+2Nj=1ϑ[[v0]]2j+1/2+14ϑ[[Fn0]]2,

    which together with (4.45) and inverse inequality yields

    I3(v0)C(h2k+1τ+h1v02)+14ϑ[[Fn0]]2. (4.50)

    Using the fact E=O(τ4) and Cauchy-Schwartz inequality, we get

    3(E,v0)C(τ7+τv02),

    which combining with (4.48), (4.49), (4.50) and (4.40) yields

    3(Gn0,v0)Cτh1(Fn02+v02)+Cτv02+τ4ϑ[[Fn0]]2+Cτ7+τ2i=0C(un,i,un,i0)(en,i02+h2(k+1)). (4.51)

    Taking v0=Fn0 in (4.51) and using the assumption τγh, we have

    J32CγFn02+τ4ϑ[[Fn0]]2+Cτ7+τ2i=0C(un,i,un,i0)(en,i02+h2(k+1)). (4.52)

    Taking v0=Gn0 in (4.51), we have

    3Gn02CγFn02+2CγGn02+τ4ϑ[[Fn0]]2+Cτ7+τ2i=0C(un,i,un,i0)(en,i02+h2(k+1)),

    then

    (32Cγ)Gn02CγFn02+τ4ϑ[[Fn0]]2+Cτ7+τ2i=0C(un,i,un,i0)(en,i02+h2(k+1)).

    Therefore,

    J4332Cγ[CγFn02+τ4ϑ[[Fn0]]2+Cτ7+τ2i=0C(un,i,un,i0)(en,i02+h2(k+1))],

    which combining with (4.52) yields

    J3+J4(2Cγ+3Cγ32Cγ)Fn02+14(1+332Cγ)τϑ[[Fn0]]2+Cτ7+τ2i=0C(un,i,un,i0)(en,i02+h2(k+1)).

    In the above inequality, taking τ small enough such that Cγ=1/4, then we get

    J3+J40.8Fn02+0.55τϑ[[Fn0]]2+Cτ7+τ2i=0C(un,i,un,i0)(en,i02+h2(k+1)),

    which together with (4.39) and (4.33) yields

    Ξ20.2Fn02τϑ(0.9[[En0]]2+0.35[[Fn0]]2)+Cτ7+τ2i=0C(un,i,un,i0)(en,i02+h2(k+1)). (4.53)

    In this subsection, we will give the L2 norm error estimate between the exact solution u(tn) and the WG solution un0.

    Theorem 4.11. Let uh be the numerical solution of the fully discrete WG scheme (4.1)-(4.4) with the explicit TVDRK3 time marching. Let u be the exact solution of problem (1.1)-(1.2), where f(u) is smooth enough. If u and its spatial derivatives up to the second order are all continuous in I=(0,1), and uk+1, utk+1, uttk+1 and utttk+1 are bounded uniformly for any time t(0,T], then the following error estimate holds

    u(tn)un0C(hk+1/2+τ3) (4.54)

    under the condition τγh with a fixed constant γ>0. Here C is a positive constant independent of h,τ and uh.

    Proof. Denote by

    Δ=0.2Fn02+τϑ(0.9[[En0]]2+0.35[[Fn0]]2+0.82i=0[[en,i0]]2),

    then from (4.25), (4.29) and (4.53), we obtain

    3en+1023en02+ΔCτ7+τ2i=0C(un,i,un,i0)(en,i02+h2k+1). (4.55)

    As [22,23], we adopt the following a priori assumption for m(mτ<T) to deal with the nonlinearity of the flux f(u)

    en,i0Ch3/2, for nm,i=0,1,2. (4.56)

    The justification of such assumption will be given later.

    It follows from the assumption (4.56) and the approximation property of L2 operator Q0

    ρn,i0=un,iQ0un,iChk+1/2,i=0,1,2

    implies that

    un,iun,i0ρn,i0+Ch1/2en,i0Ch.

    Therefore, we have

    C(un,i,un,i0)C, for nm,i=0,1,2,

    which together with (4.55), (4.19) and (4.20) yields

    3en+1023en02Cτ7+C(en02+h2k+1)τ,

    where C is a positive constant independent of m, n, h and τ. Then an application of the discrete Gronwall inequality yields

    en+102C(τ6+h2k+1),nm, (4.57)

    which together with

    ρn+10=un+1Q0un+1Chk+1

    yields that

    un+1un+10C(τ3+hk+1/2).

    Now we turn to verify the reasonableness of the a priori assumption (4.56). Since e00=0, by (4.19) and (4.20), we easily obtain

    e0,i0Chk+1Ch3/2

    for i=0,1,2 and k1. Supposing (4.56) holds for m, we can show that this assumption is also true for m+1. Inequality (4.57) as well as (4.19) and (4.20) imply that

    em+1,i0C(em+10+hk+1)C(τ3+hk+1/2)Ch3/2

    for k1 and i=1,2. Thus the assumption (4.56) is reasonable, and hence the above error estimate holds for any m(mτ<T). The proof is completed.

    In this section, we present the numerical examples to verify our theoretical findings. In our numerical experiments, we shall use piecewise uniform meshes which are constructed by equally dividing spatial domain into N subintervals. The main purpose of this paper is to investigate how to use WG method to discretize spacial variables in conservation law. In order to reduce the time errors, we use the third order explicit TVDRK time discrete scheme in time, and take time step τ=CFLh, where CFL is a constant independent of the mesh size h. WG scheme with Pk(k=1,2,3) element is used for spatial discretization.

    Example 1 (A smooth solution of a linear equation). We solve the following linear problem (1.1) with periodic boundary condition,

    ut+ux=0,(x,t)(0,2π)×(0,T],u(x,0)=sinx,x(0,2π).

    The exact solution to this problem is

    u(x,t)=sin(xt).

    Let time step size τ=0.05h in this example. WG scheme with Pk(k=1,2,3) element is used for spatial discretization. The L2 errors and the order of convergence, at T=2π, are reported in Table 1. It is observed that the order of convergence of the L2 error achieves (k+1)-th order of accuracy.

    Table 1.  L2 errors and corresponding convergence rates of Example 1. T=2π, λ1=λ2=1.
    P1 element P2 element P3 element
    N uu0 Rate uu0 Rate uu0 Rate
    8 1.29E-01 3.36E-03 2.66E-04
    16 3.02E-02 2.10 3.99E-04 3.08 1.94E-05 3.78
    32 7.22E-03 2.06 4.93E-05 3.02 1.27E-06 3.93
    64 1.78E-03 2.02 6.14E-06 3.00 8.06E-08 3.98
    128 4.42E-04 2.01 7.67E-07 3.00 5.06E-09 4.00

     | Show Table
    DownLoad: CSV

    Example 2 (A blow-up solution of a nonlinear equation). We solve the following nonlinear problem (1.1) with periodic boundary condition,

    ut+(u2/2)x=0,(x,t)(0,1)×(0,T],u(x,0)=ϕ(x),x(0,1),

    with initial value function

    ϕ(x)=14+12sin(π(2x1)).

    The exact solution u(x,t) is obtained by solving characteristic relation u=ϕ(xut), which is smooth up to t=1/π. Please find more details in [4].

    Let time step size τ=0.1h in this example. In Table 2 we present the results at T=0.2 when the solution is still smooth. Observe that there is at least (k+1/2)-th order of convergence rate in L2 norm. ub of WG solution uh={u0,ub} at T=1/π is plotted in Figure 1, where P2 element is used.

    Table 2.  L2 errors and corresponding convergence rates of Example 2. T=0.2, λ1=λ2=2.5.
    P1 element P2 element P3 element
    N uu0 Rate uu0 Rate uu0 Rate
    8 1.68E-02 6.60E-03 1.89E-03
    16 6.11E-03 1.46 7.86E-04 3.07 2.22E-04 3.09
    32 1.42E-03 2.10 1.63E-04 2.27 9.96E-06 4.48
    64 3.49E-04 2.03 2.85E-05 2.51 8.19E-07 3.60
    128 8.67E-05 2.01 4.98E-06 2.51 5.81E-08 3.82

     | Show Table
    DownLoad: CSV
    Figure 1.  WG solution for Example 2, T=1/π,λ1=2,λ2=1,N=128.

    Example 3 (A discontinuous solution of a linear equation). We solve the following linear equation (1.1) with periodic boundary condition,

    ut+ux=0,(x,t)(0,2π)×(0,T],u(x,0)=ϕ(x),x(0,2π),

    with initial value function

    ϕ(x)={1,π/2<x3π/2,0,elsewhere. 

    The exact solution is u(x,t)=ϕ(xt).

    In this problem the exact solution is non-smooth. It aims to show our WG method is also stable and efficient to the problems with non-smooth solutions. Let time step size τ=0.1h in this example. The errors and the order of convergence are reported in Table 3. Observe that the method is stable. The WG solution using P1 element with (λ1,λ2)=(1.2,0.1) and the DG solution with P1 element are plotted in Figure 2 (a) and (b) respectively.

    Table 3.  L2 errors and corresponding convergence rates of Example 3. T=2π, λ1=2,λ2=1.
    P1 element P2 element
    N uu0 Rate uu0 Rate
    8 5.93E-01 4.23E-01
    16 5.01E-01 0.24 3.25E-01 0.38
    32 3.93E-01 0.35 2.52E-01 0.37
    64 3.26E-01 0.27 1.98E-01 0.35
    128 2.72E-01 0.26 1.58E-01 0.33
    256 2.26E-01 0.27 1.27E-01 0.32
    512 1.89E-01 0.26 1.03E-01 0.30

     | Show Table
    DownLoad: CSV
    Figure 2.  The P1 WG solution and DG solution for Example 3, T=2π,N=512.

    A weak Galerkin finite element method is proposed for nonlinear conservation laws. This method provides a class of finite element schemes by tuning the built-in parameters including purely upwind scheme. This makes the WG method highly flexible. Compared with the DG method [11], the present method can be applied for solving nonlinear conservation laws. Error estimations are given. The convenience of the proposed method is validated by the numerical examples.



    [1] TVB Runge-Kutta local projection discontinuous Galerkin finite element method for conservation laws. Ⅱ. General framework. Math. Comp. (1989) 52: 411-435.
    [2] Runge-Kutta discontinuous Galerkin methods for convection-dominated problems. J. Sci. Comput. (2001) 16: 173-261.
    [3] Strong stability-preserving high-order time discretization methods. SIAM Rev. (2001) 43: 89-112.
    [4] Uniformly high-order accurate essentially non-oscillatory schemes. Ⅲ. J. Comput. Phys. (1987) 71: 231-303.
    [5] On cell entropy inequality for discontinuous Galerkin methods. Math. Comp. (1994) 62: 531-538.
    [6] A discontinuous Galerkin method with Lagrange multiplier for hyperbolic conservation laws with boundary conditions. Comput. Math. Appl. (2015) 70: 488-506.
    [7] High order DG-DGLM method for hyperbolic conservation laws. Comput. Math. Appl. (2018) 75: 4458-4489.
    [8] A weak Galerkin least-squares finite element method for div-curl systems. J. Comput. Phys. (2018) 363: 79-86.
    [9] Weak Galerkin finite element methods for Darcy flow: Anisotropy and heterogeneity. J. Comput. Phys. (2014) 276: 422-437.
    [10] A weak Galerkin finite element method for singularly perturbed convection-diffusion-reaction problems. SIAM J. Numer. Anal. (2018) 56: 1482-1497.
    [11] Optimal error estimates for discontinuous Galerkin methods based on upwind-biased fluxes for linear hyperbolic equations. Math. Comp. (2016) 85: 1225-1261.
    [12] A new weak Galerkin finite element method for the Helmholtz equation. IMA J. Numer. Anal. (2015) 35: 1228-1255.
    [13] Weak Galerkin finite element methods for the biharmonic equation on polytopal meshes. Numer. Methods Partial Differential Equations (2014) 30: 1003-1029.
    [14] Weak Galerkin finite element methods on polytopal meshes. Int. J. Numer. Anal. Model. (2015) 12: 31-53.
    [15] A weak Galerkin finite element method for the Maxwell equations. J. Sci. Comput. (2015) 65: 363-386.
    [16] A new weak Galerkin finite element method for elliptic interface problems. J. Comput. Phys. (2016) 325: 157-173.
    [17] Weak Galerkin methods for time-dependent Maxwell's equations. Comput. Math. Appl. (2017) 74: 2106-2124.
    [18] A weak Galerkin finite element method for second-order elliptic problems. J. Comput. Appl. Math. (2013) 241: 103-115.
    [19] A weak Galerkin mixed finite element method for second order elliptic problems. Math. Comp. (2014) 83: 2101-2126.
    [20] A weak Galerkin finite element method for the Stokes equations. Adv. Comput. Math. (2016) 42: 155-174.
    [21] The weak Galerkin method for linear hyperbolic equation. Commun. Comput. Phys. (2018) 24: 152-166.
    [22] Error estimates to smooth solutions of Runge-Kutta discontinuous Galerkin methods for scalar conservation laws. SIAM J. Numer. Anal. (2004) 42: 641-666.
    [23] Stability analysis and a priori error estimates of the third order explicit Runge-Kutta discontinuous Galerkin method for scalar conservation laws. SIAM J. Numer. Anal. (2010) 48: 1038-1063.
  • This article has been cited by:

    1. Peng Zhu, Shenglan Xie, A weak Galerkin method and its two‐grid algorithm for the quasi‐linear elliptic problems of non‐monotone type, 2023, 39, 0749-159X, 1042, 10.1002/num.22923
    2. Xiu Ye, Shangyou Zhang, Constructing a CDG Finite Element with Order Two Superconvergence on Rectangular Meshes, 2023, 2096-6385, 10.1007/s42967-023-00330-5
    3. Wenjuan Li, Fuzheng Gao, Jintao Cui, A weak Galerkin finite element method for nonlinear convection-diffusion equation, 2024, 461, 00963003, 128315, 10.1016/j.amc.2023.128315
    4. Wenjuan Li, Fuzheng Gao, Jintao Cui, Error analysis of implicit-explicit weak Galerkin finite element method for time-dependent nonlinear convection-diffusion problem, 2025, 209, 01689274, 232, 10.1016/j.apnum.2024.11.016
  • Reader Comments
  • © 2021 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(2932) PDF downloads(245) Cited by(4)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog