Contents lists available atScienceDirect
Journal of Computational Physics
www.elsevier.com/locate/jcp
Positivity preserving high-order local discontinuous Galerkin method for parabolic equations with blow-up solutions
Li Guo
a,b, Yang Yang
b,∗aSchoolofMathematicalSciences,UniversityofScienceandTechnologyofChina,Hefei,Anhui 230026,PR China bDepartmentofMathematicalSciences,MichiganTechnologicalUniversity,Houghton,MI 49931,UnitedStates
a r t i c l e i n f o a b s t r a c t
Articlehistory:
Received13October2014
Receivedinrevisedform17January2015 Accepted18February2015
Availableonline2March2015
Keywords:
Positivity-preserving Blow-upsolutions
LocaldiscontinuousGalerkinmethod Dirichletboundaryconditions
Inthispaper,we applypositivity-preservinglocal discontinuousGalerkin(LDG)methods to solve parabolic equations with blow-up solutions. This model is commonly used in combustionproblems.However,previousnumericalmethodsaremainlybasedonasecond orderfinitedifferencemethod.Thisisbecausethepositivity-preservingpropertycanhardly be satisfied for high-order ones, leading to incorrect blow-up time and blow-up sets.
Recently,we haveapplieddiscontinuousGalerkinmethodstolinearhyperbolicequations involvingδ-singularitiesandobtainedgoodapproximations.Fornonlinearproblems,some special limiters are constructedto capture the singularities precisely. We will continue thisapproach and studyparabolic equations withblow-up solutions.We will construct speciallimiterstokeepthepositivityofthenumericalapproximations.DuetotheDirichlet boundaryconditions,we havetomodifythenumericalfluxesandthelimitersusedinthe schemes.Numericalexperimentsdemonstratethatourschemes cancapturetheblow-up sets,andhigh-orderapproximationsyieldbetternumericalblow-uptime.
©2015ElsevierInc.All rights reserved.
1. Introduction
Inthispaper,we willdevelopandanalyzethepositivity-preservinghigh-orderlocaldiscontinuousGalerkinmethodsfor parabolicequationswithreactiontermsinonespacedimension
ut
= (
uα)
xx+
s(
u),
x∈ [
xa,
xb],
u0
(
x) =
u(
x,
0) ≥
0,
x∈ [
xa,
xb] ,
(1)aswellasitstwodimensionalextension,where
α
≥1 isaparameterands(u)≥0.We considerDirichletboundarycondi- tionsu
(
xa,
t) =
g1(
t),
and u(
xb,
t) =
g2(
t).
Thesourceterm s(u)ischosen tobesuperlinear,i.e.s(u)=um withm≥1.The initialcondition u=u0(x) isassumedto benon-negative. Byamaximum-principle,theexactsolutionu≥0 fort∈(0,T).Here(0,T)isthemaximal timeinterval
*
Correspondingauthor.E-mailaddresses:[email protected],[email protected](L. Guo),[email protected](Y. Yang).
http://dx.doi.org/10.1016/j.jcp.2015.02.041 0021-9991/©2015ElsevierInc.All rights reserved.
of existenceofthesolution u.The time T maybefiniteorinfinite.When T isinfinite,we saythat thesolution u exists globally.WhenT isfinite,thesolutionu developsasingularityinfinitetime,namely
lim
t→T−
u(·,
t)
∞= ∞,
whereu∞ isthestandard L∞-normofu on[xa,xb].In thiscase,we saythatthesolutionublowsupinfinitetimeand thetimeT iscalledtheblow-uptimeofthesolutionu,and{x∈ [xa,xb]|u(x,t)→ ∞asT→T−}iscalledtheblow-upset.
In this paper,we assumethe boundaryisnot includedinthe blow-upset.Therefore,the exactsolutionatthe boundary shouldbesmallerthanthevaluesnearby.
We can regard (1) as a mathematical model of combustion, andthe unknown variable u can be interpreted as the temperature.We canrewrite(1)as
ut
= (
a(
u)
ux)
x+
s(
u),
x∈ [
xa,
xb],
u
(
x,
0) ≥
0,
x∈ [
xa,
xb],
(2)witha(u)=
α
uα−1,whichcanbeconsideredasanonlinearheatconductioncoefficientofthemedium.Ifα
=1,(2)reduces tothewell-studiedsemilinearheatequation[4].Suchproblemshavebeeninvestigatedbymanyauthorsandexistenceand uniquenessofaclassicalsolutionhavebeenproved(seee.g.[26,34,6,5,20,21,29,25,41]forsomerecentworks).Undersome assumptions,it isalsoshownthattheclassicalsolutionblowsupinfinitetimeandtheblow-up timehasbeenestimated.Moreover,manynumericalmethodsarealsobeenstudiedin[11,8,9,28,13,22,35,2,7,31,10,1,27].However,to thebestknowl- edge ofthe authors,all the previous methodsare based onsecond-order finite differencemethods, whichguarantee the positivityofthe numericalapproximationsautomaticallyundersome specialrequirementsforthemeshes.Forhigh-order methods,strongoscillationsnearthesingularitiesmaysendphysicallypositivequantitiesnegative,andnegativecoefficient ofthediffusiontermwillmakethenumericalsolutionblowup immediately,leadingtowrongblow-up timeandblow-up sets. In this paper,we wouldlike toapply high-order positivity-preserving localdiscontinuous Galerkinmethods tosuch problems, andnumericallystudythe blow-up time,blow-up locations andthebehavior ofthe solutions beforeblow-up.
We willalsousenumericalexperimentstodemonstratethesignificanceofthepositivity-preservingtechnique.
The study of the blow-up solutions is important and challenging. Since the exact solutions may not be smooth or boundedatfinitetime,thenumericalschemesmightyieldpoorapproximations.Recently,we[38]haveapplieddiscontin- uous Galerkin(DG)methodstoobtaingoodapproximationsforPDEswithδ-singularity,onespecialunboundedsingularity.
In[38],we provedthesuperconvergenceresultsforlinearhyperbolicequationswithsingularinitialdataandsingularsource terms.Moreover,severalnumericalexampleswerealsogivenin[38–40]todemonstratetheadvantages oftheDGscheme in approximating δ-singularitiesfor both linear andnonlinear hyperbolic equations.In this paper,we will continue this approach,andusethehigh-orderDGmethodstosolveparabolicPDEswithblow-upsolutions.
The DG method was first introduced in 1973 by Reed and Hill [30], in the framework of neutron linear transport.
Later, the method was applied by Johnson and Pitkäranta to a scalar linearhyperbolic equation and the Lp-norm error estimate was proved [24]. Subsequently, Cockburn etal.developed Runge–Kuttadiscontinuous Galerkin (RKDG)methods for hyperbolic conservation lawsin a seriesof papers [16,15,14,17]. In [18], Cockburn andShu first introduced the LDG methodtosolvetheconvection–diffusionequation.TheirideawasmotivatedbyBassiandRebay[3],wherethecompressible Navier–Stokesequationsweresuccessfullysolved.
Theideaofthepositivity-preservingtechniquewewouldliketoapplyinthispaperisdifferentfromtheoneusedbefore in [43–45].In[45], theauthorsconstructsecond-orderpositivity-preserving DGschemesandarguedthat itwas impossi- ble toconstructathird-order positivity-preservingDGschemefollowing thesameapproach.Recently, in[36],theauthor appliedthefluxlimiterandconstructedmaximum-principle-satisfyingfinitedifferencemethods,whichfurthergeneralized tohigh-orderpositivity-preservingDGmethodsforconvectiondiffusionproblems.TheDGmethodappliedin[36]isbased onUltra-weakDG[12].We willconsiderLDGmethodandstudythepositivity-preservingtechnique.Anotherrelatedwork canbefoundin[42],wherethepositivity-preservingtechniqueforporousmediumequationshavebeenanalyzed.However, only a second-order scheme was considered and the technique can hardly be extended to high-order schemes. Another crucialproblemistheboundarytreatment fortheLDGmethod.NumericalexperimentsdemonstratethatthegeneralLDG methodwilldegenerateaccuracywhensolvingproblemswithDirichletboundaryconditions.Following[19],we wouldlike toaddapenaltyterminthefluxattheboundary.Withthepenaltyterm,theconvergencerateisoptimal.Moreover,we will alsotheoreticallyprovethatthepenaltytermisrequiredforthepositivity-preservingtechnique.
The organization of this paper is as follows. In Section 2, we will present the positivity-preserving high-order LDG methods inoneandtwospacedimensions, andtheimplementationoftheDirichletboundarycondition.Some numerical experiments will be giveninSection 3. We willend inSection 4 withsome concludingremarks andremarks on future work.
2. Positivity-preservinghigh-orderlocaldiscontinuousGalerkin methods
Inthissection,we presentthepositivity-preservingtechniqueappliedtotheLDGmethodsforparabolicequationssubject to Dirichletboundaryconditions.We firstintroducetheLDG methodsanddiscusshowtoenforcethe Dirichletboundary conditions. Then we describe how to apply the positivity-preserving flux limiter to the numerical fluxesin the scheme.
We discusstheEuler-forwardtime discretization,andthehigh-orderonesarestraightforwardextendable. Thefluxlimiter will be applied to guarantee the positivity of the numerical cell averages at time level n+1, provided the numerical approximations are positive at time level n. However, the numerical approximations may not be positive at time level n+1.Therefore,we wouldliketomodifythenumericalapproximationwithsomeslopelimiters,keepingthecellaverages untouched.We willshowtheprocedureinoneandtwospacedimensions.
2.1. LocaldiscontinuousGalerkinmethod
Inthissubsection,we willdeveloptheLDGmethodinonespacedimensionandstudy(2).To constructtheLDGscheme, we considerapartitionforthespatialdomain[xa,xb]givenas
xa
=
x12
<
x32
< · · · <
xN−1 2<
xN+12
=
xb,
(3)anddefine Ij
= (
xj−12
,
xj+1 2)
tobethecell.Forsimplicity,we useuniformmeshonly,andthemeshsize isdenotedasx.Thefiniteelementspaceis givenas
Vh
=
u
∈
Pk(
Ij)|
j=
1,
2,· · · ,
N,
where Pk(Ij)denotesthespaceofpolynomialsofdegreeatmostkontheintervalIj.To constructtheLDGschemefor(2), we introduceanauxiliaryvariable
q
=
a(
u)
ux,
with a(
u) =
a(
u),
then(2)canbewrittenintoafirst-ordersystem
ut
= (
a(
u)
q)
x+
s(
u),
(4)q
= (
g(
u))
x,
(5)whereg(u)=u
a(
τ
)dτ
.Forsimplicity,we omitthesubscripthinSubsections2.1and2.2,anduseuandqforuh andqh, respectively.ThenthegeneralformulationoftheLDGschemeistofindu,q∈Vh,suchthatforanytestfunctionv,w∈VhIj
utvdx
= −
Ij
a
(
u)
qvxdx+ (
a(
u)
qv−)
j+12
− (
a(
u)
qv+)
j−12
+
Ij
s
(
u)
vdx,
(6)Ij
qwdx
= −
Ij
g
(
u)
wxdx+ (
g(
u)
w−)
j+12
− (
g(
u)
w+)
j−12
,
(7)wherea(u)qandg(u)in(6)–(7)arethenumericalfluxeswhicharedefinedatthecellinterfaces.In thispaper,we consider alternatingfluxesonly,i.e.
(
a(
u)
q)
j+12
=
[
g(
u) ] [
u]
q+j+12
+
Cj+12x
[
u]
j+12
, (
g(
u))
j+1 2=
g(
u−j+12
),
(8)or
(
a(
u)
q)
j+12
=
[
g(
u)]
[
u]
q−j+12
+
Cj+12x
[
u]
j+12
, (
g(
u))
j+1 2=
g(
u+j+12
),
(9)whereu+
j+12 istherightlimit ofuatx=xj+1
2.Likewiseforu− j+12,q+
j+12 andq−
j+12.Moreover, we denote[u]j+1
2=u+j+1 2
− u−
j+12
asthejumpofuatthecellinterfacexj+1 2.Cj+1
2 isthecoefficientforthepenaltyterm.Duetotheboundarycondition, we havetotakeu−1
2=g1(t)andu+
N+12 =g2(t),i.e.wehavetotake(8)for j=0 and(9)for j=N.In thispaper,we would liketo use(8)forall theother j’s, andinpractice,we cantake Cj+1
2 =0, j=0,1,· · ·,N−1 (seeLemma 2.1).However, if we choose Cj+1
2 =0 for all j, the scheme is problematic. In [19], the author studied the steady-state problem, and argued that it isnecessary to haveall the C’s to be zero expect theone at x=xN+1
2, otherwisethe numericalsolution is not solvable. For time-dependent problems, even though the numerical solutions can be solved without the penalty term, numerical experiments demonstrated that, at x=xN+1
2, the first-order numerical approximations are inconsistent withtheexactsolutions,eventhoughthey aresufficientlysmooth.Forhigh-orderapproximations,we cannotobservethe inconsistency,buttheorderofaccuracymaynotbe optimal.On this otherhand,withthepenalty,we will usenumerical
experiments to demonstrate theoptimality ofthe errorestimates. Following thesame idea in [19], we want CN+1 2 >0.
Therefore,thefluxattherightboundary(x=xN+1
2=xb)isdifferentfromthoseelsewhere.We willdiscusshowtochoose theparameterlater.
2.2. Positivity-preservingtechnique
Inthissubsection,we willdemonstratethepositivity-preservingtechnique.Forsimplicitywedonotconsiderthecon- tribution from the source,and assume s(u)=0. We can makesuch an assumption becausethe source will never make negative contribution to thepositivity of the cell averages forexplicit time discretizations. The whole procedure can be dividedintothreesteps.First,we needtoprovethepositivityofthefirst-orderapproximations.Thenapplythefluxlimiter tohigh-orderapproximationstoobtainpositivecellaverages.Finally,we modifythenumericalapproximations,keepingthe cellaveragesuntouched.WithEulerforwardtimediscretization,thefirst-orderLDGschemecanbewrittenas
unj+1
=
unj+
tx
((
a(
un)
qn)
j+12
− (
a(
un)
qn)
j−1 2),
qnj=
1x
(
g(
un)
j+12
−
g(
un)
j−1 2).
Here t isthe timemesh size.unj,aconstant, isthenumerical approximationattime leveln incell Ij.Likewiseforqnj. Forsimplicity,if weconsiderthenumericalapproximationsattimeleveln,thenthecorrespondenceindexwillbeomitted.
If we choose the penalty parameters to be large enough, then there exists sufficient small t such that the first-order approximationsarepositive.Theresultisgivenbelow.
Lemma2.1.WecantakeCN+1
2 andCN−1
2 satisfy(12)and(13),andλ= xt2 satisfies(10),(11)and(14),thenthenumerical approximationfromthefirstorderschemeispositive.
Proof. Weconsiderthreedifferentcases.Forconvenience,we defineu0=g1(t)anduN+1=g2(t). 1. For j=1,2,· · ·,N−2,g(u)j−1
2 =g(uj−1)andqj=1x(g(uj)−g(uj−1)).Therefore, unj+1
=
uj+
tx g
(
uj+1) −
g(
uj)
uj+1−
ujqj+1
−
g(
uj) −
g(
uj−1)
uj−
uj−1 qj=
uj+ λ (
g(
uj+1) −
g(
uj))
2uj+1
−
uj− (
g(
uj) −
g(
uj−1))
2 uj−
uj−1=
uj+ λ
f2
j+12
(
uj+1−
uj) −
f2j−12
(
uj−
uj−1)
= λ
f2j+12uj+1
+
1
− λ(
f2j+12
+
f2j−1 2)
uj
+ λ
f2j−12uj−1
,
where fj+1
2
=
g(
uj+1) −
g(
uj)
uj+1−
uj ispositive.Therefore,if wetakeλ(
f2j+12
+
f2j−1 2) ≤
1,
(10)wehaveunj+1≥0.
2. For j=N−1,Cj+1
2 maynotbezero.Followthesameanalysisabove,we have unj+1
= λ
f2j+12uj+1
+
1
− λ(
f2j+12
+
f2j−1 2)
uj
+ λ
f2j−12uj−1
+ λ
Cj+12
(
uj+1−
uj)
= λ
f2
j+12
+
Cj+12
uj+1+
1
− λ(
f2j+12
+
f2j−1 2+
Cj+12
)
uj
+ λ
f2j−12uj−1
.
Therefore,if wetake
λ(
f2j+12
+
f2j−1 2+
Cj+12
) ≤
1,
(11)wehaveunj+1≥0.
3. For j=N,theanalysisisquitedifferent.
qN
=
g(
uN+1) −
g(
uN−1)
x
=
1x
fN+1
2
(
uN+1−
uN) +
fN−12
(
uN−
uN−1)
and
unN+1
=
uN+ λ
fN+1 2
−
fN−12
qN
x
+
CN+12
(
uN+1−
uN) −
CN−12
(
uN−
uN−1)
=
AN+1uN+1+
ANuN+
AN−1uN−1,
where
AN+1
= λ
fN+1 2
(
fN+12
−
fN−12
) +
CN+12
,
AN=
1− λ
(
fN+12
−
fN−12
)
2+
CN−12
+
CN+12
,
AN−1= λ
CN−12
−
fN−12
(
fN+1 2−
fN−12
)
.
Therefore,we havetotake CN−1
2
≥
fN−12
(
fN+1 2−
fN−12
),
(12)CN+1
2
≥ −
fN+12
(
fN+1 2−
fN−12
),
(13)and
λ
(
fN+1 2−
fN−12
)
2+
CN−12
+
CN+12
≤
1,
(14)toobtainunj+1>0. 2 Remark1.Since fj+1
2 ispositive,thereforein(12)and(13),we onlyneedtohaveonenonzeroparameterC.Basedonthe assumptionthat theblow-upneveroccursattheboundary, theexactsolutionattheboundaryshould beboundedandis smaller thanthe valuesnearby. Therefore,we can take CN−1
2 =0 and CN+1
2 tobe a boundedconstant, andthiswill be verifiedbynumericalexperimentsinSection3.
Remark2.If
α
=1,then fj+12 =1 forall j=0,1,· · ·,N.Therefore,toconstructpositive numericalcellaverages, we can takeallthepenaltyparameterstobezero,andλ≤12.However,duetotheboundaryeffect,CN+1
2 >0 isalsorequired.
With the above lemma, we can proceed to construct positive numerical cell averages for high-order approximations.
We takethetestfunction v=1 anddividedby xonbothsidesof(6)toobtaintheequationsatisfiedby thenumerical cellaveragesu¯j
¯
unj+1
= ¯
unj+
tx
(
Hˆ
j+12
− ˆ
Hj−12
),
(15)wherethe flux Hˆ =a(u)q. Thenumerical cellaverages computedform (15)mightbe negative, andwe haveto apply a positivity-preservingfluxlimiterontheflux H.ˆ Theideaistoapply Lemma 2.1toconstructafirst-ordernumericalfluxhˆ basedonthenumericalcellaverageattimelevelnandx=xj+1
2.Thenextstepistomodifythenumericalfluxtoobtaina newone
H
˜
j+1 2= θ
j+12
(
Hˆ
j+1 2− ˆ
hj+12
) + ˆ
hj+12
.
(16)Theparameterθj+1
2 isdesignedtoensureu¯nj+1 tobepositive.Actually,we canchooseθj+1
2 tobenonnegative,sinceifwe takeθj+1
2=0,thenu¯nj+1 isobtainedfromthefirst-ordernumericalscheme,whichisproved toyieldapositivenumerical solutioninLemma 2.1.In[37],theauthorgaveanideatochooseθj+1
2.Thegoalistohave
¯
unj+1
= ¯
unj+
tx
(
H˜
j+12
− ˜
Hj−12
) > ε ,
where
ε
=10−13isasmallpositivenumberrelatedtomachineprecision.Theaboveequationfurtheryieldsλθ
j+12Fj+1
2
− λθ
j−1 2Fj−12
−
j≥
0,
(17)whereλ=tx, Fj±12 = ˆHj±12 − ˆhj±12 and j=
ε
−(¯unj+λ(hˆj+12 − ˆhj−12)).The parameters θj±1
2 can be obtainedas fol- lows[37].We want
θ
j−12
∈ [
0,
−12,Ij
], θ
j+12
∈ [
0,
1 2,Ij],
where±1
2,Ij aredesignedtokeep(17)correct.
•If Fj+1
2≥0 and Fj−1
2≤0,then
(
12,Ij
,
−12,Ij
) = (
1,
1).
•If Fj+1
2<0 and Fj−1
2 ≤0,then
(
12,Ij
,
−1 2,Ij) =
min
1
,
jλ
Fj+12
,
1.
•If Fj+1
2≥0 and Fj−1
2>0,then
(
1 2,Ij,
−12,Ij
) =
1,
min1
,−
jλ
Fj−1 2.
•If Fj+1
2<0 and Fj−1
2 >0,then – IfEq.(17)issatisfiedwith(θj+1
2,θj−1
2)=(1,1),then
(
1 2,Ij,
−12,Ij
) = (
1,
1).
– Ifnot,then
(
1 2,Ij,
−12,Ij
) =
j( λ
Fj+12
− λ
Fj−12
) ,
j( λ
Fj+12
− λ
Fj−1 2)
.
Thelocalparameterθj+1
2 canbechosenas
θ
j+12
=
min(
12,Ij
,
−1 2,Ij+1).
Followtheabove steps,we haveu¯nj+1>0,providedunj>0 whereunj isthepolynomialatmostdegreek inthecell Ij at thetimeleveln.
Finally,we havetomodifythenumericalapproximationsattimeleveln+1,sincetheymaynotbepositive,eventhough thecellaveragesarepositive.Theideaistousethemodified u˜nj+1toreplacethenumericalsolutionunj+1,andu˜nj+1canbe obtainedasfollows.In thecellIj
˜
unj+1
= ¯
unj+1+
j(
unj+1− ¯
unj+1) ≥ ε ,
where
j
=
min u¯
nj+1− ε
¯
unj+1
−
mnj+1,
1,
with
mnj+1
=
minx∈Ij
unj+1
(
x).
In[44],theauthorarguedthatsuchalimiterdoesnotdegenerateaccuracy.
2.3. High-ordertimediscretizations
AllthepreviousanalysesarebasedonEuler-forwardtimediscretization.However,we canalsoapplyhigh-orderStrong- Stability-Preserving(SSP)timediscretizationstosolvetheODEsystemut=L(u).Moredetailsofthesetime discretizations canbefoundin[33,32,23].In thispaper,we usethethird-orderSSPRunge–Kuttamethod[33]
u(1)
=
un+
tL(
un),
u(2)=
34un
+
1 4u(1)
+
tL(
u(1))
,
un+1=
13un
+
2 3u(2)
+
tL(
u(2))
,
(18)andthethird-orderSSPmulti-stepmethod[32]
un+1
=
16 27 un+
3tL
(
un) +
1127
un−3
+
1211
tL
(
un−3)
.
(19)SinceanSSP timediscretizationisaconvexcombinationofEulerforwards,byusingthelimitermentionedinSection2.2, thenumericalsolutionsobtainedfromthefully-discreteschemearealsopositive.
2.4. Twodimensionalcase
Inthissubsection,we willdevelop thepositivity-preserving LDGmethodin twospacedimensions, andstudythefol- lowingproblem:
ut
= (
uα)
xx+ (
uβ)
y y+
um, (
x,
y) ∈ [
xa,
xb] × [
ya,
yb],
u
(
x,
y,
0) ≥
0, (
x,
y) ∈ [
xa,
xb] × [
ya,
yb].
(20)WeconsiderDirichletboundaryconditions
u
(
xa,
y,
t) =
gxa(
y,
t),
u(
xb,
y,
t) =
gbx(
y,
t),
u(
x,
ya,
t) =
gay(
x,
t),
u(
x,
yb,
t) =
gby(
x,
t).
Therectangulardomain[xa,xb]× [ya,yb]canbediscretizedintoNx×Ny rectangularmeshes xa
=
x12
<
x32
< · · · <
xNx−12
<
xNx+12
=
xb,
ya=
y12
<
y32
< · · · <
yNy−12
<
yNy+12
=
yb,
(21)withthecellKi,j=Ii× Jj,whereIi= [xi−1
2,xi+1
2]and Jj= [yj−1
2,yj+1
2].We alsoconsideruniformmeshesonly,andthe meshsize inxand y directionsare denotedasxandy,respectively.Forsimplicity,if weconsiderthe cell Ki,j,then thesubscriptwillbeomitted.We definethefiniteelementspaceas
Vh
= {
uh:
uh|
K∈
Pk(
K),
1≤
i≤
Nx,
1≤
j≤
Ny} ,
wherePk(K)denotesthepolynomialsofdegreeatmostkontheelement K.
ToconstructthelocaldiscontinuousGalerkinmethod,firstlyweneedtorewrite(20)intoafirst-ordersystemasfollows
ut
= (
a(
u)
p)
x+ (
b(
u)
q)
y+
um,
(22)p
= (
f(
u))
x,
(23)q
= (
g(
u))
y,
(24)wherea(u)=√
α
uα−1,b(u)=βuβ−1, f(u)=u
a(s)dsand g(u)=u
b(s)ds.In thissubsection,we alsodenotethe numericalsolution uh, ph andqh by u, p andq,respectively.Then thegeneralformulationoftheLDG schemeisto find u,p,q∈Vh,suchthat
K
utvdxdy
= −
K
a
(
u)
pvxdxdy+
Jj
((
a(
u)
pv−)
i+12,j
− (
a(
u)
pv+)
i−1 2,j)
dy−
K
b
(
u)
qvydxdy+
Ii
((
b(
u)
qv−)
i,j+12
− (
b(
u)
qv+)
i,j−1 2)
dx,+
K
umvdxdy (25)
K
p wdxdy
= −
K
f
(
u)
wxdxdy+
Jj
((
f(
u)
w−)
i+12,j
− (
f(
u)
w+)
i−12,j
)
dy,
(26)K
q
τ
dxdy= −
K
g
(
u) τ
ydxdy+
Ii
((
g(
u) τ
−)
i,j+12
− (
g(
u) τ
+)
i,j−12
)
dx,
(27)foranytestfunction v,w,
τ
∈Pk(K)andi=1,· · ·,Nx, j=1,· · ·,Ny.Herea(u)p,b(u)q,f(u)andg(u)in(25)–(27)are thenumericalfluxeswhicharefunctionsdefinedonthecell interfacesandshouldbe designedto ensurestability.In this paper,thefluxesarechosentobe(
a(
u)
p)
i+1 2,j=
[
f(
u) ] [
u]
p+i+12,j
+
Ci+12,jx
[
u]
i+12,j
, (
f(
u))
i+12,j
=
f(
u−i+12,j
),
(28)(
b(
u)
q)
i,j+12
=
[
g(
u) ] [
u]
q+i,j+12
+
Ci,j+12y
[
u]
i,j+12
, (
g(
u))
i,j+1 2=
g(
u−i,j+12