Production D'énergie
Production D'énergie
Production d'énergie
(hydraulique, thermique
et nucléaire)
97NB00078
D
I : -i
«
in,-/:;,:',», 'g
I
FR9710029
Avril 1997
RASCLE P.
EL AMINE K.
97NB0W78
(HT-13/97/013/A)
EXECUTIVE SUMMARY :
For the construction of numerical schemes, the hyperbolicity of the full system
is not necessary. When based on suitable kinetic upwind schemes, the algorithm can
compute flow regimes evolving from mixture to single phase flows and vice versa. The
whole scheme preserves the physical features of all the variables which remain in the
set of physical states. Several stiff numerical tests, such that phase separation and
phase transition are displayed in order to highlight the efficiency of the proposed
method.
97NB00078
(HT-13/97/013/A)
Table des matières
1 INTRODUCTION 9
2.1.1 Introduction 19
3.1 Introduction 59
4.1 Introduction 91
6.2 Formulation of the boundary conditions for the two-fluid model 144
présentée par
Khalid EL AMINE
Sujet de la thèse :
INTRODUCTION
®ggXY PAGE(S)
!©f t BLABSK
INTRODUCTION
Cette thèse a pour objet l'étude, d'un point de vue numérique, de modèles bi-fluide
d'écoulement diphasique liquide-vapeur. De tels écoulements gouvernent le fonctionnement
des échangeurs (coeur de réacteur, générateur de vapeur et condenseur) d'une centrale
nucléaire à eau pressurisée. Les méthodes développées peuvent être étendues à d'autres
types d'applications.
Or, la qualité des échanges de chaleur entre les fluides et les solides dépend étroite-
ment des caractéristiques et de la configuration de l'écoulement. A titre d'exemple, la
présence d'un film de vapeur à la paroi du solide dégrade fortement les échanges ther-
miques. Les variations de pression, l'énergie apportée au fluide, provoquent des change-
ments de phase (vaporisation, condensation). Pendant le fonctionnement normal ou ac-
cidentel des échangeurs, divers types d'écoulements peuvent apparaître : écoulement à
bulles, écoulement à bouchons, écoulement laminaires, écoulement à gouttelettes...
On voit donc toute l'importance d'un modèle d'écoulement qui doit être suffisament
représentatif du point de vue physique, de façon à décrire les écoulements réels apparaissant
11
dans les différents types d'échangeurs, pour les différents régimes de fonctionnement.
Un fluide diphasique est constitué par des régions monophasiques limitées par des in-
terfaces en mouvement. Localement, le comportement de chaque phase est décrit complète-
ment par des équations aux dérivées partielles traduisant les bilans de conservation de la
masse, de la quantité de mouvement et de l'énergie, et par les conditions d'interface as-
sociées. Ce type de formulation est une extension directe de la formulation des écoulements
monophasiques et s'appelle : formulation locale instantanée.
Une telle formulation nous amènerait à un problème de frontières multiples ayant des po-
sitions inconnues. La résolution de problèmes diphasiques utilisant une telle formulation,
soulève trop de difficultés mathématiques, qui restent dans la plupart des cas insurmonta-
bles. De plus, pour les études liées à la sûreté des installations et à leur dimensionnement,
une description fine des phénomènes à petite échelle n'a en général pas d'importance. Par
conséquent, la résolution de problèmes diphasiques basés sur cette formulation n'est pas
envisagée. En pratique, on moyenne ces équations locales dans le temps et dans l'espace afin
d'aboutir à un système utilisable pratiquement et obtenir l'échelle qui nous intéresse. Le
modèle obtenu est encore un système de lois de conservation et comporte trois équations
de conservation pour chaque phase et s'appelle : modèle bi-fluide. Ce modèle est donc
formulé en considérant chaque phase séparément. Ainsi, il comprend des équations de
conservation de la masse, de la quantité de mouvement et de l'énergie de chaque phase,
avec des termes d'interaction qui apparaissent dans ces équations et qui sont des termes
d'échanges à l'interface et à la paroi. Le système que nous étudions dans cette thèse s'écrit
dx{akpkuk) = Fk,
avec (A: = v,l; v = vapeur, / = liquide). ak, pk, i , ek sont respectivement le taux de
présence local, la masse volumique, la vitesse et l'énergie spécifique interne de la phase
k. rk, Mk et Ek, sont les termes de transferts interfaciaux représentant respectivement la
masse, la quantité de mouvement et l'énergie acquise par la phase k. Mwk et Ewk sont
les termes de transfert entre la phase k et la paroi, respectivement de la quantité de
mouvement et de l'énergie, p est la pression supposée la même pour les deux phases, g
est l'accélération de la pesanteur, p, est la pression à l'interface. Pour fermer le système
(1.1), nous ajoutons les lois d'états constitutives du type pk = pk(pk, hk), ek = ek(pk,pk),
la relation av + ai — 1 et nous exprimons tous les termes d'échanges et la pression à
l'interface en fonction des quantités macroscopiques introduites ci-dessus.
Le modèle bi-fluide est considéré comme le plus approprié pour une description
générale et détaillée des transitoires. Cependant, le nombre de lois constitutives qu'il est
nécessaire et suffisant de spécifier pour fermer le système est relativement élevé par rapport
aux autres modèles simplifiés tels que le modèle homogène équilibré. En l'état actuel des
choses, les travaux expérimentaux et les recherches ont fourni plus d'informations sur
les lois de fermeture pour les modèles homogènes que pour les modèles bi-fluides. La
12
fermeture des modèles bi-fluide reste donc un problème ouvert, et il existe de nombreuses
formulations des différents termes d'échange, pas toujours équivalentes. Les systèmes bi-
fluide utilisés en pratique sont souvent non hyperboliques, et, au mieux, ils ne sont que
conditionnellement hyperboliques. Pendant le fonctionnement normal ou accidentel d'un
générateur, ces conditions peuvent être violées.
Dans le chapitre 3, nous considérons le système (1.1) sans terme d'échange (par ex-
emple : écoulement diphasique eau-air à basse pression et sans frottement entre phases).
Pour fermer le système, on suppose que les deux phases sont régies par des lois d'état de
type gaz parfait polytropique, i.e. p— (7* — l)PkCk, avec fv = 1.4 et 7/ = 1.0005. Cette ap-
proche nous a permis de traiter des écoulements diphasiques avec présence de phase liquide
pure localement, ce qui n'aurait pas été possible si le liquide avait été supposé incompres-
sible. Nous traitons aussi le cas où le système est non hyperbolique (p — pi) et le cas
"hyperbolique" (p ^ p,-). Pour résoudre notre système, nous introduisons une méthode de
décomposition qui réduit la résolution du système (1.1) à celle de deux systèmes découplés
ressemblant au problème classique de la tuyère et à la résolution d'un système d'équations
13
différentielles ordinaires. Ainsi, dans la première étape on considère :
dt(mk) + dx(mkuk) = 0,
u2
avec mk = akpk, Ek = akpk{ek + ~) et p~k = akpk = (7* - l)rojte*.
Notons que ces deux systèmes évoluent indépendamment. Par conséquent, les pressions
phasiques obtenues à l'issue de ce pas peuvent être différentes.
Dans la deuxième étape, on impose l'égalité des pressions et on résout
dtmk = 0,
dtEk = -pdtotk-
En ignorant les indices fc, le schéma de volumes finis associé au système (1.2) s'écrit
Pour des raisons de stabilité et de conservation de l'énergie totale, le système (1.3) est
discrétisé implicitement. Les étapes de calcul pour déterminer U"+1 sont de simples
opérations algébriques. Notons que le schéma global obtenu par cette méthode n'est pas
un schéma à pas fractionnaires. Le schéma de Roe utilisé pour calculer les flux numériques
n'est pas utilisé dans le cas où l'une des deux phases peut disparaître localement, à cause
de son caractère instable dans les zones d'apparition du vide (a = 0 ou 1, avec a = av). En
utilisant le schéma de Perthame, nous avons obtenu de très bons résultats. Le schéma global
est capable de décrire des situations où l'écoulement passe du diphasique au monophasique.
Aussi, dans le cas non hyperbolique et en combinaison avec le schéma de Perthame, le
schéma global préserve, sous une condition CFL raisonnable, la positivité des masses vo-
lumiques p^, de la pression p et le contrôle des fractions volumiques, i.e. 0 < a^ < 1, ce
qui est d'importance considérable pour l'interprétation physique des résultats. Ce travail,
en collaboration avec F. Coquel. E. Godlewski, B. Perthame et P. Rascle, est soumis au
J. Comp. Phys.
14
diphasique de fluides réels (a = 0 ou 1). La dynamique d'un fluide réel est gouvernée par
un système de lois de conservation dont la forme est la même que celle de la dynamique
des gaz habituels. Seule la loi d'état change. Les propriétés thermodynamiques des fluides
considérés sont données par une loi d'état tabulée de la forme p = p(p,h). Comme la
densité et l'énergie interne apparaissent dans le vecteur des variables conservatives, nous
remplaçons p par p(h — e) et nous résolvons l'équation non linéaire p = p{p(h — e), h) sur
h par une méthode de Newton. Nous définissons ensuite 7 = h/e et nous approchons la
loi d'état par p = (7 — l)pe. Nous introduisons aussi le coefficient adiabatique 7 = (c2p/p)
où c est la vitesse du son physique donnée par la table thermodynamique. En utilisant
les quantités 7 et 7, nous développons un schéma cinétique avec fonctions d'équilibre à
support compact. Ce schéma est une extension du schéma de Kaniel développé pour la
dynamique des gaz parfaits isentropiques aux cas des fluides réels non isentropiques. Nous
donnons un résultat de stabilité L1 dans les régions physiques qui nous intéressent. La
robustesse du schéma est testée sur deux tubes à choc de gaz parfait polytropique et sur
un tube à choc pour l'eau pure. Ce schéma peut donc être appliqué dans l'étude numérique
des explosions sous-marines.
Le chapitre 6 est consacré au calcul des conditions aux limites. Le traitement des
conditions aux limites est basé sur la méthode introduite pour résoudre le modèle bi-fluide
(chapitres 3 et 5). Ainsi, il ne concerne que la première étape, puisque la deuxième ne
15
fait intervenir que des dérivées temporelles. On analyse le cas où la loi d'état est du type
gaz parfait, mais aussi le cas de fluides réels. Pour une paroi solide, on utilise la notion
d'état miroir pour calculer le flux numérique au bord. Dans le cas d'une frontière fluide,
on adapte le formalisme de Dubois qui consiste à résoudre un demi problème de Riemann
pour calculer l'état au bord. On utilise ensuite cet état avec l'état interne bordant la
frontière pour déterminer le flux numérique.
Dans cette thèse, on n'utilise que des schémas numériques "explicites" d'ordre 1. Il
serait important d'impliciter la première étape pour accroître les performances du calcul,
de considérer des schémas d'ordre supérieur et d'étendre la méthode proposée à plusieurs
dimensions d'espace.
16
Chapitre 2
ECOULEMENT DIPHASIQUE,
MODELISATION ET
HYPERBOLICITE
17
Sef t
ECOULEMENT DIPHASIQUE, MODELISATION ET
HYPERBOLICITE
2.1.1 Introduction
Dans des conditions données, le comportement d'un système physique donné est en général
représenté par un modèle mathématique. Les modèles mathématiques d'écoulement sont
basés sur des axiomes idéalisant certaines lois universelles (en pratique, principes de con-
servation de la masse, de la quantité de mouvement et de l'énergie) et sur des lois de
comportement, idéalisant les propriétés des fluides considérés. Les lois de comportement
servent essentiellement à fermer le système d'équations constituant le modèle. En effet,
les équations exprimant les principes de conservation contiennent les propriétés des flui-
des considérés. Ces propriétés doivent être spécifiées et s'accompagner de préoccupations
physiques. Cependant, d'un point de vue pratique, on met en évidence d'autres con-
traintes : les lois de comportement doivent être telles que le système d'équations soit
effectivement fermé, qu'il ait une solution, que cette solution soit unique en général et
qu'elle ait un sens physique. De plus, pour une étude numérique du modèle, les lois de
comportement doivent permettre de poser correctement le problème au sens d'HADAMARD
(hyperbolicité).
Les lois de comportements (ou lois constitutives), qu'il est nécessaire et suffisant
de spécifier pour fermer le système des équations moyennées, traduisent, non pas le com-
portement intrinsèque des fluides considérés, mais leurs comportements dans le cadre du
système étudié (compte-tenu des différents fluides en présence, des conditions aux limites,
etc). Il est alors important de distinguer :
• Les lois donnant les propriétés physiques (moyennes), au sein de chaque milieu con-
tinu.
• Les lois de transfert, soit aux parois, soit entre milieux continus.
• La loi topologique de taux de vide : les opérations de moyenne, qu'on fait subir
au modèle sous forme locale instantanée pour obtenir des équations moyennées,
s'accompagnent d'une perte d'information. Dans le cas des écoulements diphasiques,
19
cette perte d'information se traduit notamment par la présence, dans les équations de
conservation moyennées, du temps de présence locale de l'une des phases moyennée
spatialement, ou de la concentration spatiale de l'une des phases moyennée dans
le temps (ou statistiquement le cas échéant). La valeur commune de ces grandeurs
appelée "taux de vide" résulte de la structure réelle de l'écoulement (géométrie des
interfaces) ; cette valeur doit être restituée au niveau du modèle par une loi qualifiée
de topologique (voir BOURÉ [2]).
Le modèle bi-fluide est formulé en considérant chaque phase séparément. Ainsi, le modèle
comprend des équations de conservation de la masse, de la quantité de mouvement et de
l'énergie de chaque phase, avec des termes d'interaction ou d'échange (à l'interface ou à
la paroi) qui apparaissent dans ces équations.
Equations de conservation
+ div{akpkUk) = Tjt,
dt
dt
div(otkPk{ek
-\~KWK .
H .
H ~7r-)uk) = CkPkguk + Ek + Ewk-
pk 2
20
Ces équations représentent les lois générales de conservation de la masse, de la
quantité de mouvement et de l'énergie d'un point de vue macroscopique pour les deux
phases, vapeur (k = v) et liquide (k — /).
Afin de fermer le système (2.1), nous ajoutons les lois d'état constitutives suivantes :
k), (2.2)
k)- (2.3)
Et une loi topologique sur le taux de vide (voir section 2.1.4).
£k » Pk et pk sont reliés par l'équation d'état fondamentale suivante :
ds
k\Pk
Pk = Ajr • (2-6)
Les variables qui interviennent dans les lois de conservations et lois constitutives sont :
Mwk et Ewk sont les termes de transfert entre la phase k et la paroi respectivement
de la quantité de mouvement et de l'énergie.
21
Remarque 2.1 Pour une étude mathématique et numérique du système d'équations
(2.1), les variables dépendantes principales seront choisies suivant des considérations et
justifications mathématiques et physiques (par exemple, suivant que la solution du système
est continue ou non).
Selon BOURÉ [2], l'importance relative des variations de pk, Pk et hk pour les fluides
courants (eau et vapeur d'eau notamment) impose la nécessité de conserver pk parmi les
variables principales (exprimer pk en fonction de pk et de hk conduirait à des erreurs
importantes sur Pk en cas d'erreurs, même faibles, sur pk). D'ailleurs, pour celui qui veut
utiliser les lois réelles des fluides en se basant sur les tables thermodynamiques, la connais-
sance de pk est obligatoire pour calculer les autres grandeurs physiques thermodynamiques.
Contraintes de fermeture
Le système d'équations constituant le modèle doit être fermé. Les lois constitutives étant
les moins bien connues dans l'état actuel des choses, c'est sur elles que portent en pratique
les contraintes de fermeture. Ces contraintes dépendent en particulier :
— des hypothèses contenues dans le modèle (par exemple sur les coefficients de
corrélation globaux) ;
L'étude détaillée des contraintes de fermeture est donc impossible dans le cadre
général de cette note. Elle devrait être faite pour chaque modèle particulier. Surtout que
les systèmes d'équations de conservation des modèles actuellement utilisés ne sont pas
tous rigoureusement équivalents. En général, elle est effectuée partiellement et au coup
par coup, au cours de la mise au point du modèle, à l'occasion des problèmes soulevés par
le non-respect de certaines des contraintes de fermeture.
Transfert interfacial
Lorsque o^ tend vers zéro ou l'unité, tous les termes de transfert interfaciaux doivent
tendre vers zéro. Cette contrainte, de bon sens, est respectée en général dans les modèles
existants. Cependant, la phase qui apparaît (ou disparaît) ne peut se développer (ou se
22
résorber) que s'il y a transfert de masse vers (ou en provenance de) cette phase, c'est-à-dire
si Fjt est non nul : tendant vers zéro en même temps que ak et 1 — ak, Tk doit donc ne
pas y tendre de la même façon. Autrement dit, il faut veiller à ce que :
Selon J.BOURÉ [2], cela traduit le fait que, à l'apparition ou lors de la disparition de
la phase A:, a* et la surface spécifique S / (surface d'interface par unité de volume, au
travers de laquelle s'effectuent les transferts) ne tendent pas vers zéro de la même façon.
Dans l'exemple d'une configuration à bulles ou gouttes uniformes de rayon r, a* oc r 3 ,
S/ oc r 2 et S//ajt oc 1/r -» oo lorsque r ~» 0. On ne peut donc en particulier accepter
la formulation courante dans laquelle Fjt oc E/ oc orfc(l — ak). Son incohérence se traduit,
d'une part par la nécessité d'introduire, à la frontière d'apparition de la phase k, un a*
non nul, sous peine d'inhiber le développement de cette phase (et d'obtenir par ailleurs
une surchauffe prohibitive de l'autre phase), et d'autre part, par l'impossibilité pratique
de repasser en monophasique par vaporisation ou condensation totale (avec de même,
surchauffe ou sous-saturation prohibitive de l'autre phase). Une amélioration envisageable
de la modélisation courante serait d'adopter
Transfert pariétal :
Toujours lorsque ak tend vers zéro ou l'unité, les termes de transferts pariétaux
doivent tendre, soit vers zéro (phase apparaissant ou disparaissant), soit vers les termes
correspondants dans les écoulements monophasiques.
D'autres contraintes peuvent exister lorsque ajt est voisin de zéro ou de l'unité. De
nombreux termes devenant faibles dans les équations du modèle, le calcul numérique peut
poser des problèmes (exemple, matrices mal conditionnées). Il peut être alors souhaitable
de diviser certaines équations par ajt (en particulier les équations de quantité de mouve-
ment et d'énergie). Il faut alors veiller à ce que les limites, pour a* tendant vers zéro, des
quotients des termes constitutifs concernés par ajt soient finies.
23
est le terme de transfert de quantité de mouvement à l'interface par transfert
de masse.
Ml = Tkuik. (2.10)
Fjt est la masse acquise par la phase k, u,-fc notée aussi u£, est la vitesse moyenne phasique
à l'interface. Elle est associée aux processus d'échange de masse.
En général, on suppose que les vitesses phasiques à l'interface sont égales :
{ ui si Tv > 0,
uv si r v < 0.
Selon PINET [15]
U{ = avui +
Selon STEWART and WENDROFF [26]
Etc.
•Mik est la force interfaciale généralisée pour la phase k, elle contient entre autres :
les forces de traînée, les forces transitoires, la force de Lift, la force de Faxén, la force de
Basset, la force de collisions des particules, etc. Dans ce rapport, on ne retiendra que les
forces les plus importantes, les autres seront négligées (pour plus de détails voir ISHII et ses
travaux avec d'autres auteurs comme MISHIMA, ZUBER, CHAWLA..., [8] et ses références).
La condition macroscopique de transfert de quantité de mouvement à l'interface (condition
de saut) est :
L'expression retenue pour Mik est la combinaison linéaire des forces les plus importantes
pour décrire les écoulement diphasiques dans les cœurs de Réacteurs Nucléaires.
24
- Mfc noté Fi est la force de Lift.
est la force moyenne due aux tensions à l'interface, pik est la pression
moyenne phasique à l'interface. En général, on suppose que (voir section 2.1.4) :
Cette supposition est faite pour simplifier les calculs ; nous verrons plus loin dans quelles
conditions (ou régimes) elle est valable. On a donc finalement :
k=v,l
•Muk est le terme de perte de charge, c'est la quantité de mouvement échangée entre
la phase k et la paroi.
avec :
•Pikdak/dt est le terme de transfert d'énergie dû à la pression.
U2
jfc + -•£*•) est le terme de transfert d'énergie dû au transfert de masse ; hik est
l'enthalpie moyenne de la phase k à l'interface.
•MikU{k est le terme de transfert d'énergie dû au transfert de quantité de mouvement
à l'interface.
•Ci* est la quantité (ou flux) de chaleur transférée au niveau de l'interface par con-
duction.
= 0, (2.17)
k=v,l
25
qui est, avec une bonne approximation, une conséquence de l'hypothèse de l'équilibre
thermodynamique local à l'interface.
Finalement les conditions de transferts interfaciaux sont les suivantes k
Tk = 0, (2-18)
k=v,l
Mk = 0, (2.19)
k=v,l
Ek = 0. (2.20)
k=v,l
Les transferts et les déséquilibres sont deux aspects inséparables de l'écoulement. Par
analogie avec de nombreux phénomènes physiques, il est raisonnable d'admettre que les
déséquilibres sont la cause des transferts. Inversement, le niveau des déséquilibres est
fonction de l'importance des transferts. On peut alors chercher à exprimer les transferts
("flux") en fonction des déséquilibres ("forces").
Ces fonctions peuvent éventuellement faire intervenir des variables indépendantes. Il a été
montré (BOURÉ [l]) que le fait de représenter toutes les lois de transfert par des fonctions
conduisait à des contradictions au moins dans le cadre de l'hypothèse qui remplace clas-
siquement la loi topologique de taux de vide par l'égalité des pressions des deux phases.
Ces contradictions persistent lorsque pv ^ pi et concernent entre autres les phénomènes
de propagation (et donc de débit critique), ce qui est gênant pour l'étude des transitoires
ou, plus généralement, chaque fois qu'il apparaît des gradients (spatiaux ou temporels)
importants.
Les lois de transfert sous forme de fonctions conduisent à des vitesses de propagation de
petites perturbations indépendantes de ces lois. Ceci doit être rapproché de l'impossibilité
intrinsèque pour ces lois de transfert "fonctions"de rendre compte d'effets de proximité
(voir BOURÉ [2]).
26
par [4]
FD = -~-
o
Ici le cœfficient CD est supposé dépendre de a j et Red (nombre de Reynolds), la dépendance
qui lie CD à, a<f et Red a été étudiée par ISHII et ZUBER [12] pour différents régimes
d'écoulement.
Pour des écoulements à bulles sphériques par exemple, Ai (aire interfaciale par unité de
volume) est fonction du rayon des bulles et de la fraction volumique de la phase dispersée
(vapeur).
A, = l
où Rd est le rayon moyen de courbure des éléments de la phase dispersée. Or,
cy = n-nR%,
ce qui implique :
Ai
" Rd
Ainsi, pour un écoulement à bulles,
Les termes de transfert sous forme différentielle sont des fonctions linéaires des dérivées
partielles premières des variables dépendantes principales ; la forme de ces termes (mis à
part les fonctions ordinaires) est la plus simple possible. Elle est la seule qui ne change
ni la forme du modèle (équations aux dérivées partielles du premier ordre, en général)
27
ni le nombre d'équations aux dérivées partielles qu'il contient, ce qui a une importance
considérable (pour le calcul numérique et même analytique).
Les lois de transfert à termes différentiels rendent en général le système hyperbolique, cela
devrait donc conduire à des résultats satisfaisants quels que soient les gradients, à con-
dition toutefois que les termes du second ordre (dûs aux gradients des gradients) restent
faibles. Les instants et les régions où les gradients des gradients sont importants sont assez
limités en pratique (début d'une dépressurisation, apparition de l'ébullition, ...), mais ils
peuvent être cruciaux.
Les lois de transfert à termes différentiels ont toutefois des inconvénients sur le plan pra-
tique ; elles introduisent des coefficients inconnus subordonnés aux dérivées premières de
toutes les variables dépendantes principales. Il est impératif de limiter, ne serait-ce que de
façon arbitraire, le nombre de termes différentiels figurant en fait dans les lois de transfert,
car les coefficients inconnus jouent en pratique le rôle d'autant de paramètres ajustables.
La force de masse virtuelle est une force transitoire qui est due à l'accélération d'une
phase par rapport à une autre.
Considérons par exemple une bulle sphérique en mouvement dans un fluide, l'accélération
de cette bulle provoque un changement d'énergie cinétique du fluide qui l'entoure, et induit
par conséquence une force résistante, cette force est calculée théoriquement dans l'article
de DREW et al. [5]. Dans un écoulement diphasique réel, la présence d'autres bulles doit
être prise en compte et l'expression générale de la force de masse virtuelle est donnée par
l'expression suivante [5] :
=Z
•*vm ^vmP
a
™= ^ ~ ^W + (1
" x){ud ~ " c)v(Uc " Ud)' (2 24)
-
uc est la vitesse de la phase continue,
Ud est la vitesse de la phase discrète,
A est un paramètre arbitraire introduit par DREW et al. pour le développement de (2.23).
En se basant sur des formulations connues de avm pour des problèmes classiques tels
que l'accélération d'une bulle rigide sphérique unique dans un réservoir d'eau au repos, ou
d'une gouttelette unique accélérée dans un écoulement constant de vapeur et en comparant
avec (2.23) on trouve:
lim A = 2,
*0
28
lim A = 0.
Ces deux cas asymptotiques montrent que le paramètre A doit au moins être fonction du
taux de vide. Pour des valeurs intermédiaires du taux de vide, l'expression de A (0 < A < 2)
n'est pas connue et sa valeur doit être déterminée expérimentalement.
HOUGHTON (1976) a démontré expérimentalement, pour des mélanges diphasiques dilués
que Cvm dépend de la forme des particules (Cvm = 1/2 pour une sphère seule et non
déformable), toutefois, dans le cas général et surtout pour des taux de vide plus impor-
tants, l'interaction entre les particules dispersées, qui semble diminuer le Cvm, n'est pas
bien connue. Cependant, le terme Cvm dépend du taux de vide a et doit être déterminé
expérimentalement.
La force de masse virtuelle apparaît dans les équations de quantité de mouvement sous la
forme suivante :
Mvm = adFVm = <XdPcCvm<lvm- (2.25)
Une nouvelle expression pour la force de masse virtuelle a été développée par DREW and
LAHEY [6]. Cette expression est considérée comme la plus générale :
La force s'exerçant sur une sphère en mouvement par rapport à un fluide en rotation
a été étudiée et calculée par PROUDMAN (1916) [6]. Cette force est perpendiculaire au
vecteur de rotation et au vecteur vitesse de la sphère et représente la force de Lift [6] (ou
force latérale de Lift).
où
p = adPd + acPc- (2.29)
DlMENNA propose pour la force de masse virtuelle (ou la force de traînée dynamique),
dans le cas monodimensionnel, cette modélisation :
29
Remarque 2.2 1. Pour le cas où a < 0.2 RUGLES et al. [21] ont développé une ex-
pression pour Cvm en utilisant l'expression de masse virtuelle (2.26)
2. Fvm ne peut être négligé dans le cas de très grandes accélérations spatiales (comme
dans le cas d'écoulement diphasique critique) (voir DREW et al. [5]).
Où U = (ud, uc,p,a)T. Les termes d'échange à l'interface sous forme différentielle autres
que la force de masse virtuelle (donnée au (2.23) pour l'expression de avm) sont négligés, les
autres termes tels que la force de traînée, l'accélération gravitationnelle etc, apparaissent
dans le vecteur C à droite. Les valeurs propres associées au système (2.31) sont déterminées
en évaluant le déterminant caractéristique suivant :
(2.32)
En développant le calcul, on trouve :
( ) C v m ( T
l-Q yc yc 1 -
+ { ) + r r i n I T -A) U
d-O ' (2-33)
yd 1-a (1-ar î/d (1 - <*r
avec :
yd = ud - n,
yc = uc - /x,
(1 - OL)pda\ apca\
30
la rendre abordable. Considérons par exemple le cas des écoulements à faible nombre de
Mach : si on suppose que les vitesses phasiques sont faibles devant les vitesses acoustiques,
les termes convectifs apparaissant dans (2.31) peuvent être négligés devant les termes en
dt (dérivées temporelles). L'accélération de masse virtuelle dans ce cas est réduite à :
yd et yc vérifient :
y d = y c = fi. (2.35)
L'équation (2.33) devient :
(2 36)
-
Les quatre racines de (2.36) sont réelles. Deux d'entre elles sont nulles. En utilisant la
relation (2.28) les deux autres sont liées à la propagation d'ondes acoustiques et sont
données par :
f ( l - q ) , _ot_] ~x
+ K
Pcal pda\\ '
où ac et ad sont les vitesses du son dans la phase continue et la phase discrète respec-
tivement. L'équation (2.37) définit la vitesse du son incluant l'effet du terme de masse
virtuelle sous la forme simple (2.34).
Dans le cas où l'effet de masse virtuelle est négligeable, les deux expressions (2.37)
et (2.38) coïncident et on obtient ce qu'on appelle la relation de l'onde stratifiée (ou la
vitesse de l'onde de compressibilité dans l'écoulement stratifié) développée par WALLIS
[29]:
- a)pd + ape (i-q) (2.39)
PdPc pda\
Par opposition, dans le cas où l'effet de masse virtuelle est très grand, la vitesse du
son dans un mélange homogène (obtenue en supposant que les deux fluides ont la même
vitesse) est :
31
Pressions à l'interface
D'habitude, on posePk—pik = 0. Cela n'est pas toujours vrai ; par exemple dans les
situations où il y a expansion ou contraction des bulles. En revanche on pose pd = pu pour
la phase dispersée (vapeur). Cela est dû au fait que la phase dispersée occupe des régions
relativement petites où des grands gradients de pression ne peuvent pas être supportés.
Ainsi, on suppose que la contraction/expansion des bulles peut donner une contribution
en pk - Pik seulement pour la phase continue (liquide). De plus, la force due au terme
Pc — Pics e présente dans l'équation de quantité de mouvement sous la forme (pc — Pic)Vac.
Ainsi cette force peut avoir un effet seulement lorsque Va c ^ 0.
Dans les situations où la tension à la surface est importante, le terme pic — pu ^ 0, et les
deux pressions à l'interface sont liées par l'expression classique de Laplace :
32
2.1.4 Hypothèses essentielles retenues
• Les termes visqueux et turbulents ne sont pas pris en compte dans les équations de
quantité de mouvement et d'énergie.
• L'interface est sans épaisseur (et donc sans masse F v = —F/) et sans propriété
physique.
• Vitesses moyennes au* interfaces : dans l'état actuel des choses, il y a peu de ren-
seignements sur ces vitesses moyennes. Pour l'instant, elles sont mises égales à une
même vitesse u:-, cette dernière est généralement approchée par l'expression :
Pressions dans les deux phases : on suppose que les deux phases ont la même pres-
sion :
Pv = Pl- P- (2.45)
II est devenu coutumier d'admettre pv = pi, ce qui diminue d'une unité le nombre
de variables dépendantes et remplace ainsi la donnée de la loi topologique de taux
de vide. Physiquement, le fait d'avoir pv ~ pi n'implique rien pour les valeurs en
x, t des dérivées spatiales et temporelles de pv et pi. Ces dérivées peuvent différer
sensiblement. L'hypothèse pv = pi est donc probablement trop restrictive (effets de
tension superficielle mis à part) lorsqu'on veut décrire correctement les phénomènes
de propagation et leurs conséquences, ce qui est nécessaire pour les transitoires rapi-
des et les débits proches de débits critiques ou plus généralement, chaque fois qu'il
apparaît des gradients (spatiaux ou temporels) importants.
Pressions à l'interface : on admet que les deux phases sont à la même pression à
l'interface (c'est-à-dire que la tension superficielle est négligée) :
comme on ne considère actuellement, dans les modèles retenus, qu'une seule pression
moyenne pour les deux phases : pv = pi = p, on est amené à définir l'écart Ap = p—pi
Pour les lois constitutives, on est fondé à adopter la forme la plus simple possible,
sous réserve d'y renoncer lorsqu'elle conduit à des contradictions. Ce processus de
remise en cause des hypothèses est constant et essentiel en physique.
33
2.2 Hyperbolicité et caractère bien-posé
Les systèmes d'équations établis pour décrire les écoulements diphasiques sont classés en
utilisant la méthode des caractéristiques. L'analyse montre que la plupart des modèles
proposés dans la littérature ont des caractéristiques à valeurs complexes dans les régions
physiquement intéressantes, notamment pour les écoulements diphasiques d'eau et de
vapeur. Des théorèmes bien connus (voir [19]) mènent à conclure qu'un système quasi-
linéaire d'équations aux dérivées partielles d'ordre un, qui a des caractéristiques complexes,
est mal posé en tant que problème aux valeurs initiales. Nous allons essayer d'étudier ce
phénomène dans les deux paragraphes suivants :
Des caractéristiques complexes sont présumées être la cause de l'instabilité des solutions
numériques de modèles diphasiques. Ici, nous verrons que ce n'est pas toujours le cas.
Dans cette partie, nous examinons l'aspect théorique d'un mécanisme très important et qui
joue un rôle critique pour stabiliser les calculs ; c'est l'effet du coefficient de frottement
à l'interface sur les grandes longueurs d'ondes de la solution analytique. Les termes de
frottement à l'interface sont connus aussi par leurs effets stabilisant des grandes longueurs
d'ondes de la solution numérique (codes industriels tels que THYC [27], RELAP5 [20],...).
SHIEH et al. [23] ont montré analytiquement que ce terme stabilise les calculs pour toute
longueur d'onde si les mailles ne sont pas très fines. Cela résulte du fait que les petites
longueurs d'onde de la solution analytique ne peuvent être représentées sur un maillage
grossier. En conséquence, l'effet stabilisant des grandes longueurs d'onde par le terme de
frottement à l'interface devient un facteur dominant sur un maillage grossier.
L'importance du coefficient K de frottement a été constaté par SHIEH et al. en effec-
tuant trois tests différents : the Edouard's pipe problem, the Chistensen's subcooled boiling
problem, et the Oak Ridge National Laboratory (ORNL) void profile test problem.
Définition 2.1 Le problème aux valeurs initiales et aux limites "des écoulements
diphasiques" est bien posé si la solution dépend d'une façon continue de la donnée initiale
et des conditions aux bords ; autrement dit :
si u(t) et v(t) sont deux solutions correspondant respectivement aux deux données initiales
rio et VQ, alors :
\\U(t) - v(t)\\ < G\\u0 - vo\\.
Pour que, si les états initiaux sont très proches l'un de l'autre, il en soit de même pour les
états finaux pour un même temps t, il faut que le facteur G soit inférieur à 1. En effet,
pour des problèmes hyperboliques sans terme source le facteur G est en général inférieur
à 1.
34
Equation scalaire
Nous allons étudier l'effet de valeurs propres complexes sur la solution analytique d'une
équation différentielle simple :
| + f l | + K l l = 0, (2.48)
avec : p = nr + i/x,-,
fir et m sont deux constantes ne dépendant pas de x et de t.
K > 0 est le coefficient de frottement à l'interface.
Soit
u = uoexp[i(kx — wt)] (2.49)
une solution de l'équation (2.48). On a alors,
w=^tti + k^ (2.50)
i
d'où
u = uoexp[ikx — ikfxrt — (K — km)t]. (2.51)
Ainsi, l'équation différentielle (2.48) a une solution bornée quand t —> oo si : a t = to, u
est une combinaison linéaire de composantes de FOURIER exp[i(kx — wto)] avec k < j-S
Autrement dit ; si la donnée initiale du problème linéaire est suffisamment régulière, alors
l'existence de racines complexes ne cause pas de problèmes.
Ainsi, pour le cas d'une équation scalaire, le caractère "bien posé" du problème
dépend uniquement de la régularité de la donnée initiale et de la magnitude du coefficient
de frottement interfacial.
Stabilité
Nous adoptons le concept de stabilité au sens de SANZ-SERNA [22]. Ici le mot stabilité
traduit le comportement de la solution numérique pour des pas d'espace fixés, lorsque le
nombre de pas de temps augmente (ce qui est différent de la notion de stabilité au sens
de LAX-RICHTMYER [19]).
Après avoir discrétisé l'équation différentielle (2.48) par un schéma décentré, nous utilisons
le critère de stabilité suivant :
||tr+ 1 ||<||17"|| (2.52)
avec Un est la solution numérique au niveau de temps n. Généralement, on utilise la
stabilité comme elle est définie dans le livre de RICHTMYER and MORTON[19], c'est-à-dire,
si :
Un+1 = C{At)Un, (2.53)
C(&t)n doit être borné en norme pour tout n, quand At tend vers zéro et t < T .
35
Considérons l'équation scalaire à caractéristique complexe suivante :
O (2.54)
Un — Un TTTt TTH
j i' \ (, ir + ifii Uj
+ U
-Uj-i
+ KU?+X - 0 (2.55)
At ' Ax
qui peut se réécrire
où
: At
a =
At
b =
avec a > 0.
Supposons que la solution numérique complexe U à l'instant n vérifie l'inégalité suivante :
\\Un+1\\L2<\\Un\\L2. (2.58)
Preuve :
Remarquons d'abord que toute fonction discrétisée sur un maillage de pas d'espace A i
tel que A i > j satisfait la condition (2.57), car la condition (2.57) dans ce cas est tout
simplement l'inégalité triangulaire ; cependant, les fonctions régulières peuvent satisfaire
à cette condition sur un maillage plus fin.
Nous avons :
Wu?-i+W) ^ E I ^ I 2 + E i ^ i i2- (
3
36
Pour 0 < a < 1 , en utilisant l'inégalité (2.61) et des conditions aux limites périodiques,
on obtient :
Y,\{l-a)Vf + aU?_1\2<'£\U?\2 (2.62)
j i
(2.63)
par conséquent :
(2.65)
Système d'équations
RANSOM and HICKS [18], STEWART and W E N D R O F F [26] et STEWART [25] ont étudié le
système à quatre équations ci-dessous
d(aPv)
+ V • apvuv = 0,
dt
~ <*)PÙ+ V • (1 - a)p ui = 0,
t
Ôt
(2.66)
du
VV • uv) + aVp = K(ui — uv),
Ces équations décrivent un écoulement diphasique isotherme dans une conduite droite. Les
termes à droite des équations d'impulsion sont égaux et opposés, ils représentent la force
de traînée stable sous sa forme générale comme elle est utilisée par différents auteurs. Pour
chercher les caractéristiques du système dans le cas monodimensionnel, on suppose que le
liquide est incompressible (hypothèse raisonnable, à moins que a soit très petit) et que
la loi d'état pour la vapeur est donnée par pv = pv(p). Ainsi, les racines A du polynôme
caractéristique satisfont à :
37
avec
STEWART [25], dans son article, montre que ce polynôme caractéristique admet deux
racines réelles ; une légèrement inférieure à uv — cv et l'autre légèrement supérieure à
uv + cv. La courbe du polynôme caractéristique (voir plus loin (sous-section 2.2.2)) mon-
tre que les deux autres racines réelles éventuelles doivent être comprises entre les deux
premières ; seulement, l'étude de l'équation caractéristique montre que cela est impossible
dans le cas où uv ^ uj. L'équation admet deux racines complexes conjuguées (puisque les
coefficients du polynôme caractéristique sont réels).
Si uv, ui -C cv , les deux racines complexes sont approximativement
^iTL.{Vv.ul) (2.69)
où
otpi
Le système (2.66) est discrétisé par une méthode aux différences finies semi-implicite
(voir STEWART [25], SHIEH et al. [23], HARLOW and AMSDEN [7] et LILES and REED
[14]), ces différents auteurs utilisent le même principe de discrétisation : les effets dûs au
propagations soniques sont traités d'une façon implicite, tandis que les phénomènes con-
vectifs sont traités explicitement, de façon à ce que le pas de temps At soit limité par
At < min(Ax/uv,Ax/ui). Cette discrétisation est faite sur un maillage à mailles décalées
(la pression et le taux de vide sont calculés aux centres des mailles, tandis que les vitesses
sont calculées aux interfaces j — \ ) .
Les résultats obtenus a- : des schémas similaires à celui décrit ci-dessus ont montré
que ceux-ci se comportent bit TK>ur toutes longueurs d'ondes (stables) sur un grand nom-
bre de cas pratiques. En outr si l'amplitude de K est réduite (K petit), des instabilités
apparaissent pour les grandes longueurs d'ondes. Ce phénomène est illustré par un cas test
dans STEWART [25].
Conclusions et commentaires
II est donc montré (STEWART, SHIEH et al.), qu'un calcul numérique avec un schéma
aux différences finies d'un modèle bi-fluide d'écoulement diphasique est raisonnable, s'il
y a suffisamment de transfert de quantité de mouvement entre phases et si les mailles
ne sont pas très fines, en dépit du fait que le système d'équations a des caractéristiques
complexes. De plus STEWART a donné un critère lié à la taille des mailles et l'a interprété
physiquement : pour le modèle avec termes d'échange de quantité de mouvement dans le
cas d'écoulement à bulles ou à gouttelettes, la taille critique des mailles est proportionnelle
au rayon moyen des gouttelettes ou bulles. Autrement dit, les calculs approchés peuvent
être raisonnables, si on ne s'intéresse pas à l'étude de phénomènes plus fins que l'échelle
supposée ou prise en compte dans l'expression de la loi de transfert de quantité de mou-
vement. C'est le cas où le modèle bi-fluide est destiné à un calcul approché d'un régime
d'écoulement à bulles ou à gouttelettes sans tenir compte par exemple des fluctuations
causées par une gouttelette ou une bulle individuelle.
38
Ainsi, pour une modélisation moins fine d'écoulement diphasique, le modèle est
mathématiquement mal posé, mais les calculs approchés sont raisonnables à condition
qu'on reste dans l'échelle appropriée.
Dans les cas complexes du calcul d'un transitoire réel, l'instabilité des grandes
longueurs d'ondes peut avoir des effets significatifs sans que sa présence ne soit mani-
feste.
En conséquence, pour une modélisation fine, le modèle approprié est celui qui serait
mathématiquement bien posé comme problème de valeurs initiales et qui puisse décrire
l'instabilité physique de HELMHOLTZ.
La plupart des modèles diphasiques développés pour décrire les écoulements diphasiques
inhomogènes en déséquilibre sont représentés par un modèle bi-fluide. Le modèle bi-fluide
est un système de six équations aux dérivées partielles représentant la conservation de la
masse, de la quantité de mouvement et de l'énergie pour chaque phase.
39
Les raisons majeures de ces déficits peuvent être les suivantes:
3. L'utilisation de schémas numériques basés sur des discrétisations utilisant des mailles
décalées et la technique cellule donneuse "donor cell" qui est ambiguë dans le cas
d'écoulement à contre-courant.
Pour pallier ces insuffisances, divers modèles ont été développés en apportant des correc-
tions au modèle communément utilisé (modèle de WALLIS) afin de le rendre hyperbolique;
cela permettrait donc l'utilisation des méthodes numériques modernes développées pour
la résolution de systèmes hyperboliques et qui permettent une résolution plus fine.
1. Prendre deux pressions différentes ; une pour chaque phase ; et prévoir des équations
différentielles pour décrire la dynamique de la différence de pression entre les deux
phases. Cette approche conduit à un système de 7 voire 8 équations (voir [26]) et
s'accompagne de la difficulté supplémentaire de fournir d'autres relations constitu-
tives pour fermer le système d'équations.
2. Supposer l'égalité locale des pressions pour les deux fluides, ce qui conduit à un
système à 6 équations. Et introduire d'autres termes différentiels supplémentaires
dans les équations de quantité de mouvement de chaque phase. Ces termes peuvent
être interprétés comme des forces interfaciales (force de masse virtuelle, force de
Basset, terme dû à la pression à l'interface, ...).
Avec ces deux approches, on essaye de regagner une partie de ce qui a été perdu lors des
opérations de moyenne qu'on fait subir aux équations locales instantanées.
En général, c'est la deuxième approche qui est adoptée. Les termes différentiels
habituellement retenus sont : la force de masse virtuelle et/ou le terme de pression à
l'interface.
Remarque 2.3 Dans les modèles d'écoulement diphasique avec ou sans correction (i.e.
avec terme de pression à l'interface et/ou terme de masse virtuelle), les équations d'énergie
peuvent être découplées du reste et l'étude de l'hyperbolicité se ramène à l'étude des racines
d'un polynôme caractéristique de degré quatre au lieu de six.
40
Dans le paragraphe suivant on présente un modèle incluant un terme différen-
tiel introduit par STADTKE et al. [24]. Dans le paragraphe d'après on étudie l'effet sur
l'hyperbolicité d'un terme de pression à l'interface.
Modèle 1
( ) + -^{aipiui) = 0,
d d dv (2<71)
—(aip,ut) + -foiaiPïti) + ai-£ = F/"\
ag+ai = l, (2.72)
k), (2.73)
k), (2.74)
= defc - ~dpk, (2.75)
ainsi que
= Tk, (2.78)
41
Pk P
—~- — —5-.
Pi Pi
~£ (2.80)
Ce terme à été introduit par STÀDTKE et al. [24]. Les critères utilisés pour déterminer une
telle expression sont :
• Les termes non visqueux de frottements interfaciaux ne doivent pas affecter la somme
des équations de quantité de mouvement.
• La matrice jacobienne n'a que des valeurs propres réelles et qui admettent une in-
terprétation physique.
Supposons que les solutions du système soient régulières ; (2.71) est équivalent au système
42
suivant:
._2dp dag
ÔUg ÔSg
dx dx = 0
8t
rrnv
Si nous supposons que uini — pour la phase k, nous obtenons le système (2.82)
équivalent à (2.81) suivant:
dota doia
dp dai . . 0 dp da\
+ pl + QlUl{ai)
ft -bT Yz
dp
(2.82)
dut dp
—
~ l - = Fl
9
— dx
dsi
l
dt dx"-
Remarque 2.4 On posant utnt = Uk pour la phase k, nous obtenons un système (2.82)
hyperbolique dont les valeurs propres sont données ci-après. Cependant, on n'a pas con-
servation de l'énergie totale dans le système de départ !
43
Les valeurs propres du système (2.82) sont :
= u3 > convection
A2 = J
3
~ Ug \ "onde de taux de vide"
4 =Ui J
A5 = u + a \
= u - a >Jonde de::pression
avec
( )
u= (2.83)
C-
PgPl
u est la vitesse moyennée des deux phases :
a2 = a2 - Aa2 (2.84)
!
n2 _ OtgPl +
0
~
(2.85)
ai aï PgPl
(2.86)
Remarque 2.5 Le* mfesses de propagation correspondant aux taux de vide sont-elles
correctes du point de vue physique ?
Modèle 2
0 = o,
(2.87)
d
>.«•)+£<«. o + Ap—ag = 0,
ox *
. d .
Qp iuf ) + a•t-^P-i - Ap—ai = 0.
dt^ ' ox
44
Pour étudier Phyperbolicité de ce système, une première approche consiste à sup-
poser que le liquide est incompressible par rapport à la vapeur (i.e. p\ — constante ;
raisonnable, à moins que ag soit très petit). Pour fermer le système d'équations, on ajoute
les relations et lois d'états suivantes :
Pg = Pg(p),
^ £ 1
dp ~ c | '
Ap = (p-pi),
~ (2.90)
équivalent à
(2.91)
ou
B(U) = (U). (2.92)
Les matrices A(W) = A(<p(U)) et B(U) sont semblables, elles ont donc les mêmes valeurs
propres.
Le vecteur inconnu U est choisi de façon à avoir une forme simple de la matrice B(U) .
Le système (2.88) est formellement équivalent au système d'équations
r d_ d „ , PjK-tt/) à (1 - a) d
a
a dx
d Fi fi
l
dl
(2.93)
d Ap dd cl dd dd
Ft' a
apg, ^Z + -T^ZPg
pg + u9-*Zug = 0,
Ap d c d d
_ r ^ —-z-Pg + u/—«/ = 0.
Ul pi dx * dx
L dt (1 - a)pidx
Posons
(2.94)
le système (2.93) s'écrit donc
(2.95)
la matrice B(U) est donnée par
/
Un
a
P3 —^-P3
0 (a-1)
B(U) =
Pg <*Pg
-Ap
\ pi L - a)pi u/
Hyperbolicité
Nous allons étudier l'hyperbolicité du système (2.87), ce qui est équivalent à l'étude
de l'hyperbolicité du système (2.93).
Soit
fi = {17 G JR4; pg > 0, a G]0,1[, %, t«/ G iR}. (2.96)
Soit C7 € fi ; avec le changement de variable W —> U défini par (2.94), les valeurs
propres À, de la matrice A{W) sont les mêmes que celles de la matrice B(U). Le polynôme
caractéristique P(\) de B(U) est donnée par :
P(X) det{B(U) - XI) (2.97)
Ug - À
(l-«)n
J
a a
i — A 0
(a-1)
(2.98)
us — A
<*P<? 0
-Ap
0 u/ — A
pi (1 - a)pi
Ainsi,
s2 APi
P(X) = -A)2- -A)2-
(2.99)
a pj
46
P(X) peut être écrit sous une forme plus simple en utilisant la transformation de Galilée
Au Au
2 ' 2 '
avec Au = ug — u/.
Posons donc :
(2.100)
et
(2.101)
2cg
il vient
(A - u 5 ) 2 =
=4
Ap
a pi
Nous allons maintenant étudier les racines de P(X). Ce qui revient à étudier les racines de
(2.104)
En posant
(2.105)
et
(2.106)
on a
(2.107)
Cas A P = 0 :
Dans ce cas, l'étude des deux fonctions f et g (voir fig. 2.1), montre qu'on a deux racines
47
Figure 2.1: Sans correction, Ap= 0.
réelles et deux autres complexes ; autrement dit, le système d'équations (2.87) n'est jamais
hyperbolique. On peut aussi illustrer ceci par un contre-exemple. En effet, le polynôme
P(v?) peut s'écrire
(2.108)
On a un polynôme de la forme :
(2.109)
Soit
K3)
E =
2
- K2)
A =
a0 = 62{S2-2T.)
= -45A
a2 — -
peut alors s'écrire :
P(ip) = <p4 a0. (2.110)
48
Supposons A'i = K21 c'est-à-dire (1 — ot)pg = api, on a donc ai = 0. Dans ce cas
OÙ O2 < 0.
Ainsi, en appliquant le Lemme 2.1 (voir ci-après), r m = 0, et la condition Q(rm) > 0 se
réduit à ao > 0,
c'est-à-dire
S2(62 - 2E) > 0, (2.111)
i.e.
6=0
ou
S2 > 2E.
5= 0 <=>• ug = ui (écoulement homogène).
Pour S ^ 0, (2.111) n'est pas satisfaite si
ce qui est vrai malheureusement. La relation (2.111) n'est donc pas satisfaite.
Cas AP ± 0
L'écart de pression Ap est normalement déterminé suivant le régime d'écoulement con-
sidéré. Cependant, en utilisant l'expression (2.47) avec £ = 1 et pc = pg, on a
-ui)2. (2.112)
T h é o r è m e 2.2 La relation (2.112) étant satisfaite, le système d'équations (2.87) est hy-
perbolique sur le sous-ensemble Çl° de fi, où
49
Figure 2.2: Avec correction, Ap ^ 0.
Preuve
II suffit d'étudier les fonctions f et g définies par (2.105) et (2.106) (voir figure 2.2) pour
montrer que le polynôme caractéristique P(v?) a toutes ses racines réelles.
Cas général
En se plaçant dans le cas général pour le système d'équations (2.87), i.e. : le liquide est
compressible et Ap n'est pas donnée sous forme explicite. Un calcul fastidieux donne le
polynôme caractéristique du système (2.87) :
P(X) =
<*sAp.
- 7 .113)
avec
Qgpiaf
En posant
27 " 7
On obtient une forme particulière du polynôme P(A), ainsi
P(A) =
50
avec
a
l "g
+ ^ (2.114)
Si A P = 0. le théorème énoncé ci-après suffit pour montrer que Q(<p) a deux racines
réelles et deux racines complexes.
Preuve
(i) Evident.
(ii) Posons X = <p — 5, il vient
= R(X)
= X2{X + 2S)2-K1X2-K2{X 2
= F(X)-G(X),
avec
F(X) = {X2-K2){X
et
G{X) = KiX2,
on a G{X) > 0, F(X) > 0 sur ] - 00, -y/K^\ U [y/KÏ, +oo[ et F(-y/K^ = F{y/KÏ) = 0.
Puisque F tend vers +oc plus vite que G quand \X\ —> 00, il existe au moins deux racines
réelles de l'équation F{X) - G(X) = 0.
P(<p) admet une racine double s'il existe <po telle que
=0 et Fivo) = 0,
51
ce qui revient à :
F{Xo)=G{Xo) et F'{Xo) = G'{Xo) (2.116)
avec Xo = <po - S.
F'{X0) = G'{X0) est équivalent à
(2.117)
Multiplions (2.117) par XQ et remplaçons le terme obtenu à gauche (c'est-à-dire G(Xo))
par F(Xo). Après un calcul simple, on obtient
Xo = V-26K2. (2.118)
Maintenant, multiplions (2.117) par (Xo + 26) il vient
o + 26) = X0(X0 + 25f + F(X0) (2.119)
et remplaçons dans (2.119) F(Xo) par G(X0). Un calcul simple donne (Xo + 26)3 = 26Ki
i.e.
X o = ^/25Ki - 26. (2.120)
De (2.118) et (2.120) on tire la condition nécessaire et suffisante pour que (2.116) soit
réalisée i.e. :
26= ^/26Ki + y/26K2
ou bien :
{I<1/3 + I<l/3f = (26)2. (2.121)
Ainsi, pour que toute les racines du polynôme P(X) soient réelles, il faut et il suffit que
52
Bibliographie
[2] J. A. BoURÉ, Les lois constitutives des modèles d'écoulements diphasiques monodi-
mensionnels à deux fluides , Rapport CEA-R-4915, 1978.
[3] J. M. DELHAYE, Basic Equations for Two-phase Flow Modeling, Two-phase Flow
and Heat Transfer in the Power and Process Industries, A. E. BERGLES et ai, Eds.
Hemisphere Publishing, Washington, 1981.
[9] D. L. HICKS Hyperbolic Models for Two-Phase (or Two-Material) Flow, Sandia Na-
tional Laboratories, SAND81 0253, 1981.
[10] M. ISHII, Thermo-Fluid Dynamic Theory of Two-Phase Flow, Eyrolles, Paris, 1975.
[12] M. ISHII k N. ZUBER, Relative Motion and Interfacial Drag Coefficient in Dispersed
Two-phase Flow of Bubbles, Drops and Particles, A. I. Ch. E. Journal, Vol. 2 5 ,
843-855, 1979.
53
[13] R. T. LAHEY & D. A. DREW, The Three Dimensional Time and Volume Aver-
aged Conservation Equations of Two-phase Flow, Advances in Nuclear Science and
Technology, Vol. 20, 1-69, 1988.
[14] D. R. LILES & H. REED, J. Computational Phys., 26, 390-407, 1978.
[15] B. PlNET, Modélisation des écoulements pour l'analyse de l'accident de perte de ré-
frigérant primaire (APRP), Entropie, 83, 1978.
[16] J. D. RAMSHAW & J. A. TRAPP, Characteristics, Stability, and Short-Wavelenth
Phenomena in Two-Phase Flow Equation System, Nuclear Science and Engineering,
66, 93-102, 1978.
[17] V. H. RANSOM, Two-Phase Flows, Ecole d'été, Analyse Numérique, 12-13 Juin, 1989.
[18] V. H. RANSOM & D. L. HICKS, Hyperbolic Two-Pressure Models for Two-Phase
Flow, J. Comput. Phys., 53, 124-151, 1984.
[19] R. D. RICHTMYER & K. W. MORTON, Difference Methods for Initial-Value Prob-
lems, 2nd éd., Interscience Publishers, John Wiley & Sons, New York, 1967.
[20] R. A. DIMENNA, J. R. LARSON, R. W. JOHNSON, T. K. LARSON, C. S. MILLER,
J. E. STREIT, R. G. HANSON & D. M. KISER, RELAP5/MOD2, models and cor-
relations, NUREG/CR-5194, EGG-2531,1988.
[21] A. E. RUGGLES, R. T. LAHEY J R . , D. A. DREW &: H. A. SCARTON, An Investi-
gation of the Propagation of Pressure Perturbations in Bubbly Air/Water Flows, J.
Heat Trans., 110, 494-499, 1988.
[22] J. M. SANZ-SERNA, Stadies in Numerical Nonlinear Instability, Why Do Leapfrog
Go Unstable, SIAM J. Sci. Stat. Comp., 6, 4 ,Oct. 1985.
[23] A. S.-L. SHIEH, R. KRISHNAMURTHY & V.H. RANSOM, Stability, Accuracy, and
Convergence of the Numerical Methods in RELAP5/MOD3, Nuclear Science and
Engineering, 116, 227-244, 1994.
[24] H. STADTKE k R. HOLTBECKER, Hyperbolic Model for Inhomogeneous Two-Phase
Flow, International Conference on Multiphase Flows, University of Tsukuba, Japan,
September 24-27, 1991.
[25] H. B. STEWART, Stability of Two-Phase Flow Calculation Using Two-Fluid Models,
J. Comput. Phys., 33, 259-270, 1979.
[26] H. B. STEWART & B. WENDROFF, Two-Phase Flow: Models and Methods, J. Com-
put. Phys., 56, 363-409, 1984.
[27] THYC, Modélisation et Méthodes Numériques, E.D.F./D.E.R., Version 3.0, 1993.
[28] A. R. D. THORLEY & D. C. WlGGERT, The Effect of Virtual Masse on the Basic
Equations for Unsteady One-Dimensional Heterogeneous Flows, Int. J. Multiphase
Flow, 11, No 2, 149-160, 1985.
54
[29] G. B. WALLIS, One-dimensional Two-Phase Flow, McGraw Hill, New York, 1969.
[30] T. WATANABE, M. HIRANO, F. TANABE & H. KAMO, The Effect of Virtual Masse
Force Term on the Numerical Stability and Efficiency of System Calculations, Nuclear
Engineering and Design, 120, 181-192, 1990.
[31] T. WATANABE & Y. KUKITA, The Effect of Virtual Masse Term on the Stability of
the Two-Fluid Model against Perturbations, Nuclear Engineering and Design, 135,
327-340, 1992.
55
Chapitre 3
57
A NUMERICAL METHOD USING UPWIND SCHEMES FOR THE
RESOLUTION OF TWO-PHASE FLOWS WITHOUT EXCHANGE
TERMS1
3.1 Introduction
59
Our objective in this chapter is to develop a simple numerical method capable of predicting
two-phase flow phenomena with reasonable accuracy, computational efficiency and, follow-
ing the persistent uncertainties in two-phase modeling, the implementation of new terms
may be accomplished without changing the basic solution method. That is the reason why
we only treat here the simplified system (3.1). It is solved numerically by using an upwind
numerical scheme based on a finite volume method. The unknowns are the conservative
variables and all the quantities are computed at the centers of the cells. Coupling terms
between the phases are being addressed regarding their numerical treatment within the
frame of the present method, (phase exchanges, acceleration, friction terms and also real
fluids) see chapter 5.
We propose a resolution approach for the two-fluid model which reduces the problem to
classical gas dynamics. Then we use a Roe scheme and a Boltzmann scheme involving
compactly supported equilibrium functions. The Boltzmann scheme was introduced at
first by Perthame [15] for the resolution of compressible Euler equations. This approach
ensures the positivity of the pressure and of the densities of each phase as well as the
control of the void fraction which must stay within the interval [0,1]. The conservation
of total mass, momentum and energy is also preserved by this method. Several numerical
tests assert the possibility of computing stiff phenomena with our algorithm. For example
we can compute a separation problem where fronts propagate and one of the two phases
disappears locally. For further methods on diphasic computations, we also refer to [21],
[23] and the recent extension of the work in [7].
The format of this chapter is as follows. In the second section we present the continuous
model. Then, we describe our numerical approach. In section 4, some stability properties
are proved and the last section is devoted to the illustation of the schemes on well-known
test cases.
The two-fluid model is formulated by considering each phase separately in terms of two
sets of conservation equations governing the balance of mass, momentum and energy of
each phase. Since the macroscopic fields of one phase are not independent of the other
phase, the interaction terms which couple the transport of mass, momentum and energy
of each phase across the interphase appear in the field equations. The balance equations
are complemented by the state equations for the two phases and by additional correlations
for the right-hand side coupling terms. The equations contain more dependent variables
compared with the number of equations. Therefore, additionnai assumptions are necessary
in order to close the system of equations. The most common procedure (to close the system
of equations) is to postulate equal local pressure values for the two phases.
The simplest macroscopic balance equations for the equal pressure one-dimensional
two-fluid model can be written under the following form, which can be eventually supple-
mented with specific terms for practical applications,
60
dx(avpviiv) = 0,
{ ) dx(aiptui) = 0,
(3.2)
This system of equations represents the balance equations for mass (3.1.a, 3.1.6), momen-
tum (3.1.C, 3.1.oQ and energy (3.1.e,3.1./) of the vapor and liquid phases. The variables
appearing in the above equations have the following meanings (here we set k = v, I for the
vapor and liquid phases):
€k)- (3.3)
In general, there exist no explicit expressions for the relationships in equations (3.3).
In practice, they are approached by various explicit forms. But the most general relation
is simply a tabular form. From thermodynamic principles, one can use any pair of thermo-
dynamic variables, for example: {pk,hk) or (pk,Sk), where hk and s* are respectively the
specific enthalpy and the entropy of A-phase. Also, in the system of equations (3.1), the
density for each phase is one of the conservative variables. Therefore, it is computationally
easier to deal with relations under the form
€k)- (3.4)
61
Since we suppose that the two phases are in pressure equilibrium, we have
Pv = Pi = P,
i.e.
P = Pv{Pv,ev)=pi{pi,ei). (3.5)
The interfacial pressure pt- needs a closure equation, the simplest of which is p,- = p,
see (3.37) below for another example of closure relation and references. We now have
six equations for the six unknowns {c*kPk> &kPkUk, &kPk(ek + u|/2)) with k = v(vapor),
k = l(liguid) completed with the three algebraic relations (3.2) and (3.5) for a* and p.
Notice that many simplifications are encountered in practice (see [22], Wulff[ll]
pp. 85-238, ...). For instance Sainsaulieu [19], Toumi [24] assume that the liquid phase is
incompressible with constant density pi, while the vapor phase is assumed to be an ideal
gas governed by the state function
p=(f-l)pvev, (3.6)
For simplicity in exposition here, we assume that both phases are described by an
equation of state of ideal gas type
€k
= frv
where yk is a constant and represents the ratio of specific heat capacities of the fluid k.
Typical values for 7 are 7 = 1.4 for a diatomic gas, e.g. air, and 7 = 1.0005 for the liquid.
This is reasonable at least, in a first step, when the vapor phase is always present and
imposes its compressibility to the liquid phase. Researches are in progress to improve these
laws.
We develop a new method based on a decomposition of the system. This method allows to
apply advanced numerical techniques that have been recently developed and successfully
applied to single phase flows (or compressible Euler equations). Let us briefly outline the
main steps of the method. Being given the state variables at time tn, (an,pn,p%,u%), (or
the computational variables, (ro£,ra£u£,Ek)), we proceed as follows.
We now describe in more details these two steps and introduce related notations.
To simplify, we set p, = p, but later, the interfacial pressure (3.37) will be considered.
In the first step, we solve the two following systems, one for each phase k (k = v,l):
dt{m.k) +dx{mkuk) = 0 ,
63
Pk = ockPk = (lk ~ l)mjfeCfc.
The two systems will be discretized explicitly and then, they may be solved inde-
pendently because these are uncoupled.
These two systems can be written in the following compact form
dfTTlk = 0,
dt{mkuk) = 0, (3.11)
dtEk = -pdtak.
Thus the method involves a splitting which reduces the resolution of the full system
(3.1) to classical hydrodynamics (3.9) with source terms, and a rather simple problem
(3.11).
Next we explain how to solve the first step (3.10), i.e. the system of equations
where
and
64
£ = m(e + y ) ,
p = (7 - l)me.
We note that the system of equations (3.12) is composed by two physically different parts.
The first one (the left-hand side) is in conservative form, but the second (the right-hand
side) is in non-conservation form. At this level we would like to mention that contact
discontinuities can occur but the equations stay meaningful; and for the applications we
have in mind, shock waves as in classical compressible flows are not of primary interest.
In order to explain this, we begin by dividing the spatial domain into N cells denoted by
Kj =]xj-i/2,Xj+i/2[ called control volumes. By choosing a mesh width Ax, a time step
At and a = At/Ax we have
*;-i/2 =(j-l/2)Ax, j<EZ,
tn = nAt, n€ IN.
For simplicity we take an uniform mesh, with Ax constant, although the method we discuss
can be extended to variable meshes.
Classically the finite volume method produces approximations t/j1 of the mean value
of U on the cell [^-1/21^+1/2] a t
We assume that, at time tn, we know £/", an approximation to the average of the
solution to (3.12) on the cell ]xj-i/2,xj+i/2b a n d we wish to calculate £/"+1, the mean
value of an approximate solution at time tn+1 = tn + At. We deduce (3.13) from (3.12)
setting
; ~ - L r + 1 / 2 f/(x,i")dx, (3.14)
Ax JJX] _ll2
X]_ll2
- ^ / r F(U(xJ+1/2,t))dt, (3.15)
H (3.16)
?-7^7T / H(U(Xit))dxdt.
J
At Ax Jt» Jx,-i/2
65
(see Harten, Lax and Van Leer [10]). In practice, we have tested Roe solver [18] and a
kinetic solver [15] (see appendix for recalling). But for tests where one of the volume
fractions can vanish, the kinetic method is prefered because of its better behavior (see also
the positivity results stated in theorem 3.1). By contrast the Roe solver is known to be
instable close to vacuum which means here a = 0 or 1.
In the case of three-point schemes, these numerical fluxes have the form
(3-17)
And for the sake of completeness, we describe the second scheme namely the kinetic
scheme.
Consider the left-hand side of the system (3.12), i.e.
(3.19)
•«(*, v) = A m » ( * ) . / f - ^ X [ (v - « - ( x ) ) i / ^ ^ I , (3.20)
with
1S a
Here x nonnegative function that satisfies
The simplest choice (we will use it in practice) is due to [15]; it reads
X{W) =
2^1 1 H<^- (3 23)
'
But other choices are possible such as the physical Maxwellian l/\/2¥exp(—w2/2). We
refer to [8], [10] for more details on the motivations for introducing this method and other
references.
We notice that the integration of the two functions defined above with respect to the v
variable yields
66
r{x,v)dv, (3.24)
n n
m u (x)= f vfn(x,v)dv, (3.25)
JIR
En(x) = Jm {-• /"(x, «,) + gn(x, v^j dv, (3.26)
and, instead of solving the system of equations (3.18) we solve the two following linear
transport equations
[
and I (3.27)
n n
I g(x,v,t )=g (x,v)
Lemma 3.1 Let At be a small time step and t G [£n, tn + At]. The following quantities
m(x,t) = f(x,v,t)dv,
J IK
mu{x,t) - j vf{x,v,t)dv, (3.28)
JIB.
E{x,t) =
In the finite volume approach, once the numerical flux functions ^+1/2 in (3.15)
which approximate the physical fluxes at the interface between the cells j and j + 1 are
known, the formula for updating the cell averages of the conserved quantities corresponding
to (3.18) is
67
By using (3.28) and the condition (3.31), the integration of (3.18) gives the flux F?+l/2
(a three entries vector) which is written
(3.32)
with
mjx(w)dw. (3.33)
The flux F is obtained by replacing " > " by " < " in the above integrals. As it is
proved in [15], this scheme is consistent for any function x which satisfies (3.22).
We now describe the discretization of the term H(U) = (Q,pda/dx,Q)T. This term
plays an essential role in the stability of the global scheme. We will treat it wisely and this
following the nature of physical phenomena and the characteristics of the conservation
law system (i.e. hyperbolic (p, =p£ p) or not (p, = p)). We could have used a two fractional
step-method which consists in integrating the left part of the system (3.9) in a first step
and the right one in a second step. This method has been used for the nozzle problem by
several authors. For reasons we will see later, we have prefered to integrate the two parts
in a single step.
We propose to discretize the term dxa in the expression pdxa (or pidxa when p, ^ p)
as
68
We will discuss here two cases.
J± Pi # P-
In this case, pdxa is replaced by pidxa = (p - (p - Pi))dxa in (3.9) (see (3.1)). The
expression of (p — pi) ([4]) is given by:
P - Pi = £Pc{uv
2
-UI) , (3.37)
£ is a constant and pc is the continuous phase density. Other expressions can be found in
the literature (see [19], [24] . . . ) . Here we have used £ = 1 and pc = pv. Notice that, in
practical tests, the resulting expression is very small numerically.
(3.38)
In the case 1, we could have used the Minmod instead of the centered formula (3.38).
We prefer the centered formula which gives sharper fronts. This is possible because the
formula (3.37) brings more stability (hyperbolicity) to the continuous system compared
to the case p, = p.
Finally, the quantities computed from this first step are mk and Ek, {k = v,l).
This quantities will be identified using the superscript n + 1/2.
dtTnv = 0, — 0,
69
This step can be performed cell by cell and thus we skip the index j through out
this subsection. To ensure stability, we will use an implicit method. First, we remark that
the first two equations in each system can be omitted because they only mean that the
quantities they involve are time invariant, i.e.
Tl
mn+l _ m + 1 /2 C n+l
and I (3.41)
{mvuv)n+l ={mvuv)n+l/2, {
Thus we are reduced to studying
dtEv = -pdtav,
(3.42)
dtEi = -pdta,.
We make some further simplifications before stating the ultimate system to be discretized.
Recall that
Ek=(j?pl+ k= L
dt(mvev) = -pdtav,
(3.43)
dt(miei) = -pdtan.
Adding up the two equations of (3.43) each other (in view of (3.2)) gives
dt{mvev) + dt(miei) = 0. (3.44)
To keep this fundamental conservation law, we discretize it as
(mvev)n+l/2
a "-r* 1 —a
7V - 1• + 7/ - 1
where a = av and (1 — a) = aj.
The unknowns are p and a. To compute them, we need to state another equation; thus,
consider the discretized form of the first equation of (3.43)
( m v c ) n + 1 - (mvev)n+1'2 = -pn+1(an+1 - à). (3.48)
70
The value à should be chosen at time fn+1/2 i.e. à = o n + 1 / 2 and then the system (3.1)
would be solved in two fractional steps. Now, a n + 1 / 2 is unknown from the first step, since
the computed variable is m" = an+1^2p" and from this relationship we cannot
n+1 2
deduce a / . For this reason, we set â = a " and as a consequence, the system (3.1) is
solved in a single step. (To check this, add the discretized systems of (3.9) (for k = v, I)
to those of (3.11) (for k = u, /)). We now have
m e + ^
Notice that though it does not seem to be, this expression is indeed symmetric with
respect to the two phases. Next the explicit expression of p n + 1 is obtained plugging an+1
given by (3.51) into (3.47).
We are now in a position to update all the main variables involved in the system
of equations i.e.: a, p, mv, mvuv, Ev, mi, m/uj, Ei and the variables involved in their ex-
pressions i.e.: (pk, uk, ek k = v,l).
In this section, we give several theoretical properties of the method based on the kinetic
scheme in the case 2, where the Minmod discretization (3.39) of the term pdxa was intro-
duced to make up the lack of hyperbolicity. The hyperbolic case (case 1) is not addressed
here but strong numerical evidences assessed its stability properties.
This method preserves several basic properties of the initial system. By using the finite-
volume method and the conservative variables for the computed unknowns, we have con-
servation of total mass, momentum and energy. We strengthen at first (3.31) setting
71
Theorem 3.1 Suppose that at the time level tn, we have p% > 0 for k — v,l; pn > 0 and
0 < al < 1. Then, we get p%+l > 0, pn+1 > 0 and 0 < a £ + 1 < 1 under the CFL conditions
(3.52) and (3.53) (see the notations in the proof below)
< \, (3.53)
Remark 3.1 1. These estimates are crude, but give a time-step of the order of the usual
CFL condition. They guarantee that a remains in ]0,1[. The time-step could become very
small (as in usual monovhasic gas dynamics) but in practice this does not occur as we
shall see even in the sej .ration problcn (section 3.5 pb.l,).
2. To the best of our knowledge these positivity results are new and are directly
inherited from the splitting method we have proposed.
We consider the phase associated, for instance, with the void fraction a. We know
that f(x, v, tn) and g(x, v, tn) are nonnegative functions. Since they solve transport equa-
tions we also have f(x, v, tn+l>2) > 0 and g(x,v,tn+1/2) > 0. And thus:
= XI L K*>u' t n + 1 / 2 ) d v d x * 0. (3.56)
We write
^+1/2)AlSJR.K v x
^^
n
7T L
Ax JIRxKj
9(x,v,t
72
Now, following (3.13) and (3.28) we have
U/(X tn+1/2)dXdV
•h L K 3 '"' = mT'2-r12 -|P"^, (3-58)
where p"(Aa"/Ax) is the discretization associated with pdxa. This yields
(3 59)
-
The condition (3.52) implies that \v\^ < \ and after integration of /(z, r, f n+1 / 2 ) =
fn(x - vAt,v) and g(x, v, £n+1/2) = gn(x - vAt, v) over iR x Kj we obtain after some
tedious but easy calculations
JIRxK} *
Therefore, using (3.61) we get from (3.59):
(3.62)
Notice that pdxa has been transformed into pa(l — a)dxp (see 3.35), with /? = ln(-~;)-
Denoting A/3"/Ax the discretization associated with 5x/3, the inequality (3.62) reduces to
In practice, the velocity |u" + 1 ' 2 | is a finite quantity and the condition (3.53) is sufficient
to ensure (see (3.59))
e j + 1 / 2 > 0. (3.64)
Now, we have proved that the variables m£ + ' and e£+ ' are nonnegative.
Since 7; > 1, yv > 1 and 0 < a" < 1, we have
0 L + ^ ^ ^
a ) m e + < m e +
+1/2 l/2
Jh-m; e^ . (3.66)
Tv ~ 1
73
Using (3.51), it follows that
0 < a n + 1 < 1. (3.67)
Following (3.67) and (3.47) we get
p n + 1 > 0. (3.68)
Finally, (3.41) and (3.67) give
pnk+1>0 {k = v,l). (3.69)
Hence, we have proved the result under the condition (3.53).
Now, we will attempt to upperbound |u" + ' | in order to recover (3.54). We argue as
follows
and we have only to consider the case where uj and Act7} have the same sign, say
nonnegative. Then
n+l/2un+l/2 <m>n + to{f V7f._i{v)dv+ f ff{v)dv]i (3.73)
i i l Jv>0 Jv<0
^x/~), (3.73)
with
Mf =
m
— j U " j l •*"ej) •+• "* a a ; jV"*j-lU u j-ll "+•ej-l)i m
j + u l " j + i l "t"e j+iJM > i '' 4 J
In this formula, the "max" comes from the necessity to consider also the other possibility
when u" and A Q J are negative.
We can rewrite (3.73) as
with
M? = ^ . (3.76)
74
3.5 Numerical Results
Problem 1: Sedimentation
This problem represents a very simplified physical phenomena: separation of air and
water by gravity in a vertical tube.
The objective of this problem is to check the capability of the model and of the chosen
numerical approach to describe counter-current flow conditions and the occurence of strong
void gradients which are typical of many situations where phase separation phenomena
are dominating.
The test consists of a vertical tube of 7.5m length. In the initial state, the tube is filled
with a homogeneous two-phase mixture (air, water) of constant void fraction of a = 0.5;
the velocities are uv = u; = Oro/s. The boundary conditions at the inlet and the outlet
are nul debits for the vapor and the liquid, i.e., the velocities of the two fluids are forced
to equal zero at the two ends of the duct, since these are closed.
The phase separation is due to gravity forces only. The liquid phase falls down to the
bottom of the tube, while the gas phase comes up to the top of the tube.
All the presented results have been achieved using a constant ratio At/Ax = 6.OJ57 —
4. Figures 3.2 and 3.4 below show in the space-time plane the predicted values for the
void fraction in case 1 and case 2 (i.e. p, ^ p and p, = p). The comparison between the
steady-state solutions for the two cases is given in figure 3.5, this figure clearly indicates
that the steady-state solution in case 1 is much closer to the expected analytical steady-
state solution than in case 2.
The void fraction distribution along the vertical height at different time levels is shown
in figure 3.3, this figure indicates an upward and downward directed void front in the
transient period; the occurence of quasi-stationary conditions is achieved once the two
fronts have merged at the middle section of the tube.
Figure 3.6 shows the spatial convergence of the void fraction at the steady-state. We give
below the errors in L1 norm, choosing the finest grid solution as the reference one.
errori errori 9
0.2090 0.1069 0.9662
where errori = \\a25 — aioolli an<* error2 = H050 — Oioolli, the subscripts represent the
number of cells. Here 6 = •— * —— provides an estimate of the order of accuracy
Iog{h1/h2)
(hi = 7.5/25 and h2 = 7.5/50).
Figure 3.7 shows the predicted values for the pressure in space-time plane in case 2. One
can remark the establishement of a static pressure gradient in the gas and liquid regions.
Figure 3.8 compares the steady pressure profiles in the cases 1 and 2. Not only the case 1,
because of the centered discretization, gives an overshoot as can be seen in figure 3.8, but
also it is very sensitive to the number of computationl cells. These results can be compared
to those obtained by [21].
75
Constant Velocity Liquid Inflow
t t = tf
Liquid Air
The water faucet problem (see [16]) consists of a vertical tube 12m in length and \m
in diameter. The top has a fixed inflow rate of water at a velocity of 10m/s, temperature
of 50°c, and a liquid volume fraction of 0.8 . The bottom of the tube is open to the
ambiant pressure and the top of the tube is closed to vapor flow. The problem is illustrated
schematically in figure 3.1.
Initially, the tube is filled with a uniform column of water at a velocity of lOm/s sur-
rounded by stagnant vapor, such that the vapor volume fraction is 0.2. The thermodynamic
properties of the system at the initial state are assumed constant at values appropriate for
air-water mixture and are 50° c for the temperature and 1.0E05(Pascal) for the pressure.
The velocity boundary conditions at the inlet are lOm/s for the liquid and 0.0m/s for the
vapor. The volume fraction of the vapor at the inlet is set constant at 0.2. The only out-
flow boundary condition at the bottom of the tube is constant pressure at 1.0.E05(Pascal).
These specific boundary conditions are implemented using the solution of a partial Rie-
76
mann problem which is described in details in chapter 6. Here, for physical considerations
(see[16]), we are led to choose p, = p. The calculation is carried out until a steady flow is
attained.
This transient problem has a particularly simple analytical solution when pressure vari-
ation in the vapor (and hence in the liquid) is ignored (see [16]), this analytical solution
was used as a code test problem in [17].
The objective of this problem is to test the stability and the convergence of the numerical
solution method. The diffusive character of the numerical method is also tested since a
discontinuity in void fraction is propagated through the solution space.
All the computations have been achieved using a constant ratio At/Ax = 5.0E — 4.
The void fraction as a function of space at different times is shown in figure 3.9. This
figure shows the dynamic propagation of the void profile down the tube until the wave has
completely passed out of the tube and the steady-state profile remains.
In order to check the convergence and the stability of the scheme, computations have been
made using a discretization with 12, 24, 48, 100 and 200 cells. The void fraction profiles
for various discretisations are compared to the above mentionned analytical solution (see
figure 3.10), which is explicitly given by:
Ofttf
1- if
(3.77)
0.2 otherwise,
where uf = lOm/s and a* = 0.8.
The L1 norm errors between the approximate and analytical solutions are displayed iin the
following table:
with errori — ||a,-a ona /j,ti co /|| and % refers to the various discretizations (i — 1 for 12 cells,
x=
i = 2 for 24 and so on). Here 6 denotes an average value of the 0, = -*- —
We compare in the figure 3.11 the profile given by the kinetic and Roe solvers in the
first step. As announced, the Roe solver is more accurate.
77
gas (vapor) temperatures, we present a two-phase shock tube problem. The initial data is
given by the following table:
Notice however that the mathematical meaning of this problem witn shocks is quite
imprecise (see [5]), and there is no physical interpretation for this case because the thermo-
dynamical desequilibrium requires exchange terms between phases. The computations have
been achieved using 200 cells and a constant ratio At/A.. = 5.0.E — 4. In the figures 3.16,
3.17 and 3.18, we show the pressure and enthalpies profiles at time t = 0.75E — 03.
void fraction
distance (m)
time(s)
78
1 1— -i ^i •" _ — , — _ . t
i
I /
,y
_..-••
t = 0.0 s
t - 0.5 s
0.9 • .' _ . / • ' t = 1.0s "
i _. t= 2.5S -.—-
t = 10.^-'
0.8
0.7
0.6 -
s
0.5
/
/
a
i
/
i
0.4 i
fi
/
0.3
02 - / i
i
j
0.1
••'•••••"
0
2 3 4
distance (m)
void fraction
distance (m)
time (s)
79
1
/ / easel
; / case 2
0.9
0.8
0.7 -
0.6
0.5
0.4
0.3
02
0.1
0
3 4
distance (m)
26 cells -
50 cells --•
0.9 100 cells -
0.8
0.7
0.6
0.5
0.4
0.3
02
0.1
0
3 4
distance (m)
80
pressure (Pa)
distance (m)
time (s)
I 105000
3 4
distance (m)
81
0.6
0.45 •
S 0.4 •
ï
| 0.35
0.3 - • • - • , .
. . . . . .
0.25 • • • - - . . . . - \ ^
0.2
6 10 12
distance (m)
0.45
analytic
12 cells
24 cells
48 cells —
0.4 100 cells — -
À
200 cells — -
0.35
0.3 •
0.25 • ./•
0.2 •
0.15
6 10 12
distance (m)
82
0.45
analytic
Roe scheme
Kinetic scheme
0.4 -
0.35
0.3 -
• / / \
\
0.25 • \
X
02 '•
0.15
6 10 12
distance (m)
O.Os
t = 0.1 s
t = 0.3s —.,-•:
t = 0.5.3-'
t
-1=1.3 S
4 6
distance (m)
83
0.65
0.0 s —
0.1 s —
0.6 t 0.3.S-"'-'-
,t*-0'.5s —
0.55 t :
t=1.1 s —
t=1.3s —
0.5
0.45
S 0.4
0.35
0.3
0.25
0.15
10 12
distance (m)
0.45
12 cells
24 cells
48 cells
i 100 cells
0.4 200 cens
/ /
\ \
j--y-
••- \ \
0.35 / / / -
0.3
1
025
*• \ " ' . .
\ ^
.
02
0.15
6 8 10 12
distance (m)
84
19
0.0s
0.1 s
18 0.3 5..- —
o:s-
0.7 s
17 1.3s — - -
16
15
14
13
12
11
10
9
6 10 12
distance (m)
85
3.13e+06
3.126+06 -
3.05e+06 -
3.046+06
0.1 0.3 0.4 0.5 0.6 0.7 0.8 0.9
distance (m)
2.46+06
2.26+06
1-2e+O6
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
86
Bibliographie
87
[12] M. ISHII, Tkermo-Fluid Dynamic Theory of Two-Phase Flow, Eyrolles, Paris, 1975.
[13] R.T. LAHBY & D.A. DREW, The Three Dimensional Time-and Volume Averaged
Conservation Equations of Two-phase Flow, Advances in Nuclear Science and Tech-
nology, Vol.20, 1-69, 1988.
[14] S. OsHER & E. TADMOR, On the convergence of difference approximations to scalar
conservation laws , Math. Comp., Vol 181, pp. 19-51, 1988.
[15] B. PERTHAME, Second-order Boltzmann schemes for compressible Euler equations
in one and two space dimenions , SIAM J. Numer. Anal., Vol.29, n° 1, pp. 1-19,
February 1992.
[16] V.H. RANSOM, Numerical Benchmark Tests, Multiphase Science and Technology,
Volume 3, Edited by G.F. HEWITT, J.M. DELHAY k N. ZUBER, Hemisphere, 1987.
[17] V.H. RANSOM & V. MOUSSEAU, convergence and Accuracy of the Relap5 Two-phase
Flow Model, Proceeding of the ANS International Topical Meeting on Advances in
Mathematics,Computations and Reactor Physics, Pittsburg, Pennsylvania , 1991.
[18] P.L. ROE, Approximate Riemann Solvers, Parameter Vectors, and Difference
Schemes, J. Comput. Phys., 43, 357-372, 1981.
[19] L. SAINSAULIEU, Contribution à la modélisation mathématique et numérique des
écoulements diphasiques constitués d'un nuage de particules dans un écoulement de
gaz, Thèse d'Habilitation à diriger des recherches, Université Paris VI , 1995.
[20] A.S.-L. SHIEH, R. KRISHNAMURTHY $ V.H. RANSOM, Stability, Accuracy, and Con-
vergence of the Numerical Methods in RELAP5/MOD3, Nuclear Science and Engi-
neering, 116, 227-244, 1994.
[21] H. STÂDTKE, G. FRANCHELLO & B. WORTH, Numerical Simulation of Multi-
Dimensional Two-Phase Flow Based on Hyperbolic Flow Equations, preprint, 30th
Meeting of the European Two-phase Flow Group Piacenza, June 6-8, 1994, Italy.
[22] H.B. STEWART & B. WENDROFF, Two-Phase Flow: Models and Methods, J. Comput.
Phys., 56, 363-409, 1984.
[23] I. ToUMI, A Weak Formulation of Roe's Approximate Riemann Solver, J. Comput.
Phys., 102, 360-373, 1992.
[24] I. TOUMI, An Upwind Numerical Method for a six Equation Two-Phase Flow Model,
Rapport DMT/94/168, SERMA/LETR/94/1619, C.E.A., 1994.
[25] J.A. TRAPP &c R.A. RlEMKE, A Nearly-Implicit Hydrodynamic Numerical Scheme
for Two-phase Flows, J. Comput. Phys., 66, 62-82, 1986.
[26] P. VlLLEDIEU, Approximation de type cinétique du système hyperbolique de la dy-
namique des gaz hors équilibre thermochimique, Thèse de l'Université Paul Sabatier
(Toulouse), france, 1994.
[27] G.B. WALLIS, One-dimensional Two-Phase Flow, McGraw Hill, New York, 1969.
88
Chapitre 4
UN SCHEMA NUMERIQUE
POUR LES ECOULEMENTS
MONO-PHASIQUES DE
FLUIDES REELS
89
PAÛE(S)
!®f t BLASitC
A NUMERICAL SCHEME FOR ONE-PHASE FLOW OF REAL
FLUIDS
4.1 Introduction
The numerical schemes proposed for the computation of inviscid compressible gas dynam-
ics in which the properties of the fluid are represented by the ideal equation of state, have
been extended to the real gas case by several authors. The main difference with regard
to the special case of an ideal gas is that the ideal gas law is replaced by an equation of
state of the form p = p(p, e) or p — p(p,pe). Colella and Glaz [1] extended the numerical
procedure for obtaining exact Riemann solution to the real gas case, by introducing an
iterative solution procedure to handle shock waves. Dubois [4] developed an algorithm for
the computation of rarefaction-compression waves using tables of Srinivasan et al. [21].
The two approaches listed above are "exact" Riemann solvers. For the extension
of other approximate Riemann solvers and flux-vector splitting techniques, we refer the
reader to [5], [13] and [15].
91
In this chapter, we develop an algorithm for approximating the solution of the sys-
tem (4.1) for real fluid in its original conservation form. This algorithm is based on the
construction of a Boltzmann scheme involving compactly supported velocity distribution
functions. The proposed algorithm is positively conservative. This means that, the density
and internal energy remain positive throughout the computational process.
In fluid dynamics, the evolution of the fluid is governed by the equations of conservation
of mass, momentum, and energy. For an inviscid non-heat-conducting flow, the balance
equations in one-dimension can be written in the form
| | 0 , (4.1)
U = (p,pu,E), (4.2)
where t is the time, x the distance, p the density, u the velocity, p the pressure and
E = p(t + u 2 /2) is the total energy (e is the specific internal energy).
In order to close the system of equations (4.1), the pressure p must be specified through
a constitutive equation, the EOS, which characterizes the fluid material. Notice that, the
dynamical behavior of a fluid is significantly affected by the properties of p (see [14]).
Real fluid
e = e(v,s), (4.4)
called the complete equation of state, expressing the internal energy as a function of the
specific volume v — \/p (p is the density) and the specific entropy s. Physical principles of
thtrmodynamics require the equation of state (4.4) to satisfy certain convexity constraints
ant; to have appropriate asymptotic properties. The constraints are expressed in terms of
various derivatives of e. For the fluids considered here (pure phases), the thermodynamic
92
constraints on the domain of definition and the asymptotic conditions are satisfied (see
[14] for more details).
Thermodynamic stability requires only that 7 > 0, but the strict hyperbolicity of (4.1)
requires strict positivity of 7 i.e.: 7 > 0 (see below). For many materials and in particular
for gas/steam and water, 7 > 1 (see figure (4.2)), away from phase transitions. Here, we
restrict ourselves to pure phases (gas/steam or water), for phase transitions, see chapter
5.
The model for fluid flow considered here, writen in the form (4.1) neglects viscosity,
heat conduction, and radiation. As a result, the dynamics require only partial specification
of the thermodynamics of the material, as contained in an incomplete equation of state.
In other words, only a relation of the form
p = p(v,e), (4.8)
is needed. From equation (4.8), one can also compute the adiabatic exponent. Indeed
d ., . d ,, . de d ., .
P
dv |e de
Therefore we get:
. _ v dp _ v (dp dp
7
~ ~"p"d~o\s ~~p \lh\e ~ P fc|,
Consider now the system of conservation laws (4.1), where the pressure is given by
the incomplete equation of state (4.8). If we set W = (p,u,e), the system of equations
(4.1) can be written in the following form
d
93
Expressed in nonconservation form, the system (4.10) reads
c2 = v2(ppe-pv). (4.14)
By setting v = l/p and from the relation settled in (4.9), we can derive the relation
c2 = _v2dj> = dp
dv\s dp
we find again the classical definition of the sound speed which says that: c2 is the derivative
of pressure with respect to density at constant entropy. From (4.7) and (4.15) we obtain
c2 = _J_|p =jp
p1 OV\s p
The adiabatic exponent 7 is now seen to be a dimensionless measure of the sound speed c.
Ideal gas
For an ideal gas, pv and e are independent of v at fixed T, according to the experiments
of Boyle and of Joule-Thompson. The internal energy is a function of temperature alone,
e = e(T), and pv is related to T by the ideal gas law,
pv = RT, (4.17)
where R is a constant. A polytropic gas is an ideal gas for which the specific heats at
constant volume and pressure, i.e., cv and cp are constant. In this case, we have
e = cvT, (4.18)
94
and
h = cpT, (4.19)
cp - c = R, (4.20)
p=(7-l)ep, (4.21)
s = cJogiTv"1'1)) + const
= cvlog{—)1 + const.
P"
Thus, the pressure can be expressed as a function of entropy s and density p,
p=Kealc*p">, (4.22)
where K is some constant. In addition, the sound speed in the gas (polytropic gas) is given
by
Remark 4.1 It should be emphasized, however, that the adiabatic exponent 7 is not the
ratio of specific heats 7 for a general equation of state.
Let us return to the real fluid case. In analogy with the special case of a polytropic
gas (4.21), we define a dimensionless quantity 7 by
7(p,e)=l + ^. (4.24)
Recall that, for polytropic gases, the ratio of specific heats 7 is equal to the adiabatic
exponent 7.
The quantities 7 defined in (4.24) and 7 defined in (4.16) were used by several authors
([1], [13], [15]) for the construction of approximate solution algorithms for the Riemann
problem for real gases. Here, these two quantities will be used also for the Riemann problem
for pure water.
In numerical calculations of fluid flow, the EOS can be specified by an analytical formula,
an empirical fit, or a table. As far as we are concerned, the thermodynamic properties of
95
the fluid are given by a table [19]. Notice that, in this table, the input thermodynamic
variables can be choosen only among the following three pairs (p, h), {p,T) and (p,s).
Before presenting our Riemann solver, we indicate that these two quantities satisfy
on the set of regions in pressure and temperature which covers the physical range of
interest. The temperature and the pressure ranges are respectively 5 to 526°C and 0.00871
to 400 bar. Figures 4.1 and 4.2 show the distribution of the variables 7 and 7 in the p-T
plane (pressure-temperature) for the liquid region. We see that 7 can be very large.
4e+07
3.5e+07
3e+07
2.5e+07
100 1J (Pa)
200 1e+07
300 5e+06
Temperature (Celsius) 400
500
The kinetic scheme we will attempt to constuct here, is an extension of the Kaniel scheme
[11] (derived for isentropic ideal gas) to non-isentropic real fluids (for another extention,
see [24]).
In order to approximate the system of equations (4.1), we consider the linear kinetic equa-
tions (Boltzmann equations) with appropriate initial data, which modelize the transport
of equilibrium functions whose the moments are first order approximations in time of the
solutions of (4.1). This formalism is then used to build a first-order explicit scheme of Flux
Vector Splitting type (FVS).
96
4e+07
3.5e+07
3e+07
2.56+07
2e+07
100 LSe+OPressure (Pa)
200
300 1e+07
5e+06
Temperature (Celsius) 400 500
Figure 4.2: Variations of the adiabatic exponent 7 in the liquid region (water).
and
p"(x) = (7n(x)-l)pn(x)en(x),
we define the associated "equilibrium functions" as:
pn(x) v - un(x)
P(x,v) =
7n(a;) - 1 cn(x) cn{x)
(4.26)
gn{x,v) =
where
(4.27)
97
Note on the one hand that thanks to the bounds (4.25) // defined in (4.27) remains noneg-
ative. On the other hand, since / n (.,.) is compactly supported, for 7 > 1, /"(.,.) and its
moments are integrable and so is gn(.,.).
The support of these two functions is built in such a way that, the velocity v is bounded
by the propagation velocities of the physical sound waves, u — c < v < u + c. It is easy to
check that, the integration with respect to v of the functions defined above gives
and I (4.31)
{ g(x,v,tn)=gn(x,v)
Lemma 4.1 Let At be a small time step and t € [tn,tn + At]. The following quantities
p{x,i) = f{x,v,t)dv,
J In
pu{x,t) = /' vf{x,v,t)dv, (4.32)
J In
E(x,t) -
Proof
98
with t >tn and x 6 JR. Un(x) is assumed to be smooth. The first order accurate Taylor
expansions in time for p{x,t), pu(x,t) and E(x,t)) in the neighborhood of {x,tn) are:
p(x,t) = p{x,tn)-At—pu(x,tn)+O(At2),
pu(x,t) = ^
To prove lemma 4.1, it suffies to show that the time expansions of the approximate
solutions (4.32) differ from those of the exact solution by O(At2). Indeed we write
POM) = Jmf(x,v,t)dv
m Q
and
pu(x,t) = / vf(x,v,t)dv
JIR
And finally,
E(x,t) =
O{At2)
99
after some tedious calculations we obtain
E(x,t) = E(x,tn)-At+
Ox
This completes the proof.
By using lemma 4.1 and the finite-volume method, we will build a first-order flux splitting
scheme for the system of conservation laws (4.1). The spacial domain is divided into cells
denoted by Kj =]z,-_i/2.#j+i/2[> where Xj+1/2 = {j + 1/2)Ax with j e 2Z, and Ax is the
mesh width. Assume that the initial state Un(x) — U(x,tn) is a piecewise constant over
the cells Kj i.e.,
We wish to compute the average denoted by C/"+1 of U(x,tn+l) over the cells Kj at time
tn+1 =tn + At,
The expression for updating cell averages of the conserved quantities can be written as,
At
'~~ -J7-1/2). (4-36)
Proof
100
this gives
r
t-1/2
K"2. y)
+ (0,0, v)T{g(xj+1/2, v, t) - g(xj_1/2, v, t))]
Using lemma 4.1 and the exact solutions of (4.31) we get
-9n{xj.1/2-v(t-tn),v))]dvdt. (4.41)
Since the functions /"(.,.) and gn(.,.) given in (4.26) have a bounded support, the
u-integration is reduced therefore to those such that \v — u\ < c, i.e. |u|(t-t n ) <
and by the C.F.L. condition we have |u|(t— tn) < Ax i.e.
x
j±i/2 - Ax < xj±l/2 - v(t - tn) < xj±1/2 + Ax.
Thus the expressions of /"(.,.) and gn(.,.) involved in (4.41) reduce to
fn(xj+1/2-v(t-tn),v) =
fn(xj+1,v) ifv
and
gn{xj>v) if v > 0
gn{xj+1,v) ifv<0
where
3-i
V- UT
1 Pi (4.42)
T" — 1 c" v-un I
101
and
(4.43)
The functions / n (x ; _i/2 — v(t — tn),v) and 5n(Xj_i/2 - v(t — tn),v) are obtained in the
same way.
By setting
-I h(U^v)dv- f h(U?,v)dv]
J
Jv>0 Jv<0
At
F+(U) = , (4.45)
(4.47)
h = e+p/p, (4.49)
p = f(p,h). (4.50)
The problem now consists in finding the pair (p, h). By using the relation (4.49), the
problem is reduced to finding the enthalpy h satisfying
p = f(p(h-e),h). (4.51)
This leads to a nonlinear equation on the enthalpy. It is solved by using the iterative
algorithm of Newton-Raphson.
We have choosen the enthalpy h rather than pressure p to solve the equation (4.50),
because the density is virtually insensitive to pressure variations in one-phase regions.
The computation of the other variables is now straightforward: the pressure is obtained
from (4.49), the sound speed is given by [19], and the nondimensional quantities 7 and 7
follow thanks to (4.24) and (4.16).
Theorem 4.1 Suppose that, 1 < 7 < 3 and 1 < 7. If p] > 0 and e] > 0 for all j <E Z,
then p]+1 > 0 and e" +1 > 0 for all j € Z, and the scheme (4.38) is L1 stable.
Proof. To prove this theorem, we follow the ideas of Perthame developed in [17].
The hypothesis of theorem 4.1 implies that fn{x,v) > 0 and gn(x,v) > 0 (see (4.26)). As
an outcome, the solutions of (4.31) are positive, i.e. /(x,u,£) > 0 and g(x,v,t) > 0 for
t > tn.
Using lemma 4.1, we have
[ f(x,vX+1)dvdx > 0,
En+l — i(u Lï
103
* ïr +1/a L5((«'-«r l ) a +(«r l ) 2 + 2 «r l (»-«r i
and hence e" +1 > 0.
Our next concern will be the L1 stability of the scheme. Since the scheme is conser-
vative, we have
h
= £ \PT\ =
\\E(x,tn+1)\\LHlR) = h £ |E; +1 | = ft £ £; + 1 = ft £ £7 =
J6^ jtZ jtZ
For quality assurance, the scheme is first tested on two classical problems for the ideal gas.
In the first two cases, we set 7 = 1.4 and 7 = 3 which correspond to the maximum speed
of sound in the gas. Next, a Riemann problem for pure water is investigated. In this later
case , the values of the state equation are obtained using a thermodynamic table given in
reference [19].
All the numerical computations were done with a uniform grid, and the number of dis-
cretization cells is 200.
Test case 1: Sod shock tube. The initial data is given by the following table:
104
e P u
2.5 1. 0.
UR 2. 0.125 0.
The length of the tube is 1. The initial discontinuity is located at the point x — 0.45.
Figures 4.3-4.6 show the results for the solution at time t = 0.25.
Test case 2: Lax shock tube. The initial data is given by the following table:
V P u
L
U 3.528 0.445 0.698
UR 0.571 0.5 0.
For this test also, the length of the tube is 1, but the initial discontinuity is now located
at i = 0.5. The final time is t = 0.16. The figures 4.7-4.10 give the corresponding results.
We refer the reader to [17] for a comparaison of the results obtained for these two test
cases.
Test case 3: we consider now a shock tube problem for pure water. The left and
right states are defined by the following table:
105
0.1 02 0.3 0.4 0.5 0.6 0.7 0.8 0.9
106
0.1 02 0.3 0.4 0.5 0.6 0.7 0.8 0.9
107
s
a.
•02
0.1 02 0.3 0.4 0.5 0.6 0.7 0.8 0.9
108
0.1 02 0.3 0.4 0.5 0.6 0.7 0.8 0.9
2>
tu
109
4.56+07
110
0.1 02 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
145000
140000 -
135000
130000
125000
120000
115000
110000 •
105000
0.1 02 0.3 0.4 0.5 0.6 0.7 0.8 0.9
Ill
1.35
1.25 •
1.15 -
1.05
7000
6000 -
5000
4000 •
3000
2000
1000
112
Bibliographie
[1] P H . COLELLA& H. M. GLAZ, Efficient Solution Algorithms for the Riemann Problem
for Real Gases, J. Comput. Phys., 59, 264-289, 1985.
[2] C. H. CoOKE & T.-J. CHEN, On shock capturing for pure water with general equation
of state, Communications in Applied Numerical Methods, Vol 8, p. 219-233, 1992.
[5] P. GLAISTER, An Approximate linearised Riemann Solver for the Euler Equations
for Real Gases, J. Comput. Phys., 74, 382-408, 1988.
[6] E. GODLEWSKI & P.-A. RAVIART, Hyperbolic systems of conservation laws, Ellipses,
Mathématiques & applications, vol. 3/4, 1990.
[7] E. GODLEWSKI & P.-A. RAVIART, Numerical approximation of hyperbolic systems
of conservation laws, AMS 118, Springer-Verlag, New-York, 1996.
[8] A. HARTEN, P.D. LAX & B. VAN LEER, On Upstream Differencing and Godunov-
type Schemes for Hyperbolic Conservation Laws, SIAM Review, Vol 25, n° 1, pp.
35-61, 1983.
[9] D.L. HICKS, hyperbolic models for Two Phase (or Two Material) Flow., Sandia Na-
tional Laboratories. SAND81 0253. 1981.
[10] R. HOLL, Wellenfokussierung in Fluiden, Ph. D. Dissertation, Technishen Hochschule
Aachen, West Germany, 1982.
[11] S. KANIEL, A Kinetic Model for the Compressible Flow equations, Indiana University
Mathematics Journal, Vol. 37, N° 3, p. 537-563, 1988.
[12] R.J. LEVEQUE, Numerical methods for conservation laws, Birkhàuser, Bale, 1990,
Lecture Notes in Mathematics.
113
[13] M. S. Liou, B. VAN LEER & J. S. SHUEN, Splitting of Inviscid Fluxes for Real
Gases, J. Comput. Phys., 87, 1-24, 1988.
[14] R. MENIKOFF & B. J. PLOHR The Riemann problem for fluid flow of real materials,
Reviews of Modern Physics, Vol. 61, TV" 1, p. 75-130, January 1989.
[15] J.-L. MONTAGNE, H. C. YEE k M. VINOKUR Comparaison study of high-resolution
shock-capturing schemes for real gas, NASA Technical Memorandum 100 004, July
1987, Ames Research center, Moffett Field, California.
[16] S. OsHER h E. TADMOR, On the convergence of difference approximations to scalar
conservation laws , Math. Comp., Vol 181, pp. 19-51, 1988.
[17] B. PERTHAME, Second-order Boltzmann schemes for compressible Euler equations
in one and two space dimensions, SIAM J. Numer. Anal., Vol.29, n° 1, pp. 1-19,
February 1992.
[18] V.H. RANSOM & D.L. HICKS, Hyperbolic Two-Pressure Models for Two-Phase Flow,
J. Comput. Phys., 53, 124-151, 1984.
[19] P. RASCLE & O. MORVANT, THETIS : Calcul par interpolation des fonctions ther-
modynamiques de fluides diphasiques, EDF HT-13/94/014, 1994.
[20] P.L. ROE, Approximate Riemann Solvers, Parameter Vectors, and Difference
Schemes, J. Comput. Phys., 43, 357-372, 1981.
[21] S. SRINIVASAN, J. C. TANNEHILL & K. J. WEILMUENSTER, Simplified Curve Fits
for the Thermodynamic Properties of Equilibrium Air, NASA R. P. n° 1181, août,
1987.
[22] H.B. STEWART & B. WENDROFF, Two-Phase Flow: Models and Methods, J. Comput.
Phys., 56, 363-409, 1984.
[23] I. TOUMI, A Weak Formulation of Roe's Approximate Riemann Solver, J. Comput.
Phys., 102, 360-373, 1992.
[24] A. ZELMANSE, Formulation cinétique et schémas de Boltzmann pour le calcul
numérique en mécanique des fluides, Thèse de Doctorat de l'Université Paris XIII,
1995.
114
Chapitre 5
115
!®f t
AN UPWIND NUMERICAL METHOD FOR NON-EQUILIBRIUM
TWO-PHASE FLOWS
In most practical situations, the flow field and the topographical distribution of the phases
must be described using average properties. Indeed, the presence of the interfaces separat-
ing the phases and the interfacial exchange of mass, momentum, and energy, complicate
considerably the analysis of two-phase flow in comparison to single-phase flows. An exact
formulation of two-phase flow problem would have required the description of the evolution
in time and space of the fields of each phase, together with a prediction of the geometry
of the interfaces. Such an approach is totaly impractical, except in some relatively simple
situations, such as the case of horizontal stratified flow.
In the general case of two-fluid nonequilibrium models, the flow fields of the two
phases and the exchanges occuring at the interfaces are explicitly taken into consideration.
Proper averaging of the local instantaneous conservation equations ([6], [19], . . . ) yields
two sets of phase conservation equations (one for each phase) in terms of phase-average
properties and balance equations that describe what happens at the interface (interfacial
exchange of mass, momentum and energy). The dynamic of interactions between the two
phases are fully described by laws governing the interfacial mass, momentum and energy
exchanges. This approach results in the so-called "six-equation models". No assumptions
are made in this case regarding, for example, thermal equilibrium or the velocity ratio.
Various models dealt with fewer equations and the choice between the various alternatives
depends primarily on the nature of the problem to be solved. For example, by forcing one
of the phases or both to remain saturated, or by assuming equal average phase velocities,
the number of conservation equations is correspondingly reduced. In this case, we end up
with four or five equation models. In the case of the mixture models, the existence of
interfacial exchages is not explicitly considered; the evolution of the mixture is a priori
specified using relationships linking the behaviour of variables such as the void fraction
and the departures from thermal equilibrium of the phases to local variables such as the
pressure. In this case, only three mixture conservation equations are needed. The simplest
possible mixture model is the homogeneous-equilibrium model (in which the phases are
intimately mixed), in this later, equal phase velocities and thermal equilibrium between
the phases are assumed. The full six-equation model might be needed, for example, for
establishing the critical flow condition or for calculating the evolution of the mixture during
a fast transient during which strong departures from equilibrium are expected to occur.
117
Detailed descriptions of two-phase models were published by several authors: Delhaye [6],
Ishii [16] etc. The working set of one-dimensional two-fluid conservation equations that
is given below, is similar to the sets used in the modern codes for the analysis of Light
Water Reactors (LWR) under off-normal and accident conditions and constitutes a rather
complex set of six coupled partial differential equations. The solution of this set requires
external specification of several laws governing the exchanges between the phases and
between the phases and the wall.
The two-fluid nonequilibrium model consists of individual mass, momentum and energy
conservation equations for both the liquid and vapor/gas phase. The interfacial and wall
transfer terms appear in the field equations as source terms. In one-dimension, this model
can be written under the following form,
dt(avpv) + dx(avpvuv) = r v ,
uv2 p uv2
dt(avpv(ev + -=-)) + dx(avpv(ev -\ 1- -~-)uv) + pdtav =
2 pv 2
2 2
• T ) ) + «r(a/Pi(e/ + - + - j
In these equations, the v and / subscripts refer to the vapor and liquid phases, re-
spectively. The variables appearing in the above conservation equations have the following
meanings:
118
Qfe = volume fraction of k-phase,
p = the common pressure,
Pi = interfacial pressure,
Pk = density of k-phase,
Uk = velocity of k-phase,
ejt = specific internal energy of k-phase,
hik = enthalpy of k-phase at the interface,
Uik = velocity of k-phase at the interface,
g = force of gravity.
The source terms Tk, Mj^, Mwk, qik and qwk are the mass transfer rate at the interface,
interfacial friction (drag force), wall friction, interfacial heat transfer and the wall heat
transfer into phase k respectively. Here we have assumed gravity to be the only external
body force acting. In order that mass, momentum and energy be conserved at the interface
between phases, the following relations must hold:
r
* = o. (5-3)
k=v,l
MPk=0, (5.4)
In order to close the system of equations (5.1), additional relationships are needed. We
refer to these relationships as constitutive equations. These equations generally specify
how the materials (i.e., phases) interact with themselves and with each other. A general
form for each of these equations is given below; specific forms and assumptions used in
our computations are also presented.
Constitutive equations
The first of these constitutive equations are the equations of state: for the moment, we
assume that a relationship giving the vapor (respectively the liquid) density as a function
of pressure and the vapor (respectively the liquid) specific enthalpy is available:
Pk = Pk{p,hk). (5.6)
These relations are given by thermodynamic table [26]. In practice, these are usually
approached by explicit equations (see section 5.3).
119
In this paper, thermal and mechanical non-equilibrium between the phases and the
processes involving interfacial mass and energy exchanges and interfacial friction will be of
interest. The interphase mass transfer term F describes the net transfer of mass from one
phase to the other. The most important basic physical processes by which this can occur
are condensation and boiling, (while flashing, i.e., vapor generation solely as the result of a
reduction in system pressure, can be considered as a special type of boiling). The processes
of condensation and boiling require that heat be transferred between phases; hence the
mass transfer rate can be computed by dividing the energy transfer that goes into the mass
exchange by the heat of vaporization. The coupling between the mass and heat transfer
processes suggest that the driving potential for both mass and energy transfer must be
related to the degree of thermal nonequilibrium. Thus, we set the following algebraic
relationships:
i- Tv),
qu = Ha(Ti - 7}),
Hiv and Hu are the heat transfer coefficients from the interface. These coefficients can
be written under the form Hik — <Xv<*iPkCpk/tik where cpk is the specific heat at constant
pressure of phase k and tj£ can be considered to be a rate constant for the interfacial
heat transfer process. Models of any desired degree of complexity can be constructed by
appropriate calculations of Uk. In our case, we have assumed *,-* = constant. Replace
cpk(Ti — Tk) by hik — hk, the resulting form for qik is
qik = avaipk(hik - hk)/tik. (5.7)
This form was chosen not because of any expected physical validity, although it should be
adequate as a rough approximation, but because of its simplicity.
The interfacial heat fluxes and the mass exchange rates Tk are usually linked through the
following thermal energy jump condition
r, = -f^±fL, (5.9)
«i "il
i.e., the vapor source term in the vapor continuity equation (Tv) is equal to the heat
transfer out of the liquid divided by the latent heat of vaporisation.
120
the interface enthalpies are taken to have the saturation values of the phase in question,
hik = h$k(p),
U{ = avv,[ + cniuv.
All these assumptions are open to question, but are simplest to make at this time.
In two-fluid modeling each phase may have an indépendant velocity and, in fact,
may move in opposite directions from each other (countercurrent flow). The interphase
momentum transfer during this process is the result of the forces exerted on the phases
by each other. The forces can be considered as two basic components: i) the friction force
between phases M $ which is similar to the friction between the individual phases and
the wall and ii) the interference between the two phases. The second (transient) category
accounts for the fact that both phases are in contact with each other and when one phase
moves the other phase must be displaced; it is commonly called the "virtual mass force"
M?k (see chapter 2) and will not be considered in the next. Both components of the
interphase momentum transfer tend to reduce the slip between the phases, for most real
and transient applications. The general expression for M-% is given in chapter 2, here we
have used the following expression
Now, it remains to give an explicit form for the wall transfer terms. For qwk we use
Qwk — <*kQw where qw is given as a function of x, this simplified model neglects the heat
content of the wall. For the frictional terms Mwk, we use Mwk = —FwkakpkUk, Fwk is a
frictional coefficient at the wall.
To solve the system of equations (5.1), we will use the splitting method introduced in
chapter 3. We now give a brief outline of the method and the advantages it offers for
the numerical approximation. First, we split the system of equations into two "fractional
steps" or two stages. In the first step, we solve simultaneously two systems of equations
121
which look like those of the quasi-lD nozzle problem with source terms and in the second
step, we solve one system of ordinary differential equations (O.D.E.) in order to take into
account the coupling of the two phases.
In this step, we solve the two following systems, one for each phase k (k = v, I):
dt(mk) + dx{mkuk) = 0,
where
mk = akpk,
u2
Ek ~ akpk{ek + •—),
Pk = <xkpk.
As in chapter 3, we will use an explicit method to discretize these two systems. This
lead to two uncoupled problems which may be solved separately. Recall also that, since
the two systems evolve independently, the phasic pressures obtained from this step may
have different values. In the next, the algebraic terms in the right-hand side (gravity forces
and exchange terms between the phases and the wall) will be ignored. In practice, these
terms are treated explicitly. The remaining systems to be solved are now
where Uk = {mk, mkuk, Ek)T, F{Uk) = (mkuk,mkul + pk, (Ek + pk)uk)T and H(Uk) -
(0,pidxak,0)T, k = v,l.
In this step, we tie the two sets of equations of the first step using the fact that
the pressure of the two phases are the same (pv = pi), and we solve the following coupled
122
system with interfacial exchange terms.
dt{mvuv) = rvUi
dtEv = -pdtav +
(5.13)
dtmt = Ti,
This is a splitting which reduces the resolution of the full system (5.1) to classical
hydrodynamics (5.11) with source terms, and a problem (5.13) of ordinary differential
equations.
The problems (5.12) will be solved using the same methods, so we skip the index k. The
system to be considered writes now
ÔU dF(U)
(5.14)
where
and
Y
p = ap.
123
use of an equivalent 7 for real gases. In our case, we will use the same strategy for the two
phases i.e. vapor and liquid.
As in the ideal gas, we define
7=^, (5.15)
h is the specific enthalpy. Combining this with the definition h — e + p/p gives
This is identical in form to the EOS of the ideal gas, but now we have 7 = 7(p,e).
In terms of the variables involved in our system we have
p=(7-l)me. (5.17)
y = -V-(9/) = P
-c\ (5.19)
p \dvj3 p
where v = l/p, is the specific volume, 5 is the specific entropy and c = (dp/dp)l is the
speed of sound. The variable 7 is seen to be a dimensionless measure of the sound speed,
and it will be employed for the contruction of the numerical scheme. For most materials,
To dicretize the system (5.14), we use an explicit upwind scheme based on finite-
volume method. Let Ax denote the mesh width and At the time step, we set tn = nAt,
n € W; Xj— jAx and ij_i/2 = {j - l/2)Ax, j e 7Z\ and a = At/Ax.
Assume that, at time tn, we know f/j1, an approximation to the average of the
solution U to (5.14) at time tn across the cell ]ij_i/2i x j+i/2[- Hence f/"+1, defined in the
same way as U? but at time tn+1 = tn + At is given by
with
124
This flux can be obtained through the approximate Riemann solvers developped for the
numerical solution of real gas. Here, we have used the kinetic solver introduced in chapter
4. To compute the flux F?, t ,2, it suffices to replace the density p by the partial density m
and the pressure p by the partial pressure p. The flux writes then
(5.22)
where
F+ = (5.25)
d dy-d +
where B — max(min(—u/c, 1), —1).
The flux F~ is obtained by replacing " + " by " - " in the expression (5.23). FJ are defined
by
F~
d = (5.26)
dj-d +2
In this chapter, we consider only the case p,- ^ p and write Pidxa in (5.11) (see (5.1))
as
Pidxa = {p-(p- Pi))dxa. (5.27)
The expression of (p - p.) (see chapters 2 and 3) is given by:
p-Pi = Pv{uv-ui)2, (5.28)
Next, it remains to discretize (5.27). The quantities appearing in (5.27) will be taken
at time tn and its discretized form is given by the following centered formula
1
( \
The quantities computed from this step will be denoted by m£ +1 , {m.kUk)n+1^2 and
125
5.3.2 Discretization of the second step
Now, we are left with the task of discretizing the following system
dt(mvuv) = Mvi,
dtEv — —pdtav +
(5.30)
dt{miui) = Mu,
where, for k = v, I,
Mki= %
Eki = Tk(hsk + u?
For simplicity, we drop the index j through out this subsection since the computations
are performed cell by cell. Since the correlations describing interfacial transport processes
have often very small time constants, the source terms require a strictly implicit treatment.
The discretised system associated to (5.30) is then
m7vlT1 - " + 1 = 0,
n+1 1
{mvuv) - = 0,
1
^ = 0,
(5.31)
= 0,
= 0,
The motivation for the discretization of the terms pdtak in the energy equations is given
in chapter 3.
126
In the system of equations (5.31), replacing rrik and Ek by their respective expres-
sions (defined above), ejt by hk — p/pk in the energy equations, and adding the relation
av + Q/ = 1 we obtain:
- mnv+1/2 = 0,
{avPvuvy+l - {mvuv)n+ll* - = 0,
= 0,
(5.32)
= 0,
= 0,
= 0.
where fc^
From the principle of conservation at the interface between phases we have:
pn+l _ _pn+l
+ =
The relaxation time constants t,jt (k — v,l) are assumed to have the same value
Uv = Ul = 0.005 sec. When written in these form, the interfacial exchange terms are
implicit enough to be stable.
Since we deal with nonanalytic equations of state, the conservative variables are not
chosen as fundamental unknowns to solve the nonlinear system of equations (5.32). For this
reason, the vector of fundamental unknowns is composed with elementary variables. The
appropriate fundamental unknowns are (a v ,u v ,/i v ,p, aj, u/,/i/). Notice that, the solution
method remain conservative.
127
The variables pk appearing in the conservative variables and the expression of the
interfacial terms (see above) are eliminated by using the constitutive equations, these are
obtained from a thermodynamic table [26] as functions of {hk,p). Densities were not chosen
as fundamental unknowns because these are not input variables in thermodynamic table
and this because the pressure equation of state is a very sensitive function of the density
for an all-liquid system (see figure 5.1). Thus, if density were a fundamental unknown
small errors in the density would produce large errors in pressure. This would lead to a
less stable algorithm.
Notice that, the thermodynamic table from reference [26] is specifically designed
for efficiently computing one or two-phase flows in thermodynamic equilibrium. Moreover,
in two-phase region the equation of state (see figure 5.1) gives only the density of the
mixture as a function of the pressure and the specific enthaly of the mixture. Now, six-
equation two-fluid models require an equation of state for each phase. However, in a
thermodynamic nonequilibrium flow (superheated liquid or/and supercooled vapor) the
enthalpies may lies outside the pure phase regions (see figure (5.2)). In this case, the
equations of state corresponding to each pure phase are simply extended by extrapolation
across the saturation boundary (physically corresponding to a supersaturated metastable
phase), and so the densities are computed. The saturated enthalpies as function of the
pressure are given by [26].
In the case where interfacial exchange terms are neglected, the system (5.32) reads
(<*vPvK)n+1 + (a v p v = 0.
+1
a; + a?+1 - 1 = 0, (5.33)
(a//>/u,) n+1 =
(a,M<)n+1 + = 0.
The solution of this nonlinear system reduce to the one of a nonlinear equation as we shall
see below. From (5.33.1, 5.33.2) and (5.33.5, 5.33.6) we deduce the velocities,
{mvuv) n+l/2
(5.34)
l
128
500000
1e+06
1.5e+06
ilpy(J/Kg)
4e+0
3.5e+07
1e+07
Pressure (Pa) 5e+O6
IT
Press
critical point
CL
1
saturated vapor boundary
saturated liquid boundary
y
Two-phase \ Vapor region
Liquid region /
region
h (Enthalpy)
129
and
l =
Next, using the energy equations gives the enthalpies as functions of the pressure,
(5-36)
and
l=ff(p n + 1 ), (5.38)
and
Since we will use an iterative method to solve the problem, it is convenient to work with
nondimensional equations. For this reason, we consider the equation (5.33.4). The volume
fractions are obtained from the mass equations
(5.40)
g{pn+1Y
and
where the subscript i indicate successive iterative approximations. The derivative /'(pf
at the point p " + 1 is given by
1 + (5 44)
« W ) ) ] V^PbK^PIpr^j ' '
130
with
-1
and
n+l/2 -1
The partial derivatives above are computed at the points (p" +1 , ^£ +1 (p" +1 )) (f° rfc= u,/)
and are obtained from the table in reference [26]. The starting point is simply chosen
among p", p"_ 1 or p" + 1 where j and n refers respectively to the cell j and time tn.
We now return to (5.32). This nonlinear system can be written in the form:
F(X) = 0, (5.45)
with
X = (Q V , UV, hv, p, ai,ui, hi), (5.46)
and
(5.47)
Since we deal with a stiff problem, the components of X and F(X) are first scaled by
their typical values. The resulting system is then solved using a globally convergent
method based on an iterative Newton-Raphson algorithm (see [7]). The Jacobian matrix
dF(X)/dX is difficult to compute analytically, therefore we have used finite differences to
compute the partial derivatives.
From the components of X (5.46), the computation of all the other variables is
straightforward. Recall that, the speed of sound for each phase is given by c* = Ck{p,hk),
for k = v,l, and is obtained from thermodynamic table.
Test case 1: This test was proposed by Toumi in [34]. It consists of a two-phase shock
tube problem. The initial state is given by the following table:
131
The purpose is to compare the results obtained by two different schemes: the Lax-
Friedrichs and the proposed Kinetic schemes when used in the first step of our method.
As we can see in the Figures 5.3 and 5.4 the Lax-Friedrichs scheme has much more nu-
merical diffusion than the Kinetic one but the results obtained with the two schemes are
in reasonable agreement. These results can also be compared to those obtained by Toumi
[34] which use an approximate Riemann solver (the Roe one) on the full system.
At time zero, the pipe was blown down to atmospheric pressure. The fast depres-
surization results in a strong evaporation of the liquid phase "flashing". The void fraction
distribution along the pipe length at different times is shown in Figures 5.5 and 5.6. The
initial phase of the depressurization is characterized by the propagation of a rarefaction
wave from the opening into the pipe and its reflection at the closed end (see Figure 5.7).
When the steady-state is established (see Figure 5.8), the pressure in the pipe is equal
to the atmospheric pressure and all the thermodynamic variables have saturated values
(see for example the liquid density displayed in figure 5.11). Figures 5.9 and 5.10 show
the phasic velocities, we can remark that the liquid velocity is always below the velocity
of the vapor phase.
L-F scheme »
Kinetic scheme —
132
70
L-F scheme o
Kinetic scheme
60
SO
I .
-10
0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
distance (m)
Figure 5.4: Vapor velocity, comparaison between Lax-Fried richs and Kinetic schemes.
I = 0.004 s
I = 0.008 s
0.9 <=-OOT6 s
t = 0.062 s
0.8 t=jfc4s — - -
0.7
0.6
S
u 0.5
0.4
0.3
0.2
0.1
0
0.5 1 1.5 2 2.5 3 3.5
distance (m)
133
void traction
«me(s) 0.5
t«0.000s
t-0.002 s
1 = 0.004 s
7e+06 -••.. T^.U.UlbS
t»o!toos —
^-__ \ t-0.190s
6e+06 /" ~ —-^ -. t = 0.400 s "
\
\
5e+06 L
I 4e+06
\ \
38+06
--- _ \\v
2e+06 -
"A..^
1e+06 -
0
0.5 1.5 2 2.5 3.5
distance (m)
134
pressure
8e+06-
250
= 0.000 s
= 0.002 s - —
= 0.010 S
= 0.040 s
200 = 0.100 S /-
= 0.200 s — •/
= 0.300 S •••/•
t = 0.400 S -/•- /
150
I
100
2
S
50
-50
0.5 1.5 2 2.5 3.5
distance (m)
135
250
t = 0.000 s /
t = 0.002 S '
t = 0.010 s • ••-•/
\ = 0.040 s —*•
200 t = 0.100 s -•-'- -
t = 0.200 s ?—!
t = 0.300 S/'--••/
t « 0.400,4
y
-•••*
/
S /
150 .'•
y
J
!
y L
100
y'
/—-j.
50
-50
0.5 1.5 2 2.5 3.5
distance (m)
136
Bibliographie
[1] P H . COLELLA k H. M. GLAZ Efficient Solution Algorithms for the Riemann Problem
for Real Gases, J. Comput. Phys., 59, 264-289, 1985.
[5] J.A. BOURÉ, Les lois constitutives des modèles d'écoulements diphasiques monodi-
mensionnels, à deux fluides , Rapport CEA-R-4915, 1978.
[6] J.M. DELHAYE, Basic Equations for Two-phase Flow Modeling, Two-phase Flow
and Heat Transfer in the Power and Process Industries, A.E. BERGLES et ai, Eds.
Hemisphere Publishing, Washington, 1981.
[10] P. GLAISTER, An Approximate linearised Riemann Solver for the Euler Equations
for Real Gases, J. Comput. Phys., 74, 382-408, 1988.
[11] E. GODLEWSKI k P.-A. RAVIART, Hyperbolic systems of conservation laws, Ellipses,
Mathématiques k applications, vol. 3/4, 1990.
[12] E. GODLEWSKI k P.-A. RAVIART, Numerical approximation of hyperbolic systems
of conservation laws, AMS 118, Springer-Verlag, New-York, 1996.
137
[13] A. HARTEN, P.D. LAX & B. VAN LEER, On Upstream Differencing and Godunov-
type Schemes for Hyperbolic Conservation Laws, SIAM Review, Vol 25, n° 1, pp.
35-61, 1983.
[14] G.F. HEWITT, J.M. DELHAYE k N. ZuBER Multiphase Science and Technology,
Volume 5 Hemisphere Publishing Corporation, 1990.
[15] D.L. HICKS hyperbolic models for Two Phase (or Two Material) Flow., Sandia Na-
tional Laboratories. SAND81 0253. 1981.
[16] M. ISHII, Thermo-Fluid Dynamic Theory of Two-Phase Flow, Eyrolles, Paris, 1975.
[17] M. ISHII k K. MISHIMA, Two-Fluid Model and Hydrodynamic Constitutive Relations,
Nuclear Engineering and Design, 82, 107-126, 1984.
[18] M. ISHII k N. ZUBER, Relative Motion and Interfacial Drag Coefficient in Dispersed
Two-phase Flow of Bubbles, Drops and Particles, A. I. Ch. E. Journal,, vol 25,
843-855, 1979.
[19] R.T. LAHEY k D.A. DREW, The Three Dimensional Time-and Volume Averaged
Conservation Equations of Two-phase Flow, Advances in Nuclear Science and Tech-
nology, Vol.20, 1-69, 1988.
[20] M. S. Liou, B. VAN LEER k J. S. SHUEN Splitting of Inviscid Fluxes for Real Gases.
J. Comput. Phys., 87, 1-24, 1990.
[21] J.-L. MONTAGNE, H. C. YEE k M. VINOKUR Comparaison study of high-resolution
shock-capturing schemes for real gas, NASA Technical Memorandum 100 004, July
1987, Ames Research center, Moffett Field, California.
[22] S. OSHER k E. TADMOR, On the convergence of difference approximations to scalar
conservation laws , Math. Comp., Vol 181, pp. 19-51, 1988.
[23] V.H. RANSOM, Numerical Benchmark Tests, Multiphase Science and Technology,
Volume 3, Edited by G.F. HEWITT, J.M. DELHAY and N. ZUBER, Hemisphere,
1987.
[24] V H. RANSOM, Two-Phase Flows, Ecole d'été, Analyse Numérique, 12-13 Juin, 1989.
[25] V.H. RANSOM k D.L. HICKS, Hyperbolic Two-Pressure Models for Two-Phase Flow,
J. Comput. Phys., 53, 124-151, 1984.
[26] P. RASCLE k 0 . MORVANT, THETIS : Calcul par interpolation des fonctions ther-
modynamiques de fluides diphasiques, EDF HT-13/94/014, 1994.
[27] P.L. ROE, Approximate Riemann Solvers, Parameter Vectors, and Difference
Schemes, J. Comput. Phys., 43, 357-372, 1981.
[28] L. SAINSAULIEU, Contribution à la modélisation mathématique et numérique des
écoulements diphasiques constitués d'un nuage de particules dans un écoulement de
gaz, Thèse d'Habilitation à diriger des recherches, Université Paris VI , 1995.
138
[29] H. STADTKE k R. HOLTBECKER, Hyperbolic Model for Inhomogeneous Two-Phase
Flow, International Conference on Multiphase Flows, University of Tsukuba, Japan,
September 24-27, 1991.
[30] H. STADTKE k R. HOLTBECKER, Numerical Simulation of Two-phase Flow Based on
Hyperbolic Flow Equations, Sixth International Topical Meeting on Nuclear Reactor
Thermal Hydraulics, NURETH-6, October 5-8, 1993, Grenoble France.
[31] H.B. STEWART, Stability of Two-Phase Flow Calculation Using Two-Fluid Models,
J. Comput. Phys., 33, 259-270, 1979.
[32] H.B. STEWART k B. WENDROFF, Two-Phase Flow: Models and Methods, J. Comput.
Phys., 56, 363-409, 1984.
[33] I. TOUMI, A Weak Formulation of Roe's Approximate Riemann Solver, J. Comput.
Phys., 102, 360-373, 1992.
[34] I. TOUMI, An Upwind Numerical Method for a six Equation Two-Phase Flow Model,
Rapport DMT/94/168, SERMA/LETR/94/1619, C.E.A., 1994.
[35] J.A. TRAPP k R.A. RlEMKE, A Nearly-Implicit Hydrodynamic Numerical Scheme
for Two-phase Flows, J. Comput. Phys., 66, 62-82, 1986.
[36] G.B. WALLIS, One-dimensional Two-Phase Flow, McGraw Hill, New York, 1969.
139
SSIXT §»Aûë(S)
!®f t BLAHK
Chapitre 6
LE TRAITEMENT DES
CONDITIONS AUX LIMITES
141
M&WÏ g»A6E(S)
l®f t 1LA&8K
THE TREATMENT OF BOUNDARY CONDITIONS
6.1 Introduction
In preceding chapters, the basic equations associated with the two-fluid model were dis-
cussed. The solution of this set of equations has been attempted by different authors
applying a variety of numerical methods. One common problem hindring all this efforts
has been the existence of complex characteristics associated with the equation set. Indeed,
as it was seen previously, the two-fluid model is not hyperbolic for unequal phase veloc-
ities and, even for physically relevant expressions of the interfacial coupling between the
two phases including space and time derivatives of phasic physical quantities, it is only
conditionally hyperbolic. Theoretically, for quasi linear partial differential equations, the
existence of complex characteristics is supposed to imply that the basic equation set is not
well posed. This property has been recently associated with inconsistent treatment of the
interfacial exchange terms (the so-called, jump conditions) and the assumption that both
phases are at equal pressure.
Another numerical problem associated with the solution of this set of equations is the
proper treatment of the boundary conditions, i.e.: the required boundary conditions of
physical origin to be imposed (and their number), the specification of the remaining vari-
ables and, the formulation and discretization of these conditions. Due to the "wave-like"
nature of two-phase flows, if care is not taken, any boundary error propagates throughout
the computational domain and, in most cases, may result in a severe instability problem,
eventhough the integration scheme for the interior points is stable. Notice that the number
of boundary conditions may change during a transient.
Since we deal with problems characterized by propagation phenomena, the analysis of the
number and type of conditions at the boundaries is theoretically linked to the properties
of the characteristics. For complex two-fluid applications, the usual mathematical method
of defining the correct number of boundary conditions is by analysing the direction of the
emanating characteristics.
In this chapter, we will give a detailed discussion of the boundary treatment for
the two-fluid model, when it is solved by the splitting method described in the previous
chapters (3 and 5). This method in some extent bypasses the possible lack of real charac-
teristics and in general allows for a convenient and rather simple handling of the problem.
Indeed, the method proposed in preceding chapters and upon which the analysis of the
boundary conditions is developed below, does not require the hyperbolicity of the global
system. One of its advantages is the ease with which boundary conditions can be derived
143
and implemented, based on the physics of the problem, without being concerned with the
complicated structure of the original system.
Let us recall the splitting method introduced for approximating the two-fluid model (see
chapters 3 and 5 for the notations).
In the first stage, we solve two uncoupled systems, one for each phase k (k = u,/):
{ dt{mk) + dx{mkuk) = 0,
where
mk = akpk,
u2
Ek =QkPk(
Pk = <xkpk,
and in the second stage, we solve one system of ordinary differential equations (ODE).
The second step is not concerned with the treatment of the boundary conditions, since it
involves only time derivatives.
From now on, we ignore the right-hand side. These two systems reduce to
where
144
and
u\
p = ap.
The set of equations (6.3) is solved in a finite domain 0 < x < L, where we shall
always assume that x = 0 is the inflow boundary and x — L the outflow boundary. The
problem is an initial boundary value problem, because both initial data in the region
0 < x < L and the boundary conditions at x = 0, L are needed. Notice that, for most hy-
drodynamics problems, it is well known that a state U(t) can not be completely prescribed
at a given boundary as we shall see below.
We will consider that the space interval [0, L] is divided into JV volumes of length
Ax. The finite-volume approach of the system (6.3) is given by (see previous chapters)
i) For the case of a solid wall boundary, we use the well known notion of a "mirror
state" of the states defined at the extreme cells of the computational domain and hence,
the flux at the boundary is defined from the state at the cell edging the boundary and its
mirror state. For example, if the inflow boundary is a solid wall, we shall define below a
mirror state UQ of the state in the first cell £7" and, the flux across the boundary is given
by:
ii) In the case of a free field boundary, we use the approach developped by Dubois-Le
Floch [2], [3] and which consists in the computation of a boundary state Ub obtained by
145
the solution of a partial Riemann problem (see below) and the flux across the boundary
(we consider only the inflow boundary) is given by:
In order to compute the numerical boundary state Ub, recall that in usual fluid dynamics,
four cases should be analyzed from a physical point of view (see [2], [3], [4]):
Subsonic outflow. The static pressure is given. Ub is the unique state which can be
connected to the interior state by a 1-wave.
Here, for numerical purposes, the above mentionned 1- and 3-waves are always approxi-
mated using rarefaction-compression waves. This allows for the use of associated Riemann
invariants.
We will now discuss the different situations encountered in two-phase flow for a given
boundary (inflow or outflow), and the problems connected with the implementation of the
boundary conditions. Notice on the one hand that, in two-phase flow problems, it appears
that for physical reasons, the void fraction can be imposed only at inflow boundaries,
but not at outflow boundaries (see Wulff [8] pp. 85-238). This is an important point to
keep in mind. On the other hand, since the systems of equations considered here are
solved in conservation form, the boundary conditions have to be expressed as a function
of conservative variables, whose expressions involve the volume fractions.
The physical boundary conditions are derived in many cases from experimental set-ups
and are given in terms of phasic measurable quantities such as the primitive variables pk,
Uk, Pk- Hence, additional data or assumptions on the void fraction of physical origin have
to be added in order to define completely the numerical problem.
146
H (6.8)
dt
assume now that both phases are described by an equation of state of ideal gas type
U ^ ^ ^ ^ \ , (6.11)
and the Jacobian matrix A(Uk) = dF(Uk) of the system (6.8) is given by
0 1 0
Çk
A(Uk) = (3-7*)
mi mk
-(7*-1)4
where
Ajt,2 = «it»
where ck = \Z{ykp~k)/mk is some numerical local speed of sound. One can remark that
ck = ck = \/{jkPk)/Pk, where ck is the phasic speed of sound associated to the 7-law.
The three right eigenvectors of A(Uk) are given by
147
Eigenvalues
2c fc
Riemann uk Uk uk-
invariants
Pk Pfc
Pk
m?
U k.b
x=0
Inflow boundary
148
6.3.1 Inflow boundary (z = 0)
Pk,o = Pfc.ii
Pkfi = Pfc.l •
Recall that by convention we have used the index 0 for the mirror state and 1 for the inner
state.
Now, at time tn, we have pv — Pi = P this leads in the equations above to only five
conditions on the boundary. In order to complete the number of boundary conditions,
data on the void fraction is required. If we make the hypothesis that <*o = <*i, the mirror
states are completely prescribed, and in term of conservative variables we have
To show more clearly the computation of the boundary conditions in this case, we
consider the problem described in chapter 3, namely the Faucet flow. In this problem (see
chapter 3), the physical variables to be imposed at the inflow boundary are, uv£ = 0 (the
inflow boundary is closed to the vapor), a/,6, iufi and /i/^. As noted above, in order to
derive the boundary conditions for the vapor phase, it suffices to determine the mirror
state UVtQ. This is easily achieved by setting:
where pvJ0 = pvA, uv,0 - -uVti, pv,0 = pv,i and avfi = 1 - Qi,b-
For the liquid phase, the boundary state Uij, is computed as follows:
149
since the velocity of the vapor is null at the inflow, the numerical boundary flux FVtl/2 for
the vapor has the form
= F{UVf(hUv,i) = (0,Pv,6 (6.12)
where pv$ is the partial pressure of the vapor on the boundary. If we assume that p/^ = pVtb
at the boundary, the partial pressure of the liquid is given by
Pi,b - (6.13)
Pi,b
7/ - 1 Kb '
Çl,b —
Pv,b
(6.14)
-V — 1
7v-l
lv —A
Pi Pv,l
By eliminating the intermediate variables and, after some calculations one obtains
Iv
Pv,b =
150
"îv Pv,b
Pv,b =
Çv,b =
v,b— Pv,b\ 1
7v
Remark 6.1 Notice that, we have assumed that Uk,b are given and Uk,b > 0, for k =
v, / at the inflow boundary. For two-phase flow, other boundary conditions such that the
pressure and the enthalpies may be imposed instead of the velocities. In this case, during
a transient the sign of the velocities may change. Therefore, the number and the analysis
of the boundary conditions must be adapted following the problem to be solved.
k,b
U k,N
x=L
Outflow boundary
The pressure pf, at the boundary is given. Since the outflow is open to the two phases, the
phasic pressures are equal, and we have
151
The partial Riemann problems are solved with only 1-waves (one for each phase) issued
from the interior states Uk,N- The computation of the boundary states Uk,b is achieved by
solving:
~ - mk,N, (6.18)
Pk,N I
by using (6.15) we obtain
/ \ I/T*
mk,b = — rnk,N. (6.19)
\Pk,Nj
The velocities are deduced from the first equation in (6.17),
(6.20)
1
"*fc,/v y "**:,& j
P = p(p,e), (6.22)
expressing the pressure p as a function of the density p and the specific internal energy.
In some cases, it is convenient to work with the internal energy per unit volume £ — pe
[9] rather than specific internal energy. In this case, the equation of state takes the form
P = p{p,e). (6.23)
Assume now that the partial pressure p\ in the system of equations (6.2) can be expressed
as a function of the partial density m* and the partial internal energy per unit volume
i = mkCki viz. as
Pk — Pk{rnkiêk)i (6.24)
152
this holds indeed if pk, the fc-phase pressure depends linearly on pk (case of thermally
perfect fluids); also, it is possible if ak is considered as a parameter.
In order to avoid errors in the computation of the Jacobian matrix, we express the
equation (6.24) in terms of all variables Uk, viz. asp* = pk(mk{Uk), £k{Uk)) • Furthermore,
we shall assume that the first derivatives of the partial pressure are available.
In terms of the partial internal energy per unit volume ëk and m*, the derivatives
of the partial pressure pk in (6.24) are defined as
£., I UPk \ /f. rtr\
\ O£k )
where
Pk = Pk{mk, Ek - (6.27)
2mk'
The expression of the Jacobian is given by
/ 0
t ~ - Hk)uk
where the total enthalpy, Hk, is defined by Hk = hk + u\/2, and hk = + Pk/pk is the
specific enthalpy. The three eigenvalues of A(Uk) are found to be
Ajt,l = Uk~ Cfc,
153
6.4.1 Inflow boundary (x = 0)
Only the last case will be discussed here. The treatment of the cases where the inflow
is closed to the two phases or only for one phase, is achieved in the same way as in the
perfect fluid case.
Case 3;
Let us put ourselves under the conditions stated in case 3 for the perfect fluid. Consider
here the liquid phase. To compute the boundary state £//,&, we use the Riemann invariants
for the liquid phase. Therefore we have,
ui,b = given,
hi tb — given,
U* = Ulfi,
(6.28)
PÎ ~ Pi,b,
dp
where the uknown is the liquid-phase pressure p/,i of the boundary state. This is a nonlinear
equation which can be writen under the form
f(xi) = 0 (6.30)
The integral in (6.29) can be expressed in terms of the adiabatic exponent. Indeed,
the speed of sound of a fluid is defined by (see chapter 4)
c2=dp 21
P'
154
Thus we have
dp = c2dp along an isentrope.
Now, the pressure p decreases along a 3-rarefaction curve, so p also.
By adapting the method of Smoller [15], we introduce a parameter x by setting
x > 0 since p < Pi, where p\ is the pressure in the cell 1. Hence
dp = —pie~xdx = —pdx,
and
dp _ dp _ —pdx _ dx
p c2p jp 7 "
Integrating this last quantity gives
Pi
We turn next t o the integral in (6.29), we have
FrPi,b
'pi,\
dp _ /•*«.» dp
-dx
y/li
For sufficiently weak nonlinear boundary conditions, i.e., C//,i not too far from C//,b,
the variations of the adiabatic exponent can be neglected, and one can assumes that
ll = 7/,6 = 7/,i- So it comes
I — — — — ^ — ^ — ™ — / 1 / ' ^ 2^^ dx
Pl.i P'(Pi s)cl{Pi s
) \s=s,A ]j Pl,lîl,l JO
7/4 ~ 1
27/.1 Pl,b
' — 1
(7/,i - 1) V PM7/.1
155
6.4.2 Outflow boundary ( i = L)
&k,b = s
k,Ni
dp (6-32)
Using (pb, Sfc.b) as input thermodynamic variables in table [13] we get pk,b and hk,b- The
specific internal energy is then
where
The integral in (6.32) can also be expressed in terms of the adiabatic exponent.
Hence, the pressure p and the density p decreases along a 1-rarefaction curve. To use the
method of Smoller [15], we introduce a parameter x by setting
dp = —pwe~xdx = —pdx,
156
and
dp __ dp dx
P ~~ ÎP 7 '
Integrating this quantity gives
7
PN
" Jo
-dx
For computational efficiency, if the states Uk,N and f4,(, are sufficiently close, the
integral in (6.32) can be calculated analytically by assuming jk,b = îk,N- We then obtain
r dp
,N Pk(p, s)ck(p, s) {s=3kN
Pk,N
,N7k,N
pk,N7k Jo
r
-1
~ 7k,N) V Pk,N7k,N
- 1
Pb
- 1
157
Bibliographie
[1] P. COLELLA & H. M. GLAZ, Efficient Solution Algorithms for the Riemann Problem
for Real Gases, J. Comput. Phys., 59, 264-289, 1985.
[2] F. DUBOIS, Conditions aux limites fortement non linéaires pour les équations d'Euler,
Cours CEA-EDF-INRIA, "Méthode de différences finies et équations hyperboliques",
organisé par P . L. LIONS, novembre 1988.
[3] F. DUBOIS & P . LE FLOCH, Boundary Conditions for Nonlinear Hyperbolic Systems
of Conservation Laws, Journal of Differential Equations, 71, 93-122, 1988.
[4] F. DUBOIS, Résolution numérique des équation d'Euler Multidimensionnelles, Cours
de DEA d'Analyse Numérique, Ecole Polytechnique, 1993.
[5] E. GODLEWSKI & P.-A. RAVIART, Hyperbolic systems of conservation laws, Ellipses,
Mathématiques & applications, vol. 3/4, 1990.
[6] E. GODLEWSKI & P.-A. RAVIART, Numerical approximation of hyperbolic systems
of conservation laws, AMS 118, Springer-Verlag, New-York, 1996.
[7] S. K. GODUNOV & COLL, Résolution Numériquedes Probème Multidimensionnels de
la Dynamique des Gaz, Edition MIR, Moscou, 1979, 1976.
[8] G.F. HEWITT, J.M. DELHAYE & N. ZUBER, Multiphase Science and Technology,
Volume 5 Hemisphere Publishing Corporation, 1990.
158
[13] P. RASCLE & 0 . MORVANT, THETIS : Calcul par interpolation des fonctions ther-
modynamiques de fluides diphasiques, EDF HT-13/94/014, 1994.
[14] P.L. ROE, Approximate Riemann Solvers, Parameter Vectors, and Difference
Schemes, 3. Comput. Phys., 43, 357-372, 1981.
[15] J. SMOLLER, Shock Waves and Reaction-Diffusion Equations, Springer Verlag, New
York, 1983.
159
NEXT PAGKS)
!®fft &LANK
Annexe A
Consider the following Cauchy problem for the unknown U = U(x, t) with t > tn and
x eR
du | dF(U) = Q
dt di (A1)
where:
[/ = (m, mu, £ ) r is the vector of conservative variables,
F(U) = (mu, mu2 + p,(E + p)u) is the flux vector,
t/ n (x) is a given state at time tn,
p and £" are given by: p = (7 — l)me and £" = m(e + u2/2). 7 is a constant 1 < 7 < 3.
All the variables appearing above are defined in sections 2 and 3 of chapter 3. In this
appendix, p and p appearing in the Euler equations are replaced by m and p in order to
take into account the volume fraction of the considered phase.
In order to built first-order shemes, we assume that Un(x) is a piecewise constant over
cells Kj=]xj_1/2,xj+1/3[
Un(x) - U* = (m],m"u",E") forx € Kj. (A.2)
Uf is defined by
We wish to calculate U"+1, the approximate solution at time £n+1 = tn -\- At in cell Kj.
The generic formula for updating cell averages of the conserved quantities corre-
sponding to (A.I) is
161
In the next, we compute the fluxes •fT+i/2 associated to the Perthame and Roe schemes.
The Perthame scheme is one of the several numerical methods based on kinetic theory
which have been proposed for the computation of inviscid compressible flows. These meth-
ods use the Boltzmann or the Boltzmann-like equation of the kinetic theory of gases. They
are based on the connection between the Boltzmann equation and the Euler equations gov-
erning the dynamics of inviscid compressible flows.
In order to compute the fluxes F±(Uj) given in (3.33), we follow a similar course of
reasoning as that used by Perthame [15] in the ideal gas case.
By integrating over the time interval [tn,tn+1] we have
f
Jt"
at(7(i,t)dt = f f
Jtn f |(l,t;,^)Tat/(x,t;,
JR I 2
= -jfB J\(v,v2,j)Tdxf(x
After that, we integrate over each cell Kj in order to find the approximation to the average
of the solution across the cell Kj
?+1-U?)Ax = fX3^/2(U(x,tn+1)-U(x,tn))dx
= ~f f[{v,v2,^-)T(f(xJ+1/2,v,t)-f(xj.1/2,v,t))
162
The exact solutions to (3.27) for t >tn are given by
so it comes
(U»+1-U?)Ax = -
T n
-fn(*j-i/2 - «(* - tn),v)) + (0,0, v)T{gn(x
( j+1/2 - v{t - tn),v)
-9n(xj.1/2-v(t-tn),v))]dvdt (A.7)
fn and gn are proportional to x- Now, x has a bounded support (3.23), the v-integration is
"reduced therefore to v such that \(v—u)\/m/p\ < \ / 3 , i.e. M(£ — *n) < At(\u\ + y/p/m y/3),
and by the C.F.L. condition (3.31) we have \v\(t - tn) < Ax i.e.
if u > 0
if v < 0
and
if v > 0
9n(xj+i/2-v{t-tn),v)=*
n n n
/ n (xj_!/ 2 - u( - < ), u) and <7 (xj_i/2 — u(t — t ), v) are expressed in the same way.
By setting
h(U?,v) =
A(0,0, v ] x((v - (A.8)
163
The expression (A.7) takes the form
U +1 U
?
3
= f-^l ÙLX
J
JV>O
h(U?,v)dv+ JV<O
J
f h(U?+1,v)dv J
- I h(U?_ltv)dv- f h{Uf,v)dv]
Jv>0 Jv<0
The numerical flux function Fn(Uj, Uj+i) plays the role of an average flux through £j + 1 / 2 ;
it is usullay noted by
and the final expression for updating celle averages of the conserved quantities is
At
(A.9)
for the numerical computations, we develop the expressions of F+ and F by using the
change of variable w = (v — u) y/m/p then, we find the expression given in (3.33)
m,jx{w)dw. (A.10)
The Roe scheme [18] is one of the most popular Riemann solvers for the gas dynamics.
The use of the Roe scheme was extended to other hyperbolic systems of conservation laws
by several authors, and also to hyperbolic nonconservative systems (see for example [23]
and [24]). Here, we will adapt the Roe method to solve our system of equations given in
(A.I).
164
The Jacobian matrix of this system is given by
/ 0 1 0 \
dF(U) ( 3 _ 7 )JL
A(U) = 2 ro2
dU
7 - 1 <73 <
2 m3 m w
m
where ç = mu, and the total enthalpy, H is defined by
A(U) = 7-1
yu
\ 2
The eigenvalues of A(U) are given by
Ai = u - c,
A2 = u,
A3 = u + c,
where c = \/{jp)/m is the numerical speed of sound.
The right eigenvectors of A(U) are
r3=
The idea of Roe is, instead of solving the nonlinear problem (A.I) with the state
vector U™ at time tn given in (A.2), he introduce a local linearization of the system at
each interface Xj+1/21 and solve Riemann problem associated to the linear system defined
by
~U = 0 (A.11)
where the matrix A{Uf, U"+ï), known as the Roe averaged matrix, is some Jacobian matrix
depending on the states t/J1 and U™+1. For convenience, we denote Uf by ULand C/"+1 by
UR. The Roe averaged matrix is contructed to have the following properties:
165
1. A(UL, UR).{UR - UL) = F{UR) - F{UL)
u VÛ2 (A.14)
\ « / \
In terms of the component of W, U is given by
/ to? \
U = (A.15)
- p(W)
where
-1,
(A.16)
The matrices B and C satisfying the desired properties (A.12) and (A.13) are found to be
0 0 \
B(WL, WR) = 0
(A.17)
7 - 11^_
\ 7 7 7 /
and
7-1 _ 7
C(WL,WR) = (A.18)
7 7 7
0 w3 w2 )
166
where the overbars denote arithmetic means
1 .
V = 2 \VL + VR) • (A.19)
0 1 0
2__lû 3 - ÛH H - (7 - l)û 2
(A.22)
+ y/mR
Ai = û - c,
A2 = û,
X3-û + c,
and
r3=
where ë = ( 7 - f
The expression of the flux function for Roe's solver is now given by
?) + F(Uf+l)) - ^|
(A.23)
167
and hence
(A-24)
= J2$i\Xi\r'i (A.25)
2c
2c
= Am- -rf.
c
(.) denote the jump in a quantity, and m is defined by
m =
168