HAL Id: hal-02874872
https://hal.archives-ouvertes.fr/hal-02874872
Submitted on 19 Jun 2020
HAL is a multi-disciplinary open access
archive for the deposit and dissemination of
sci-entific research documents, whether they are
pub-lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d’enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.
An efficient high-order compact scheme for the unsteady
compressible Euler and Navier–Stokes equations
Alain Lerat
To cite this version:
Alain Lerat.
An efficient high-order compact scheme for the unsteady compressible Euler and
Navier–Stokes equations.
Journal of Computational Physics, Elsevier, 2016, 322, pp.365-386.
An
efficient
high-order
compact
scheme
for
the
unsteady
compressible
Euler
and
Navier–Stokes
equations
A. Lerat
DynFluidLab.,ArtsetMetiersParisTech,151Boulevarddel’Hopital,75013Paris,France
a
b
s
t
r
a
c
t
Keywords:
Compactschemes Highorder
Unsteadycompressibleflows Taylor–GreenVortex
Residual-BasedCompact(RBC)schemesapproximatethe3-DcompressibleEulerequations witha5th- or7th-orderaccuracyona5×5×5-pointstencilandcaptureshockspretty well without correction. For unsteady flows however, they require a costly algebra to extract thetime-derivative occurring at severalplacesinthe scheme.A newhigh-order time formulationhasbeen recently proposed[13] for simplifyingthe RBC schemes and increasingtheirtemporalaccuracy.Thepresentpapergoesmuchfurtherinthisdirection anddeeplyreconsidersthemethod.Anavatarofthe
RBC schemes
ispresentedthatgreatly reducesthecomputingtimeandthememoryrequirementswhilekeepingthesametypeof successfulnumericaldissipation.Twoand three-dimensionallinearstabilityareanalyzed and themethodis extendedtothe 3-Dcompressible Navier–Stokes equations.Thenew compactschemeisvalidatedforseveralunsteadyproblemsintwoandthreedimension.In particular,anaccurateDNSatmoderatecostispresentedfortheevolutionoftheTaylor– GreenVortexatReynolds1600andPrandtl0.71.Theeffectsofthemeshsizeandofthe accuracyorderintheapproximationofEulerandviscoustermsarediscussed.1. Introduction
Among high-order methods forcomputing compressible flows on structured meshes, compact schemes are attractive becauseoftheirnarrowgrid-stencilthatsignificantlyreducesthetruncationerrorforagivenaccuracy-orderandmakesthe treatmentofdeformingmeshesandboundaryconditionseasier.Compactschemesforcompressibleflowshavebeenmainly developedascenteredapproximationsinspace,notablyintheworksbyLele[1],CockburnandShu[2],Yee[3]andVisbal andGaitonde[4],withnumerical dissipationbased onartificialviscosities, numericalfilters orlimiters. Upwindcompact schemeshavealsobeenproposedbyTolstykh[5]andFuandMa[6].AnotherinterestingoptionistheuseofResidual-Based Compact(RBC)schemes.Inasuchascheme,theconsistentpartandthenumericaldissipationareexpressedonlyinterms ofcompactapproximationsofthecompleteresidual,i.e. thesumofthetermsinthegoverningequationsincludingthetime derivative.ThesecompactapproximationsarededucedfromPadéformulasinwhichthe inverseoperators areeliminated. OnaCartesianmesh,aRBC schemecanapproximateahyperbolicsystemofconservationlawsind-dimensionwitha 5th-or7th-orderaccuracyona 5d-point stencilandcaptureshocksprettywell withoutcorrection.Descriptionandanalysisof
theseschemescan befound in[7–13]. A relatedapproachdevelopedon unstructuredmeshesistheresidual-distribution method of Abgrall, Deconinckand Ricchiuto [14–18] in which the residuals are distributed to the nodes of triangles or tetrahedrons.
A peculiarity ofthe RBC schemesis themultiple occurrenceof thetime derivative in thescheme (
∂
w/∂
t occursd+
1 times in d-dimension). Besides, due to compactness, discrete spatial-operators are applied to each time-derivative. In the first applications ofthe RBC schemesto unsteady problems (see [19,10,11,20]), the time formulation was based on the Gearthree-levelmethodwhichis A-stable. Thisapproachisefficientforcomputingcompressibleflowsinsteadyand slow unsteadyregimes.However, itrequires an iterativemethodtoadvance thesolution(dual-time approachorNewton sub-iterations) and its time accuracy is limited to order 2, which is not sufficient for some unsteady applications. This is the reason whyan explicit time-formulation of highaccuracy has beenproposed in[13].Since a directextraction of thetime-derivativerequiresthesolutionofalargelinearalgebraic-system,an approximatespace-factorizationofthetime operator has been done witha correction to preserve rigorously the high order in space. This leads to the solution of simplelinearsystemsthatareblocktridiagonalforRBC schemesspatially-accurateatorder3or5andblockpentadiagonal for the RBC schemeof order7.Then, an ABM time-integration of orderq (explicitcombination ofAdams–Bashforthand Adams–Moulton methods)is usedto advance the solution.The ABM method offers the advantage ofonly requiringtwo computationspertime-stepofthefluxbalanceandofthetime-derivativeextraction,whatevertheorderq.
Inthe presentpaperwe gomuchfurtherinthequestofsimplifyingthealgorithmandreducing theCPU-timeforthe same accuracylevel.We constructan avatarofthe RBC schemesby dissociating thecomputation ofthe numerical dissi-pation fromthat oftheconsistentpart.Doingso,theresidual-basedfeatureispartiallylost,butthenumericaldissipation of thenew schemediscretizes thesame partial derivative operatorasthe RBC scheme andonlyrequires thesolution of ordinary tridiagonal(uptoorder 5)orpentadiagonallinearsystemswithouttheneedforaspacefactorization.The time-integrationusedforthissimpleschemeistheoptimizedlow-storageRungeKuttamethodR K o6 ofBogeyandBailly[21].
The paperisorganized asfollows.Section2presentsthevariousPadécompactapproximationsusedinthispaperand recalls the construction ofthe RBC schemeand thespecific features ofits numerical dissipationfor solvinga hyperbolic systemofconservationlawsintwo-dimension.Italsorecallsthedirectextractionofthetimederivativewiththe factoriza-tion techniqueandtheRBC
−
ABM schemes.Section 3describesthenewcompactschemefortheEulerequationsandits combinationwith R K o6 in whichthenumericaldissipationis takeninto accountatthelast stageonly. Thenewformof numerical dissipationiscompared tothat ofnon-compactupwindschemesofhighorder. Amultidimensionalanalysisof linearstabilityoftheoverallalgorithmispresentedforthevariousspatialordersandprovesstabilityforCFL numbersequal toorslightlygreaterthanone.Section4presentstheextensionofthenewcompactschemeoforder5tothecompressible Navier–Stokesequations.Todiscretizethesecondderivativeswithvariablecoefficientsona5-pointstencil,wedonotapply twicethePadéapproximationofafirstderivative,butusespecificPadéformulas.Theschemeheredescribedisspatially ac-curateatorder5fortheEulerfluxesandatorder4forgeneralviscousfluxes(E5V 4 scheme)andonlyrequiresthesolution oftridiagonallinearsystemswithconstantcoefficients.InSection5,thenewschemeisappliedtoseveraltest-problems.We firstconsidertheadvectionofavortexduringalongtimeinthehorizontalordiagonaldirection.These2-DEulerproblems allow avalidationoftheaccuracyorderof E5−
R K o6 forseveralCFL numbers andameasureoftheimportantreduction in computingtime over the RBC5−
ABM4 scheme. Then the3-D scalar problemofthe diagonaladvection ofa sphericalGaussian-shape iscomputedbythenewschemeinordertoconfirmtheaccuracyorderin3Daswell asthestability do-main. Successfulcomputationsare done up to theCFL theoretical-limitof 2
/
√
3. Thenext problemis a directnumerical simulation of the Taylor–GreenVortex atRe=
1600 and Pr=
0.
71.Several accuracy orders are considered forthe Euler andviscoustermsonaseriesofmeshes.EnstrophyevolutionsarecomparedtoareferencesolutionandtheCPU-costsare presented.The E5V 4−
R K o6 schemeproducesaveryaccuratesolutionona2563 meshforamoderateCPU-time.Finally, an Eulercomputation ofshock–vortexinteraction allowsa firstassessmentoftheshock-capturingcapabilitiesofthenew compactscheme,stillusedwithoutanykindofcorrection.ConclusionsaredrawnandfutureworkisplannedinSection6. 2. RBCschemes2.1. Reminderoncompactapproximations
Aderivative
∂
f/∂
x canbeapproximatedatanyorderonaregular meshxj=
jδ
x usingtwo simplediscrete operators, i.e. adifferenceandanaverageoveronemeshinterval:(δ
f)
j+12
=
fj+1−
fj(
μ
f)
j+12=
1
2
(
fj+1+
fj)
where j isanintegerorhalfinteger.Forinstance:
(δ
μ
f)
j= (
μ
f)
j+1 2− (
μ
f)
j−12=
1 2(
fj+1−
fj−1)
(δ
2f)
j= (δδ
f)
j=
fj+1−
2 fj+
fj−1(δ
4f)
j=
fj+2−
4 fj+1+
6 fj−
4 fj−1+
fj−2Table 1
Error-coefficientK2poftheapproximationofaderivativeatorder2p=4, 6, 8.
Error coefficient K4 K6 K8 Non-compact −301 1 140 − 1 630 Compact − 1 180 1 2100 − 1 44100
∂
f∂
x j=
I−
1 6δ
2+
1 30δ
4−
1 140δ
6δ
μ
fδ
x j+
O
(δ
x8)
(1)where I is the identity operator. This writingalso contains the approximationsof lower orders. Indeed,by successively removing theterms
−
1401δ
6, 301δ
4 and−
16δ
2,werespectivelygetthe approximationsoforder6,4and2on a7-,5- and 3-pointstencil.Toobtain thesameaccuracy orders ona shorterstencil,we canuse aPadé compactapproximation ofthe derivative, brieflycalledaPadéderivative,thatis:
∂
f∂
x j=
∇
fδ
x j+
O
(δ
x2p)
(2) with∇ =
D−1(
I+
aδ
2) δ
μ
,
D=
I+
bδ
2+
cδ
4wherea,b andc arescalarparameters.Theaboveformulainvolves5pointsatmost.However,toextractthePadéderivative
∇
f/δ
x,wehavetosolvethelinearalgebraicsystem: D∇
fδ
x j=
(
I+
aδ
2)
δ
μ
fδ
x j (3)ThematrixassociatedtotheD-operatorispentadiagonalingeneral.
ThePadéderivativeissecond-orderaccurateatleast.Itbecomesoffourthorderatleastifa
=
b−
16.Bychoosinga
=
0,
b=
16
,
c=
0 (4)bothsidesof(3)havea3-pointstencil.
ThePadéderivativeisaccurateatorder6atleastiftheparameterssatisfy
a
=
130
+
6c,
b=
1
5
+
6c (5)Bychoosing c
=
0,theD-operatorhasa3-pointstencil,whichleadstoatridiagonallinearsystem. ThePadéderivativeisaccurateatorder8fora
=
5 42,
b=
2 7,
c=
1 70 (6)The shortgrid-stencilofcompactformulasmakes thetreatment ofdeforming meshesandboundary conditionseasier.In addition,itsignificantlyreducestheerror.Indeed,thetruncationerrorofthePadéderivativeoforder2p
=
4,
6,
8 is:∇
fδ
x−
∂
f∂
x j=
K2pδ
x2p∂
2p+1f∂
x2p+1 j+
O
(δ
x2p+2)
The truncation error of the non-compact formula (1)has the same form, butthe error-coefficients K2p ofthe compact
formula are much smaller than those ofthe non-compact one, especially as the order increases(see Table 1). Thisis a strongargumentinfavorofcompactness.Notethatasimilarresultholdsforsecondderivatives(see[9]).
Todescribe thenumerical dissipation of theRBC schemes andto approximatethe viscous fluxes, we alsoneed Padé approximationsatmidpointsforaderivativeandanaveraging.Theyaredefinedas:
where
Dδ
=
I+
bδδ
2+
cδδ
4,
Dμ=
I+
bμδ
2+
cμδ
4ThemidpointPadéapproximations δ∇x and
μ
aresecond-orderaccurateatleast.Theybecomeoffourthorderatleastifbδ
−
aδ=
124
,
bμ
−
aμ=
18 (8)
Theyareaccurateatorder6atleastifinaddition
1 24b δ
−
cδ=
3 640,
1 8b μ−
cμ=
3 128 (9)ToconstructthenumericaldissipationoftheRBC schemes,midpointapproximationsoforders2,4and6willbesufficient. BesideswewillchooseDμ
=
Dδ,i.e. bδ=
bμ andcδ=
cμ,toobtainagreatsimplificationinthedissipationterm(vanishing of Dμ andDδ).Thesimplestrelevantsetsofparametersarethenthefollowingones.For2nd-order:aδ
=
aμ=
bδ=
bμ=
cδ=
cμ=
0 (10)For4th-order,wesatisfy(8)withDμ
=
Dδ andforsimplicityaμ=
cμ=
0,whichgivesaδ
=
112
,
aμ
=
0,
bδ=
bμ=
18
,
cδ
=
cμ=
0 (11)For6th-order,wesatisfy(8)and(9)withDμ
=
Dδ,whichgivesaδ
=
11 60,
a μ=
1 10,
b δ=
bμ=
9 40,
c δ=
cμ=
3 640 (12)Now concerningtheapproximationofviscous terms,thechoicecriterion isnolongerDμ
=
Dδ butcδ=
cμ=
0 toproduce tridiagonallinearsystemsonly.For4th-order,wesatisfy(8)withcδ=
cμ=
0 andforsimplicityaμ=
aδ=
0,whichgives:aδ
=
aμ=
0,
bδ=
124
,
bμ
=
18
,
cδ
=
cμ=
0 (13)For6th-order,wesatisfy(8)and(9)withcδ
=
cμ=
0,whichgivesaδ
=
17 240,
a μ=
1 16,
b δ=
9 80,
b μ=
3 16,
c δ=
cμ=
0 (14)2.2. RBC spaceapproximationona5
×
5-pointstencilConsiderthehyperbolicsystemofconservationlaws:
∂
w∂
t+
∂
f1∂
x1+
∂
f2∂
x2=
0 (15)where t is the time, x1 and x2 are the space coordinates, w is the state vector and f1
=
f1(
w)
, f2=
f2(
w)
are fluxcomponentsdependingsmoothlyonw.TheJacobianmatricesofthefluxaredenoted A1
=
d f1/
dw and A2=
d f2/
dw.System(15)isapproximatedinspaceon auniformCartesianmesh
(
j1δ
x1,
j2δ
x2)
usingaresidual-based-compact(RBC)scheme.Suchaschemeisacompactdiscreteformof
r
=
δ
x1 2∂(
1r)
∂
x1+
δ
x2 2∂(
2r)
∂
x2 (16)wherer istheexactresidual:
r
=
∂
w∂
t+
∂
f1∂
x1+
∂
f2∂
x2andtheright-handsideisaresidual-basednumericaldissipationinwhich
1 and
2arematrices,eachdependingonthe
eigensystems oftheJacobian matrices A1 and A2 andon theratio ofthespace steps.Thesematrices aredefinedin the
sequel.Theycontainnotuningparametersorlimiters.
Todescribethespaceapproximationof(16),weintroducethebasicdiscreteoperatorsineachspacedirection:
(δ
1v)
j1+1 2,j2=
vj1+1,j2−
vj1,j2(δ
2v)
j1,j2+12=
vj1,j2+1−
vj1,j2(
μ1
v)
j 1+12,j2=
1 2(
vj1+1,j2+
vj1,j2)
(
μ2
v)
j1,j2+12=
1 2(
vj1,j2+1+
vj1,j2)
ReplacingtheexactresidualinEq.(16)bydifferentcompactcenteredapproximationsr
˜
j1,j2,(
r˜
1)
j1+12,j2 and(
r˜
2)
j1,j2+12,weobtaintheresidual-basedcompactscheme:
˜
rj1,j2
=
1
2
[δ
1(
1˜
r1)
+ δ
2(
2r˜
2)
]
j1,j2 (17)Inspiteofappearances,thenumericaldissipationin(17)isnotsimplyoforderonebecause
(
r˜
1)
and(
r˜
2)
approximatetheexactresidualr
=
0.Clearly,ifr˜
j1,j2 approximatesr atorder2p and(
˜
r1)
j1+12,j2,(
r˜
2)
j1,j2+12 approximater atorder2p−
2,thenthescheme(17)isaccurateatorder2p
−
1 inspaceanddenotedasRBC2p−1.Wenowrestricttheschemestencilto5
×
5 points.Forconstructingthemainresidualr˜
j1,j2,wefirstreplacethespacederivativesintheexactresidualr byPadéapproximations ∇1
δx1 and
∇2
δx2 oforder2p,wheresimilarlyasin2.1:
∇
l= (
Dl)
−1(
I+
aδ
l2) δ
lμ
l,
Dl=
I+
bδ
2l+
cδ
4
l
,
l=
1,
2 (18)Thenweapplytheoperator D1D2 toallthetermsintheresidualandobtain
˜
rj1,j2=
D1D2∂
w∂
t+
D2(
I+
aδ
2 1)
δ
1μ1f1δ
x1+
D1(
I+
aδ
22)
δ
2μ2f2δ
x2 j1,j2 (19)For constructing the two residuals in numerical dissipation
(
r˜
1)
j1+12,j2 and
(
r˜
2)
j1,j2+12, we use Padé approximations atmidpoints. Moreprecisely, for
(
r˜
1)
j1+12,j2 we first replace∂f1
∂x1 by thePadé derivative atmidpoints
∇1
δx1 andweapply the
Padéaverageatmidpoints
μ
1 to ∂∂wt and∂f2 ∂x2,whichgives
μ
1∂
w∂
t+
∇
1f1δ
x1+
μ
1∂
f2∂
x2j1+12,j2 with
∇
l= (
Dlδ)
−1(
I+
aδδ
l2) δ
l,
μ
l= (
D μ l)
− 1(
I+
aμδ
2 l)
μ
l Dlδ=
Dlμ=
I+
bδδ
l2+
cδδ
l4,
l=
1,
2whereaδ,aμ,bδ andcδ aretheparameters(10)–(12)givingtheorder2p
−
2. Thenwereplace ∂f2∂x2 byastandardPadéapproximation
(
∇ 2
δx2
)
j1,j2 with∇
l= (
Dl)
−1(
I+
aδ
l2) δ
lμ
l,
Dl=
I+
bδ
l2+
cδ
l4,
l=
1,
2 (20)wherea,b andcaretheparametersgivingtheorder2p
−
2. Finally,weapplytheoperator Dδ1D2 toallthetermsandobtain
(
r˜
1)
j1+1 2,j2=
D2(
I+
aμδ
21)
μ1
∂
w∂
t+ (
I+
a δδ
2 1)
δ
1f1δ
x1+ (
I+
aμδ
12)(
I+
aδ
22)
δ
2μ2μ1f2δ
x2 j1+12,j2Notethatthe operator Dδ
l hascompletely disappearedandthus theparametersbδ andcδ play norole.Similarlywe
con-structthesecondresidualindissipation:
(
r˜
2)
j 1,j2+12=
D1(
I+
aμδ
22)
μ2
∂
w∂
t+ (
I+
a δδ
2 2)
δ
2f2δ
x2+ (
I+
aμδ
22)(
I+
aδ
21)
δ
1μ1μ2f1δ
x1 j1,j2+12Thus,theresidualsindissipationdependonthefiveparametersaδ,aμ,a,bandc.TheparametersoftheRBC3-dissipation areallzero,thoseoftheRBC5-dissipationsatisfy(11)and(4)andthoseoftheRBC7-dissipationsatisfy(12)and(5).
2.3. RBC dissipation
WenowdiscussthedissipationtermoftheRBC scheme:
˜
dj1,j2
=
1
2
[δ
1(
1˜
r1)
+ δ
2(
2r˜
2)
]
j1,j2 (21)Thematricesinvolvedaredefinedas:
where,owingtohyperbolicityofSystem(15),TAl isaninvertiblematrixhavingtherighteigenvectorsoftheflux Jacobian-matrix Al (l
=
1,
2)ascolumnvectorsandDiag(φ
l(i))
denotesadiagonalmatrixwithdiagonalentries:φ
1(i)=
sgn(
a(1i))
min 1,
δ
x2|
a (i) 1|
δ
x1m(
A2)
,
φ
(2i)=
sgn(
a(2i))
min 1,
δ
x1|
a (i) 2|
δ
x2m(
A1)
whereal(i)isan eigenvalueof Al andm
(
Al)
=
mini
|
a(i)
l
|
,l=
1,
2.Eigenvaluesandeigenvectorsof A1 at(
j1+
1
2
,
j2)
andofA2at
(
j1,
j2+
12)
,i.e. oncellfaces,arecomputedusingtheRoeaverage[22].The matrices
1 and
2 havebeen designedin [23,7] to introduce some kind ofupwinding. Fora one-dimensional
problem,
1 reducestothesignmatrix:
(
1)
j 1+12,j2=
[sgn(
A1)
]j1+12,j2=
TA1Diag(
sgn(
a (i) 1)
T− 1 A1j1+12,j2 (22)
Foratwo-dimensionalscalarequation:
∂
w∂
t+
A1∂
w∂
x1+
A2∂
w∂
x2=
0 (23)with Al
=
Al(
w)
=
0,l=
1,
2,1 and
2 reducesto
(
1)
j1+12,j2=
sgn(
A1)
min(
1,
1θ
)
j1+12,j2,
(
2)
j1,j2+12=
[ sgn(
A2)
min(
1, θ )
]j1,j2+12 (24)where
θ
characterizestheadvectiondirectionwithrespecttothemesh:θ
=
δ
x1|
A2|
δ
x2|
A1|
For
θ
=
1, the advection is along a mesh diagonal. Forθ <
1, the advection is closer to the x1-direction than to thex2-direction.For
θ >
1,itistheopposite.Thedissipation term(21)hasbeenanalyzedin[11] forunsteadyproblems.Forsteps
δ
x1 andδ
x2 ofthesameorderofmagnitude,say
O(
h)
,aTaylorexpansionof(21)foraRBC schemeoforder2p−
1 gives:˜
dj1,j2=(−
1)
p−1κ
∂
∂
x11
(δ
x2p1 −1∂
2p−1f1∂
x2p1 −1+
χ
δ
x1δ
x 2p−2 2∂
2p−1f2∂
x2p2 −1)
+
∂
∂
x22
(
χ
δ
x2p1 −2δ
x2∂
2p−1f1∂
x2p1 −1+ δ
x 2p−1 2∂
2p−1f2∂
x2p2 −1)
j1,j2+
O
(
h2p+1)
(25)where
κ
>
0 andχ
aretwoconstantcoefficientsdependingonlyontheparametersindissipation.Notethat(25)doesnot containtimederivativessincetheyhavebeenreplacedbyspacederivativesusingtheexactsystem(15).FortheRBC3-dissipation:
κ
=
1 24,
χ
=
12 b−
1 6FortheRBC5-dissipation:
κ
=
1 240,
χ
=
20 b−
1 5FortheRBC7-dissipation:
κ
=
1 5600,
χ
=
280 3 c−
1 70Consideringthescalarequation(23),ithasbeenproved[11]thatanecessaryandsufficientconditionforthepartial differ-entialoperatorin(25)bedissipative,foralladvectiondirections
(
A1,
A2)
andfor(1
,
2)oftheform(24),is
χ
=
0,i.e. nocrossedderivativesin(25).Asimilarresulthasalsobeenprovedin3-D[11]. FortheRBC7-dissipation,
χ
=
0 meansc=
701.Togetherwiththeconditiona
=
130
+
6c,
b=
15
+
6censuringthe6th-orderaccuracyof ∇2 δx2 in
˜
r1and ∇ 1 δx1 inr˜
2,weobtain: a=
5 42,
b=
2 7,
c=
1 70that is a 8th-order accuracy on these
∇
-Padé derivatives as forthe∇
-Padé derivatives in the main residual. A similar situationoccurswithRBC5- andRBC3-dissipation.Generallyspeaking,acorrectdissipationrequires∇
= ∇
,thatisa
=
a,
b=
b,
c=
cFortunately,thisaccuracyenhancementofsometermsinthedissipationoperatordoesnotextendtheschemestencil. Finally,thedissipativeRBC schemes ona 5
×
5 stencilaredefinedbythemainresidual(19)andtheresidualsin dissi-pation:(
r˜
1)
j1+1 2,j2=
D2(
I+
aμδ
21)
μ1
∂
w∂
t+ (
I+
a δδ
2 1)
δ
1f1δ
x1+ (
I+
aμδ
12)(
I+
aδ
22)
δ
2μ2μ1f2δ
x2 j1+12,j2 (26)(
r˜
2)
j1,j2+1 2=
D1(
I+
aμδ
22)
μ2
∂
w∂
t+ (
I+
a δδ
2 2)
δ
2f2δ
x2+ (
I+
aμδ
22)(
I+
aδ
12)
δ
1μ1μ2f1δ
x1 j1,j2+12 (27)withthefollowingparameters:
RBC3
:
a=
0,
b=
1 6,
c=
a μ=
aδ=
0 (28) RBC5:
a=
1 30,
b=
1 5,
c=
a μ=
0,
aδ=
1 12 (29) RBC7:
a=
5 42,
b=
2 7,
c=
1 70,
a μ=
1 10,
a δ=
11 60 (30)In theseschemes, the dissipation error (of order 2p
−
1) dominates the dispersiveerror (of order 2p), whichis a good featureforrobustness.Spectralpropertiesoftheseschemesaredescribedin[12].SincetheRBC5 schemeismostly usedinournumericalapplications,wewritedownitsspecificresiduals(omittingthe
subscripts):
˜
r= (
I+
1 5δ
2 1)(
I+
1 5δ
2 2)
∂
w∂
t+ (
I+
1 5δ
2 2)(
I+
1 30δ
2 1)
δ
1μ
1f1δ
x1+ (
I+
1 5δ
2 1)(
I+
1 30δ
2 2)
δ
2μ
2f2δ
x2˜
r1= (
I+
1 5δ
2 2)
μ1
∂
w∂
t+ (
I+
1 12δ
2 1)
δ
1f1δ
x1+ (
I+
1 30δ
2 2)
δ
2μ2μ1f2δ
x2˜
r2= (
I+
1 5δ
2 1)
μ2
∂
w∂
t+ (
I+
1 12δ
2 2)
δ
2f2δ
x2+ (
I+
1 30δ
2 1)
δ
1μ1μ2f1δ
x1TheRBC5-dissipationapproximates:
˜
d=
1 240δ
x15∂
∂
x1(
1∂
5f1∂
x15)
+ δ
x25∂
∂
x2(
2∂
5f2∂
x25)
+
O
(δ
x17, δ
x27)
2.4. Directextractionofthetime-derivative
A difficulty inherent to the RBC schemesis that the time derivative occurs, through linear discrete operators dueto compactness,not onlyinthemainresidualbutalsointheother tworesiduals (orthreeresiduals in3-D)involvedinthe numericaldissipation.Toovercomethisdifficulty,thefollowingapproachhasbeenproposedin[13].First,themainresidual andthedissipationaresplitintoapartcontainingthetimederivativeandapurely-spatialpart(stillomittingthesubscripts
˜
r0=
D2(
I+
aδ
12)
δ
1μ1f1δ
x1+
D1(
I+
aδ
22)
δ
2μ2f2δ
x2˜
r01=
D2(
I+
aδδ
21)
δ
1f1δ
x1+ (
I+
aμδ
12)(
I+
aδ
22)
δ
2μ2μ1f2δ
x2˜
r02=
D1(
I+
aδδ
22)
δ
2f2δ
x2+ (
I+
aμδ
22)(
I+
aδ
12)
δ
1μ1μ2f1δ
x1Sincethediscreteoperators
δ
1,δ
2,μ
1 andμ
2commutetwobytwo,wecanalsowrited as˜
˜
d= (
M1D2+
M2D1)
∂
w∂
t+
1 2[δ
1(
1˜
r 0 1)
+ δ
2(
2r˜
02)
]
with M1=
1 2δ
11
(
I+
aμδ
12)
μ1
.
,
M1=
1 2δ
22
(
I+
aμδ
22)
μ2
.
Owing to the matrix-coefficients
1 and
2, thematricesassociated to thediscrete operators M1 and M2 have ablock
structure. Theyareblock-tridiagonalifaμ
=
0,i.e. forRBC3 andRBC5,orblock-pentadiagonalforRBC7.Theirdimensionisthenumberofmeshpointsin x1- orx2-directionwithablock-sizeequaltothenumberofequationsintheexactsystem
(15).Forconsistency,thesameblock-structureisgiventothematricesassociatedto D1 and D2 withdiagonalblocks.The
matricesassociatedtoD1andD2 areblock-tridiagonalifc
=
0,i.e. forRBC3 andRBC5,orblock-pentadiagonalforRBC7.TheRBC schemer
˜
= ˜
d canthusberewrittenas∂
w∂
t=
H0 (31)where
denotesthediscreteoperator:
=
D1D2−
M1D2−
M2D1andH0 isthespace-fluxcontribution:
H0
= −˜
r0+
1 2
[δ
1(
1r˜
0
1
)
+ δ
2(
2˜
r02)
]
(32)The time derivative can be obtained by solving the linear system (31). However, the matrix associated to
is rather complicated.Tosimplifyit,adimensionalfactorizationof
isattemptedas:
=
12
−
cwhere
1
=
D1−
M1,
2
=
D2−
M2,
c
=
M1M2As D1 and D2,theone-dimensionaloperators
1 and
2 are locally
O(
1)
,butsince M1=
O(δ
x1)
andM2=
O(δ
x2)
,thecorrectiveoperator
c islocally
O(δ
x1δ
x2)
andcannot beneglected.Thereforethelinearsystem(31)isconsideredintheform:
1
2
∂
w∂
t=
H0+
c∂
w∂
t (33)andsolvedapproximatelyinafewiterationsas:
1
2
∂
w∂
t (m+1)=
H0+
c∂
w∂
t (m),
m=
0,
1, ... ,
mf (34) startingfrom∂
w∂
t (0)=
0.
(35)we haveonlyto solvelinearsystemsthatare block-tridiagonalforRBC3 andRBC5 orblock-pentadiagonalforRBC7.It has
beenprovedin[13]thatoneiteration(mf
=
1)forRBC3,twoiterationsforRBC5andthreeiterationsforRBC7 aresufficienttopreservethespaceaccuracyorder.
Thenumericalsolutionisadvancedbysolvingtheordinarydifferentialequation(ODE):
∂
w∂
t=
F(
w)
(37)where F
=
−1H0.Clearly, the maincost per time-step comes fromthecalculation of F asthesolution ofthe problem
(36).SoweareinterestedinODEmethodsrequiringfewevaluationsofF pertime-step.Severalexplicitmethodsoforder4 werecomparedin[13],namelytheAdams–Bashforthmethod A B4,theextrapolatedBackwardDifferentialFormulae B D F4,
theclassicalRunge–Kuttamethod R K4 andan explicitcombinationoftheAdams–BashforthandAdams–Moultonmethods
calledABM4.ThelatterwasfoundtobetheleastconsuminginCPU-time.ThisABM4 methodwrites:
⎧
⎨
⎩
˜
wn+1=
wn+
t 12(
23Fn−
16Fn−1+
5Fn−2)
wn+1=
wn+
24t(
9F˜
n+1+
19Fn−
5Fn−1+
Fn−2)
(38) wherewn= (
wnj1,j2
)
denotesthenumericalsolutionattimeleveltn
=
nt,Fn
=
F(
wn)
andF˜
n+1=
F(
w˜
n+1)
.Themaximaltime-stepforstabilityofABM4islowerthanthatofR K4 butmuchgreaterthanthoseofe B D F4 andA B4.
Ontheotherhand,ABM4 requirestwoevaluationsof F pertimestep(Fn andF
˜
n+1)while R K 4 requiresfour.Finally,theshortestcomputing-timefortheRBC schemeswasobtainedwithABM4.
3. Anewcompactformulation
In order to simplify the RBC scheme (17), the idea is to compute the time derivative in dissipation from the non-dissipativescheme
˜
r
=
0Fromthedefinition(19)ofthemainresidual
˜
r,weobtain∂
wˇ
∂
t= −
∇
1f1δ
x1−
∇
2f2δ
x2 (39)usingthePadécompactderivativesdefinedby(18).Theresidualsindissipation
˜
r1 andr˜
2becomeˇ
r1=(
D2)
−1r˜
1= (
I+
aμδ
21)
μ1
(
∂
wˇ
∂
t+
∇
2f2δ
x2)
+ (
I+
aδδ
21)
δ
1f1δ
x1ˇ
r2=(
D1)
−1r˜
2= (
I+
aμδ
22)
μ2
(
∂
wˇ
∂
t+
∇
1f1δ
x1)
+ (
I+
aδδ
22)
δ
2f2δ
x2Since
˜
r1,˜
r2 approximate 0 at a high order and(
D2)
−1=
I+
O(δ
x22)
,(
D1)
−1=
I+
O(δ
x12)
, the new residuals rˇ
1, rˇ
2approximate0atthesameorderas
˜
r1,r˜
2.Using(39)toeliminate
∂
wˇ
/∂
t,thenewresidualsindissipationreducetothesimpleexpressions:ˇ
r1=(
I+
aδδ
12)
δ
1f1δ
x1− (
I+
aμδ
12)
μ1
∇
1f1δ
x1ˇ
r2=(
I+
aδδ
22)
δ
2f2δ
x2− (
I+
aμδ
22)
μ2
∇
2f2δ
x2 (40)andthenewcompactschemetakestheform:
∂
w∂
t+
∇
1f1δ
x1+
∇
2f2δ
x2=
1 2[δ
1(
1rˇ
1)
+ δ
2(
2ˇ
r2)
]
(41)Forthe parametersets (28),(29) and(30),thisscheme remains respectivelyaccurate atorder3,5 and 7,butit ismuch simplertoimplement:
– thescheme (41)only requires thesolution ofalgebraic linearsystems withconstant coefficientsto compute the Padé derivatives
∇
1f1/δ
x1and∇
2f2/δ
x2andthesesystems aretridiagonalforscheme-order3and5orpentadiagonalfororder 7,withoutanyblock.
– Furthermore,thenewschemeisstablewithsimpler
1and
2matricesthanthoserecalledinSection2.3fortheoriginal
RBC scheme.Allthepresentcomputationswiththenewschemehavebeenrunusing:
l
=
sgn(
Al)
=
TAlDiag[
sgn(
a (i)l
)
] (
TAl)
−1
,
l=
1,
2 (42)The linearstability analysispresented below forthe new scheme with(42) justifies thissimplification for 2-D and3-D scalarproblems.
Althoughthisisnotrecommendedforanefficientprogramming,wenowdevelopthedissipationresiduals(40)inorder topreciselyidentifythenewformofdissipation.Fromthedefinition(18)of
∇
l:Dl
μ
l∇
l flδ
xl=
μ
lDl∇
l flδ
xl=
μ
2 l(
I+
aδ
l2)
δ
lflδ
xl,
l=
1,
2Usingtherelation
μ
2l
=
I+
1 4δ
2 l,weobtain: Dlμ
l∇
l flδ
xl= (
I+
1 4δ
2 l)(
I+
aδ
l2)
δ
lflδ
xl,
l=
1,
2Theresiduals(40)canthusbewrittenas:
ˇ
rl= (
Dl)
−1Nlδ
lflδ
xl,
l=
1,
2 where Nl=
Dl(
I+
aδδ
l2)
− (
I+
aμδ
2l)(
I+
1 4δ
2 l)(
I+
aδ
l2),
Dl=
I+
bδ
l2+
cδ
l4AsimplecalculationreducesNl to
Nl
=
n2δ
l2+
n4δ
4l+
n6δ
l6 with n2=
b−
a+
aδ−
aμ−
1 4,
n4=
b a δ−
a aμ+
c−
a 4−
aμ 4,
n6=
c a δ−
a aμ 4Fortheparameters(28)ofRBC3: n2
= −
121,
n4=
0,
n6=
0Fortheparameters(29)ofRBC5: n2
=
0,
n4=
1201,
n6=
0Fortheparameters(30)ofRBC7: n2
=
0,
n4=
0,
n6= −
28001Inserting
ˇ
rl= (
I+
bδ
l2+
cδ
4 l)
− 1(
n 2δ
l2+
n4δ
l4+
n6δ
6l)
δ
lflδ
xl,
l=
1,
2intheright-handsideof(41)andreplacing
∇
l by(18)intheleft-handside,thenewcompactschemetakestheform:at order 3:
∂
w∂
t+
2 l=1(
I+
1 6δ
2 l)
−1δ
lμ
lflδ
xl= −
1 24 2 l=1δ
lδ
xl sgn(
Al)(
I+
1 6δ
2 l)
−1δ
l3fl (43) at order 5:∂
w∂
t+
2 l=1(
I+
1 5δ
2 l)
−1(
I+
1 30δ
2 l)
δ
lμ
lflδ
xl=
1 240 2 l=1δ
lδ
xl sgn(
Al)(
I+
1 5δ
2 l)
−1δ
l5fl (44) at order 7:∂
w∂
t+
2 l=1(
I+
2 7δ
2 l+
1 70δ
4 l)
−1(
I+
5 42δ
2 l)
δ
lμ
lflδ
xl= −
1 5600 2 l=1δ
lδ
xl sgn(
Al)(
I+
2 7δ
2 l+
1 70δ
4 l)
−1δ
l7fl (45)Clearly, thedissipationtermofeachabove schemeexpandsasin(25)with
χ
=
0 andthesamecoefficientκ
.Ittherefore behaves infirstapproximationasthedissipationofthebasicRBC scheme.Notethatthenewschemeremainscompactin itsmainpart(left-handside),butnotinitsdissipativepart.Inpractice,thiscompacitylossisnottooserious,becauseitis easiertolocallymodifythedissipationthantheconsistentpart(forinstanceneara boundary)andalso,aswe seebelow, thisdissipationisonlyusedoncepertimestep,atthelaststageofaRunge–Kuttamethod.at order 3:
∂
w∂
t+
2 l=1(
I−
1 6δ
2 l)
δ
lμ
lflδ
xl= −
1 12 2 l=1δ
lδ
xl|
Al|δ
l3w (46) at order 5:∂
w∂
t+
2 l=1(
I−
1 6δ
2 l+
1 30δ
4 l)
δ
lμ
lflδ
xl=
1 60 2 l=1δ
lδ
xl|
Al|δ
l5w (47) at order 7:∂
w∂
t+
2 l=1(
I−
1 6δ
2 l+
1 30δ
4 l−
1 140δ
6 l)
δ
lμ
lflδ
xl= −
1 280 2 l=1δ
lδ
xl|
Al|δ
l7w (48) where|
Al| =
TAlDiag[|(
a (i) l|] (
TAl)
− 1,
l=
1,
2Notethatthedissipationcoefficientoftheupwindschemeisalwayshalfofthelastcoefficientintheleft-handside(see[9]
foraproof).
Comparingcentered approximationsofafirst derivative inSection 2.1,we havementionedthat a compactformulais moreaccuratethananon-compactone ofthesameaccuracyorder.Thisyieldsthattheconsistentpart(left-hand-side)of thenewschemes(43)–(45)produceslessdispersive-errorthantheconsistentpartoftheupwindschemes(46)–(48).Now concerning the dissipation, there is some analogy betweenthe right-hand side of the two types ofhigh-order schemes. For a linear problem(constant matrices A1 and A2), these two scheme-types have the same form of first
differential-approximation,buttheschemes(43)–(45)arelessdissipativebecausetheirdissipationcoefficientsaresmaller,namely2,4 and20timessmalleratorder3,5and7,respectively.Sowe canconcludethatboth dispersiveanddissipativeerrorsare smallerfortheschemes(43)–(45).
Wereturntotheusual form(40)–(41)ofthenewschemesandpresenttheir timeintegration.Duetothesimplicityof theseschemes,themostefficienttime-integrationisnolongerABM4 asinSection 2.4forthebasicRBC-schemes,buthas
beenfound intheclassofRunge–Kuttamethods.Specifically, weusethe low-storageexplicitRunge–Kuttamethod R K o6
proposed by Bogey and Bailly [21]. This six-stage method was constructed by optimizing its dispersion and dissipation properties.Ithasbeenshown[21]to bemorestableandmore accuratethanthestandard low-storagemethodwithfour stages(R K s4).
Foradifferentialequationoftheform(37),the R K o6 methodreads:
w(0)
=
wnw(k)
=
wn+
α
kt F
(
w(k−1)),
k=
1,
2, ... ,
6 (49)wn+1
=
w(6)withthefollowingcoefficients:
α1
=
0.
117979901657,
α2
=
0.
184646966491,
α3
=
0.
246623604310,
α4
=
0.
331839542736,
α5
=
12
,
α6
=
1.
Moreprecisely, thetime integrationofthe newschemewillbe doneby takingintoaccount thenumericaldissipation at thelaststageonly.Thisreducesthecomputingtimebutnottheaccuracyorderbecausethenumericaldissipationisofthe orderoftheschemespatial-accuracy(3,5or7).Sowereplace(49)by
w(k)
=
wn+
α
kt Fk
(
w(k−1)),
k=
1,
2, ... ,
6 (50)Fk
= −
∇
1 f1δ
x1−
∇
2f2δ
x2+
χ
k 2[δ
1(
1ˇ
r1)
+ δ
2(
2rˇ
2)
]
(51)where
χ
k=
0 fork=
1,
2,
...,
5.Thecoefficientχ
6isnormallyequalto1,butitmaybereducedinsmoothflows.WenowpresentaL2-stabilityanalysisofthemethod(50)–(51)fora2-Dadvectionproblem( f1
=
A1w and f2=
A2wwhere A1 and A2 are scalar constants). The Fouriersymbol (in space) of the Padé derivative
t Al
∇
l/δ
xl isı ˙
AlPl, with˙
Al=
t Al/δ
xl and Pl=
[
1−
2a(
1−
cosξ
l)
]
sinξ
l 1−
2b(
1−
cosξ
l)
+
4c(
1−
cosξ
l)
2,
l=
1,
2where
ξ
l isthereducedwave-numberinthexl-direction.Concerningthedissipation,theFouriersymbolof 12
t
δ
l(
lrˇ
l)
is−| ˙
Al|
Ql,whereQl
= [
1−
2aδ(
1−
cosξ
l)
](
1−
cosξ
l)
−
1 2[
1−
2aμ
(
1−
cosξ
l
)
]
sinξ
lPl,
l=
1,
2TheFouriersymbolof
t Fk istherefore
tFk
= −(
Q(k)+ ı
P)
where P
= ˙
A1P1+ ˙
A2P2 andQ(k)=
χ
k(
| ˙
A1|
Q1+ | ˙
A2|
Q2)
.Theamplificationfactor g
=
g(ξ
1,
ξ
2)
governingtheFourier-transformevolutionofwn (wn+1=
gwn)satisfiesg(0)
=
1g(k)
=
1−
α
k(
Q(k)+ ı
P)
g(k−1),
k=
1,
2, ...,
6g
=
g(6)Denoting g(rk)
= (
g(k))
andg(ık)= (
g(k))
,weobtain:gr(0)
=
1,
g(ı0)=
0gr(k)
=
1−
α
k(
Q(k)g(rk−1)−
P gı(k−1)),
gı(k)= −
α
k(
P g(rk−1)+
Q(k)gı(k−1)),
k=
1,
2, ...,
6|
g|
2= (
g(r6))
2+ (
g(ı6))
2Thestability domainofthescheme(50)–(51),thatisthepartofthe
( ˙
A1,
A˙
2)
-planeinwhich|
g(ξ
1,
ξ
2)
|
≤
1 forall(ξ
1,
ξ
2)
,is plotted on Fig. 1 forvarious space-orders corresponding to scheme coefficients(28)–(30)and forvarious dissipation-coefficients
χ
6 inthelast R K o6-stage.Thestabilityconditionisoftheform:t
(
|
A1|
δ
x1+
|
A2|
δ
x2)
≤
η
(52)The stability domain increases as the space accuracy increases or asthe dissipation coefficient decreases. With
χ
6=
1,the
η
-boundis equalto 1,
1.
30 and 1.
80 for thespace-orders3,5and7,respectively. Fora5th-order accuracyinspace,η
=
1.
30,
1.
82 and 1.
98 forχ
6=
1,
0.
5 and 0.
2, respectively. Note that in a square mesh (δ
x1= δ
x2= δ
x), a sufficientconditionforstabilityis
t
δ
x A2 1+
A22≤
η
√
2Considernowthethree-dimensionalhyperbolicsystem
∂
w∂
t+
∂
f1∂
x1+
∂
f2∂
x2+
∂
f3∂
x3=
0 (53) with f3=
f3(
w)
and A3=
d f3/
dw.The extensionofthenewcompactschemeto(53)isreallystraightforward.Thetimeintegration(50)hassimplytobe appliedto Fk
= −
∇
1 f1δ
x1−
∇
2f2δ
x2−
∇
3f3δ
x3+
χ
k 2[δ
1(
1ˇ
r1)
+ δ
2(
2rˇ
2)
+ δ
3(
3rˇ
3)
]
(54)where
χ
k=
0 fork=
1,
2,
...
,
5.ThethirdPadéderivative∇
3f3/δ
x3 isdefinedsimilarlyasin(18)andthethirdresidualindissipationr
ˇ
3 asin(40)withamatrix3 givenby(42)forl
=
3.The3-Dlinearstabilityanalysisisquitesimilartothe2-Doneandproducesastabilitydomainwithinaregular octahe-dron inthe