Contents lists available atScienceDirect
Journal of Computational Physics
www.elsevier.com/locate/jcp
A positivity-preserving semi-implicit discontinuous
Galerkin scheme for solving extended magnetohydrodynamics equations
Xuan Zhao
a, Yang Yang
b, Charles E. Seyler
a,∗aSchoolofElectricalandComputerEngineering,CornellUniversity,Ithaca,NY14853,USA bDepartmentofMathematicalScience,MichiganTechnologicalUniversity,Houghton,MI49931,USA
a rt i c l e i n f o a b s t ra c t
Articlehistory:
Received26February2014
Receivedinrevisedform20August2014 Accepted26August2014
Availableonline3September2014
Keywords:
Positivity-preserving DiscontinuousGalerkin Relaxationmethod Magnetohydrodynamics Two-fluid
HEDplasma
A positivity-preserving discontinuous Galerkin (DG) scheme [42] is used to solve the ExtendedMagnetohydrodynamics(XMHD)model,whichis atwo-fluid modelexpressed withacenter-of-massformulation.WeprovethatDGschemewithapositivity-preserving limiterisstableforthesystemgovernedbytheXMHDmodelortheresistiveMHDmodel.
Weusetherelaxationsystemformulation[28]fordescribingtheXMHDmodel,andsolve theequationsusingasplitlevelimplicit–explicittimeadvancescheme,steppingoverthe timestepconstraintimposedbythestiffsourceterms.Themagneticfieldisrepresented inanexactlocallydivergence-freeformofDG[23],whichgreatlyimprovestheaccuracy andstabilityofMHDsimulations.Aspresentlyconstructed,themethodisabletohandle awiderangeofdensityvariations,solveXMHDmodelonMHDtimescales,andprovide greatlyimprovedaccuracyoveraFiniteVolumeimplementationofthesamemodel.
©2014TheAuthors.PublishedbyElsevierInc.ThisisanopenaccessarticleundertheCC BY-NC-NDlicense(http://creativecommons.org/licenses/by-nc-nd/3.0/).
1. Introduction
In High Energy Density (HED) plasma systems,we usually must deal witha wide dynamic range ofcurrent carrying densities.Whendensityissolowthatthescalelengthsarecomparabletoioninertiallength,thesinglefluidmodelwould breakdown.Fortheseproblemstwo-fluidphysicsisessential,buttheapplicabilityofexistingnumericalmethods [6,16,17, 19,25,34] in thisplasma regime isstill limited. In thispaperwe develop a discontinuous Galerkin(DG)method tosolve an extended Magnetohydrodynamics (XMHD) model based on a relaxation formulation, and will demonstrate that this numericalschemehashighaccuracy,iscomputationallyefficient,andcanhandlethelargedynamicdensityrangeforHED plasmas.
DGschemesarewidelyusedinthehyperbolicalgorithmscommunity,sincethemethodcanhandlecomplexgeometries, hasanarbitraryorderofaccuracy,andisefficientinparallelcalculations[9–12,31].Inaddition,DGhasfurtheradvantages for HED plasmas, because the density range is very wide, one often faces a problem where the initial density profile is nearly a δ-singularity (e.g. a pinched-down wire). Such problems are difficult to approximate numerically, and most previous techniquesare based on the modification ofthe singularities withsmooth kernels in some narrow region (e.g.
[37,40]andthereferencestherein),andhencesmearsuchsingularities.However,DGmethodsdependontheweakformof theequationsandcansolvesuchproblemswithoutmodification,leadingtoavery accurateresult[38].Themainchallenge
*
Correspondingauthor.E-mailaddresses:[email protected](X. Zhao),[email protected](Y. Yang),[email protected](C.E. Seyler).
http://dx.doi.org/10.1016/j.jcp.2014.08.044
0021-9991/©2014TheAuthors.PublishedbyElsevierInc.ThisisanopenaccessarticleundertheCCBY-NC-NDlicense (http://creativecommons.org/licenses/by-nc-nd/3.0/).
with DGimplementationsliesinpreservingthestabilityofthesystem.Neardiscontinuities,strongoscillationsoftenappear thatmightsendthephysicallypositivequantitiesnegative.Whenthisoccurs,thenumericalsimulationmaybreakdown.In oursystem,thequantitiesthatshouldbepreservedpositiveare:density
ρ
,pressure P,energyE.Toensurethesequantities satisfyapositivity-preservingproperty,onecoulduseaTotalVariationDiminishing(TVD)scheme;howeverallTVDschemes willdegenerate tolower orderaccuracyatsmooth extrema[41].In[42], apositivity-preservinghighorderDGscheme is developed forsolving the compressibleEulerequations,and in[39],the authorsdemonstrated the L1-stability ofsuch a scheme.This scheme hasbeen applied on solving the idealmagnetohydrodynamic (MHD) equations[3,7].In thispaper, we willdemonstratethat thepositivity-preserving DGschemecan establishapositivity-preserving propertyfora system describedbyanXMHDmodeloraresistiveMHDmodel,thuspreservingthestabilityofthesystem.ForsolvingtheXMHDmodel,weusetherelaxationalgorithmproposedin[28]tosolvethecombinationofgeneralized Ohm’slaw(GOL)andtheMaxwell–Ampérelawfortheelectricfield. Therelaxationmethodisessentially asemi-implicit timedifferencing proventoconvergetothesolutionofthealgebraicequationsthatarethestiffsourcetermssetequalto zero.InthecaseofXMHDthismeansthesolutionconvergestoGOLinwhichtheelectroninertialtermsareneglectedand totheMaxwellequationinwhichthedisplacementcurrenttermisneglected(Ampére’sLaw).Usingthisalgorithm,onecan avoidtheconstraintimposedbytheunder-resolvedstiffsourcetermstostepoverelectronplasmaandcyclotronfrequencies, whichareoftenunder-resolvedinthecharacteristicregime,andtherebyallowonetosolvetheXMHDequationsonMHD timescales.Inthisalgorithm,theHalltermislocallyimplicitavoidingthesubstantialeffortinsolvingalargelinearsystem.
Furthermore,withXMHDmodel,inlow-densityregion,thecurrentissuppressedby bothHallandelectroninertialterms, one isableto usetheunmodified Spitzerresistivity,which makesthe plasma–vacuumtransitionautomatic andphysical.
ThisalgorithmhasbeenimplementedintoanXMHDcodecalledPERSEUSwithasecond-orderfinitevolume(FV)scheme.
Because ofthe extended stencil,FV isoften toodiffusive to characterize small-scalefluid instabilitiesand toresolve the localdetailsofa shockstructure withoutalargenumberofcells.Ontheother hand,DGschemeismorecompactinthe sensethateverycellistreatedindependently,andthesolutionislocalizedwithinacell.Thisleads toareducednumerical diffusion.Inthispaper,we comparethe performanceof aDGformulationXMHDcode tothat ofan FVformulation, and willdemonstratethroughnumericalteststhatDGhasasignificant advantageoverthesameorderofFVinbothmemory andCPUtime.AdditionallywecompareselectedresultswiththosefoundfromtheMHDmodelcomputedusingthesame algorithm.Thiscomparison demonstratestheviability ofthemethodforsolving XMHDproblemsaswell astopoint out importantdeficienciesinMHD.
Thispaperisorganizedasfollows.InSection2weintroducetheXMHDmodelandtherelaxationalgorithm.InSection3, we construct the DG scheme used in this paper, and demonstrate that a positivity-preserving limiter can preserve the positivity-preservingpropertyinasystemgovernedbyanXMHDmodeloraresistiveMHDmodel,wewillalsogiveabrief introductionon theimplementation ofouralgorithm.In Section 4,we presenttheresultsofnumerical tests,in some of thetests, wedoacomparisonwithFV,toshowthat DGismoreaccurateandmoreefficientthananFV implementation.
Wealsogiveexamplesofthemethodappliedtofundamentalplasmaphysicsproblemsandprovideacomparisonwiththe MHDmodelforthesameproblems.Concludingremarks areprovidedinSection5.
2. XMHDmodel 2.1. Governingequations
InthestudyofHEDplasmas,weareofteninaregimewheretheioninertiallengthoreventheelectroninertiallength areresolvedbythecelldimensions.Whenthisoccurs,standardMHDdoesnotaccuratelydescribethesystem,andamore generalized model is called for. The two-fluid model expressed with a center-of-massformulation, which is the XMHD model,coversmostofthephysicsoccurringinthisregime.Theprimaryexceptionbeingduetospace-chargeeffects,which isneglectedinthequasineutral XMHDmodel.TheXMHDmodelisgivenby:
∂ ρ
∂
t+ ∇ · ( ρ
u) =
0 (2.1)∂
∂
t( ρ
u) + ∇ · ( ρ
uu+
IP) =
J×
B (2.2)∂
En∂
t+ ∇ ·
u
(
En+
P)
=
u· (
J×
B) + η
J2 (2.3)∂
B∂
t+ ∇ ×
E=
0 (2.4)∂
E∂
t−
c2∇ ×
B= −
10
J (2.5)
∂
J∂
t+ ∇ ·
uJ
+
Ju−
1 neeJJ−
emeIPe
=
nee2 meE
+
u×
B− η
J−
1 neeJ×
B(2.6)
∂
tSe+ ∇ · (
ueSe) = ( γ −
1)
n1e−γη
J2.
(2.7)Where
ρ
, P,u=(ux,uy,uz),En,B=(Bx,By,Bz),E=(Ex,Ey,Ez),J=(Jx,Jy,Jz),and Se denotethedensity,pressure, velocityfield,thesumofthekineticandinternalenergies,magneticfield,electricfield,currentdensity,andelectronentropy density,respectively.The resistivityisη
.We haveqi= −Zqe=Z e,with Z beingthenetioncharge.Withtheassumption ofquasineutralityandtoleadingorderinme/mi,we havene=Zni=n Z.ρ
=mini+mene,μ
=Zme/mi,ue=u−J/(nee), J=e(Zniui−neue).WealsohaveP=(γ
−1)(En−ρ
u2/2)andPe=Senγ−1e .
We have chosen to model the electron equation of state using the electron entropy density given by Se =Pe/nγ−1 e because we are unable to prove that the electron pressure will remain positive when the electron energy equation is used.Theissuearisingintheproof ofelectronpressurepositivityisduetothenon-positive natureoftheelectronenergy equationsourcetermswhichdirectlyinvolve theelectricfield;however,theelectronentropydensitysourcetermispositive andwecaneasilyproveelectronpressurepositivity.Theproofofpositivityofthetotalpressureisalsocomplicatedbythe non-positivenatureofthetotalenergysourceterm,butinthatcasetheproofgoesthroughifcertaintime-steprestrictions areapplied.Thedisadvantageoftheuseoftheelectronentropydensityovertheelectronenergydensityisthattheentropy densityonlyallowsforadiabaticchangesinthethermodynamicvariablesandhencewecannot captureweaksolutions in theformofelectronshocks.SuchcircumstancescouldariseforinstanceintheformofLangmuirshocks.Asweareprimarily concerned withlow-frequencyphenomena, well belowtheelectronplasma frequency,we donot considertheuse ofthe electronentropydensitytobeagreatrestriction.
Thereisalsoaconstraintimpliedin(2.4).Takingthedivergenceof(2.4)showsthatif∇ ·Bisinitially0,itisalways0.
Thisgivesusaconstraint∇ ·B=0.Forlocalpreservationof∇ ·B=0,weusethelocallydivergence-freeDGmethod[23], whicheliminatestheneedforanexpensivedivergencecleaningschemeortheuseofglobaldivergence-freeelementsora globaldivergencefreereconstruction.
By switchingoffthe electroninertia term, electronpressure andtheHall termin Eq.(2.6),we get theresistiveMHD model,whichischaracterizedby(2.1)–(2.5),and
E
+
u×
B= η
J.
(2.8)Ifnotspecified,forsimplification,MHDmodelisusedtorefertoresistiveMHDmodelthroughoutthispaper.
FortheclassofproblemsofinteresttousXMHDhasseveralimportantadvantagesoverthetwo-fluidmodel.Theseare:
1.Adirect comparisonto MHDcanbemadeby simplyswitchingoffsome termsinGeneralizedOhm’sLaw (2.6); 2.The relaxationmethod (tobe discussedin Section2.2) canbe usedto stepoverthe plasmafrequencyandelectron cyclotron frequencywhentheydonothavetoberesolved.Thisgreatlyreducesthecomputationalcostof XMHDmodeling.Wehave not beensuccessfulthusfarinimplementing asimilarschemeforthefull two-fluid model.Thereasonforthisis dueto finitechargeseparationwhichisatopicbeyondthescopeofthispaper.Thustherewouldappeartobenoadvantagetothe two-fluidmodelforquasineutralproblemsandmanyadvantagesfortheXMHDmodel.
2.2. Relaxationmodel
Eqs. (2.5) and(2.6) are non-dimensionalized to exhibit the dimensionlessparameters that characterize therelaxation.
Thisgivesthefollowing[28]:
∂
E∂
t=
c2v2
(∇ ×
B−
J)
(2.9)∂
J∂
t+ ∇ ·
uJ
+
Ju− λ
iL0nJJ
−
miL0 meλ
iIPe
=
L20nλ
2eE
+
u×
B− λ
iL0nJ
×
B− η
J,
(2.10)where v=L0/t0 isthecharacteristicspeedandL0,t0 arerepresentativelengthandtimerespectively.Theelectronandion inertiallengthsareλ2j=mj/n0e2
μ
0.Therelaxationparametersarec2/v2 andL20/λ2e.InHigh-Energy-Density(HED)plasmasthephenomenaofinterestoftenoccurontimescalesmuchslowerthanthechar- acteristicelectronplasmaandelectroncyclotronfrequencies,whichmeans,vcandλeL0,forcingthat(2.9)and(2.10) relaxtotheequilibrium:
∇ ×
B=
J (2.11)E
+
u×
B− λ
iL0nJ
×
B+ λ
iL0n
∇
Pe= η
J.
(2.12)This means that,when the electroninertial scaleis under-resolved, thesolution relaxesto theinertia-less GOLand J willbe constrainedby J= ∇ ×B.Thismodelisimplementedintoanalgorithm inwhichwe useanimplicit–explicittime advance,allowingtimestepscomparabletoMHD.ThuswecansolveproblemsinwhichtheHalleffectisimportantwithout significantcomputationalcostoverthatofstandardMHDwiththecaveatthattheCFLconditionforthespeedoflightmust berespected.Ourexperiencehasshownformostproblemswecanuseamuchreducedspeedoflightwithoutaffectingthe resultssignificantly.Typicallythisreductionfactorisintherangeof15–30forHEDproblems.Formoreinformationonthe relaxationmethod,pleasereferto[28].
The formulation ofthe XMHDmodelgiven by (2.1)–(2.7)is not standard [27,30].The differencesare relevant forthe implementationofthenumericalalgorithm.Notethatthemomentumandenergyequationshavesourcetermsandastrue
sourcetermstheydependonlyontheindependentvariableswithnoderivatives.InmostformulationsofXMHDthecurrent isadependentvariabledeterminedthroughAmpére’slawandtheelectricfieldisdeterminedbythegeneralizedOhm’slaw.
Inthepresentformulationinwhichdisplacementcurrentisretained,theelectricfieldandcurrentdensityareindependent variables havingseparate evolution equations.Hence thetermson theRHSof (2.2), (2.3),(2.6) and(2.7) are truesource terms.Thereareissuesthatarepotentialcauseforconcernbynothavingafullyconservativeforminwhichalltermsare indivergenceform.Theseare:1.theJ×Bforcetermmayaffectshockcapturingabilityofthenumericaldiscretizationand 2.thenon-positiveformoftheenergysourcetermcouldaffectthepositivityofthepressure.Weaddressthefirstconcern byproviding teststhat showtheDGschemedoeswell incapturingshocks anddiscontinuities andthe secondconcernis addressedbyprovingthatthepositivity-preservinglimiterpreservesthestabilityofthesystem.
3. DiscontinuousGalerkinformulation
Inthissection,weconstructtheDGmethodsthatwillbeusedfortheXMHDmodel.
3.1. Localdivergence-freediscontinuousGalerkinformulation
Inthispaper,we onlyconsiderproblemswhich canbe consideredinvariant in z direction. Therefore,wehave∂z=0, and∇ =(∂x,∂y,0).Giventhis,wecansummarizeEqs.(2.1)–(2.7)withthefollowingform:
Ut
+
f(
U)
x+
g(
U)
y=
s(
U)
(3.1)where
U
= ( ρ ,
mx,
my,
mz,
En,
Bx,
By,
Bz,
Ex,
Ey,
Ez,
Jx,
Jy,
Jz,
Se)
T,
f(
U) =
mx
,
mxux+
P,
myux,
mzux, (
En+
P)
ux,
0, −
Ez,
Ey,
0,
c2Bz, −
c2By,
uxJx
+
Jxux−
1ZneJxJx
−
e mePe
,
uxJy+
Jxuy−
1ZneJxJy
,
uxJz+
Jxuz−
1ZneJxJz
,
Seuex T,
g(
U) =
my
,
mxuy,
myuy+
P,
mzuy, (
En+
P)
uy,
Ez,
0,−
Ex,−
c2Bz,
0,
c2Bx,
uyJx
+
Jyux−
1ZneJyJx
,
uyJy+
Jyuy−
1ZneJyJy
−
emePe
,
uyJz+
Jyuz−
1ZneJyJz
,
Seuey T,
s(
U) =
0
,
JyBz−
JzBy,
JzBx−
JxBz,
JxBy−
JyBx,
ux
(
JyBz−
JzBy) +
uy(
JzBx−
JxBz) +
uz(
JxBy−
JyBx) + η
J2x+
J2y+
J2z,
0
,
0,
0, −
Jx0
, −
Jy0
, −
Jz0
,
Zne2
me
Ex
+
uyBz−
1ZneJyBz
− η
Jx,
Zne2 me
Ey
+
uzBx−
1ZneJzBx
− η
Jy,
Zne2
me
Ez
+
uxBy−
1ZneJxBy
− η
Jz,
( γ −
1)
n1e−γη
J2x+
J2y+
J2z T(3.2)
with
ux
=
mxρ ,
uy=
my
ρ ,
uz=
mz
ρ ,
uxe
=
ux−
Jx/(
Zen),
uye=
uy−
Jy/(
Zen),
uze=
uz−
Jz/(
Zen).
Weconsiderthecomputationaldomain[0,Lx]× [0,Ly],anduserectangularmeshdefinedas 0
=
x12
< · · · <
xNx+12
=
Lx,
0=
y12
< · · · <
yNy+12
=
Ly,
withIi j= [xi−1
2,xi+1
2]× [yj−1
2,yj+1
2]representingthecells.Forsimplicity,weapplyuniformmeshesonly,anddenote x and y tobethemeshsizesinxandy directions,respectively.
Following[23],wedefinethefiniteelementspaceas Vhk
=
v
:
v|
Ii j∈
Pk(
Ii j), ∂
v6∂
x+ ∂
v7∂
y=
0,
wherePk(Ii j)=(P(Ii j))15,withP(Ii j)beingthespaceofpolynomialsofdegreeatmostkincellIi j.v6 andv7arethesixth andseventhcomponentsofthebasisfunctionsusedtoexpand Bx andBy.Notethat,byusingsuchafiniteelementspace,
∇ ·B=0 islocallypreservedautomatically.Althoughalocaldivergencefreeconstraintdoesnotguaranteeglobaldivergence freesolutions,ithasbeenshownthatalocalconditionisveryaccurate[8],although[1]and[2]reportsomeadvantagesin usingaglobaldivergencefreereconstructionoveralocalconstraint. Weprovideanumericaltest oftheglobaldivergence ofthemagneticfieldinSection4.6.2,whichsupportstheconclusionof[8].
ThentheDGschemeisthefollowing:findQ∈Vhk,suchthatforanyv∈Vhk
(
Qt,
v)
i j=
f(
Q),
vxi,j
+
yj+1
2 yj−12 fi−1 2,jv+i−12,jdy
−
yj+1
2 yj−12 fi+1 2,jv−i+12,jdy
+
g(
Q),
vyi,j
+
x
i+12xi−12
gi,j−1 2v+i,j−12dx
−
x
i+12xi−12
gi,j+1 2v−i,j+12dx
+
s
(
Q),
vi,j
,
(3.3)where(u,v)i j=
Ii j
15
=1uvdxdy andv+
i−12,j(y),v−
i+12,j(y),v+
i,j−12(x),v−
i,j+12(x)arethetracesofvonleft,right,lower,up- peredgeofthecellIi j,respectively.Moredetailscanbefoundin[42].Withthedefinitionofthetraces,theone-dimensional numerical fluxes are:fi−1
2,j=f(Q−
i−12,j(y),Q+
i−12,j(y)) andgi,j−1
2 =g(Q−
i,j−12(x),Q+
i,j−12(x)). The local Lax–Friedrichs (LLF) fluxisusedtoevaluatef
i−12,j,gi,j−1 2:
fi−12,j
=
1 2 f Q−i−12,j
(
y) +
fQ+
i−12,j
(
y) +
12
| λ |
i−12,j
Q−i−12,j
(
y) −
Q+i−1 2,j(
y)
gi,j−12
=
12
gQ−
i,j−12
(
x) +
gQ+
i,j−12
(
x) +
12
|λ|
i,j−12
Q−i,j−12
(
x) −
Q+i,j−12
(
x)
.
(3.4)We donot presentlyhaveasolutionforafullRiemannsolverorevenanapproximateRiemannsolver.Thereforewehave used anad-hocformofan LLFfluxbasedonanestimate ofthemaximumeigenvaluesofthefluxJacobian computedre- spectivelyfromtheEuler((2.1)–(2.3)),Maxwell((2.4)–(2.5)),andGOL((2.6)–(2.7))sub-blocks.Thesemaximumeigenvalues, sometimescalledfreezingspeeds[35],arethelocalvaluesof|u|+cs,c,|ue|+cesfortheEuler,Maxwell,andGOLsub-blocks respectively, wherec2es=mmiec2s istheelectronsoundspeedandc2s=
γ
Pρ
−1 istheacousticspeed.Wehavefound the LLF fluxbasedonthesevaluestobeentirelysatisfactoryandwenotethatthesamevaluesareusedinthefinitevolumecode andthatwithDG,farlessdiffusionisexhibitedthanFV,whichwillbeshowninSection4.|λ|i,j arethefreezingspeedsevaluatedoncell{i,j},andinEq.(3.4)weset
| λ |
i−12,j
=
max| λ |
i−1,j, | λ |
i,j| λ |
i,j−12
=
max| λ |
i,j−1, | λ |
i,j.
3.2. Positivity-preservinglimiter
Physically,thedensity
ρ
andpressureP arepositive.Therefore,theexactsolutionisinaconvexset[7]G
=
⎧ ⎪
⎪ ⎪
⎪ ⎪
⎨
⎪ ⎪
⎪ ⎪
⎪ ⎩
w=
⎛
⎜ ⎜
⎜ ⎜
⎜ ⎝ ρ
mx
my mz En
Se
⎞
⎟ ⎟
⎟ ⎟
⎟ ⎠
ρ >
0 andP= ( γ −
1)
En
−
1 2 m2x+
m2y+
m2z/ ρ
>
0 andSe>
0⎫ ⎪
⎪ ⎪
⎪ ⎪
⎬
⎪ ⎪
⎪ ⎪
⎪ ⎭
.
(3.5)We wanttoconstructthenumericalsolutionwhichisalsointheset(3.5).WeuseforwardEulerfortimeintegrationand maintainthepositivityofdensity,pressureandelectronentropydensityattimeleveln+1,providedthattheyarepositive attime leveln.It isclearthat,En>0 is automaticallyestablishedifwe have
ρ
>0 and P>0.Inthissection,we prove thatthepositivity-preservingpropertycanbeguaranteedwithaspeciallimiterinourXMHDmodel.Weconsiderthefirstfiveequationsandthelastoneinthesystem(3.3).Following[42],attimeleveln,weuseavector of polynomials of degree k, wni j=(
ρ
ni j,mxni j,myni j,mzni j,Enni j,Seni j) to approximate the exact solution, and define the cell averagewni j=(
ρ
ni j,mxni j,myni j,mzni j,Enn
i j,Se).Inthissection,wealwaysuseuni j=(uxni j,uyni j,uzni j)T for m
n i j
ρni j =(mx
n i j
ρni j ,my
n i j
ρi jn ,mz
n i j
ρni j )T
asthenumericalvelocityincellIi j attimeleveln.Forsimplicity,ifweconsideragenericnumericalsolutiononthewhole computationaldomain,thenthesubscripti j willbeomitted.Bytakingthetestfunctionv=1 in(3.3)wehavethescheme satisfiedbythecellaverages
wni j+1
=
1 2H1+
12H2
,
(3.6)where
H1
=
wni j+
2 t x yy
j+12yj−12
ˆ
f w−i−12,j
(
y),
w+i−12,j
(
y)
− ˆ
f w−i+12,j
(
y),
w+i+12,j
(
y)
dy+
2 t x yx
i+12xi−12
ˆ
gw−
i,j−12
(
x),
w+i,j−12
(
x)
− ˆ
g w−i,j+12
(
x),
w+i,j+12
(
x)
dx (3.7)
H2
=
wni j+
2 t x yIi j
s
(
x,
y)
dxdy,
(3.8)withˆf(·,·)andgˆ(·,·)beingtheone-dimensionalnumericalfluxesand s
=
0
,
J×
B,
u· (
J×
B) + η
J2, ( γ −
1)
n1e−γη
J2T.
Foraccuracy,weuseL-pointGaussquadratureswithL≥k+1 toapproximatetheintegralin(3.7).Wereferthereadersto [11]formoredetailsofthisrequirement.TheGaussquadraturepointson[xi−1
2,xi+1
2]and[yj−1 2,yj+1
2]aredenotedby pxi
=
xβi
: β =
1, · · · ,
Land pyj
=
yβj
: β =
1, · · ·,
L,
respectively.Also,wedenote
ω
β asthecorrespondingweights ontheinterval [−1,1].ThentheGaussquadratureformula ontheinterval[xi−12,xi+1
2]canbewrittenas
x
i+12xi−12
f
(
x)
dx≈
L β=1ω
βf xβihi
/
2,
wherehi=xi+1
2−xi−1
2.Moreover,weuse
ˆ
pxi=
ˆ
xαi
: α =
0, · · · ,
Mand p
ˆ
yj= ˆ
yαj
: α =
0, · · · ,
Mwith2M−1≥k,astheGauss–Lobatto points on[xi−1
2,xi+1
2] and[yj−1
2,yj+1
2], respectively.Also, we denote
ω
ˆα asthe correspondingweightsontheinterval[−1,1].ThentheGauss–Lobattoquadratureformulaontheinterval[xi−12,xi+1 2]can bewrittenas
x
i+12xi−12
f
(
x)
dx≈
M α=0ˆ ω
αfˆ
xαihi
/
2.
Letλ1= xt andλ2= yt,thenH1becomes
H1
=
wni j+
2λ
1 L β=1ω
βˆ
f w−i−12,β
,
w+i−12,β
− ˆ
f w−i+12,β
,
w+i+12,β
+
2λ
2 L β=1ω
β gˆ
w−β,j−12
,
w+ β,j−12− ˆ
g w−β,j+12
,
w+ β,j+12,
(3.9)wherew−
i−12,β=w−i−1
2,j(yβj)isapointvalueintheGaussquadrature.Likewisefortheotherpointvalues.Thenwehavethe followinglemma
Lemma3.1.ForthediscontinuousGalerkinmethodwiththeLLFflux,ifwn∈G,thenH1∈G undertheCFLcondition t
xmax
ux+
C0∞,
uy∞,
uz∞+
tymax
ux∞,
uy+
C0∞,
uz∞≤ ω ˆ
02
,
(3.10)and t
xmax
(
ue)
x∞
+
tymax
(
ue)
y∞
≤ ω ˆ
02
,
(3.11)whereC0= γρP,v∞isthestandardL∞-normofv onthewholecomputationaldomain,and(ue)xand(ue)yarethex andy componentsofue.
Proof. Theprooffollowsfrom[42]withsomeminorchanges,soweomitit. 2
Now we considerthe sourceterms.Weusea Gauss quadraturewithL points to computethe integralof thesource.
Then H2becomes
H2
=
L α=1 L β=1ω
αω
βhαβ,
where
hαβ
=
wnαβ+
2 tsαβandwnαβ denotes thepointvalueofwni j at(xα
i,yβj).Likewiseforsαβ. Lemma3.2.Supposewn∈G,thenwehavehαβ∈G underthecondition
t
≤
mini,j,α,βAs
xαi,
yβj,
(3.12)where
As
= η
J2ρ + !
η
2J4ρ
2+
2P(
J×
B)
2ρ /( γ −
1)
2(
J×
B)
2.
Proof. Supposehαβ=(
ρ
˘,ρ
u˘,E˘n,˘Se)T,withu˘=mρ˘˘.Forsimplicity,inthislemma,ifweconsiderthepointvalueat(xα i,yβj) attime leveln,thecorresponding indexwillbe omitted.Then itiseasy toshowthatρ
˘=ρ
n>0 and S˘e>0.Thesecond inequalityisduetothepositivityofthesourcetermin(2.7).SoweonlyneedtoshowP˘=(γ
−1)(E˘n−12ρ
˘u˘2)>0.Clearly, wehave:˘
m
=
m+
2 t(
J×
B)
E˘
n=
En+
2 tu
· (
J×
B) + η
J2whichfurtheryields P
˘
γ −
1=
En+
2 tu
· (
J×
B) + η
J2− [
m+
2 t(
J×
B)]
2 2ρ
=
Pγ −
1+
2 tη
J2−
2 t2(
J×
B)
2ρ .
Therefore, P˘ >0 provided t
≤ η
J2ρ + !
η
2J4ρ
2+
2P(
J×
B)
2ρ /( γ −
1)
2(
J×
B)
2.
Thisconditioncanbemadephysicallytransparentasfollows:
t
< !
1 2( γ −
1)
vth
vAvA or t
< η μ
01 v2A
issufficientfor P˘>0,wherevth isthethermalspeed,vA istheAlfvénspeed,vA≡√∇×μ0nmBi. 2
Noticing thefactthatwn+1istheconvexcombinationofH1andhαβ wehavethefollowingresult.