• Aucun résultat trouvé

Modelling and simulation of liquid-vapor phase transition in compressible flows based on thermodynamical equilibrium

N/A
N/A
Protected

Academic year: 2022

Partager "Modelling and simulation of liquid-vapor phase transition in compressible flows based on thermodynamical equilibrium"

Copied!
26
0
0

Texte intégral

(1)

DOI:10.1051/m2an/2011069 www.esaim-m2an.org

MODELLING AND SIMULATION OF LIQUID-VAPOR PHASE TRANSITION IN COMPRESSIBLE FLOWS BASED ON THERMODYNAMICAL

EQUILIBRIUM

Gloria Faccanoni

1

, Samuel Kokh

2

and Gr´ egoire Allaire

3,4

Abstract. In the present work we investigate the numerical simulation of liquid-vapor phase change in compressible flows. Each phase is modeled as a compressible fluid equipped with its own equation of state (EOS). We suppose that inter-phase equilibrium processes in the medium operate at a short time-scale compared to the other physical phenomena such as convection or thermal diffusion. This assumption provides an implicit definition of an equilibrium EOS for the two-phase medium. Within this framework, mass transfer is the result of local and instantaneous equilibria between both phases.

The overall model is strictly hyperbolic. We examine properties of the equilibrium EOS and we propose a discretization strategy based on a finite-volume relaxation method. This method allows to cope with the implicit definition of the equilibrium EOS, even when the model involves complex EOS’s for the pure phases. We present two-dimensional numerical simulations that shows that the model is able to reproduce mechanism such as phase disappearance and nucleation.

Mathematics Subject Classification. 76T10, 76N10, 65M08.

Received January 24, 2011. Revised July 13, 2011.

Published online February 13, 2012.

1. Introduction

The simulation of liquid-vapor phase change phenomena in fluid flows raises challenging problems pertaining to physical modeling, mathematical analysis and numerical analysis. It is all the more important that it concerns many industrial applications. For example, the prediction of the boiling crisis is a crucial problem for the safety studies in the nuclear industry [14–16,18,46,48,54]. In the present article, we focus on a model of phase change for compressible two-phase flows (away from the critical point) and propose a numerical algorithm for solving it.

Keywords and phrases.Compressible flows, two-phase flows, hyperbolic systems, phase change, relaxation method.

This work has been achieved within the framework of the NEPTUNE project, financially supported by CEA (Commissariat `a l’ ´Energie Atomique), EDF ( ´Electricit´e de France), IRSN (Institut de Radioprotection et de Sˆuret´e Nucl´eaire) and AREVA-NP.

The authors thank the CEA for its financial support. Gr´egoire Allaire is a member of the DEFI project at INRIA Saclay Ile-de-France and is partially supported by the Chair “Mathematical modeling and numerical simulation”, F-EADS – ´Ecole Polytechnique – INRIA.

1 IMATH – Universit´e du Sud Toulon-Var, Avenue de l’Universit´e, 83957 La Garde, France.[email protected]

2 DEN/DANS/DM2S/SFME/LETR, Commissariat `a l’ ´Energie Atomique Saclay, 91191 Gif-sur-Yvette, France.

[email protected]

3 Conseiller Scientifique du DM2S – Commissariat `a l’ ´Energie Atomique Saclay, 91191 Gif-sur-Yvette, France.

4 CMAP, ´Ecole Polytechnique, CNRS, 91128 Palaiseau, France.[email protected]

Article published by EDP Sciences c EDP Sciences, SMAI 2012

(2)

A classic approach consists in modeling the two-phase system by a single fluid with a Van der Waals type equation of state (EOS) [22]. Far from the critical point, each phase corresponds to a stable branch of the EOS, which are connected by the spinodal zone. The intrinsic instability of the fluid in the spinodal zone requires to account for very small scale effects by the means of Korteweg-type tensors (see [6,24,27,33,37,52] and the references therein) including dissipative effects as well as dispersive effects. In other words, the interface between the two phases is implicitly modeled as a thick transition zone. A drawback of such models is that they call for very fine grids when discretizing the system.

It is possible to model the interface as a discontinuity locus connecting two pure phase states. Such dis- continuity can be obtained by taking the limit in the Korteweg model when the interface thickness tends to zero [10,17,38,51,53]. However this requires the knowledge of the whole EOS for the two-phase material including the spinodal zone. Unfortunately, experimental data for the spinodal zone are often not available.

We follow here an alternate approach that has been examined by several authors for the past years [2,4,10,11,18,19,21,23,25,29,31,34,45,48]. The key idea lies in avoiding the spinodal zone by assum- ing that the driving physical phenomena are kinetical effects that act on both phases at a short time scale compared to the hydrodynamics and thermal diffusion in agreement with classic thermodynamics. This comes down to assuming that each phase is modeled by a compressible fluid and that the EOS of the two-phase system is obtained by a convexification procedure (see Prop.4.2). We note that this construction is more general than the classic convexification procedure based on the Maxwell rule of a Van der Waals EOS [9,28,34,45]: in the present model each pure phase is equipped independently with its own EOS. If we consider the particular case when each pure phase EOS matches a stable branch of the Van der Waals EOS, the resulting equilibrium EOS of our model coincides with the classic Maxwell construction for the Van der Waals EOS [30]. For all other cases we propose a simple way to compute the equilibrium EOS, based on solving a single nonlinear equation that we call “phase-change equation”. We demonstrate its usefulness in the case of pure phases having a stiffened gas EOS.

Within this context, the mass transfer between both phases is driven by instantaneous equilibria in the composition of the two-phase medium with respect to phasic pressures, temperatures and Gibbs potentials.

An important issue is that, as it is expected, the resulting EOS does no longer fulfill classic strict convexity thermodynamics hypotheses for the entropy. Moreover, the process of reaching equilibria (and equivalently the convexification process) involves solving a nonlinear system that combines the EOS of the pure phases.

Nevertheless, it is possible to show that, under simple hypotheses on the pure phase EOSs, the system is strictly hyperbolic (Thm.5.2). This property, announced in [2], is important for the theoretical and numerical resolution of the system.

Once this well-posedness property is obtained, we can use the relaxation framework of [7,12,13,35,43] to interpret the equilibria between both phases (and equivalently the convexification process) as the limit of a relaxation procedure. This modeling interpretation provides means of discretizing the system thanks to a two- step relaxation strategy.

This paper is structured as follows: in Section2we present the overall structure of our model. In Section3we first recall basic thermodynamics principles for pure phases, then we provide our system with an off-equilibrium entropy. Then we introduce the equilibrium entropy of the system. In Section 4 we detail properties of this entropy law related to the geometrical construction of its graph, convexification principles of the pure phases entropy and convexity properties. The definition of this equilibrium law involves the resolution of a system of nonlinear equations. We show that it is possible to reduce this system to a nonlinear scalar equation by using classic thermodynamical state laws for saturated states. We recall in Section 5 key well-posedness property of this system. In Section 6 we show that the system can be interpreted by means of a relaxation approach to other two-phase system. We propose in Section7 a multi-step relaxation discretization strategy that allows to decouple computation of the equilibrium thermodynamical parameters from the approximation of the convection by confining it in the projection step. Finally in Section8we present two-dimensional numerical simulations of boiling-type tests.

(3)

2. Model structure

In the sequel the subscriptα =l (resp.α =v) will refer to the liquid (resp. vapor) phase. Let τα andεα denote respectively the specific volume and the specific internal energy of the phaseα=l, v. We define the cone of admissible states

Cdef={(τ, ε) | τ >0, ε >0} (2.1) andwαdef=(τα, εα). In the following we shall always assume thatwα∈ C.

We suppose that the fluid will never reach the critical point and therefore each phase can be modelled as a compressible fluid equipped with its complete EOSwα →sα, where sα denotes the specific entropy of the phaseα=l, v. The assumption on the pure phase entropy laws will be detailed in Section3.1.

In order to define the composition of the two-phase media, we introduce three frac- tions [2,4,10,11,18,19,21,29,31]:

yl (resp.yv) the mass fraction of the phase α=l (resp.α=v); we noteydef=yl and we suppose y [0,1]

(that impliesyv= 1−y);

zl(resp.zv) the volume fraction of the phaseα=l (resp.α=v); we notezdef=zland we supposez [0,1]

(that implieszv = 1−z);

ψl (resp.ψv) the energy fraction of the phaseα=l (resp.α=v); we noteψdef=ψland we supposeψ∈[0,1]

(that impliesψv = 1−ψ).

Let us now define the global specific volumeτ and internal energyεof the two-phase medium: forwdef=(τ, ε)

∈ C, the additivity of the volume and the internal energy implies that wdef=

τ ε

=

α=l,v

yα

τα

εα

=

α=l,v

yαwα.

We define the setQ(w) as follows Q(w)def=

(wl,wv, yl, yv)∈ C2×[0,1]2

1 =yl+yv w=ylwl+yvwv

. (2.2)

Therefore

z=l

τ and ψ=l

ε·

We suppose that both phases have the same velocityuand we setdef= 1/τ. If we neglect the viscous dissipative effects, then the two-phase medium is governed by the system

tU+ div[Feq(U)] =Stension(U, z) +Sgravity(U)div[Qheat(U, z)], (2.3) where

Udef=

u ε+|u|2/2

, Feq(U)def=

u u⊗u+PeqId (ε+|u|2/2 +Peq)u

.

The termsSgravity(U) andQheat(U, z) that account respectively for gravity and thermal diffusion effects read:

Sgravity(U)def=

⎝ 0 gg·u

, Qheat(U, z)def=

⎝ 0 ϑgrad0 T

(4)

whereϑdef=l+(1−z)ϑvis the thermal conductivity of the two-phase medium andϑαis the thermal conductivity of the phase α. The surface tension effects are modeled thanks to the continuum surface force (CSF) model of [8] which reads here

Stension(U, z)def=

⎝ 0 TT·u

, Tdef=ξ gradz

|gradz|div

gradz

|gradz|

whereξis the capillary coefficient.

The pressure law (τ, ε)→Peq(τ, ε) derives from an equilibrium EOS whose construction will be presented in Section 4. This EOS accounts for the mass transfer between both phases by imposing local and instantaneous thermodynamics equilibria in the composition of the medium.

3. Equilibrium EOS: definition

First we shall recall basic notations and assumptions pertaining to homogeneous pure fluids state laws. Then we will postulate an off-equilibrium state law for a medium composed of a liquid phase and a vapor phase.

Finally, we define equilibrium within this medium that will provide us an equilibrium EOS accounting for mass transfer between both phases.

3.1. Pure phase EOS

In the following we suppose that sα is a C2 regular function over the coneC (2.1). We note the first and second derivatives ofsαas follows

(sα)εα def= ∂s∂εα

α

τα, (sα)τα def= ∂s∂τα

α

εα, (sα)εαεα def= ∂ε2s2α

α

τα, (sα)τατα def= ∂τ2s2α α

εα, (sα)ταεα def=∂τ2sα

α∂εα

and we note the Hessian matrix ofsα

d2sαdef=

(sα)τατα (sα)ταεα

(sα)ταεα (sα)εαεα

.

The temperatureTα, the pressurePα, the free enthalpygαand the square of the speed of soundcαare defined classically by

Tαdef= 1

(sα)εα, Pαdef=(sα)τα

(sα)εα, gαdef=εα+Pατα−Tαsα, (3.1) c2αdef=τα2

Pα ∂Pα

∂εα

τα

∂Pα

∂τα

εα

(3.2a)

=−τα2TαPα,−1 d2sα

Pα

−1

. (3.2b)

Thermodynamics characterizes the derivatives ofsα: first, temperature positivity requiressαto be a strictly increasing function of εα; second, a stability assumption is enforced by assuming a definite negative Hessian matrix d2sα forsα. Therefore, for allwα ∈ C, we have

⎧⎪

⎪⎩

(sα)εα >0, (3.3a)

(sα)ε

αεα(sα)τ

ατα>((sα)τ

αεα)2, (3.3b)

(sα)εαεα<0, (or equivalently (sα)τατα<0). (3.3c) Let us note that relations (3.3b)–(3.3c) imply thatwα→sαis strictly concave but the converse is wrong.

(5)

3.2. Off-equilibrium two-phase EOS

Following classic thermodynamics (see [9,28]), we define an entropyσfor the off-equilibrium medium: for all (wl,wv, yl, yv)∈ C2×[0,1]2,

σ(wl,wv, yl, yv)def=ylsl(wl) +yvsv(wv). (3.4) The entropyσcan also be expressed thanks to the variables (y, z, ψ,w= (τ, ε))[0,1]3× C as follows (for the sake of simplicity we keep the same notation)

σ(y, z, ψ, τ, ε) =

⎧⎪

⎪⎩

sl(τ, ε) ify= 1,

ysl

z yτ,ψyε

+ (1−y)sv

1z

1yτ,11ψyε

if 0< y <1,

sv(τ, ε) ify= 0.

(3.5)

3.3. Equilibrium two-phase EOS

Following the lines of [9,28,29,31], for a given global state wdef=(τ, ε) ∈ C, we can define the equilibrium composition parameters (wl,wv, yl, yv) ∈ Q(w), in agreement with the second law of Thermodynamics, as maximizer of (wl,wv, yl, yv)→σand we note zdef=yττl,ψdef=yεεl.

We now assume that the fluid always instantaneously reaches equilibrium. We can introduce an equilibrium entropyw→seq for the two-phase medium by the following definition: for allw ∈ C,

seq(w) = sup

σ(wl,wv, yl, yv) (wl,wv, yl, yv)∈ Q(w)

(3.6) or equivalently

seq(w) = sup

σ(y, z, ψ,w) yz[0,1][0,1]

ψ[0,1]

. (3.7)

For the equilibrium two-phase medium, the pressurePeq, the temperatureTeq, the chemical potential geq and the speed of soundceqare then defined thanks to the classic formulas

Peqdef=seqτ

seqε , Teqdef= 1

seqε , geqdef=ε+Peqτ−Teqseq,

(ceq)2=τ2

Peq ∂Peq

∂ε

τ ∂Peq

∂τ

ε

=−τ2Teq

Peq,−1 d2seq

Peq

−1

. (3.8)

It was shown in [31] that the optimization problem (3.6) or (3.7) is equivalent to perform an inf-convolution between two convex functions. This result guarantees that w →seq is always concave and therefore that the equilibrium speed of sound ceq satisfies (ceq)2 0. Let us emphasize that this condition is not sufficient for ensuring the hyperbolicity of the Euler system (2.3) (see for example the equilibrium p-system studied in [10,11]).

Nevertheless, we will present in Section4.2additional arguments that prove that (ceq)2>0 and therefore that the Euler system (2.3) is strictly hyperbolic (excluding of course the cases in which vacuum is present).

We now introduce another assumption that pertains to the thermodynamic properties of the liquid and the vapor at equilibrium (seee.g.[3,9,28,44]), namely

0< y<1 ⇒ {τl< τv, εl < εv, sl(wl)< sv(wv)}. (3.9) In the sequel, we shall assume that the EOS of the liquid and the vapor phases verify hypothesis (3.9). The strict inequality in assumption (3.9) means that we consider only first order phase transition. The assumed ordering of the liquid and vapor properties is satisfied for most liquid-vapor systems.

(6)

Remark 3.1. Hypothesis (3.9) implies that the system cannot reach the critical point. Indeed at the critical point one necessarily hasτl=τv,εl =εv andsl(wl) =sv(wv).

Assumptions (3.3) and hypothesis (3.9) provide a simple characterization of the solution of the optimization problem (3.6).

Theorem 3.2 (extremum principle).Let(wl,wv, yl, yv)→σbe the off-equilibrium entropy of definition (3.4).

For a given statew ∈ C,

(1) there is at least one state(wl,wv, yl, yv)∈ Q(w)solution of the optimization problem (3.6);

(2) a state (wl,wv, yl, yv) ∈ Q(w) is a solution of the optimization problem (3.6) if and only if one of the following systems is satisfied:

either

yl= 1, yv= 0,

sl(w)> sv(w); (3.10)

either

yl= 0, yv= 1,

sl(w)< sv(w); (3.11)

either

0< yl, yv<1,

T1l,PTl

l,Tgl

l

(wl) =

1 Tv,PTv

v,gTv

v

(wv). (3.12)

The state(wl,wv, yl, yv)will then be referred to as an equilibrium state.

When0< yl<1 (then0< yv<1), we will say that the equilibrium statew is a saturated state.

(3) ifw ∈ C is a saturated statethen there is a unique solution of the optimization problem (3.6).

(4) ifw ∈ C is not a saturated state, i.e. yv= 1(resp.yl = 1) then wv (resp.wl) defines an unique solution for (3.4)up to the arbitrary choice of wl (resp.wv) for the vanished phase.

Proof. See [4,18,29].

4. Equilibrium EOS: construction

In the present section we show that the optimization procedure involved in (3.6) reads as a direct geometrical construction of the concave hull of the function w max{sl(w), sv(w)}. Moreover, this interpretation will provide us a new equivalent definition for the saturated states that boils down to a single nonlinear scalar equation. This approach has been exploited in [10,11,18,19,21,34] within a numerical simulation framework.

4.1. Properties of the equilibrium EOS

Following [9–11,18,34] we recall a first geometrical result that characterizes the solution of (3.6).

Proposition 4.1 (bitangent plane). Forα=l, v let Sα be the surface defined by the graph of w →sα in the (w, s)space. Given a thermodynamical state w ∈ C, if(wl,wv, yl, yv) ∈ Q(w)maximizes(wl,wv, yl, yv)→σ and if 0< yl <1 (equivalently 0< yv<1), then there exists a unique plane, called “bitangent plane”, tangent to the surface Sl at the point(wl, sl def=sl(wl))and to the surfaceSv at the point(wv, svdef=sv(wv)).

Proof. Forα=l, v, let Pαbe the tangent plane to the surfaceSα at the point (wα, sα). We have to prove that the plane Pl and the plane Pv are the same. This boils down to show that Pl andPv are parallels and that Pl∩ Pv =∅. Because of (3.1), the equation ofPα readss=

Pα Tα(wα)

τ+ 1

Tα(wα)

ε+Tgαα(wα). ThusPland Pv are parallels if and only ifPl(wl) =Pv(wv) andTl(wl) =Tv(wv). Moreover,Tgl

l(wl) =ggv

v(wv) is equivalent

tow= (0,0)∈ Pl∩ Pv =∅.

(7)

Consequently solving (3.6) leads either toyl ∈ {0,1}either to determine the bitangent plane toSl andSv. We now recall a second classic result (see [9,32]) that connects the optimization problem (3.6) and the bitangent plane construction of Proposition 4.1. An alternative equivalent way, based on the inf-convolution, for constructing the equilibrium entropyw→seqis presented in [30].

Proposition 4.2 (concave hull). Let S be the graph of the equilibrium entropy w →seq in the (w, s) space.

Then

(1) the surfaceS is the concave hull of the set

{(w, s)∈ C ×R|s≤max [sl(w), sv(w)]};

(2) for everysaturated statew∈ C, the surfaceScontains a segmentr(w)passing through the point(w, seq(w)).

Along this segment the pressurePeq, the temperatureTeq and the chemical potentialgeq are constant.

In generalw→seqis C1but not C2[5]. In the following, we assume that it is piecewise C2in the sense that the set of all saturated states (defined by (3.12)) is a C2 manifold with a boundary which is a C1 closed loop curve.

Theorem 4.3 (existence and uniqueness of the segment r(w)). Forα=l, v, let Sα be the graph of the phasic entropywα→sα in the(w, s)space and letw ∈ C be a saturated state (defined in Thm.3.2). Then there exists a uniquecouple of points

Ml def=(wl, sldef=sl(wl))∈ Sl, Mvdef=(wv, svdef=sv(wv))∈ Sv, such that the pointMdef=(w, seq(w))belongs to the line segment

r(w)def=(Ml,Mv) ={yMl + (1−y)Mv | y∈[0,1]}.

Proof. Theexistenceof the segmentr(w) follows from Proposition4.2. We proveuniqueness: eachsαis strictly concave and increasing with respect to the variables τα and εα. Then the mapping (wl,wv) (Peq, Teq) is one-to-one. If there is another segment ˜r(w) = (( ˜wl,˜sl),( ˜wv,˜sv)) such that (w, seq(w)) r(w)˜r(w), since (Peq, Teq) are constant alongr(w) and along ˜r(w), we havewα=αand consequentlyr(w) = ˜r(w).

4.2. Phase-change equation

We now build a so-called “phase-change equation” which is our key ingredient in the computation of the equilibrium entropy.

Consider a fixed couplewdef=(τ, ε). Let (wl,wv, yl, yv)∈ Q(w) be the maximizer ofσthat corresponds to a saturated state, i.e. 0 < y <1. In this case, by Theorem3.2 (τl, εl, τv, εv, y) is also the unique solution of the system (4.1)–(4.2):

⎧⎪

⎪⎪

⎪⎪

⎪⎪

⎪⎪

⎪⎩

τ=l+ (1−y)τv, (4.1a)

ε=l+ (1−y)εv, (4.1b)

Pll, εl) =Pvv, εv), (4.1c) Tll, εl) =Tvv, εv), (4.1d) gll, εl) =gvv, εv), (4.1e)

y∈(0,1). (4.2)

(8)

Introducing the common values (P, T) of the pressure and temperature, relations (4.1c)–(4.1d) allow to obtain the following equivalent system

⎧⎪

⎪⎩

τ=l(P, T) + (1−y)τv(P, T), (4.3a) ε=l(P, T) + (1−y)εv(P, T), (4.3b)

gl(P, T) =gv(P, T), (4.3c)

y∈(0,1) (4.4)

where the unknows are (T, P, y). If we knowP andT, we can computey by y(P, T) = τ−τv(P, T)

τl(P, T)−τv(P, T) (4.5)

and eliminatey in system (4.3). So, solving system (4.3) is equivalent to solve

⎧⎨

τ−τv(P, T)

τl(P, T)−τv(P, T)= ε−εv(P, T)

εl(P, T)−εv(P, T), (4.6a)

gl(P, T) =gv(P, T). (4.6b)

The equation (4.6b) defines the well-known coexistence curveP →Tsat(P) [9,28]. In full generality, the solution of (4.6b) is multivalued. Here we consider the physically relevant branch. If we note classically

ταsat(P)def=τα(P, Tsat(P)), εsatα (P)def=εα(P, Tsat(P)), α=l, v,

then, given (τ, ε) ∈ C, solving (4.6a)–(4.6b) is equivalent to seeking P as the solution of the following scalar nonlinear equation

τ−τvsat(P)

τlsat(P)−τvsat(P) = ε−εsatv (P)

εsatl (P)−εsatv (P)· (4.7) In the sequel, the equation (4.7) will be also referred to as the “phase-change equation” (a similar equation was proposed in [49]).

If we note P the solution of the phase-change equation (4.7), then the solution (τl, εl, τv, εv, y) of the system (4.1) reads

τl=τlsat(P), εl =εsatl (P), τv=τvsat(P), εv=εsatv (P), y=y(P, Tsat(P)).

Remark 4.4. In some cases it can be most useful to compute T Psat(T) instead of P Tsat(P). The strategy proposed above is the same except that we replaceP byT,P byTandTsat(P) byPsat(T).

We can now summarize the construction of the equilibrium entropyseqin the following definition.

Definition 4.5 (equilibrium entropy construction).The overall procedure for computing the equilibrium EOS lies in the following alternative: for allw∈ C,

(9)

(1) if there exists a solution to (4.7), denotedP, and if 0< y<1 (whereydef=y(P, Tsat(P))) thenw is a saturated state and we set

yeq(w) =y, zeq(w) =yτl/τ, ψeq(w) =yεl/ε,

seq(w) =ysl(wl) + (1−y)sv(wv), Peq(w) =Pl(wl) =Pv(wv),

whereτldef=τl(P, Tsat(P)),εl def=εl(P, Tsat(P)),τvdef=τv(P, Tsat(P)) andεvdef=εv(P, Tsat(P));

(2) otherwise, if (4.7) has no solution or if the correspondingydef=y(P, Tsat(P)) is outside the range (0,1), (2a) ifsl(w)> sv(w) thenw is a liquid state, therefore we set

yeq(w) = 1, zeq(w) = 1, ψeq(w) = 1,

seq(w) =sl(w), Peq(w) =Pl(w);

(2b) ifsl(w)< sv(w) thenw is a vapor state, therefore we set yeq(w) = 0, zeq(w) = 0, ψeq(w) = 0,

seq(w) =sv(w), Peq(w) =Pv(w).

4.3. Example of equilibrium states and phase-change equation for two stiffened gas laws

We present in this section the detailed construction of the phase-change equation (4.7) when both phases are modeled by a stiffened gas EOS. Let us first recall a few properties of this particular state law. The complete form of the stiffened gas EOS reads

(τ, ε)→s=cvln(ε−q−πτ) +cv1) lnτ+m (4.8) where parameters cv > 0, γ > 1, π > 0, q and m are constants describing thermodynamical properties of the fluid. Remark that the domain of definition of s is not the usual cone C but rather the set τ > 0 and ε−q−πτ >0. The case of a perfect gas EOS is recovered by settingπ= 0 and q= 0.

The classic definitions (3.1) provide the following expressions for the temperatureT, the pressureP and the Gibbs potentialg:

(τ, ε)→T =ε−q−πτ cv , (τ, ε)→P =ε−q−πτ

τ1)−π, (τ, ε)→g=q+ (ε−q−πτ)

γ−m

cv ln

−q−πτ)τ1) .

(10)

The Gr¨uneisen coefficientΓ and the square of the speed of soundcare given by Γdef=−τT(P sεε−sετ) =γ−1>0,

c2def2

P ∂P

∂ε

τ ∂P

∂τ

ε

=γ(γ−1)(ε−q−πτ) =γ(P +π)τ =γΓ cvT >0.

By a simple change of variables we also have

(P, T)→s=cvγlnT−cvΓln(P+π) +m+cvγlncv+cvΓlnΓ, (P, T)→g=cvT

γ−ln

(cvT)γ

Γ P+π

Γ

−T m+q, (P, T)→ε=cvTP+πγ

P+π +q, (P, T)→τ=cv1) T

P+π·

For the sake of simplicity we noteqdef=m+cvγlncv+cvΓlnΓ as in [39,50].

For allw∈ Cthe valueseq(w) is computed by solving numerically the phase-change equation (4.7) according to Definition4.5. In order to obtain this equation we have to compute the four functions

ταsat(P)def=τα(P, Tsat(P)), εsatα (P)def=εα(P, Tsat(P)), α=l, v.

To achieve this task, we compute the coexistence curveP→Tsat by solving equation (4.6b), namely gl(P, T) =gv(P, T).

If it happens that the solution is multivalued, we discard the non-physical branch of solution.

With the stiffened gas EOS’s, two cases have to be considered separately:

Case I:ql=qv. If andcvlγl =cvvγv, solving (4.6b) we obtain P →Tsat(P) =A

(P+πl)cvlΓl(P+πv)cvvΓv1/B

where

Adef= exp

1−ql−qv B

>0, Bdef=cvlγl−cvvγv.

Let us note that for two-perfect gas we recover the usual linear dependence betweenTsat andP. We recall that hypothesis (3.9) implies some restrictions on the coefficients. An example of a stiffened gas that verifies all hypothesis of the previous sections for pressures greater than 6.7×104 Pa is shown in Table 1 and Figure1. Ifcvlγl=cvvγv, we obtain a degenerate case wherePsat is a constant defined by

(Psat+πl)cvlΓl

(Psat+πv)cvvΓv = exp(ql−qv).

Case II: ql=qv. We were not able to find any explicit expression for the coexistence curve. Therefore it is difficult to process the phase-change equation (4.7) for determining explicitly the equilibrium states. This case appears in [39] for the approximation of the states laws of water and dodecane. We have proposed in [19] and in Chapter 6 of [18] one possible mean for overcoming this difficulty: the key idea is to compute P→Tsat(P) as a simple and convenient approximation of the functionP →Tsat(P). To achieve this task,

(11)

Table 1.Example of parameters for two stiffened gas law that provides an explicit expression for the coexistence curve. These values are used in the tests of Section8. This choice guarantees that the volume and the internal energy of the liquid are lower than the volume and the internal energy of the vapor while heaving a speed of sound not too large (which implies a not too strict CFL condition for the computational tests).

Phase cv (J/(kg K)) γ π(Pa) q(J/kg) q(J/(kg K))

Liquid 800 1.4 105 0 1000

Vapor 1100 1.3 0 0 0

55 60 65 70 75 80 85 90 95 100

2e+05 3e+05 4e+05 5e+05 6e+05 7e+05 8e+05 9e+05 1e+06 Tsat(P)

(a)PTsat(P)

0.02 0.04 0.06 0.08 0.1 0.12 0.14

2e+05 3e+05 4e+05 5e+05 6e+05 7e+05 8e+05 9e+05 1e+06 τv

sat(P) τl

sat(P)

(b) P τlsat(P) (bottom) and P τvsat(P) (top)

5e+04 6e+04 7e+04 8e+04 9e+04 1e+05 1e+05

2e+05 3e+05 4e+05 5e+05 6e+05 7e+05 8e+05 9e+05 1e+06 εvsat(P) εl

sat(P)

(c) P εsatl (P) (bottom) and P εsatv (P) (top)

Figure 1.Temperature and phasic volumes and internal energies at saturation as functions of the pressure for the stiffened gas law of Table1.

first we discretize an interval of pressure [Pmin, Pmax] and we compute (numerically but with an arbitrary precision)Tsat at each point of the discretization as the solution of equation (4.6b). Thus we obtain a set of pointsA = (Pi, Tsat(Pi))i. Then we can defineP →Tsat(P) thanks to a least square approximation ofA. Finally, instead of solving the phase-change equation (4.7) we solve the following approximate phase-change equation:

τ−τv(P,Tsat(P))

τl(P,Tsat(P))−τv(P,Tsat(P))= ε−εv(P,Tsat(P)) εl(P,Tsat(P))−εv(P,Tsat(P))·

This approximation is reasonable since, in the end, the phase-change equation (exact or approximate) is always solved numerically. We already tested this approach for numerical examples in [18,19,21].

Remark 4.6 (tabulated data). The case of more general EOS, including non-analytic forms of the EOS, like tabulated data, is addressed in [20,21] and Chapter 7 of [18]. Again the main idea is to build an approximate phase-change equation. In order to obtain this approximate equation, we need to evaluate the four functions

ταsat(P)def=τα(P, Tsat(P)), εsatα (P)def=εα(P, Tsat(P)), α=l, v.

We consider a set of experimental data values ταsat(Pi) and εsatα (Pi) for a discrete set of pressure valuesPi [Pmin, Pmax] (see e.g.[41] for an example of tabulated EOS). Then, we can define

ταsat(P), εsatα (P) α=l, v, forP∈[Pmin, Pmax],

thanks to least square approximations. Finally, instead of solving the phase-change equation (4.7) we solve the following approximate equation

τ−τvsat(P)

τlsat(P)−τvsat(P) = ε−εsatv (P)

εsatl (P)−εsatv (P)· A similar construction of equilibrium EOS is proposed in [30] too.

Références

Documents relatifs

We prove that this system can be approximated by the fully compressible Navier–Stokes system with a singular pressure, supplemented with transport equation for the congestion

A multicomponent real-fluid fully compressible four-equation model for two-phase flow with phase change... It is composed of two mass, one momentum, and one

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

At 32 and 39 A.MeV there is a significant overlap be- tween the energy distribution and the negative heat capacity; this indicates that multifragmenta- tion occurred in the

Etant mieux prémunis pour estimer si leur partenaire est digne de confiance, les enfants plus âgés pourraient s’engager plus facilement dans une transaction

could conclude that our numerical method was validated for the natural convection of air and water and for the solid-liquid phase change problems including melting and solidification

L’émergence d’un marché des brevets et des technologies (Guellec et al., 2010) va accroître la concurrence entre les professionnels du droit sur le « marché du brevet »,

Soot aggregate size (number of primary par- ticles per aggregate) distributions are described by a lognormal function whose distribution width is largely independent of the