ContentslistsavailableatScienceDirect
Journal of Computational Science
j o u r n al ho me p a g e :w w w . e l s e v i e r . c o m / l o c a t e / j o c s
A notion of non-negativity preserving relaxation for a
mono-dimensional three velocities scheme with relative velocity
Franc¸ ois Dubois
a,b, Benjamin Graille
b,∗, S.V. Raghurama Rao
caConservatoireNationaldesArtsetMétiers,LMSSClaboratory,Paris,France
bLaboratoiredeMathématiquesd’Orsay,Univ.Paris-Sud,CNRS,UniversitéParis-Saclay,91405Orsay,France
cDepartmentofAerospaceEngineering,IndianInstituteofScience,Bangalore560012,India
a r t i c l e i n f o
Articlehistory:
Received20November2019 Receivedinrevisedform19May2020 Accepted18June2020
Availableonline30June2020
MSC:
76M28 65M12 Keywords:
Non-negativitypreservingproperty Advectionprocess
Numericaloscillations
a b s t r a c t
In this contribution, we studya stabilitynotionfor afundamental linearone-dimensional lattice Boltzmannscheme,thisnotionbeingrelatedtothemaximumprinciple.Weseektocharacterizethe parametersoftheschemethatguaranteethepreservationofthenon-negativityoftheparticledistri- butionfunctions.Inthecontextoftherelativevelocityschemes,wederivenecessaryandsufficient conditionsforthenon-negativitypreservingproperty.Theseconditionsarethenexpressedinasimple waywhentherelativevelocityisreducedtozero.Forthegeneralcase,weproposesomesimplenec- essaryconditionsontherelaxationparametersandweputinevidencenumericallythenon-negativity preservingregions.Numericalexperimentsshowfinallythatnooscillationsoccurforthepropagationof anon-smoothprofileifthenon-negativitypreservingpropertyissatisfied.
©2020ElsevierB.V.Allrightsreserved.
1. Introduction
StudyingthestabilityoflatticeBoltzmannschemesisanon- trivialproblem.Classicallyforthispurpose,theschemeislinearized aroundaconstant stateanda vonNeumann-Fourieranalysisis performed.Forthisnotionofstability,werefertotheworkofSter- lingandChenin[21]wheresomestabilityresultsfora7-velocity hexagonallattice,a9-velocitysquarelattice,anda15-velocitycubic latticeareproposed;theworkofLallemandandLuo[17]fora9- velocitysquarelatticeschemeappliedtohydrodynamics;theone ofSieberetal.forathermalandthermalmodelswithalargernum- berofvelocitiesintwospacedimensions[20];theoneofGinzburg etal.[11]extendingtheFourieranalysistoawidevarietyofdiffer- enttwoandthree-dimensionallatticeBoltzmannschemes;theone ofKrivovichev[16]forsixwidelyusedbodyforceactionmodels;
theoneofWissocqetal.[24]forprojectinginformationcarriedby thelatticeBoltzmanneigenvectorsonthephysicalmodes.
Instabilitiesandtheirinterpretationintermsofbulkviscosity havebeenproposedbyDellar[4].Butnomathematicalanalysishas beenperformed.
∗Correspondingauthor.
E-mailaddress:[email protected](B.Graille).
A new way of improvingstability is proposed by Geier[9], whoproposedanewgeneralizedlatticeBoltzmannschemewith the approach of relative velocities and utilized it for hydrody- namicsapplications[6].Anattempttoanalyzethismethodfora two-dimensionalscalarlinearproblemhasbeenalsoproposed[7].
Interestingtentativeshavebeenproposedtoenforcestabilitycon- ditionsofmultiple-relaxationtimelatticeBoltzmannschemeswith raworcentralmomentswithvonNeumannanalysisandheuris- tic selectionofwave-number vectorsby Golbertetal.[12] and Chávez-Modenaetal.[3].
Evenifitisadifficulttask,itiswellknownthatFouriermethod (vonNeumannanalysis)isalinearapproachandinconsequenceis notrelevantforanalyzingnon-linearhyperbolicequations.
Totalvariationdiminishingschemes,developedforsuppress- ingoscillationsinhigher-orderCFDalgorithms[1,23,22],provide analternativenonlinear stabilityanalysistool foranalyzing the schemesfornonlinearwavepropagation.Theconvergenceofsuch schemesiswellestablished[18].Theunderlyingstabilitynotion concernsthemaximumprinciple.In brief,ifsomesolutionofa partialdifferentialequationispositiveontheboundary,itremains positivein allthedomainofstudy[13,10,15].ThelatticeBoltz- mannschemesdonotintrinsicallysatisfythepropertyofmaximum principleortheassociatednon-negativityconstraintasdetailedby Karimietal.[14].Thisnotioncanbeextendedtonon-linearcases andafirstattemptforlatticeBoltzmannschemeshasbeenpro- https://doi.org/10.1016/j.jocs.2020.101181
1877-7503/©2020ElsevierB.V.Allrightsreserved.
posedin[2],fortheD1Q2schemeusedtosimulatescalarnon-linear hyperbolicequations.
Inthiscontribution,weproposetoinvestigatethestabilityin themaximumsense,ofalinearmono-dimensionallatticeBoltz- mannschemewiththreevelocities.Moreprecisely,welooktoa non-negativityconstraintfortheparticledistributionfunctionsin thecontextofrelativevelocities.Theobjectiveisthedescription oftheparametersetsoftheschemethatallowtheparticledis- tributionfunctionstoremainnon-negative.Itisobviouslylinked withthenon-negativityoftheirequilibriumvaluesbutitonlycoin- cideswiththelatterpropertyifalltherelaxationparametersare takento1.WereferforinstancetoServan-Camasetal.[19]where thispropertyisinvestigatedforseveralschemesusedtosimulate advection–diffusionequation.
InSection2,wedescribetheschemeandtheunderlyingadvec- tionmodel. More precisely, thelocal relaxationstep is written asa linearoperator ontheparticledistributionfunctions.Ifall the coefficients of the underlying matrix are nonnegative, the non-negativityofthedistributionismaintainedduringthisstep.
Because the transport step is just a change of locus, the non- negativityismaintainedforthewholetimestepofthescheme.The questionisthentofindappropriateconditionstohandlethisprop- erty.InSection3,anecessaryandsufficientconditionisderived onthe parameters toensure that thescheme hasthestability property.InSection4,wecompletelydescribetheclassicalcase wheretherelative velocityisreduced tozero.In Section5,the generalcaseispresented,withananalyticalstudyfornecessary conditionsandanumericaloneforacompletedescriptionofthe stabilityzones.InSection6,thepresentednumericalexperiments show the correlation of the positivity constraint for a particle distribution and the presence of oscillations for discontinuous profiles.
2. Descriptionoftheframework 2.1. Descriptionofthescheme
In this contribution, we investigate a mono-dimensional 3 velocitieslinearlatticeBoltzmannschemewithrelativevelocity [6].Denotingxthespatialstep,tthetimestep,and=x/t theschemevelocity,thisschemecanbedescribedinageneralized d’Humière’sframework[5]:
(1)the3velocitiesc1=−1,c2=0,andc3=1;
(2)the3associateddistributionsf1,f2,andf3; (3)the3moments,q(u),andε(u)givenby
=
1≤j≤3
fj, q(u)=
1≤j≤3
(cj−u)fj, ε(u)
=32
1≤j≤3
(cj−u)2fj−22
1≤j≤3
fj,
whereuisagivenscalarrepresentingtherelativevelocity;
(4)theequilibriumvalueofthe3moments
eq=, qeq(u)=(V−u), εeq(u)=2(3u2−6uV+˛), whereVand˛aregivenscalars(withoutlossofgenerality, weassumethatV>0);
(5)the2relaxationparameterssands suchthattherelaxation phasereads
q(u)=(1−s)q(u)+sqeq(u), ε(u)=(1−s)ε(u)+sεeq(u).
In this formalism, the moments are defined as polynomial functionsofdiscretevelocitiesandthediscretedistributionfunc- tions.Indeed,introducingtheonevariablepolynomialsP1(X)=1, P2(X)=X,andP3(X)=2(3X2−2)relativetoanabstractindeter- minateX,thethreemomentsread
=
1≤j≤3
fjP1(cj−u), q(u)=
1≤j≤3
fjP2(cj−u), ε(u)
=
1≤j≤3
fjP3(cj−u).
Theequilibriumvaluesarechosensuchthattheequilibriumdis- tributionsdonotdependontherelativevelocityu.Indeed,wehave:
fjeq= 1 6
2+3cjV+(3c2j −2)˛
, 1≤j≤3.
Notethatthisschemecanbeused(seee.g.[8])tosimulateascalar transportequationwithconstantvelocityVgivenby
∂t+V∂x=0.
Thisadvectionequationisafirst-orderasymptoticlimitasthespace andtimestepstendtozerowithafixedratio≡x/t.Weare notinterestedinthiscontributioninthesecond-orderasymptotic expansionandrefertotherelativevelocityschemesofFévrieretal.
[6]forthesame.
Withthenotationxk=kx,k∈Z,andtn=nt,n ∈N,onetime stepoftheschemereads
fj(tn+t,xk+cjt)=fj(tn+1,xk+j)=fj(tn,xk), 1≤j≤3.
Notethattheschemedoesnotdependontherelativevelocity uinthecase wheretherelaxationparametersareidentical,i.e., s=s.Thetwomomentsq(u)andε(u)dependonubuttheparticle distributionfunctionsremainidenticalateach timeiteration.In thatcase,forallvaluesofu,theschemeyieldsthestandardBGK scheme.
2.2. Anotionofnon-negativitypreservingrelaxation
Inthiscontribution,weareconcernedwiththenon-negativity oftheparticledistributionfunctions.Weproposethefollowingdef- initionofstabilitythroughnon-negativitypreservingrelaxation.
Definition1(Non-negativitypreservingrelaxation). Therelaxation phaseissaidtobenon-negativitypreservingif
∀j fj≥0⇒∀i fi≥0. (1)
Thispropertycanbeviewedasreferringtoaweakmaximum principleforschemes.Indeed,itis alwayspossible,byaddinga constant,toassumethatalltheparticledistributionfunctionsare initiallynon-negative.Iftheschemeensuresthatthispropertyof non-negativityremainsastimemarches,eachparticledistribution functionisthenbounded,astheirtotalsumisconserved.Moreover, asthetransportstepconsistssimplyinexchangingthepositionof theparticledistributionfunctions,wefocusontherelaxationstep.
Inotherwords,ifisconservedduringtherelaxationstep(and periodicboundaryconditionsareusedforcompactspaceset),the sumofoverallthespacepointsxk,k ∈Z,isconstant.Thenthe particledistributionfunctionsverifyamaximumprinciple (∀k ∈Z,∀j fj(0,xk)≥0)⇒(∀k ∈Z,∀n ∈N,∀j0≤fj(tn,xk)≤)¯ with
¯
=
k∈Z
j
fj(0,xk).
Notethatthepropertyofnon-negativitypreservingrelaxationis automaticallysatisfiediftheequilibriumvaluesofthedistribution functionsarenon-negativeandiftherelaxationparametersverify s=s∈(0,1].Thisresultdoesnotdependontherelativevelocity u(astheequilibriumvaluesofthedistributionfunctionsdonot dependonu).Wewillrecoverthisresultinthefollowing.
2.3. Matrixnotationfortherelaxationstep
Weuseamatrixnotationfortherelaxationstepasitcanbe readasamultiplicationbyamatrix.Asthisstepislocalinspace, weomitthedependencyontimeandspace.Wedefinethevector ofthedistributionfunctionsf
f=(f1 f2 f3)T.
Onerelaxationstepthenreads f=R(u)f,
wherethematrixR(u)isdefinedby R(u)=M−1T(−u)(I+S(T(u)ET(−u)−I))T(u)M, with
M=
⎛
⎝
−1 10 1 2 −22 2⎞
⎠
, T(u)=⎛
⎝
−1u 01 00 32u2 −6u 1⎞
⎠
,S=
⎛
⎝
00 0s 00 0 0 s⎞
⎠
, E=⎛
⎝
V1 00 00˛2 0 0
⎞
⎠
, I=⎛
⎝
10 01 00 0 0 1⎞
⎠
.ThecoefficientsofthematrixMareobtainedbytherelations Mk,j=Pk(cj),1≤k,j≤3andthoseofthematrixT(u)bythechange ofbasisformula:T(u)k,listhecoefficientofthelth-elementPl(cj)in thedefinitionofPk(cj−u)accordingto
Pk(cj−u)=
1≤l≤3
T(u)k,lPl(cj), 1≤j≤3.
ThematrixMisthenthechangeofbasisthattransformsthevector fintothevectorm(0)=(,q(0),ε(0))T:
m(0)=Mf, m(u)=T(u)Mf.
ThematrixT(u)canthenbeviewedasthechangeofbasismatrix fromtheclassicalmomentswithoutrelativevelocitytowardthe momentswithrelativevelocity.
2.4. Remarkonthechoiceofthemoments
Notethatthelastmomentε(u)thatischoseninthiscontribution isnottheenergybutamomentthatisorthogonaltothetwofirst ones,andq(u).Inthissection,weshowthatalltheresultsofthe contributionwouldbeidenticalbychoosingthelastmomentasthe energy:therelaxationmatrixR(u)wouldstillbethesame.
Weconsidertwoschemeswithtwodifferentchoicesofpoly- nomials:themomentsofthefirstschemearedefinedby(P1,P2, P3)whilethemomentsofthesecondschemeby( ˆP1,Pˆ2,Pˆ3).The firstmomentisthesameinbothschemestobeabletosimulate thesametransportequation.Wethenhave ˆP1=P1.WedefineC thechangeofbasismatrixassociatedtothetranformationMinto^M:
^M=CM.
ThefirstlineofCisthen(1,0,0).
Proposition2. Weassumethattheequilibriumvaluesofthedistri- butionfunctionsarethesame,thatis^E=CEC−1,andthattherelaxation parametersarethesame,thatis^S=S.Then,wehave^R(u)=R(u)for all(s,s)iff
Pˆ2 ∈Span(P1,P2), Pˆ3 ∈Span(P1,P3), in R[X]/X(X−1)(X+1).
Inapracticalway,theexactchoiceofthemomentshasnoinflu- enceontheprecisecomputation ofthematrixR(u)even inthe relativevelocityframework.Ifforexample,weuseononehand thematrixproposedpreviouslyinthiscontributionMandonthe otherhandthefavoritemomentmatrixofoneofus,^M,with
M=
⎛
⎝
−1 10 1 2 −22 2⎞
⎠
, ^M=⎛
⎝
−1 10 1 2/2 0 2/2⎞
⎠
,wejustchangethedefinitionofthethirdmomentnamed“energy”
inthiscontribution.Weobservethat
C=
⎛
⎝
10 01 00 2/3 0 1/6⎞
⎠
.TheequilibriummatricesEand^E
E=
⎛
⎝
V1 00 00˛2 0 0
⎞
⎠
, ^E=⎛
⎜ ⎝
1 0 0
V 0 0
2˛+2
6 0 0
⎞
⎟ ⎠
arelinkedby^E=CEC−1 inordertomaintainidenticaltheequi- libriumdistributionfunctions.Thenwemaintainunchangedthe relaxationcoefficientsbecauseS=^S.
Proof. First, weimmediatelyobtainthefollowingrelationsby identifyingthecoefficientsof^MandofM:
Pˆk(cj)=
1≤l≤3
Ck,lPl(cj), 1≤j≤3.
Wededucethat
^T(u)=CT(u)C−1. Wehave
^R(u) =^M−1^T(−u)(I+^S(^T(u)^E^T(−u)−I))^T(u)^M
=M−1T(−u)C−1(I+S(CT(u)ET(−u)C−1−I))CT(u)M
=M−1T(−u)(I+C−1SC(T(u)ET(−u)−I))T(u)M.
Then
^R(u)−R(u) =M−1T(−u)C−1(SC−CS)T(u)(E−I)M.
AsthematricesM,T(u),T(−u),andCareinvertible,thecondition
^R(u)=R(u)isequivalentto(SC−CS)T(u)(E−I)=0.Denoting
C=
⎛
⎝
1 0 0
c21 c22 c23
c31 c32 c33
⎞
⎠
,astraightforwardcalculationyields
(SC−CS)T(u)(E−I)=(s−s)
⎛
⎝
0 0 0
c232(˛−6V) c236u −c23
c32V −c32 0
⎞
⎠
.Thentheproperty^R(u)=R(u)forallvaluesofsandsisequivalent toc23=c32=0,thatendstheproof.䊐
2.5. PositivityoftheR(u)matrix
ThevelocityVbeingfixed,weproposetogiveafulldescription ofthesets
V,u= {(s,s,˛)∈R3 such that R(u) is a non−negative matrix}, u∈R. Therelaxationphaseisnon-negativitypreservinginthesenseofthe
Definition1,forgivenVandu,ifandonlyiftheparameters(s,s,˛) areinV,u.Indeed,thenon-negativityofthematrixR(u)imposes thatallthedistributionsf˛,˛∈{−,0,+},remainnon-negativeif theyaresoattheinitialtime.Thesesetsarefirstdescribedbya setofnineinequalitiesthatcanbejoinedintojustone.Numeri- calillustrationsarethengiventovisualizeitinthecharacteristic casesincludingsinglerelaxationtime,multiplerelaxationtimeand relativevelocityscheme.
Inthiscontribution,weassumethatV≥0withoutlossofgen- eralityas
−V,−u=V,u.
Thislastpropertyisobviousaftersomealgebraorafterremark- ingthat thetransformationjust exchangesthef1 andf3 values (correspondingtothevelocities±).
3. Positivityoftheiterativematrix
ThenineinequalitiesobtainedfromthematrixR(u)canbecom- binedneatlyintooneformula.
Theinequalitiesare
⎧ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎨
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎩
R0,0 =Vsu−Vs
2 −Vsu+˛s
6 +su− s
2−su−s
6+10, R0,1 =Vsu−Vs
2 −Vsu+˛s 6 +s
3 0, R0,2 =Vsu−Vs
2 −Vsu+˛s
6 −su+ s
2+su−s 60, R1,0 =−2Vsu+2Vsu−˛s
3 −2su+2su+s 3 0, R1,1 =−2Vsu+2Vsu−˛s
3 −2s
3 +10, R1,2 =−2Vsu+2Vsu−˛s
3 +2su−2su+s 3 0, R2,0 =Vsu+Vs
2 −Vsu+˛s
6 +su+ s
2−su−s 60, R2,1 =Vsu+Vs
2 −Vsu+˛s 6 +s
3 0, R2,2 =Vsu+Vs
2 −Vsu+˛s
6 −su− s
2+su−s
6+10.
(2)
Weprovenowthatthepreviousnineinequalitiescanbewritten inamuchmorelucidway.
Proposition 3. We introduce the reduced parameters u and accordingto
u=2u(s−s), =s
6(1−˛)−u(s−s)V. (3) ThentheninepreviousinequalitiesRi,j≥0displayedin(2)areequiv- alentto
max(s−1,|u|)≤2 ≤min(2−s−|u−sV|,s−|u+sV|,s−|sV|).(4) Proof. ConsiderfirstthetwoinequalitiesassociatedwithR0,0and R2,2:
⎧ ⎪
⎨
⎪ ⎩
Vsu−Vsu+˛s 6 − s
2−s
6+1Vs
2 −su+su Vsu−Vsu+˛s
6 − s 2−s
6+1−Vs
2 +su−su.
Theycanbesynthesizedinthefollowingform:
u2−Vs 2
≤1−2s−(s
6(1−˛)+u(s−s)V)=1− s 2− andwecanwritethisrelationas
2 ≤2−s−|u−sV|. (5)
Writenowtheinequalities(2)associatedwithR0,1andR2,1:
⎧ ⎪
⎨
⎪ ⎩
Vsu−Vsu+˛s 6 +s
3 Vs 2 Vsu−Vsu+˛s
6 +s 3−Vs
2. Inotherwords,|Vs2|≤− +s2.Then
2 ≤s−|sV|. (6)
Wenowfocusontheinequalities(2)associatedwithR0,2andR2,0:
⎧ ⎪
⎨
⎪ ⎩
Vsu−Vsu+˛s 6 + s
2−s 6 Vs
2 +su−su Vsu−Vsu+˛s
6 + s 2−s
6 −Vs
2 −su+su
Wehave|Vs2 +su−su|≤Vsu−Vsu+˛s6+s2−s6 =2s− .Incon- sequence,
2 ≤s−|u+sV|. (7)
ConsideringtheinequalitieswithR1,0andR1,2,wehave
⎧ ⎪
⎨
⎪ ⎩
−Vsu+Vsu−˛s 6 +s
6 su−su
−Vsu+Vsu−˛s 6 +s
6 −su+su
and|12u|≤−Vsu+Vsu−˛s6+s6 = .Inconsequence,
|u|≤2 . (8)
ThelastinequalityR1,1≥0canbewrittenas−Vsu+Vsu−˛s6−
s
3 +12 0and this inequalityis equivalentto −s2+12 0. In otherterms,
s−1≤2 . (9)
4. Theparticularcaseu=0
Inthissection,wesupposethattherelativevelocityuisreduced to zero. Then the necessary and sufficient conditions for non- negativitypreservingrelaxationcanbewrittenas
max(s−1,0)≤ s
3(1−˛)≤min(2−s−|sV|,s−|sV|,s−|sV|).(10) Proposition4. Tofixtheideas,wesupposethattheadvectionveloc- ityVispositive:
V≥0. (11)
ThecaseV≤0followsdirectly.Whenu=0,thereducedstabilitycon- ditions
max(s−1,0)≤min(2−s−|sV|,s−|sV|,s−|sV|) (12)
Fig.1. Necessaryandsufficientstabilityregionsdescribedbytheinequalities(12) foranullrelativevelocityu.IllustrationproposedforV=23.
areequivalenttothefollowingconditionsfortherelaxationparame- ters
⎧
⎪ ⎪
⎪ ⎪
⎪ ⎨
⎪ ⎪
⎪ ⎪
⎪ ⎩
0≤s,s≤2 s≥sV s≤ 2
1+V
s≤min(3−(1+V)s,1+(1−V)s)
(13)
joinedwithanaturalCouranttypeconditionforexplicitschemes
V≤1 (14)
fortheadvectionvelocity.
Ofcourse,theconditions(10)havestilltobeimposedforthe equilibriumparameter˛whenthepairs,sisgiven.Inparticular,
˛≤1 (15)
and s≤ 3
˛+2. (16)
Fig.1illustrates thenecessaryand sufficient stabilityregion describedbytheinequalities(12)inthecaseV=2=3.
Proof. Wefirstobservethat0≤max(s−1,0)≤|sV|≤min(2−s, s).
Then0≤s≤2.Secondly,wehave|sV|≤sandbecauseboths andVarepositive,wehave0≤sV≤s.WehavealsosV≤sand(14) isestablished.Moreover,s≥0and|sV|≤2−simpliess≤1+2V.Due tothepositivityoftheparameters,wededucefrom(10)anew setofinequalities:s−1≤max(s−1,0)≤min(2−s−sV,s−sV).
Thens≤min(3−(1+V)s,1+(1−V)s).Moreover,s≤3−(1+V)s≤2 becauseV≥0.
Conversely, if the relations (13) and (14) are satisfied, we have s−1≤2−s−s V, s−1≤s−s V and s−1≤s−s V. Then s−1≤min(2−s−s V, s−s V, s−s V).Moreover,0≤2−s−s V, 0≤s−sVbecauseV≤1and 0≤s−sV.Thus0≤min(2−s−sV, s−sV,s−sV).Finallytheinequalities(12)areestablishedandthe propositionisproven.䊐
5. Thegeneralcase
Weanalysethegeneralcaseofnon-zerouinthissection,with suitableillustrationsofthestabilityregionforvariousrangesofthe parameters.
5.1. Necessaryconditionsforstability
Inthissubsection,weprovethefollowingproposition.
Proposition5. Wesupposethatthenecessaryandsufficientnon- negativitypreservingrelaxationconditions(4)aresatisfiedas
max(s−1,|u|)≤2 ≤min(2−s−|u−sV|,s−|u+sV|,s−|sV|) withthenotations(3):
u=2u(s−s), = s
6(1−˛)−u(s−s)V.
WesupposealsothattheadvectionvelocityVisnon-negative.Then, thepoint(s,s)satisfiesthefollowinginequalities
⎧ ⎪
⎪ ⎪
⎪ ⎪
⎪ ⎨
⎪ ⎪
⎪ ⎪
⎪ ⎪
⎩
0≤sV≤s≤2, 0≤sV≤1, 0≤s≤2,
s≤min(2−sV,s+1,3−s), s≤ 2
1+V.
(17)
Withthesenecessarystabilityconditions,theparameteruhasbeen eliminated.Wehavealso,necessarily
V≤1 (18)
and
|u|≤ 1
2. (19)
Proof. Westartfromtheinequalities(4).Thenwehave 0≤|u|≤max(s−1,|u|)≤min(2−s−|u−sV|,s−|u +sV|,s−|sV|)≤s−|sV|
ands≥|sV|≥sV.
We have the triangular inequality |sV|≤|u−sV|+|u|. Then from the general stability conditions (4), we deduce |u−sV|+
|u|≤2−sand |s V|≤2−s.In asimilar way,|sV|≤|u+sV|+|u|,
|u+sV|+|u|≤sfrom(4)andfinally|sV|≤2−s.Weputtogether thetwoinequalitiesandwehave0≤|sV|≤min(s,2−s).
Inconsequence,wehave0≤s≤2andthethirdpointisproven.
SincewemadethechoiceofV≥0thens≥0.Thefirstinequalityof thetwofirstpointsareestablished.FromsV≤swehaveV≤1and therelation(18)istrue.Moreover,sV≤2−sandthelastinequality of(17)istrue.
Consider now the inequalities s−1≤2 ≤min(2−s−|u− sV|,s−|u+sV|).We deduce s−1+|u−sV|≤2−s and s−1+
|u+sV|≤s.Duetothepositvityoftheabsolutevalues,wehave alsos≤3−sands≤s+1.Apartofthefifthinequalityof(17)is proven.
Finally,duetothetriangularinequality,sV=|sV|≤ 12|u−sV|+
1 2|u+sV|.
Weadd thisinequalitywiththetwofollowingones:s−1+
|u−sV|≤2−s and s−1+|u+sV|≤s. Thens−1+sV≤12(2− s+s)=1ands≤2−sV.Thefifthinequalityof(17)iscompletely established.BecausesV≥0,wehavealsos≤2andthefirstinequal- ityof(17)isalsoestablished.䊐
WeillustratethezonesofnecessarystabilityinFig.2forfive particularvelocities:V=0,14,13,12and1.
Fig.2.Necessarystabilityregionsdescribedbytheinequalities(17)forV=0,V=14[firstline,fromlefttoright],V=13,V=12[secondline,fromlefttoright],andforV=23, V=1[thirdline,fromlefttoright].
Fig.3.Numericalstudyofnecessaryandsufficientstabilityregions.
Fig.4. Smoothprofilewithacontinuousderivative.TheparametersfortheD1Q3aretunedinordertohave(left)ornot(right)thenon-negativityproperty.
Fig.5.Continuousprofile.TheparametersfortheD1Q3aretunedinordertohave(left)ornot(right)thenon-negativityproperty.
5.2. Numericalstudyofnecessaryandsufficientconditionsfor stability
Wenowillustratethenecessaryandsufficientstabilityregions forV=0,V=14,V=13,V= 12,V=23 andV=1forvariousranges ofuinFig.3.EachfigurerepresentstheprojectionofthesetV,u ontothetwo-dimensionalplane(s,s)∈R2givenbytheexternal inequalitiesof(4):
max(s−1,|u|)≤min(2−s−|u−sV|,s−|u+sV|,s−|sV|).
Indeed,if(s,s)verifies(4),thereexistsalwaysavalueof˛suchthat (s,s,˛)∈V,u.Thefigureswereobtainedbyfollowingthestraight edgesofthedomain,whichcanbewrittenasanintersectionof half-planes.
ForeachvalueofV,thenecessaryandsufficientstabilityregions givenbytherelations(4)aredisplayedforseveralvaluesofthe relativevelocity:u∈{−2V,−V,0,V/2,V,2V}.Indottedline,the necessarystabilityregionoftheProposition5isaddedforcompar- ison.Theparticularvalueu=0isenhancedbyfillingtheregionin gray.
Someanalysiscanbedrawnfromthesefigures:
•thestabilityregionchangeswiththerelativevelocity;
•themaximalvalueofthefirstrelaxationparametersisobtained (notonly)foru=0;
•thestabilityregionisnotclearlymorefavorable(largerorinclud- inggreatervalueofs)foru=V;
•thesegmentcorrespondingtos=s∈(0,1]isalwaysinthesta- bilityregion.
Toconcludethissection,thisnotionofstabilityallowsalarge setofvaluesfortherelaxationparameters.Iftheschemeisusedto
simulatethehyperbolicadvectionequationwithoutsecond-order operators,wecantrytominimizethenumericaldiffusionwhile maintainingthis stabilityproperty.Thistaskiscomplicatedand outofthescopeofthepaperasthenumericalsecond-orderterm readsasanon-linearformulathatlinksalltheparameterss,˛,and V.
6. Numericalillustrations
Inthissection,weillustratethestabilitypropertywithnumer- ical simulations involving the D1Q3 model, with and without relativevelocity,usedtosimulatethelinearadvectionequation.
Thestability isdemonstratedfortheparameterschosenaccord- ingtotheanalysispresentedintheprevioussections.Oscillations areseenwhenevertheparametersgobeyondthestabilitylimits presented,ashighlightedintheresults.
Theparameterschosenforthesimulationsarethefollowing:
V u s s ˛
Left(stable) 0.25 0.0 1.6 1.3 0.3076923076923076 0.25 0.25 1.6 1.3 −0.17548076923076938 Right(unstable) 0.25 0.0 1.9 1.4 0.14285714285714302
0.25 0.25 1.9 1.4 −0.10491071428571441 Moreover,allthesimulationsareperformedforthesamespace range[0,1]withperiodicboundaryconditions,withthesamespace stepx=1/128,thesametimestept=x,suchthat=1,until thefinaltimet=1.
Fortheleftfigures,theparametersarechoseninordertosatisfy thestability property.We observenumericallyalsoamaximum principle(theconservedmomentremainsintheinterval[0,1]
correspondingtotheinitialcondition),evenifit isnotformally thestabilitynotionthatweinvestigate.Fortherightfigures,the parametersarechoseninordertobreakthestabilityproperty.
Fig.6.Discontinuousprofile.TheparametersfortheD1Q3aretunedinordertohave(left)ornot(right)thenon-negativityproperty.
Theinitialconditionsarebuiltfromthepolynomialfunctions 0(X)=1,1(X)=X,and2(X)=X(3−X2)/2by
k(x)=
⎧ ⎪
⎪ ⎪
⎪ ⎪
⎨
⎪ ⎪
⎪ ⎪
⎪ ⎩
1 2
1+k
2x−3if ≤x≤2,
1 2
1+k
5−2xif2 ≤x≤3,
0 otherwise,
with=0.125,for0≤k≤2.ForFig.4,wechoose(0,x)=2(x)to haveasmoothinitialcondition,forFig.5,(0,x)=1(x)tohavea continuousinitialcondition,andforFig.6,(0,x)=0(x)tohavea discontinuousinitialcondition.
Iftheprofileissmooth(Fig.4),wehaveobservedthatnonumer- icaloscillationsoccurevenifthenon-negativitypropertyofthe matrixisnotsatisfied.Iftheprofileisjustcontinuous(Fig.5),small negativevaluesofthemacroscopicquantityareobservedwhenour non-negativitypropertyisnotsatisfied.Lastbutnotleast,classi- caloscillationsarevisiblefordiscontinuousprofiles(Fig.6)ifour non-negativitypropertyisnotsatisfied.Theseoscillationsareelim- inatedwhenthenon-negativitypropertyofthematrixisrealized.
7. Conclusion
Inthiscontribution,wehaveinvestigatedastabilitypropertyfor aclassicalmono-dimensionallinearthreevelocitieslatticeBoltz- mannschemewithrelativevelocity.Thispropertyensures that non-negativityoftheinitialparticledistributionfunctionscontin- uestoremainthesameintime. We thengivea necessaryand sufficientconditiontodescribethestabilityregion.Thecasewith- outrelativevelocityiscompletelydescribedandsimplernecessary conditionsaregivenforthegeneralcase.Wefinallyproposesome numericalsimulationsthatillustratethestabilityproperty:evenif thestabilitynotionthatweinvestigateisnotexactlyaconstraint ofconvexity,anumericalmaximumprincipleis observedifthe parametersareinsidethestabilityregionwhereasnumericaloscil- lationsappear(in particularforthenon-smoothprofiles)ifthe parametersareoutside.
Moreover,relativevelocitiesmodifythestabilityarrayinanon- trivialmanner.Forinstance,intuitionmighthavesuggestedthat thestabilityregionfor therelativevelocity equaltotheadvec- tionvelocitycontainsalltheothersbutitisreallynotthecase.
Foragivenadvectionvelocity,relativevelocitiescannotbeused toincrease thevalue ofthe firstrelaxation parameter,theone involvedinthenumericaldiffusionoperator.
Inorder tofocusonfundamental aspects,wehave assumed periodicboundaryconditionsinthiscontribution.Ofcourse,the
possibilityofincludingmorerealisticboundaryconditionsandthe associatedsourcetermsisanimportanttaskforafuturework.
Thenon-negativityoftherelaxationmatrixcouldbeextended tononlinear schemes.The theoreticalstudy willthen bemuch moretechnicalandhasnotbeenperformed.Nevertheless,numer- icalexperimentsfortheBurgersequationshowthatthebehavior oftheD1Q3scheme,andinparticulartheappearanceorabsence ofoscillations,isanalogoustothelinearcase.
Authors’contribution
ASG credited for code development, simulations; datacura- tion; formal analysis; validation; visualization; roles/writing – original draft; writing – review & editing. DVP contributed for conceptualization;codedevelopment,formalanalysis;validation;
supervision;roles/writing–originaldraft;writing–review&edit- ing.
Conflictofinterest
Nonedeclared.
Acknowledgements
Thisworkwassupportedby thepublicgrant“Lattice Boltz- mannMethodsandExtensions”givenbytheIndo-FrenchCentrefor AppliedMathematics(IFCAM),affiliatedtotheIndo-FrenchCentre forthePromotionofAdvancedResearch(CEFIPRA,India)andthe CentreNationaldelaRechercheScientifique(CNRS,France).
References
[1]J.P.Boris,D.L.Book,Fluxcorrectedtransport,I:Shasta,afluidtransport algorithmthatworks,J.Comput.Phys.11(1973)38–69.
[2]F.Caetano,F.Dubois,B.Graille,AResultofConvergencefora Mono-DimensionalTwo-VelocitiesLatticeBoltzmannScheme,2019 arXiv:1905.12393.
[3]M.Chávez-Modena,E.Ferrer,G.Rubio,Improvingthestabilityof multiple-relaxationlatticeBoltzmanmethodswithcentralmoments, Comput.Fluids172(2018)397–409.
[4]P.J.Dellar,Nonhydrodynamicmodesandaprioriconstructionofshallow waterlatticeBoltzmannequations,Phys.Rev.E65(3)(2002)036309.
[5]D.d’Humières,Generalizedlattice-Boltzmannequations,in:RarefiedGas Dynamics:Theoryandsimulation,vol.159,AIAAProgressinAstronomicsand Aeronautics,1992,pp.450–458.
[6]F.Dubois,T.Février,B.Graille,LatticeBoltzmannschemeswithrelative velocities,Commun.Comput.Phys.17(4)(2015)1088–1112.
[7]F.Dubois,T.Février,B.Graille,Onthestabilityofarelativevelocitylattice BoltzmannschemeforcompressibleNavier–Stokesequations,Compt.Rend.
Mécan.343(10–11)(2015)599–610.
[8]F.Dubois,P.Lallemand,TowardshigherorderlatticeBoltzmannschemes,J.
Stat.Mech.TheoryExp.2009(2009)P06006.
[9]M.Geier,A.Greiner,J.C.Korvink,CascadeddigitallatticeBoltzmannautomata forhighReynoldsnumberflow,Phys.Rev.E73(2006)066705.
[10]D.Gilbarg,N.S.Trudinger,EllipticPartialDifferentialEquationsofSecond Order,Springer,Berlin,NewYork,1977.
[11]I.Ginzburg,Truncationerrors,exactandheuristicstabilityanalysisof two-relaxation-timeslatticeBoltzmannschemesforanisotropic advection-diffusionequation,Commun.Comput.Phys.11(5)(2012) 1439–1502.
[12]D.R.Golbert,P.J.Blanco,A.Clausse,R.A.Feijóo,Onthesearchofmorestable second-orderschemesinconfinedflows,J.Comput.Phys.294(2015) 605–618.
[13]E.Hopf,Elementarebemerkungenüberdielösungpartieller differentialgleichungenzweiterordnungvomelliptischentypus, SitzungsberichtePreussicheAkademieWissenschaften,Berlin,1927,pp.
147–152.
[14]S.Karimi,K.B.Nakshatrala,Docurrentlatticeboltzmannmethodsfor diffusionandadvection-diffusionequationsrespectmaximumprincipleand thenon-negativeconstraint?Commun.Comput.Phys.20(2)(2016)374–404.
[15]B.Khobalatte,B.Perthame,Maximumprincipleontheentropyand second-orderkineticschemes,Math.Comput.62(205)(1994)119–131.
[16]G.V.Krivovichev,Stabilityanalysisofbodyforceactionmodelsusedinthe single-relaxation-timesingle-phaselatticeBoltzmannmethod,Appl.Math.
Comput.348(2019)25–41.
[17]P.Lallemand,L.-S.Luo,TheoryofthelatticeBoltzmannmethod:dispersion, dissipation,isotropy,Galileaninvariance,andstability,Phys.Rev.E61(2000) 6546–6562.
[18]S.Osher,ConvergenceofgeneralizedMusclschemes,SIAMJ.Numer.Anal.22 (5)(1985)947–961.
[19]BorjaServan-Camas,FrankT.C.Tsai,Non-negativityandstabilityanalysesof latticeBoltzmannmethodforadvection–diffusionequation,J.Comput.Phys.
228(1)(2009)236–256.
[20]D.N.Siebert,L.A.Hegele,P.C.Philippi,LatticeBoltzmannequationlinear stabilityanalysis:thermalandathermalmodels,Phys.Rev.E77(2)(2008) 026707.
[21]J.D.Sterling,S.Chen,StabilityanalysisoflatticeBoltzmannmethods,J.
Comput.Phys.123(1996)196–206.
[22]P.Sweby,Highresolutionschemesusingfluxlimitersforhyperbolic conservationlaws,SIAMJ.Numer.Anal.21(5)(1984)995–1011.
[23]B.vanLeer,Towardstheultimateconservativedifferenceschemev.a second-ordersequeltoGodunov’smethod,J.Comput.Phys.32(1)(1979) 101–136.
[24]G.Wissocq,P.Sagaut,J.F.Boussuge,Anextendedspectralanalysisofthe latticeBoltzmannmethod:modalinteractionsandstabilityissues,J.Comput.
Phys.380(2019)311–333.
Franc¸ois Dubois (61 years old) University Professor, MemberofStructuralMechanicsandCoupledSystems Laboratory,ConservatoireNationaldesArtsetMétiers, Paris(since1994),AssociatedtoMathematicsLaboratory, UniversitéParis-Saclay(since2003).
B.Graille(43yearsold)isanAssociateProfessor(Maître deconférenceshabilitéàdirigerdesrecherches)inthe LaboratoryofmathematicsoftheUniversityParis-Saclay, France,since2005.Hisresearchinterestsincludedevel- opingandinvestigatingthelatticeBoltzmannmethods, developinghydrodynamicsmodelsfromthekineticthe- ory.
S.V. RaghuramaRaois anAssociateProfessor inthe DepartmentofAerospaceEngineering,IndianInstituteof Science,Bangalore.HiseducationincludesB.E.(Mechan- icalEngineering)fromNationalInstituteofTechnology, Surat, M.Sc.(Engg.)& Ph.D.degreesfromIndian Insti- tuteofScience,postdoctoralfellowshipsfromUniversité PierreetMarieCurie,Paris,FranceandFraunhoferInstitut fürTechno-undWirtschaftsmathematik,Kaiserslautern, Germany,beforebecomingafacultymemberatIndian InstituteofScience.Hisresearchinterestsincludedevel- opingCFD algorithms,kinetictheorybasednumerical methods, Lattice Boltzmannmethods, meshless algo- rithms,aerodynamicshapeoptimizationandalgorithms forturbulencesimulations.