• Aucun résultat trouvé

An interface condition to compute compressible flows in variable cross section ducts

N/A
N/A
Protected

Academic year: 2023

Partager "An interface condition to compute compressible flows in variable cross section ducts"

Copied!
5
0
0

Texte intégral

(1)

Contents lists available atScienceDirect

C. R. Acad. Sci. Paris, Ser. I

www.sciencedirect.com

Numerical analysis/Mathematical problems in mechanics

An interface condition to compute compressible flows in variable cross section ducts

Conditions d’interface pour le calcul d’écoulements compressibles en conduite à section variable

Jean-Marc Hérard

a,b

, Jonathan Jung

c,d,e

aEDFR&D,MFEE,6,quaiWatier,78400,Chatou,France

bI2M,UMRCNRS7353,39,rueJoliot-Curie,13453 Marseille,France

cLMA-IPRA,UniversitédePauetdespaysdel’Adour,UMRCNRS5142,avenuedel’Université,64013Pau,France dINRIABordeauxSudOuest,CagireTeam,351,coursdelaLibération,33405 Talencecedex,France

eLJLL&LRCManon,4,placeJussieu,75005,Paris,France

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

Articlehistory:

Received19June2015

Acceptedafterrevision4November2015 Availableonline4February2016 PresentedbyOlivierPironneau

We proposeanimprovedinterfaceconditioninordertoaccountforheadlosses inpipe whensomediscontinuouscrosssectionsoccur.

©2015Académiedessciences.PublishedbyElsevierMassonSAS.Thisisanopenaccess articleundertheCCBY-NC-NDlicense (http://creativecommons.org/licenses/by-nc-nd/4.0/).

r é s um é

Nousproposonsd’améliorerlaconditiond’interfaceafindeprendreencomptelapertede chargepourunécoulementenconduiteàsectionvariablediscontinue.

©2015Académiedessciences.PublishedbyElsevierMassonSAS.Thisisanopenaccess articleundertheCCBY-NC-NDlicense (http://creativecommons.org/licenses/by-nc-nd/4.0/).

1. Introduction

We examinein thispapersome possible improvementofthe well-balancedstrategy inorder tocompute approxima- tionsofsolutionstoEuler-typemodelsinone-dimensionalgeometriescorrespondingbasicallytopipeconfigurations.From a practical point of view, these methods are very usefulin order to build stable and efficient algorithms. If

ρ

,u,p re- spectivelydenote thedensity,the velocityandthe pressureofthe fluid,andnotingasusual

(p,

ρ

)the internalenergy, E=

ρ

(p,

ρ

)+u2/2

thetotalenergy,andA(x)the–steady–crosssectionofthepipe,thetargetsetofequationsis

⎧ ⎨

t

(

A

ρ ) +

x

(

A

ρ

u

) =

0

,

t

(

A

ρ

u

) +

x

A

ρ

u2

+

Ap

p

xA

=

A

(

x

)

Sru

,

t

(

A E

) +

x

(

Au

(

E

+

p

)) =

A

(

x

)

u Sru

,

(1)

E-mailaddresses:[email protected](J.-M. Hérard),[email protected](J. Jung).

http://dx.doi.org/10.1016/j.crma.2015.10.026

1631-073X/©2015Académiedessciences.PublishedbyElsevierMassonSAS.ThisisanopenaccessarticleundertheCCBY-NC-NDlicense (http://creativecommons.org/licenses/by-nc-nd/4.0/).

(2)

andtheassociatedunknownisW=(A

ρ

,A

ρ

u,A E)T.Thetermsontheright-handsideSrU standfortheregularheadlosses, which accountforviscous effectsonthe wallsofthe pipe.Thissetofequationsismeant whenthecross-section A(x)is regular (at least C2). In practice,this information is provided by the user. When convergent or divergent regions occur in the pipe, andwhen the meshesthat are used are rather coarse, the well-balancedstrategy naturally arises forthose who use FiniteVolumemethods. Inthat case, thecross section isassumedto be constantwithin each cell, andanother equation is added to (1), which is tA=0. The idea is very appealing, and many authors have been investigatingthat particular topic, bothat thecontinuous anddiscrete levels,among whichwe mayatleastcite [2,3,8–10,12]. Thoughthe crosssection A(x)isknown,thenewunknownisnow W˜ =(A,A

ρ

,A

ρ

u,A E)T,andtermsoftheformψ(W)∂xA arenow partofthe convectivesubset.Meanwhile, asteadywave associatedwithλ=0,correspondingtothe “constraint”tA=0 arises. The one-dimensionalRiemannproblemassociatedwithsystem(1) complementedwithtA=0 anddiscontinuous initialconditionsmaythenbeinvestigated.Asaconsequence,thereisthetemptationtousethisapproachnotonlytodeal withregular crosssections,butalsoto applyitwhen discontinuitiesare presentinthe pipe,whichisobviouslyofmajor interest for practical computations in an industrial framework. In that case, the classical well-balanced strategy simply assumes thatinterface conditionsthat should beenforced atthesteadyinterface separatingtwo cells withdistinctcross sectionscorrespondtotheRiemanninvariantsofthesteadywave.InthecaseofEulerequations,thismeansthatquantities Q=A

ρ

u,Q H whereH=(E+p)/

ρ

andtheentropys(p,

ρ

)shouldbepreservedacrossthesteadyinterface.Well-Balanced (WB) schemesrelyingonthisapproachcanthenbebuilt,andsomeofthembehavequitewellowingtotheirstabilityand abilitytomaintainwell-balancedinitialconditions,evenwhenthecrosssectionisdiscontinuous.ItevenseemsthattheWB techniqueismandatoryinordertoachievenumericalconvergencetowardsthecorrectsolutions(seeforinstance[6,11]).

Nonetheless,amajordrawbackishiddeninthebasicformulation.Thisisduetothefactthatforthecaseofdiscontinu- ous crosssections,thephysicalsingularheadlosseshavenotbeenaccountedfor.Asaresult,thecomparisonofthe“true”

multi-dimensionalsolutionandoftheone-dimensionalwell-balancedcomputationalresultsisratherpoor;thisisdescribed in[7]forinstance.Oneretrievestheexpectedresultsthat arethefollowing:the quantities Q =A

ρ

u,Q H should remain constant acrossinterfacessupportingdiscontinuous crosssections,butthe entropydoesnot. Thisisdirectlylinkedto the factthatsomesingularcontributionhasbeenomittedinthemomentumequation.

In order to cure that deficiency, at least two strategies may be proposed. A first one simply consistsin a modified one-dimensionalapproachthatwouldrelyonan integralformulationofthemulti-dimensionalsetofgoverningequations.

This scheme (called 1D+ in the sequel) hasbeen partially investigated in[1], andthisseems to be a ratherpromising technique in order to handle this difficulty. Anotherstrategy that is appealing in based on similar ideas, and it simply consistsinenforcinganewsetofinterfaceconditionsatthesteadyinterfaceassociatedwiththecross-sectiondiscontinuity.

The basicrequirementisthat thesemodifiedinterface conditionsshouldaccountforsingular headlossesduetopressure effects,atleastinaweakway.Thisispreciselythemainobjectiveofthepresentcontribution.

Thus the paperisorganized asfollows: we firstlyintroduce thenewinterface condition, we secondly explain howto compute left andrightstates satisfyingthe newinterface condition, we thirdly introduce thenumerical schemeandwe finallydosomenumericalvalidations.

2. Anewformulationforflowsinvariablecrosssectionducts 2.1. Thenewinterfacecondition

WeomittheregularheadlossesinSystem(1),whichmeansthatSru=0 inSystem(1).Integratingthemulti-dimensional Eulerequationsonthephysicaldomain(seeFigurebelow),wemaynowproposethreenaturalcandidatesforthesteady interfaceconditions

⎧ ⎨

[Q]+

=

0

,

[Q u

+

Ap]+

p[A]+

=

0

,

[Q H]+

=

0

,

(2)

withp

=

p

,

ifA

>

A+

,

p+

,

otherwise

,

(3)

wherewenoteby·+(resp.·)thevalueofthequantityontheright(resp.theleft)sideofthediscontinuousinterface.The choice ofthewallpressure pisbasedonthetwo-dimensionalapproach.Indeed,ifwe haveacontractionwith A>A+ (resp.anexpansionwith A<A+),thepressureontherestrictedwallistheleft(resp.right)pressure.

2.2. Computationofleftandrightstatessatisfyingtheinterfacecondition(2)

Weassumethatthefluidsatisfiesaperfectgasequationofstates:p=(

γ

1)

ρ

. W+=W+

W

:weassumethatWisknownandwecomputeW+suchthattheinterfacecondition(2)issatisfied.For givenvalueofW,wecancompute Q=A

ρ

uandH=γγ1ρp+(u2)2.Thefirsttwoconditionsin(2)give

(3)

u+

=

Q

A+

ρ

+ and p

+

=

p

+

Q min

A

,

A+

u

Q A+

ρ

+

.

Injectingthesetwoquantitiesinthethirdconditionof(2),wededucethat

ρ

+isarootofthesecond-orderpolynomial:

P

(

X

) =

HX2

γ γ

1

p

+

Q min

A

,

A+

u

X

+

Q

2

A+

γ

γ

1 1 min

A

,

A+

1 2A+

=

0

.

(4)

W=W(W+): we now assume that W+ isknown andwe compute W asa function of W+. Given W+, we com- pute Q+=A+

ρ

+u+andH+=γγ1ρp+++(u+2)2.Wegetatonce:

u

=

Q+

A

ρ

and p

=

p+

+

Q+ min

A

,

A+

u+

Q+ A

ρ

where

ρ

isarootof

P+

(

X

) =

H+X2

γ γ

1

p+

+

Q+ min

A

,

A+

u+

X

+

Q+

2

A

γ

γ

1 1 min

A

,

A+

1 2A

=

0

.

(5)

Ifequations(4)and(5)havetwodistinct realsolutions,we choosetheonethat hasthesamesonicityasthestateon theothersideoftheinterface.Ifthereisonlyonesolution,wechoosethisuniquesolution.Whenthereisnorealsolution, thealgorithmisstopped.

2.3. Numericalscheme

Wepresentaschemeforapproximatingsolutionstosystem(1)on[xmin,xmax],relyingontheargumentsintheprevious sections.Given an uniform time step t anda mesh size x= xmaxNxmin, setting xj=xmin+jx,j=0· · ·N, andtn= nt,n∈N,we denoteby Wnj the approximationof thevalues W(xj,tn) oftheexact solutionto system(1).The WB–HJ schemeisdefinedby

Wnj+1

=

Wnj

t

x

FRus

Wnj

,

Wnj+1

FRus

Wnj1

+

,

Wnj

(6)

where

Wnj+1

= W

Wnj+1

,

Wnj1 +

= W+

Wnj1

are computed in Section 2.2, and the numerical flux FRus(Wl,Wr)istheRusanovflux

FRus

(

Wl

,

Wr

) =

F

(

Wl

) +

F

(

Wr

)

2

max

( |

ul

| +

cl

, |

ur

| +

cr

)

2

(

Wr

Wl

)

(7)

with F(W)=(Q,Q u+Ap,Q H)T. The WB–HJscheme is an adaptation ofthe scheme ofKröner andThanh [12], called WB–KT inthesequel,forwhichtheclassicalinterfaceconditionon

Q,s=ρpγ,H

isreplacedbythenewinterfacecondi- tion(2).

Proposition1.TheschemeWB–HJiswell-balanced:ifforall j, Q0j =Q0, I0j=I0and H0j=H0where I:=Q u+A(pp),then forall j andforall n,

Qnj

=

Q0j

=

Q0

,

Inj

=

I0j

=

I0 and Hnj

=

H0j

=

H0

.

(8) 3. Numericalresults

Foralltest cases,we chooseaperfectgas equationofstate: p=(

γ

1)

ρ

, where

γ

issetto 7/5.The time stept satisfiestheCFLconditionwheretheCFLconstanthasbeensetto 0.4.

3.1. Astationaryflowforthenewinterfacecondition(2)

We start witha test casewhereinitial conditions are Well-Balancedin thesense of (8) forthe newinterface condi- tion(2).Inpractice,weconsiderthefollowingvalues

(

A

, ρ ,

u

,

p

) (

x

,

t

=

0

) =

(

2

,

4

.

711

,

10

.

614

,

38

.

588

) ,

ifx

<

0

,

(

1

,

10

,

10

,

100

) ,

otherwise. (9)

(4)

Fig. 1.Astationaryflowforthenewinterfacecondition(2):densityρ (topleft),meandischargeQ (topmiddle),totalenthalpyH(topright),physical entropys(bottomleft)andthevariationofthenewinvariantI=Q u+A(pp)(bottomright)attimet=0.2 sforaninitialconditionsatisfyingthe newinterfacecondition(2).

Fig. 2.AclassicalRiemannproblem:densityρ(left),velocityu(middle)andL1normoftheerrorforthedensity(right).Thecoarserandfinermeshes usedforthecomputationoftheerrorcontainN=200 andN=15000 regularcells.

The computational domain is [−0.5,0.5], the mesh contains 4000 nodes. In Fig. 1, we plot the density, the mean dis- charge Q, the total enthalpy H, the physical entropy s and the variation of the new invariant I=Q u+A(pp) at time t=0.025 s. Acrossthe interface x=0, Q and H arepreservedby thethreeschemes: 1D+[1],WB–HJandWB–KT.

Thedifferencebetweentheselasttwoschemesisontheinvariant I:WB–HJpreservesI,whilesispreservedbytheWB–KT scheme.

3.2. AclassicalRiemannproblem

OneadvantageoftheWB–HJschemeagainstthediscrete 1D+scheme[1]isthatwecancompareourresulttotheexact solutiontoaclassicalRiemannproblem.Theexactsolutioniscomputedwiththeclassicalapproachwhereweusethethree invariants(Q,I,H)atthesteadycontactdiscontinuity.WeconsidertheRiemann probleminvolvingashockwaveon the leftoftheinterfacediscontinuity

(

A

, ρ ,

u

,

p

) (

x

,

t

=

0

) =

(

2

,

2

.

970

,−

9

.

093

,

20

) ,

ifx

<

0

,

(

1

,

10

,

10

,

100

) ,

otherwise. (10)

Thefinal timeofcomputation ist=0.03 s.InFig. 2,weplotthedensity

ρ

andthevelocity uobtainedwith 4000 nodes.

The approximatedsolutionisclosetotheexactsolution.Wealsoperformaconvergencestudyonthedensityvariable.It maybecheckedthattheconvergencerateisverycloseto 0.8 inL1norm.

(5)

Fig. 3.A shock wave hitting a section contraction: densityρ(left), velocityu(middle) and pressurep(right).

3.3. Ashockwavehittingasectioncontraction Weconsiderthefollowinginitialdata

(

A

, ρ ,

u

,

p

) (

x

,

t

=

0

) =

⎧ ⎨

0

.

2

,

0

.

167

,

100

,

1

.

5

×

104

,

ifx

<

0

.

1

,

0

.

2

,

0

.

125

,

0

,

104

,

if

0

.

1

x

<

0

,

0

.

1

,

0

.

125

,

0

,

104

,

otherwise.

(11)

Ashockwavestartingfromx= −0.1 travelstotherightandhitsthesectioncontractionlocatedatx=0.Partoftheshock waveisreflectedandpartistransmittedthroughtheright.Wecomparetheresultsobtainedwiththethreeone-dimensional schemes(WB–HJ,WB–KTand 1D+)with 4000 nodestotheresultsobtainedwithatwodimensionalsetofEulerequations onaveryfinemeshcontaining 216000 cells(1200 inx-direction),usingRusanovscheme.Thetwo-dimensionalresultsare averagedinthe y-direction. Thecomputation wasdone usingthetoolbox CDMATH[4,5].InFig. 3,weplotthedensity

ρ

, thevelocityu andthepressure pattimet=12×104 s.Wetakethe2D-averagingsolutionasthereferencesolution.The WB–HJ schemegivesbetter resultsthan WB–KT and 1D+ schemes. It remains tostudythe Riemannproblemassociated withsystem(1)together withthe newinvariant (Q,I,H) atthesteadyinterface. Itis alsoplannedto develop asimple solver[3]associatedwiththenewinterface condition(2).Thisnewsolvercouldbe morerobust thantheWB–HJscheme.

Finally,weemphasizethatthepresentinterfaceconditioncanbeeasilyextendedtootherconservativesystems.

References

[1] B.Audebert,J.-M. Hérard, X.Martin, O.Touazi, A simple integralapproachto computeflows inducts with variablecross section,EDF report H-I85-2014-05201-EN,https://hal.archives-ouvertes.fr/hal-01239393v1,submittedforpublicationinrevisedformin2014.

[2]E.Audusse,F.Bouchut,M.O.Bristeau,R.Klein,B.Perthame,Arobustandentropy-satisfyingnumericalschemeforfluidflowsindiscontinuousnozzles, SIAMJ.Sci.Comput.25(2004)2050–2065.

[3]F.Bouchut,Non-LinearStabilityofFiniteVolumeMethodsforHyperbolicConservationLawsandWellBalancedSchemesforSources,Frontiersin Mathematics,Birkhäuser,2004.

[4] CDMATH,ToolboxCDMATH,https://github.com/PROJECT-CDMATH.

[5] S.Dellacherie,K.Herilus,J.Jung,A.Mekkas,PrésentationdelalibrairielibreCDMATHcoupléeàSALOMEetPARAVIEW.Applicationàlarésolutionde systèmesdeloideconservationdansdesdomainescomplexes,inpreparation.

[6]L.Girault,J.-M.Hérard,Atwo-fluidhyperbolicmodelinaporousmedium,ESAIM:Math.Model.Numer.Anal.44(2010)1319–1348.

[7] L.Girault,J.-M. Hérard,Multidimensionalcomputations ofatwo-fluid hyperbolic modelinaporous medium, Int.J.Finite Vol.7(2010)1–33, https://hal.archives-ouvertes.fr/hal-01114209v1.

[8]L.Gosse,Awell-balancedschemeusingnon-conservativeproductsdesignedforhyperbolicsystemsofconservationlawswithsourceterms,Math.

ModelsMethodsAppl.Sci.11(2001)339–365.

[9]L.Gosse,A.Y.Leroux,Unschéma-équilibreadaptéauxloisdeconservationscalairesnon-homogènes,C.R.Acad.Sci.Paris,Ser.I323(1996)543–546.

[10]J.-M.Greenberg,A.-Y.Leroux,Awell-balancedschemeforthenumericalprocessingofsourcetermsinhyperbolicequations,SIAMJ.Numer.Anal.33 (1996)1–16.

[11] J.Jung, Schémas numériquesadaptésaux accélérateursmulticoeurs pourles écoulementsbifluides, PhDthesis, UniversitédeStrasbourg, 2013, https://tel.archives-ouvertes.fr/tel-00876159v2.

[12]D.Kröner,M.D.Thanh,Numericalsolutionstocompressibleflowsinanozzlewithvariablecross-section,SIAMJ.Numer.Anal.43(2006)796–824.

Références

Documents relatifs

3. A general lower bounding technique. We now present a framework for obtaining lower bounds on edit distances between permutations in a simple and unified way. , n ), introduced

That is why, to study the wetting model around the pinning price log(2), it suffices to consider the pure pinning model, namely a reflected random walk pinned at the origin by

In that case, the classical well-balanced strategy simply assumes that interface conditions that should be enforced at the steady interface separating two cells with distinct

The coupling is made by a recent optimal stress jump interface condition associated to velocity continuity at the bottom surface of a transition layer inside the porous region..

Second, we measured the average PSNR and SSIM of each image numerically reconstructed from the CGHs created with the CG-line method , with N-LUT method and with ASM, using the

Here, we report a new class of galectin inhibitors that specifically binds human galectin-7 (hGal-7), disrupts the formation of homodimers, and inhibits the pro-apoptotic activity

• when using the integral approach and a mesh including 50000 cells: the black dotted curve displays results corresponding to the rough wall pressure estimate P wall = P i n in cell

A rigorous analysis, based on the Laplace Transform, on the L 2 error estimate is presented for the linear case, which shows how the error of the domain decomposition method depends