• Aucun résultat trouvé

On the stability of a relative velocity lattice Boltzmann scheme for compressible Navier-Stokes equations

N/A
N/A
Protected

Academic year: 2022

Partager "On the stability of a relative velocity lattice Boltzmann scheme for compressible Navier-Stokes equations"

Copied!
12
0
0

Texte intégral

(1)

Contents lists available atScienceDirect

Comptes Rendus Mecanique

www.sciencedirect.com

Discrete simulation of fluid dynamics

On the stability of a relative velocity lattice Boltzmann scheme for compressible Navier–Stokes equations

Stabilité d’un schéma de Boltzmann sur réseau à vitesse relative appliqué aux équations de Navier–Stokes

François Dubois

a,b,

, Tony Février

b

, Benjamin Graille

b

aCNAMParis,Laboratoiredemécaniquedesstructuresetdessystèmescouplés,292,rueSaint-Martin,75141Pariscedex03,France bUniversitéParis-Sud,Laboratoiredemathématiques,UMRCNRS8628,91405Orsaycedex,France

a r t i c l e i n f o a b s t r a c t

Articlehistory:

Received6December2014 Accepted25March2015 Availableonline7September2015

Keywords:

RelativevelocitylatticeBoltzmannscheme d’Humièresscheme

Cascadedautomaton Moments

Stability

Mots-clés :

SchémadeBoltzmannàvitesserelative Schémaded’Humières

Schémacascade Moments Stabilité

Thispaperstudies thestabilitypropertiesofatwo-dimensionalrelativevelocityscheme for the Navier–Stokesequations. Thisschemeinspired bythe cascaded schemehasthe particularitytorelaxinaframemovingwithavelocityfieldfunctionofspaceandtime.

ItsstabilityisstudiedfirstinalinearcontextthenonthenonlineartestcaseoftheKelvin–

Helmholtzinstability.Thelinkwiththechoiceofthemomentsisputinevidence.Theset ofmomentsofthecascadedschemeimprovesthestabilityofthed’Humièresschemefor smallviscosities.Onthecontrary,arelativevelocityschemewiththeusualsetofmoments deterioratesthestability.

©2015PublishedbyElsevierMassonSASonbehalfofAcadémiedessciences.

r é s um é

Cet article étudie la stabilité d’un schéma de Boltzmann sur réseau à vitesse relative appliquéauxéquationsdeNavier–Stokesbidimensionnelles.Ceschémaestuneextension duschémaencascadeets’yramènedansunrepèreassociéàunchampdevitessefonction del’espaceetdutemps.Sastabilitéestd’abordétudiéedansuncadrelinéairepuispour le castest non linéaire de l’instabilité de Kelvin–Helmholtz. L’importancedu choix des momentsestmiseenévidence.Lechoixdemomentsduschémaencascadeaméliorela stabilité dela variante de d’Humièresdu schémade Boltzmannsurréseau dans le cas depetitesviscosités.Aucontraire, unrégimede vitesserelativeaveclejeu habitueldes momentsdétériorelastabilité.

©2015PublishedbyElsevierMassonSASonbehalfofAcadémiedessciences.

*

Correspondingauthor.

E-mailaddresses:[email protected](F. Dubois),[email protected](T. Février),[email protected](B. Graille).

http://dx.doi.org/10.1016/j.crme.2015.07.010

1631-0721/©2015PublishedbyElsevierMassonSASonbehalfofAcadémiedessciences.

(2)

0. Introduction

Thelattice BoltzmannschemeshavebeensuccessfullyusedforthesimulationofthecompressibleNavier–Stokesequa- tions intwoorthreedimensions[1–4].Thismethodaimstomimic themicroscopicbehaviourinordertosimulatesome macroscopicproblems.Thealgorithmconsistsinevaluatingsomeparticledistributions.Theparticles,movingfromnodeto nodeofalattice,undergoaphaseofcollisionandaphaseoftransport.Differentcollisionoperatorshavebeenproposedfor the simulationofthe Navier–Stokesequations.Thesimplestone isthesingle relaxationtime operator[5,1–3] alsocalled BGK.Analternativecalledthemultiplerelaxationtimes(MRT)operator[4,6]hasbeenproposed.Duringthecollision,some moments,linearcombinationsoftheparticledistributions,relaxtowardstheequilibriumwithaprioridifferentvelocities.

Itcontainstheparticularitytooffermoredegreesoffreedomtofixthedifferentparametersastheviscosities.Themultiple relaxationtimesapproachisthusmoreflexiblethantheBGK.Bothschemeshavebeenwellstudiedparticularlyintermsof stability [6].Theystill encountersome instabilityfeaturesastheviscositiestendtozerothat limitshighReynoldsnumber simulations.

In2006,acascadedschemeimprovingthestability forlowviscositieshasbeenpresented[7].Itsrelaxationoccursina framemovingwiththefluidvelocity.Tounderstandthepositivefeaturesofthisscheme,ageneralnotionofrelativevelocity schemeswasdefined[9].Theirrelaxationismadeforasetofmomentsdependingonavelocityfieldfunctionofspaceand time thatisthevelocityfluidforthecascadedscheme[9]andzeroforthed’Humièresscheme[4].Theserelativevelocity schemes are not restricted to the simulation of the Navier–Stokes equations: they are definedfor an arbitrary number of conservation laws.Their consistency hasalready beenstudied for one and two conservationlaws [8,9] butthe same reasoningholdsforanarbitrarynumberofconservationlaws.Thepurposeisnottocomparedifferentschemesintermsof stabilitybuttostudythestabilityoftheclassoftherelativevelocityschemesaccordingtothechoiceofsomeparameters.

The purposeof thiscontributionis topresentsome numericalstability results ofthetwo dimensional nine velocities (D2Q9)relativevelocityschemeforthecompressibleNavier–Stokesequations.Wewanttocharacterizetheinfluenceofthe relativevelocityandthelinkwiththemomentschoice:thepolynomialsdefiningthemomentsofthecascadedschemeare differentfromtheusualonesandmayactonthestability.Inafirstpart,werecallthebasisoftherelativevelocityschemes.

We then presenttherelative velocity D2Q9 we are interestedin. Thesecond partexhibitsthe resultsofstability,first in a linearcontext(L2 vonNeumannnotion) andthen foranon-lineartestcase, theKelvin–Helmholtzinstability.Itputs in evidencethelinkbetweentherelativevelocity,thechoiceofthepolynomialsdefiningthemomentsandthestability.

1. Descriptionofthescheme

We firstintroducetherelativevelocityschemeforanarbitrarynumberofdimensionsandvelocities.Wethen particu- larizeittothecaseoftwodimensionsandninevelocities.

1.1. TherelativevelocityDdQqscheme

ThissectionpresentsthederivationoftherelativevelocitylatticeBoltzmannschemesintroducedin[9]andinspiredby the cascadedscheme[7].LetL bea Cartesian latticein ddimensionswitha typicalmesh size x. Thetime step t is linked tothespacestepbytheacousticscalingt=x/λforλ∈Rthevelocityscale.Weintroduce V=(v0,. . . ,vq1)a setofq velocitiesofRd.ThisdefinestheschemecalledDdQq.Weassumethat foreachnode x ofthelattice L,andeach vj inV,thepointx+vjt isstillanodeofL.TheDdQqschemecomputesaparticledistribution f=(f0,. . . ,fq1)onthe lattice Latdiscretevaluesoftime.Aniterationoftheschemeconsistsintwophases:therelaxationthatisnonlinearand localinspace,andthelineartransportsolvedexactlybyacharacteristicmethod.

Therelaxationphasereadsmoreeasilyinamomentsbasisusingthed’Humièresframework[4].A velocityfieldu(x,t) that depends onspaceand time beinggiven, we define thechange ofbasis matrix M(u), usually called“matrix ofmo- ments”,by

M

(

u

)

kj

=

Pk

(

vj

u

),

0

k

,

j

q

1

,

where (P0,. . . ,Pq1) are some polynomialsof R[X1,. . . ,Xd]. Thismatrixof moments,supposed to be invertible,defines themomentsm(u)=(m0(u),. . . ,mq1(u))bytherelation

m

(

u

) =

M

(

u

)

f

,

(1)

where mk(u)is thekthmoment.Ifthe vector f represents thecoordinates ofthe state inthecanonical basis, then the vectorm(u)representsthesamestateinthenewbasisobtainedbythelineartransformationgivenby M(u).

The collision phase is viewed as the relaxation of the particle distributions towards an equilibriumdistribution feq independent ofthemoments andofthevelocity fieldparameteru. Thisallowsusto definethe momentsatequilibrium meq(u)=(meq0 (u),. . . ,meqq1(u))by

meq

(

u

) =

M

(

u

)

feq

.

(2)

Therelativevelocityschemesuseadiagonalrelaxationphaseinthisshiftedmomentsbasis

(3)

Fig. 1.TheD2Q9velocities.

mk

(

u

) =

mk

(

u

)+

sk

(

meqk

(

u

)

mk

(

u

)),

0

k

q

1

,

(3) where sk is the relaxation parameter associated with the kth moment for 0kq1. Some of these moments are conserved by the relaxation: they are associated with relaxationparameters equal to zero. The equilibrium distribution functionattheequilibrium feqisafunctionoftheconservedmomentsdeterminedbythepartialdifferentialequationsto beapproximated.Theinverseofthematrixofmomentsisusedtoreturntothedistributions

f

=

M1

(

u

)

m

(

u

).

(4)

Thetransportphasespreadstheparticledistributionsontheneighbouringnodes

fj

(

x

,

t

+

t

) =

fj

(

x

vj

t

,

t

),

0

j

q

1

.

Thisframeworkembeddesthed’Humièresschemeforuequalto0andthecascadedschemeforuequaltothefluidvelocity andaparticularsetofmoments[9].Inthefollowing,whenu isspecified,we calltheassociatedrelativevelocity scheme theschemerelativetou.

1.2. Thestudyframework:therelativevelocityD2Q9scheme

Thepurposeofthissection istointroducetheschemewhosestability propertiesareinvestigated:therelativevelocity D2Q9 schemewithtwoconservationlawsonthedensityandthemomentum

ρ =

j

fj

,

qα

=

j

vαj fj

,

1

α

d

.

forthecompressibleNavier–Stokesequations.Weexposeitsfeaturesandthedifferentdegreesoffreedomusedtocheckits stability.Weputaparticularattentiononthedefinitionofthemoments.

Forthistwo-dimensionalscheme,ninevelocitiesareinvolved:theyaredefinedby

v

= { (

0

,

0

), (λ,

0

), (

0

, λ), (λ,

0

), (

0

,λ), (λ, λ), (λ, λ), (λ,λ), (λ,λ) } ,

withλ∈Rthevelocityscale.ThesevelocitiesarealsorepresentedinFig. 1.

Weneed todealwiththesetofthemoments andtheequilibriumtocompletelycharacterizethescheme.Historically theD2Q9schemehasbeenmainlyusedwiththefollowingsetofmoments

1

,

X

,

Y

,

X2

+

Y2

,

X2

Y2

,

X Y

,

X

(

X2

+

Y2

),

Y

(

X2

+

Y2

), (

X2

+

Y2

)

2

,

(5) orits orthogonalized analogueforthe simulation ofthe Navier–Stokes equations[6].They havebeen chosen becauseof theirphysicalmeaning:theyinvolvethedensity,themomentum,theenergy,thediagonalandoff-diagonalcomponentsof thestresstensor,theheatfluxandthesquareoftheenergy.Nevertheless,theD2Q9cascadedscheme[7],whichseemsto improvethestabilityatlowviscosities,hasbroughttolightanothersetofmomentsgivenby

1

,

X

,

Y

,

X2

+

Y2

,

X2

Y2

,

X Y

,

X Y2

,

Y X2

,

X2Y2

.

(6) Thisschemehasbeenwrittenasarelativevelocityschemeforthemoments(6)andthefluidvelocity[9].Therelaxations of(5)and(6)areequivalent inthed’Humièresframework correspondingtou=0(Section2.2).However, thisisnot true

(4)

anymorewhenu isdifferentfrom0.Thispointnaturallyleadstothequestion:doesthesetofmomentshaveaninfluence onthestabilitypropertiesoftherelativevelocityscheme?Givingsomeexperimentalrudimentsofanansweristhepurpose ofthisstudy.

That’swhyweintroducetwosetsofmomentstunedbyaparameter

α

∈R:

1

,

X

,

Y

,

X2

+

Y2

,

X2

Y2

,

X Y

,

X

( α

X2

+

Y2

),

Y

(

X2

+ α

Y2

), α

2

(

X4

+

Y4

) +

X2Y2

,

(7) and

1

,

X

,

Y

,

X2

+

Y2

,

X2

Y2

,

X Y

,

X Y2

+ α (

X2

+

Y2

),

Y X2

+ α (

X2

+

Y2

),

X2Y2

.

(8) The moments(7)generalizethoseoftheD2Q9 cascadedschemecorrespondingto

α

=0[9]givenby(6)andtheones associated with

α

=1 defined by (5). The introduction of

α

results fromthe will not to restrict the studyto two sets of moments.This alsoallows usto understandthe impact onthe stability ofthe X3 componentwhen

α

moves from0 to 1.Thechoiceofthemoments(8),evenifitseemsstrange becauseitmixessomesecond- andthird-orderpolynomials, improvestheunderstandingofthedifferencesofstabilitybetween(5)and(6)fortherelativevelocityD2Q9 scheme.Taking

α

=0 alsorecoversthecascadedmoments.

Theequilibriummayalsohaveaninfluenceonthestability.That’swhy,denotingu=q/

ρ

thefluidvelocity,weintroduce

f1eq,j

( ρ ,

u

) = ρω

j

1

+

u

.

vj

c20

+ (

u

.

vj

)

2 2c40

− |

u

|

2

2c20

,

0

j

8

,

(9)

and

f2eq,j

( ρ ,

u

) = ρω

j

1

+

u

.

vj

c20

+ (

u

.

vj

)

2 2c40

− |

u

|

2

2c20

+ (

u

.

vj

)

3

6c60

− |

u

|

2

(

u

.

vj

)

2c40

+

dj

(

ux

)

2

(

uy

)

2 c40

,

0

j

8

,

(10)

where d0= −1/4,dj=1/2, j=1,. . . ,4, dj= −1, j=5,. . . ,8,respectivelycorresponding to the second-ordertruncated equilibrium [3] andto a fourth-order equilibrium [10,11] particularly used for the D2Q9 cascaded scheme.The product equilibriumcorrespondstothefourth-ordertruncationoftheMaxwellian equilibrium.Bothequilibriaallowustosimulate the compressible Navier–Stokes equations whatever the velocity field u. Indeed, the second-order equivalent equations of the relative velocity schemes are independent of u [9] and the Navier–Stokes equations are recovered by the D2Q9 d’Humièresscheme(u=0)atthesecondorderforsmallMachnumbers[12].LetusnotethatthesimulationsofSection3 have beenalsomadefortheincompressibleanalogueof(9)and(10)usedin [6]: thesametrends asthose presentedin Section3areobtained.

We chooseto work withseveraltwo-relaxation-timeschemes (TRT)tounderstand therole ofeach polynomialof the moments:theonegivenby

s

= (

se

,

sν

,

sν

,

se

,

se

,

se

),

(11)

calledTRT1 andtheonegivenby

s

= (

se

,

se

,

se

,

sp

,

sp

,

se

),

(12)

calledTRT2 wherese,sν,sp∈R.NotethattheTRT1 andtheTRT2 differfromtheTRTschemesdefinedin[13]andbasedon thesymmetryofthelattice.Ifalltherelaxationparametersareidentical,werecovertheBGKscheme[4].

Fourdegreesoffreedomaretunableinthissection:themoments,thevectoroftherelaxationparameterss,theveloc- ity fieldu andtheequilibrium. The link betweentheseparameters andtheir influence onthe stability is studiedin the following.

2. Experimentalstudyoflinearstability

Inthissection,westudythelinearvonNeumannL2 stabilityoftherelativevelocityD2Q9schemedefinedinSection1.2.

Theinfluenceofthemomentsaccordingtothechoiceofthevelocityfieldu isthekeypointofthesection.Ourfirstinterest goestothemoments(6)and(5),respectivelycorrespondingto

α

=0 and

α

=1 in(7),becausetheyareusuallychosenby thecommunity[4,6,7,14].Thefirstsubsectioncomparesthosetwosetsaccordingtothevelocityfieldparameter.Weshow thattakingu=u,thevelocityofthefluidimprovesthestabilityifthemoments(6)arechosen,deterioratesitiftheset(5) is taken.The secondsubsectionanswers thefollowingquestion:whatisthebetter choiceofmoments(of

α

) intermsof stability?Arangeof

α

isproposedand

α

=0 isshowedtobethemoststablechoice.

(5)

Table 1

HigheststableV=(Vx,0)inλunitsforthed’Humièresscheme(u=0),withα=0 orα=1,ofequilibrium(9).se=22mandsν=22n.

n m

0 1 2 3 4 5 6 7

0 0.42 0.41 0.34 0.26 0.20 0.15 0.11 0.08

1 0.42 0.41 0.36 0.30 0.23 0.18 0.13 0.09

2 0.31 0.34 0.34 0.32 0.28 0.23 0.17 0.13

3 0.21 0.28 0.32 0.30 0.25 0.22 0.18 0.15

4 0.14 0.21 0.28 0.26 0.22 0.18 0.16 0.13

5 0.10 0.16 0.22 0.23 0.20 0.17 0.13 0.11

6 0.07 0.12 0.17 0.20 0.18 0.16 0.12 0.11

7 0.05 0.08 0.12 0.17 0.16 0.15 0.11 0.11

2.1. Methodology:thevonNeumannstability

ThestudyoftherelativevelocityD2Q9 schemeisbasedonthe L2 vonNeumannstability.Thisnotionbeingadaptedto linearcontexts,welinearizetheequilibria(9)and(10)aroundavelocity V= |V|eiθ∈R2,θ∈R.Thusthereexistsamatrix E sothat

feq

=

E f

.

Using(1),(3),(2),(4)thelinearizedrelaxationphaseoftherelativevelocityschemesreads

f

= (

I

+

M

(

u

)

1D M

(

u

)(

E

I

))

f

,

where D=diag(s)isthediagonalmatrixoftherelaxationparameters.Thisexpressionholdsforeachnodex ofthelattice, the relaxation being local in space. One can deduce the expression of the distribution after an iteration thanks to the transportphase

fj

(

x

,

t

+

t

) = [(

I

+

M

(

u

)

1D M

(

u

)(

E

I

))

f

]

j

(

x

vj

t

,

t

),

x

L

,

t

∈ R.

In theFourier space, the transport operatorbecomes localin spaceandis represented by thediagonal matrix A whose diagonalcomponentsaregivenbyeitk.vj,0j8.WecanthendefinetheamplificationmatrixL(u)=L(u,V,k,s,

α

)= A(I+M(u)1D M(u)(EI)),fork,V,u∈R2,s∈R9,

α

∈R, V∈R2 characterizingatimeiterationoftheschemeinthe Fourierspace

f

(

k

,

t

+

t

) =

L

(

u

)

f

(

k

,

t

),

t

∈ R,

wheref istheFouriertransformof f.Wewanttodeterminethequantity

max

{|

V

|,

max

k∈R2 r

(

L

(

u

))

1

},

(13)

forsome parameterss,u,

α

,adirectionoflinearizationθ∈Randr(L(u))thespectralradiusofL(u).Itcharacterizesthe setofthelinearizationvelocitiesV forwhichtheschemeverifiesthenecessaryconditionofL2stabilitymax

k∈R2r(L(u))1.

2.2. Comparisonbetweenthed’Humièresschemeandtheschemerelativetothelinearizationvelocity

Weshowthattheschemesrelativetou=V canimproveordeterioratethelinearstabilitycomparedtothed’Humières scheme.Thestabilitybehaviourdependsstronglyonthechoiceofthemoments.

Wecomparetheschemesrelativetou=0andu=V forthetwosetsofmoments(5)and(6):wehave

α

=0,1 in(7).

Wehererestricttothesecond-ordertruncatedequilibrium(9)linearizedaroundV.Thevariableofcomparisonisthelargest stablevelocity V (13)foralinearizationdirectionθ equalto0.WechoosetodealwiththeTRT1 (11)forse=22m and =2−2n wherem,n,∈N,0m,n7.Theparametersseand respectivelytunethebulkandtheshearviscositiesof theNavier–Stokesequations.Thischoiceofparametersallowsustostudythezeroviscositylimitbyincreasingmor/andn.

Table 1dealswiththed’Humièresschemeforbothsetsofmoments,thevaluesforthosetwosetsbeingidentical.Tables 2 and3giveanalogousresultsfortheschemerelativetou=V:theycorrespondrespectivelytothemomentswith

α

=0(6) and

α

=1(5).

Wenoticetheimportanceofthechoiceofthemomentsfortheschemesrelativetou=V:stabilityareasarethebiggest for

α

=0 (6)(Table 2) andthesmallestfor

α

=1(5)(Table 3) whateverthechoiceof s.The d’Humièresscheme(u=0, Table 1)hassmallerstabilityareasthantheschemerelativetou=V with

α

=0 andbiggerthantheonewith

α

=1.

Theschemerelativetou=V with

α

=0 providesthemostimportantgaincomparedtothed’Humières schemewhen seor iscloseto 2 andtheotherisfarfrom2 (for onesmallandonelargeviscosity). Insteadtheseareasare themost

(6)

Table 2

HigheststableV=(Vx,0)inλunitsfortheschemerelativetou=V withα=0 ofequilibrium(9).se=22mandsν=22n.

n m

0 1 2 3 4 5 6 7

0 0.42 0.42 0.40 0.37 0.33 0.28 0.24 0.21

1 0.42 0.41 0.37 0.34 0.33 0.30 0.27 0.23

2 0.42 0.36 0.34 0.33 0.29 0.25 0.22 0.19

3 0.36 0.34 0.33 0.30 0.25 0.21 0.18 0.16

4 0.32 0.32 0.30 0.26 0.22 0.18 0.16 0.13

5 0.29 0.30 0.27 0.24 0.21 0.17 0.13 0.11

6 0.26 0.28 0.24 0.21 0.18 0.16 0.12 0.11

7 0.23 0.26 0.22 0.19 0.16 0.15 0.11 0.11

Table 3

HigheststableV=(Vx,0)inλunitsfortheschemerelativetou=V withα=1 ofequilibrium(9).se=22mandsν=22n.

n m

0 1 2 3 4 5 6 7

0 0.42 0.42 0.27 0.18 0.12 0.08 0.06 0.04

1 0.42 0.41 0.37 0.31 0.20 0.13 0.09 0.06

2 0.24 0.36 0.34 0.32 0.27 0.21 0.14 0.09

3 0.15 0.29 0.33 0.30 0.25 0.21 0.18 0.14

4 0.10 0.19 0.29 0.26 0.22 0.18 0.16 0.13

5 0.07 0.12 0.20 0.29 0.21 0.17 0.13 0.11

6 0.05 0.09 0.14 0.20 0.18 0.16 0.12 0.11

7 0.03 0.06 0.09 0.14 0.16 0.15 0.11 0.11

Table 4

HigheststableV=(Vx,0)inλunitsforthed’Humièresscheme(u=0),withα=0,ofequilibrium(10).se=22mandsν=22n.

n m

0 1 2 3 4 5 6 7

0 0.42 0.42 0.39 0.32 0.24 0.16 0.11 0.07

1 0.42 0.42 0.41 0.38 0.31 0.20 0.14 0.09

2 0.42 0.42 0.41 0.40 0.38 0.30 0.20 0.14

3 0.26 0.41 0.40 0.39 0.37 0.32 0.28 0.20

4 0.16 0.28 0.38 0.36 0.33 0.29 0.24 0.21

5 0.10 0.18 0.29 0.33 0.31 0.26 0.21 0.19

6 0.07 0.12 0.19 0.30 0.29 0.24 0.20 0.18

7 0.05 0.08 0.13 0.20 0.28 0.23 0.19 0.17

deterioratedwhen

α

isequalto1.When se and are close,theschemepresentsstability areasnearly independentofu.

Thecasese=sν correspondstotheBGKscheme:thevelocityfieldudoesnotplayanyrolesince(2)isverified.

Finally,forthe d’Humièresscheme,the resultsareindependent ofthechoice ofthemoments. Indeed,thethird-order moment X(X2+Y2) is equivalent to λ2X+X Y2 on the velocity network [8]: its relaxation is then equivalent to the relaxationof X Y2, X beingaconservedcomponent. Thesamereasoningholdsforthesymmetricalmoment.Themoment (X2+Y2)2 is equal to X2Y2+λ2(X2+Y2) on the velocity network. Its relaxation isequivalent to relax X2Y2 because

X2+Y2and X2Y2 arebothintheeigenspacerelatedtosefortheTRT1.

Allthesetrendsareindependentofthedirectionoflinearizationθ:theresultsaresimilarforθ=

π

/8,

π

/4,

π

/3.

We now do the same job for the product equilibrium(10) restricting the studyto the choice

α

=0. Note that the combinationofthesemomentsandthisequilibriumcorrespondstotheD2Q9cascadedscheme[11,9].TheTRT1 (11),tuned byseand,andthedirectionθ=0 arechosen.Table 4isaboutthed’Humièresscheme,Table 5correspondstothescheme relativetou=V.

The resultsare analogousto theonesassociatedwithequilibrium(9).Thescheme relativetou=V hasbigger linear stabilityareasthanthed’Humièresscheme(u=0)when

α

=0.Thegainismoreimportantwhentherelaxationparameters arefarfromeachother.Thevelocityfieldimpactislightenedwhenseand areclose.

We finallyassesstheinfluenceoftheequilibriumonlinearstability.Whateverthechoiceofu ands,equilibrium(10) providesbiggerstabilityareasthanthetruncatedequilibrium(9).Particularly,theBGKschemeassociatedwith(10)ismore stablethantheonecorrespondingto(9).

As aconclusion,themostimportantfactofthestudyisthefollowing:theschemerelativetou=V for

α

=0 ismore stablethanfor

α

=1.Insteadchoosingaschemerelativetou=V withan“inappropriate”setofmomentscandeteriorate stability.

(7)

Table 5

HigheststableV=(Vx,0)inλunitsfortheschemerelativetou=V withα=0 ofequilibrium(10).se=22mandsν=22n.

n m

0 1 2 3 4 5 6 7

0 0.42 0.42 0.42 0.42 0.35 0.30 0.26 0.23

1 0.42 0.42 0.42 0.41 0.39 0.35 0.32 0.28

2 0.42 0.41 0.41 0.40 0.40 0.35 0.31 0.29

3 0.41 0.41 0.40 0.39 0.36 0.30 0.27 0.23

4 0.40 0.40 0.39 0.36 0.33 0.28 0.23 0.20

5 0.35 0.37 0.36 0.33 0.31 0.26 0.21 0.18

6 0.31 0.33 0.33 0.31 0.29 0.25 0.20 0.17

7 0.28 0.30 0.31 0.29 0.27 0.24 0.19 0.17

Fig. 2.DrawofVxasafunctionofαforthed’Humièresschemewiththemoments(7).Left:TRT1,se=22mandsν=22n.Right:TRT2,se=22m andsp=22n.

2.3. Influenceofthechoiceofthemomentsonthestability

Theprevioussectionhasstudiedthestabilityoftherelativevelocityandd’Humièresschemesfortwochoicesof

α

.This parameter seems to be crucialforthe relative velocity schemes. Thepurpose ofthis section isto see moreprecisely its influenceonstability.Itstudiesthestabilitypropertiesoftheschemesrelativetou=0andu=V forabiggerrangeof

α

. Weshownumericallyandjustifythat

α

=0 constitutesthebetterchoiceofmoments.

Weareinterested inthestabilityoftherelativevelocity schemesforboth setsofmoments(7)and(8):thediscussion carriesonthechoiceoftheparameter

α

Rcharacterizingthesemoments.Bothequilibrialeading tothesametrends,we focusonthetruncatedone(9)linearizedaround V=(Vx,0)∈R2.Twosetsofrelaxationparameterss areused:theTRT1 (11)andtheTRT2(12)wherese=22mandsν=sp=22n with(m,n)=(0,3),(3,0),(0,7),(7,0),(7,7).Thequantity (13)isdrawnasafunctionof

α

in[−1,1].Anegativevalueof(13)meansthattheschemeisunstableforallV.

Wefirstfocusonthed’Humièresschemecorrespondingtou=0.Figs. 2 and3representrespectivelythedrawsassoci- atedwiththemoments(7)and(8).Oneachfigure,theleft drawisassociatedwiththeTRT1 andtherightone withthe TRT2.

Forthemoments(7),the drawsareindependentof

α

whatevertheTRTchosenands.Forthemoments(8),thedraw corresponding to the TRT1 is independent of

α

unlike theTRT2. The figure associated withthe TRT2 induces to choose

α

=0:itcorrespondstothemaximumofthecurveandthestabilityareadecreasesas|

α

|increases.Asexpected,thedraw form=n=7 correspondingtoaBGK schemeisconstantin

α

.Wenoticethat

α

=0 belongstothesetof

α

maximizing thestabilitywhateverthedraw.

Wecanexhibittheoriginofthedependenceorindependenceon

α

.Let’sconsiderthemoments(7).Forthed’Humières scheme,therelaxationofthesemomentsisindependentof

α

.Thelastthreemomentsof(7)are:

α

X3

+

X Y2

, α

Y3

+

X2Y

, α

2

(

X4

+

Y4

) +

X2Y2

.

Knowingthat X3=λ2X onthevelocityset[8],theschemeisunchangedifwereplacethemby

λ

2

α

X

+

X Y2

, λ

2

α

Y

+

X2Y

, λ

2

α

2

(

X2

+

Y2

) +

X2Y2

.

(8)

Fig. 3.DrawofVxasafunctionofαforthed’Humièresschemewiththemoments(8).Left:TRT1,se=22mandsν=22n.Right:TRT2,se=22m andsp=22n.

Fig. 4.DrawofVxasafunctionofαfortheschemerelativetou=V withthemoments(7).Left:TRT1,se=22mandsν=22n.Right:TRT2, se=22mandsp=22n.

Relaxing themoments (7)isthenequivalent to relaxthe samemomentsfor

α

=0.Indeed, X andY areassociatedwith someconservedmomentsand X2+Y2 hasthesamerelaxationparameterseasthefourthordermoment.Itisthusconsis- tentforthisdrawstobeindependentof

α

.

We nowfocusonthemoments(8):theparameter

α

appearsonlyinthethirdordermoments.FortheTRT1, X2+Y2 andthethird-orderpolynomialsarerelaxedwiththesamerelaxationparameterse.Choosing

X Y2

+ α (

X2

+

Y2

),

X2Y

+ α (

X2

+

Y2

),

isthenequivalenttochoose

X Y2

,

X2Y

,

and the scheme doesnot depend on

α

as the left draw of Fig. 3 shows it. Forthe TRT2, X2+Y2 and the third-order momentsarerelaxedwithdifferentrelaxationparameters:itisexpectedtohaveadependenceon

α

,exceptedfortheBGK case(m=n=7)involvingonlyonerelaxationparameter.

Wenowdothesamejobfortheschemerelativetou=V.Fig. 4isassociatedwiththemoments(7)andFig. 5withthe moments(8).

The stability ofthe schemerelativetou=V dependson

α

whateverthemoments (Fig. 4). Themaximumisreached for

α

=0 whateverthechoiceofs.Forthemoments(8),thestabilityoftheTRT1isnotlinkedto

α

(Fig. 5ontheleftside).

Instead,thisparameterisinfluentialfortheTRT2(Fig. 5ontherightside):

α

=0 stillcorrespondstotheoptimum.

WeinterpretFig. 4ascorrespondingtothemoments(7).Because X3=λ2X andY3=λ2Y onthevelocityset,relaxing therelativemomentsassociatedwith(7)isequivalenttorelax

(9)

Fig. 5.DrawofVxasafunctionofαfortheschemerelativetou=V withthemoments(8).Left:TRT1,se=22m andsν=22n.Right:TRT2, se=22mandsp=22n.

1

,

X

,

Y

,

X2

+

Y2

,

X2

Y2

,

X Y

,

P6

(

u

, α ),

P7

(

u

, α ),

P8

(

u

, α ),

where

P6

(

u

, α ) =

X Y2

+ α (−

3

uxX2

+

2

3

(

ux

)

2

)

X

+

ux

2

(

ux

)

2

)),

P7

(

u

, α ) =

X2Y

+ α (−

3

uyY2

+

2

3

(

uy

)

2

)

Y

+

uy

2

(

uy

)

2

)),

(14) and

P8

(

u

, α ) =

X2Y2

+ α

2

2

+

6

(

ux

)

2

)

X2

+

2

+

6

(

uy

)

2

)

Y2

+

2

ux

(−λ

2

+

4

(

ux

)

2

)

X

+

2

uy

(−λ

2

+

4

(

uy

)

2

)

Y

3

(

ux

)

2

2

(

ux

)

2

)

3

(

uy

)

2

2

(

uy

)

2

)

.

Letusobservetheequivalent classofthethird-ordermomentgivenby (14).Thedependenceon

α

ofthestabilitycomes fromtheterm−3

α

uxX2.Indeed,relaxing(14)isequivalenttorelax X Y23

α

uxX2 sincethemomentscorrespondingtothe polynomials1 and X areconservedbythecollision.Onthecontrary,themomentassociatedwith X2 isnotconserved.For theTRT1,itisalinearcombinationofthemoments X2+Y2 and X2Y2 associatedwithdifferentrelaxationparameters seand.FortheTRT2,itisassociatedwithse,whereas P6 correspondstosp.

Theseremarksjustifytheintroductionofthemoments(8)tostudytheinfluenceofthenon-conservedcomponents X2 andY2.Fig. 5,implying themoments(8),givessimilarresultsasitsanalogousforu=0(Fig. 3):thesameinterpretation is still valid. Note that for

α

=0, the areas are bigger withu=V (Fig. 5) than withu=0 (Fig. 3). This confirms the observationsoftheSection2.2.

3. NumericalstabilityfortheKelvin–Helmholtztestcase

Thepurposeofthissection istoconfirm onanon-lineartestcasetheprevious linearstability results:thistest caseis theKelvin–Helmholtzinstability[15,16].

We comparesixversionsoftherelative velocity D2Q9 scheme tostudytheinfluence ofthemoments, ofthevelocity fieldu,andoftheequilibrium.Weconsidertheschemeassociatedwith

α

=0 relativetou=0andu=u(thefluidveloc- ity)fortheequilibria(9)and(10).Wecompareittothechoice

α

=1 fortherelativevelocities0anduwithequilibrium(9).

Wechoose notto considertheproductequilibrium(10)for

α

=1,thisequilibriumbeingintroduced forthemomentsof thecascadedscheme[11].WeworkwiththeTRT1definedby(11):unlessotherwisespecified,se et arefixedby

μ = λ

2

σ

e

3

, ν = λ

2

σ

ν 3

,

where

σ

e=1/se1/2 and

σ

ν=1/sν1/2,sothattheviscosities

μ

and

ν

aresetto0.0366 and104. WetestthestabilityoftheschemebyincreasingthevelocityU definingtheinitialshearlayers

(10)

Fig. 6.(Colour online.) Vorticity draw att=0.6.

Fig. 7.(Colour online.) Vorticity draw att=1.

ux

(

x

,

y

,

0

) =

Utanh

(

k

(

y

14

))

ify

12

Utanh

(

k

(

34

y

))

ify

>

12

, (

x

,

y

) ∈ [

0

,

1

]

2

,

uy

(

x

,

y

,

0

) =

U

δ

sin

(

2

π (

x

+

14

)), (

x

,

y

) ∈ [

0

,

1

]

2

.

This velocity U is chosen asMa/

3 forMa∈R theMach number.The parametersk and δcontrolling thewidth ofthe shearlayersandthemagnitudeoftheinitialdataaresetto80 and0.05.

We first validate the vorticity draws obtainedin [17,16,15] using the scheme relative to the fluid velocity u for the second-ordertruncatedequilibrium(9).Thisvorticityisdefinedby

ω =

xuy

yux

.

Forthissimulation,thedomainisconstitutedof128×128 points,theMachnumberisfixedat0.04 (λischosenasin[16]

sothatU=1).Figs. 6 and7arethevorticityplotsattimet=0.6 andt=1.

We nowpresentastability analysisdepending onthedifferentparameters forλ=1.Weexpect toconfirm thelinear stability results.The schemeis consideredstableifit hasnotbrokenafter2000iterations. Table 6contains themaximal stableMachnumberMafordifferentmeshesat0.01 close.Table 7presentsthegreaterReynoldsnumberRe=1/

ν

stable at 1000 closefordifferent meshesandMa=0.09.Since wediscusson theReynolds number,the viscosity

ν

becomes a parameter.

We obtain results consistent withthe linearstability study.First, choosing a schemerelative tou=u has a positive effect if

α

=0, negative if

α

=1.We must choosethe moments ofthe D2Q9 cascaded schemeto improvethe stability.

This improvement occurswhatever theequilibrium andthe mesh: the stability limit =2 isstable (Table 7) andhigh Machnumbersarereachedforthisscheme(Table 6).Second,thed’Humièresschemeisindependentof

α

asforthelinear stability study.Its stabilityareaissmallerthantheschemerelativetou=u when

α

=0,greaterwhen

α

=1.Finally,the

Références

Documents relatifs

Using the method of moments, we prove that any polynomial mo- ment of the solution of the homogeneous Boltzmann equation with hard potentials or hard spheres is bounded as soon as

in Sobolev spaces of sufficiently high order, then we show the existence of a solution in a particular case and finally we solve the general case by using the

NIRENBERG, Partial regularity of suitable weak solutions of the Navier-Stokes equations. FRASCA, Morrey spaces and Hardy-Littlewood maximal

The proposed scheme is built in such a way that the assumptions of this stability result hold (Sect. 3.3); this implies first a prediction of the density, as a non- standard first step

An essential feature of the studied scheme is that the (discrete) kinetic energy remains controlled. We show the compactness of approximate sequences of solutions thanks to a

Theorem 4.1 (Unconditional stability of the scheme) Let us suppose that the discrete heat diffusion operator satisfies the monotonicity property (3.20), that the equation of

Time evolution of each profile, construction of an approximate solution In this section we shall construct an approximate solution to the Navier-Stokes equations by evolving in

Adapting at the discrete level the arguments of the recent theory of compressible Navier-Stokes equations [17, 6, 20], we prove the existence of a solution to the discrete