EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

p:\tex\sisc\32-3\75860\75860.dvi

Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. SIAM J. S CI. COMPUT. c⃝ 2010 Society for I ndustrial and Applied Mathematics Vol. 32, No. 3, pp. 1159–1179 A PHASE-FIELD MODEL AND ITS NUMERICAL APPROXIMA TION FOR TWO-PHASE INCOMPRESSIBLE FLOWS WITH DIFFERENT DENSITIES AND VISCOSITIES ∗ JIE SHEN† AND XIAOFENG YANG‡ Abstract. Modeling and numerical approximation of two-phase incompressible flows with differ- ent densities and viscosities are considered. A physically consistent phase-field model that admits an energy law is proposed, and several energy stable, efficient, and accurate time discretization schemes for the coupled nonlinear phase-field model are constructed and analyzed. Ample numerical exper- iments are carried out to validate the correctness of these schemes and their accuracy for problems with large density and viscosity ratios. Key words. phase-field, two-phase flow, Navier–Stokes, variable density, projection methods, stability AMS subject classifications. 65M12, 65M70, 65P99, 65Z05, 76T99 DOI. 10.1137/09075860X 1. Introduction. The interfacial dynamics about immiscible two-phase fluids have attracted much attention for morethan a century. In recent years, the dif- fuse interface approach, whose origin can be traced back to [21] and [27], has been successfully used to model two-phase incompressible fluids under various situations (cf. [10, 1, 15, 11, 13, 29] and the references therein). In particular, the energetic variational phase-field approach leads to a well-posed nonlinear coupled system that satisfies an energy law, making it possible to design numerical schemes which satisfy a corresponding discrete energy law that automatically ensures their numerical stability (cf., for instance, [6, 12, 2]). However, most of the analysis and simulation of the phase-field model for two- phase flows have been restricted to the matched density case or with a Boussinesq approximation. The main difficulty for two-phase flows with different density is that the standard phase-field model with variable density does not admit an energy law, making it difficult to carry out mathematical and numerical analysis. For problems with small density ratio, a common practice is to use a Boussinesq approximation where the variable densityρis replaced by a background constant densityρ 0 while an external gravitational force is added to model the effect of density difference (cf., for instance, [13]). While using the Boussinesq approximation leads to a well-posed dissipative phase-field system, its physical validity is based on the assumption that the density ratio between the two phases is small. Hence, it cannot be used for two-phase flows with large density ratios. Thus, the first objective of this paper is to derive a phase-field model, for two-phase incompressible flows with variable density without assuming a small density ratio, that admits an energy law. The second objective is to design efficientand accurate numerical schemes for this new model which consists of a coupled nonlinear system for the velocity, pressure, and ∗Received by the editors May 9, 2009; accepted for publication (in revised form) February 17, 2010; published electronically April 14, 2010. http://www.siam.org/journals/sisc/32-3/75860.html †School of Mathematical Sciences, Xiamen University, and Department of Mathematics, Purdue University, West Lafayette, IN 47907 (shen@math.purdue.edu). The work of this author is partially supported by NFS grant DMS-0915066 and AFOSR grant FA9550-08-1-0416. ‡Department of Mathematics, University of South Carolina, Columbia, SC 29208 (xfyang@math. sc.edu). 1159 Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1160 JIE SHEN AND XIAOFENG YANG phase functions. How to design effective, energy stable numerical schemes for this nonlinear system is a challenging task. We shall combine several approaches which have proved efficient for the phase equations and for the Navier–Stokes equations, respectively, namely, the stabilized schemes (cf. [28]) for the phase equations and projection-type schemes [3, 26] for the Navier–Stokes equations. We shall construct several efficient time discretization schemes which satisfy a discrete energy law and which lead to, at each time step, aweakly coupled system for the velocity and phase function and an elliptic equation for the pressure. Note that the elliptic equation for the pressure resultant from a projection-type scheme involves the density as a variable coefficient. In the case of a large density ratio, solving this elliptic equation for pressure usually takes most of the CPU time (sometimes more than 90% of the total cost). Therefore, we shall propose a pressure-stabilized formulation which only requires solving a Poisson equation for the pressure. The third objective is to validate the new model and the proposed numerical schemes through careful numerical simulations, including the dynamics of an air bub- ble rising in water, a particularly challenging situation where the density ratio is close to 1000 and the viscosity ratio is close to 70. The rest of the paper is organized as follows. In the next section, we derive a new phase-field model for two-phase incompressible flows with different densities and viscosities that admits an energy law. Then,in section 3, we describe in detail several efficient time discretization schemes and establish discrete energy laws which are in the same spirit of the continuous discrete energy law. In section 4, we present several numerical results to illustrate the effectiveness and the correctness of these numerical schemes. We conclude with a few remarks in the last section. 2. A new phase-field model for two-phase flows with variable density and viscosity . We consider a mixture of two immiscible, incompressible fluids with densities ρ 1,ρ2 and viscosities μ1,μ2. In order to identify the regions occupied by the two fluids, we introduce a phase functionφsuch that (2.1) φ(x,t)= { 1 fluid 1, −1 fluid 2, with a thin smooth transition layer of thicknessηconnecting the two fluids so the interface of the mixture can be described by Γt = {x : φ(x,t)=0 }.L e tF(φ)= 1 4η2 (φ2 −1)2 be the Ginzburg–Landau double-well potential, and define the mixing energy functional (2.2) W(φ,∇φ)= ∫ Ω ( 1 2|∇φ|2 +F(φ) ) dx, which represents the competition between the hydrophilic and hydrophobic properties of the two-phase flow. We can then determine the dynamics of the phase functionφ by a gradient flow (2.3) φt +(u·∇)φ= −γδW δφ, where the variational derivativeδW δφcan be taken inH−1, leading to the (conserved) Cahn–Hilliard phase equation (2.4) φt +(u·∇)φ= −γΔ(Δφ−f(φ)), Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1161 where f(φ)= F′(φ), or inL2, leading to the (nonconserved) Allen–Cahn phase equa- tion (2.5) φt +(u·∇)φ= γ(Δφ−f(φ)). For immiscible two-phase flows, we can introduce a nonlocal Lagrange multiplierξ(t) in the Allen–Cahn case to enforce the volume fraction conservation (cf. [28]), namely, φt +(u·∇)φ= γ(Δφ−f(φ)+ ξ(t)), d dt ∫ Ω φdx=0 .(2.6) On the other hand, the momentum equation for the two-phase system takes the usual form (2.7) ρ(ut +(u·∇)u)= ∇· τ, where the total stressτ= μD(u) −pI + τe with D(u)= ∇u + ∇uT and τe is the extra elastic stress induced by the interfacial surface tension. It can be shown, using the least-action principle and the mixing energy functional defined above, that the momentum equation becomes (2.8) ρ(ut +(u·∇)u)= ∇· (μD(u)−pI −λ(∇φ⊗∇φ)), where λis the mixing energy density. In the above,ρand μare slave variables defined by the linear average (2.9) ρ(φ)= ρ1 −ρ2 2 φ+ ρ1 +ρ2 2 ,μ(φ)= μ1 −μ2 2 φ+ μ1 +μ2 2 . Hence, the Cahn–Hilliard phase equation (2.4) (respectively, Allen–Cahn phase equa- tion (2.6)) and the momentum equation (2.8), together with the incompressibility constraint (2.10) ∇· u =0 and suitable boundary and initial conditions, form a complete system for (u,p,φ) (respectively, (u,p,φ,ξ)) withρand μgiven by (2.9). When the density ratio is small, a usualapproach is to use the Boussinesq ap- proximation, i.e., replacing (2.8) by (2.11) ρ0(ut +(u·∇)u)= ∇· (μD(u)−pI −λ(∇φ⊗∇φ)) +g(ρ1,ρ2), where ρ0 = ρ1+ρ2 2 and g(ρ1,ρ2) is an additional gravitational force to account for the density difference. Taking the inner product of (2.11) withu and that of (2.4) with −λ(Δφ−f(φ)), with suitable boundary conditions foru and φ, and using the identity ∇· (∇φ⊗∇φ)=Δ φ∇φ+ 1 2∇|∇φ|2,(2.12) we find that the Cahn–Hilliard phase-field system (2.4)-(2.10)-(2.11) admits the fol- lowing energy law: d dt ∫ Ω ( 1 2ρ0|u|2 + λ 2|∇φ|2 +λF(φ) ) dx = ∫ Ω gudx − ∫ Ω (μ 2|D(u)|2 +λγ|∇(Δφ−f(φ))|2 ) dx. (2.13) Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1162 JIE SHEN AND XIAOFENG YANG Similarly, for the Allen–Cahn phase-field system (2.6)-(2.10)-(2.11), we have d dt ∫ Ω ( 1 2ρ0|u|2 + λ 2|∇φ|2 +λF(φ) ) dx = ∫ Ω gudx − ∫ Ω (μ 2|D(u)|2 +λγ|Δφ−f(φ)+ ξ(t)|2 ) dx. (2.14) Unfortunately, to the best of the authors’ knowledge, there is no corresponding energy law available for the original system (2.4)-(2.8)-(2.10) or (2.6)-(2.8)-(2.10). Therefore, our first task is to modify the above system in a physically consistent way to obtain a system which admits an energy law. A critical property of the nonlinear term for the Navier–Stokes equations (with constant density) is the skew-symmetric property ∫ Ω ρ0(u·∇)v ·vdx =0i f ∇· u =0 ,u·v|Γ=0 ,a n dv is sufficiently smooth,(2.15) which does not hold if the constantρ0 in the above is replaced by a nonconstant function ρ. To overcome this difficulty, Guermond and Quartapelle [7] introduced a new variableσ= √ ρin place ofρ. Using the mass conservation (2.16) ρt +∇· (ρu)=0 , one derives σ(σu)t = ρut + 1 2ρtu = ρut −1 2∇· (ρu)u.(2.17) Therefore, it is physically consistent to replaceρut in (2.8) byσ(σu)t + 1 2∇· (ρu)u, leading to the modified momentum equation σ(σu)t +(ρu·∇)u+ 1 2∇· (ρu)u−∇· μD(u)+ ∇p+λ∇· (∇φ⊗∇φ)=0 .(2.18) The main advantage of the new formulation is that the following desired property holds: ∫ Ω (ρu·∇)v ·vdx + 1 2 ∫ Ω ∇· (ρu)v ·vdx =0i f u·n|Γ=0 .(2.19) With the above identity, a similar procedure as before shows that the modified Cahn– Hilliard phase-field system (2.4)-(2.10)-(2.18) admits the following energy law: d dt ∫ Ω ( 1 2|σu|2 + λ 2|∇φ|2 +λF(φ) ) dx = − ∫ Ω (μ 2|D(u)|2 +λγ|∇(Δφ−f(φ))|2 ) dx. (2.20) Similarly, for the modified Allen–Cahn phase-field system (2.6)-(2.10)-(2.18), we have d dt ∫ Ω ( 1 2|σu|2 + λ 2|∇φ|2 +λF(φ) ) dx = − ∫ Ω (μ 2|D(u)|2 +λγ|Δφ−f(φ)+ ξ(t)|2 ) dx. (2.21) Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1163 3. Time discretizations and their stability analysis. In this section, we study time discretizations of the new phase-field model introduced in the last section. The goal is to construct time discretization schemes which satisfy a discrete energy law similar to the continuous case (2.21) and are easy to solve in practice. To fix the idea and simplify the presentation, we shall consider only the Allen– Cahn phase-field system (2.5)-(2.10)-(2.18). We omit the Lagrange multiplier ξ(t) in (2.6) as it does not introduce any computational or analytical difficulties. The time discretization of the Cahn–Hilliard phase-field system (2.4)-(2.10)-(2.18) can be treated in essentially the same fashion, except that its full discretization is more challenging due to the fourth-order spatial derivatives. Let us first reformulate the system (2.5)-(2.10)-(2.18) into an equivalent form which is more convenient for numerical approximation. Thanks to the maximum principle for the Allen–Cahn phase equation (2.6), we can truncate the double-well potentialF(φ) to quadratic growth for|φ| > 1 without affecting the solution. More precisely, we replaceF(φ)b y (3.1) F(φ)= ⎧ ⎪⎨ ⎪⎩ 1 η2 (φ−1)2,φ > 1, 1 4η2 (φ2 −1)2,φ ∈[−1,1] 1 η2 (φ+1)2,φ < −1. , Then settingf(φ)= F′(φ), we have (3.2) max φ∈R |f′(φ)|≤ 2 η2 . On the other hand, using the identity (2.12), the phase equation (2.6), and the fact that f(φ)∇φ= ∇F(φ), we have (3.3) ∇p+λ∇· (∇φ⊗∇φ)= ∇ ( p+ 1 2λ|∇φ|2 +λF(φ) ) + λ γ(φt +u·∇φ)∇φ. Therefore, if we define the modified pressure as ˜p = p + 1 2λ|∇φ|2 + λF(φ) and still denote it byp for simplicity, we can rewrite the system (2.5)-(2.10)-(2.18) as φt +u·∇φ= γ(Δφ−f(φ)),(3.4a) ρ(φ)= ρ1 −ρ2 2 φ+ ρ1 +ρ2 2 ,μ(φ)= μ1 −μ2 2 φ+ μ1 +μ2 2 ,(3.4b) σ(σu)t +(ρu·∇)u+ 1 2∇· (ρu)u−∇· μD(u)+ ∇p+ λ γ(φt +u·∇φ)∇φ=0 ,(3.4c) ∇· u =0 .(3.4d) To fix the idea, we consider the boundary conditions u|∂Ω =0 , ∂φ ∂n|∂Ω =0 .(3.5) We note that a similar reformulation is considered in [12] for a liquid crystal flow. Taking the inner product of (3.4a) withλ γ(φt +u·∇φ) and that of (3.4c) withu, we find d dt ∫ Ω ( 1 2|σu|2 + λ 2|∇φ|2 +λF(φ) ) dx = − ∫ Ω ( μ 2|D(u)|2 + λ γ|φt +u·∇φ|2 ) dx. (3.6) Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1164 JIE SHEN AND XIAOFENG YANG The above coupled nonlinear system presents formidable challenges for algorithm design, analysis, and implementation, particularly so when the density ratio is large. In this section, we shall design numerical algorithms which admit an energy law and overcome three main difficulties associated with this coupled nonlinear system, namely, (i) the coupling of the velocity and pressure with variable density and vis- cosity, (ii) the stiffness associated with the interfacial widthη, and (iii) the pressure solver with a large density ratio. •A common strategy to decouple the computation of the pressure from the velocity is to use a projection-type scheme as in the case for Navier–Stokes equations (cf., for instance, a recent review in [9]). However, most of the numerical analysis for projection-type schemes are limited to problems with constant density and viscosity. The few exceptions which deal with variable density are [7, 19, 8], which serve as inspiration for the numerical schemes we present below. We note that in [14],the authors considered a mixed finite element scheme for the Navier–Stokesequations with variable density and with the viscosity as a given function of the density. •To alleviate the difficulty associated with the stiffness caused by the thin interfacial width, we introduce a stabilizing term in the phase equation as in [28, 22]. This stabilizing term allows us to treat the nonlinear term in the phase equation explicitly without suffering from any time step constraint. •A typical projection type scheme will lead to an elliptic equation with density asa variablecoefficient forthe pressure. The numericalsolution ofthis elliptic equation could become very expensive when the density ratio is large. We shall consider a pressure stabilized formulation to avoid solving a pressure elliptic equation with density as a variable coefficient. Finally, we need to combine these ideas together to construct efficient and energy stable schemes for the coupled nonlinear system (3.4). 3.1. A scheme based on the Chorin–T emam projection method. For the sake of clarity, we shall first present a simple scheme based on the Chorin–Temampro- jection method. While this scheme lacks sufficient accuracy and is not recommended in practice, it embodies most of the essential ideas in the more accurate schemes that we construct subsequently. Since the solution of a discretized phase equation does not necessarily satisfy a maximum principle, we set ˆφ= { φ, |φ|≤ 1, sign(φ), |φ| > 1,(3.7) and we shall use it to update the density and viscosity so as to keep their positivity. Our first scheme reads as follows: Given initial conditionsu 0 and φ0, we compute (φn+1,˜un+1,un+1,pn+1)f o rn ≥0 by ⎧ ⎨ ⎩ 1 δt(φn+1 −φn)+(˜un+1 ·∇)φn + γ η2(φn+1 −φn)−γ(Δφn+1 −f(φn)) = 0, ∂nφn+1|∂Ω =0 ; (3.8a) (3.8b) ρn+1 = ρ1 −ρ2 2 ˆφn+1 + ρ1 +ρ2 2 ,μ n+1 = μ1 −μ2 2 ˆφn+1 + μ1 +μ2 2 ,σ n+1 = √ ρn+1; Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1165 ⎧ ⎪⎪ ⎪⎪⎪ ⎨ ⎪⎪ ⎪⎪⎪ ⎩ σ n+1σn+1˜un+1 −σnun δt +ρn(un ·∇)˜un+1 + 1 2(∇· (ρnun))˜un+1 −∇· μn+1D(˜un+1)+ λ γ ( 1 δt(φn+1 −φn)+(˜un+1 ·∇)φn ) ∇φn =0 , ˜un+1|∂Ω =0 ; (3.8c) ⎧ ⎪⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎩ ρ n+1un+1 −˜un+1 δt +∇pn+1 =0 , ∇· un+1 =0 , n·un+1|∂Ω =0 . (3.8d) Several remarks are in order. Remark 3.1. A stabilizing termγ η2 (φn+1 −φn) is introduced in (3.8a). This term introduces an additional consistency error of orderγδt η2 φ′(ξ) which is of the same order as the error introduced by the explicit treatment off(φ). From (3.7) and (3.8b), we haveρ1 ≤ρn+1 ≤ρ2 and μ1 ≤μn+1 ≤μ2,s oσn+1 is well defined. Theequations(3.8a)through(3.8c)forma weakly coupledsystem, forifwereplace ˜un+1 by ˜un in (3.8a), then we can obtainφn+1 and ˜un+1 by solving two decoupled linear elliptic equations. The system is onlyweakly nonlinear through σn+1 in (3.8c). Thus, it can be efficiently solved by either decoupling theweakly coupled system with a lagged velocity for the convective term in the phase equation or using a simple subiteration process. Equation (3.8d) is decoupled from the other equations. An equivalent formulation is ( 1 ρn+1 ∇pn+1,∇q ) = 1 δt(˜un+1,∇q) for all q ∈H1(Ω), un+1 =˜un+1 −δt 1 ρn+1∇pn+1. (3.9) Thus, an elliptic equation with variable1 ρn+1 needs to be solved at each time step. We show below that the above scheme admits a discrete energy law. To simplify the notation, we denote (3.10) ˙φn+1 = 1 δt(φn+1 −φn)+(˜un+1 ·∇)φn. Theorem 3.1. The solution of scheme (3.8) satisfies the following discrete energy law: ∥σn+1un+1∥2 L2 +λ∥∇φn+1∥2 L2 +2λ(F(φn+1),1) +δt (2λ γ∥˙φn+1∥2 L2 +∥ √ μn+1D(˜un+1)∥2 L2 ) ≤∥σnun∥2 L2 +λ∥∇φn∥2 L2 +2λ(F(φn),1). Proof. Taking the inner product of (3.8c) with 2δt˜un+1 and using (2.19) and 2δt(μn+1D(˜un+1),∇˜un+1)= δt∥ √ μn+1D(˜un+1)∥2 L2,(3.11) Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1166 JIE SHEN AND XIAOFENG YANG we derive ∥σn+1˜un+1∥2 L2 −∥σnun∥2 L2 +∥σn+1˜un+1 −σnun∥2 L2 +δt∥ √ μn+1D(˜un+1)∥2 L2 + 2λδt γ ( ˙φn+1∇φn,˜un+1)=0 . (3.12) Taking the inner product of (3.8d) with 2δtun+1 ,w eo b t a i n ∥σn+1un+1∥2 L2 +∥σn+1(un+1 −˜un+1)∥2 L2 = ∥σn+1˜un+1∥2 L2.(3.13) Combining the above inequalities and using (3.2), we find ∥σn+1un+1∥2 L2 −∥σnun∥2 L2 +∥σn+1(un+1 −˜un+1)∥2 L2 +∥σn+1˜un+1 −σnun∥2 L2 +δt∥ √ μn+1D(˜un+1)∥2 L2 + 2λδt γ (˙φn+1∇φn,˜un+1)=0 . (3.14) Taking the inner product of (3.8a) with2λ γ(φn+1 −φn), we have 2λδt γ ∥˙φn+1∥2 L2 −2λδt γ (˙φn+1,˜un+1 ·∇φn)+ 2λ η2 ∥φn+1 −φn∥2 L2 +λ(∥∇φn+1∥2 L2 −∥∇φn∥2 L2 +∥∇φn+1 −∇φn∥2 L2) +2λ(f(φn),φn+1 −φn)=0 . (3.15) For the last term in (3.15), we use the Taylor expansion (3.16) F(φn+1)−F(φn)= f(φn)(φn+1 −φn)+ f′(ξn) 2 (φn+1 −φn)2. Combining (3.14), (3.15), and (3.16), we obtain ∥σn+1un+1∥2 L2 −∥σnun∥2 L2 +δt∥ √ μn+1D(˜un+1)∥2 L2 + 2λδt γ ∥˙φn+1∥2 L2 + 2λ η2 ∥φn+1 −φn∥2 L2 +λ(∥∇φn+1∥2 L2 −∥∇φn∥2 L2 +∥∇φn+1 −∇φn∥2 L2) +2λ(F(φn+1)−F(φn),1) ≤λ(f′(ξn)(φn+1 −φn),φn+1 −φn) ≤2λ η2 ∥φn+1 −φn∥2 L2. Then, the desired result follows from the above inequality. It is well known (cf., for instance, [23]) that the Chorin–Temam projection scheme is first-order accurate for the velocity in theL2 norm and 1 2-order accurate for the velocity in theH1 norm and pressure in theL2 norm. Furthermore, replacing the backward Euler discretization in (3.8) by a higher-order backward difference formula (BDF) will not improve the accuracy. Therefore, scheme (3.8) is not suitable in practice due to its poor accuracy. Below we shall construct more accurate numerical schemes with similar computational simplicity. 3.2. Schemes based on a gauge-Uzawa formulation. In [7], the authors proposed some projection-type schemes for the Navier–Stokes equations and proved their stability. However, their more accurate versions based on the pressure correction require two pressure solvers at each time step. In [19], the authors constructed two Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1167 schemes based on a gauge-Uzawa formulation [16] which is a modified version of the original gaugemethod [5]. The schemes in [19] require only one pressuresolver at each time step, while having the same order ofaccuracy as the schemes in [7]. Following the approach in [19], we construct below a first-order gauge-Uzawa scheme for the phase-field model (3.4). Given are initial conditionsφ 0, s0 =0 ,a n du0 and set ¯μ= min(μ1,μ2). We compute (φn+1,˜un+1,un+1,sn+1)f o rn ≥0b y ⎧ ⎨ ⎩ 1 δt(φn+1 −φn)+(˜un+1 ·∇)φn + γ η2 (φn+1 −φn)−γ(Δφn+1 −f(φn)) = 0, ∂nφn+1|∂Ω =0 ; (3.17a) (3.17b) ρn+1 = ρ1 −ρ2 2 ˆφn+1 + ρ1 +ρ2 2 ,μn+1 = μ1 −μ2 2 ˆφn+1 + μ1 +μ2 2 ,σ n+1 = √ ρn+1; ⎧ ⎪⎪ ⎪ ⎪ ⎪⎪⎪ ⎪ ⎪ ⎨ ⎪⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ σ n+1 σn+1˜un+1 −σnun δt +ρn(un ·∇)˜un+1 + 1 2(∇· (ρnun))˜un+1 −∇· μn+1D(˜un+1) +¯μ∇sn + λ γ ( 1 δt(φn+1 −φn)+(˜un+1 ·∇)φn ) ∇φn =0 , ˜un+1|∂Ω =0 ; (3.17c) ⎧ ⎪⎨ ⎪⎩ −∇· ( 1 ρn+1∇ψn+1 ) = ∇· ˜un+1, ∂nψn+1 =0 ; (3.17d) ⎧ ⎨ ⎩ un+1 =˜un+1 + 1 ρn+1∇ψn+1, sn+1 = sn −∇· ˜un+1. (3.17e) Remark 3.2. In the above, sn is the so-called gauge variable. Although the pressure does not appear explicitly in the scheme, a proper approximation to the pressure is [19] p n+1 = −ψn+1 δt +¯μsn+1.(3.18) Similarto(3.8),theaboveschemeinvolvesaweaklycoupledsystemfor( φn+1,˜un+1) and an elliptic equation with density as variable coefficient for the pseudopressure “ψ n+1.” When the density ratio is large, it becomes very difficult to solve this equa- tion efficiently. This difficulty is shared byall projection-based schemes since they all involve projecting the nonsolenoidal provisional velocity onto the divergence-free space as in (3.17d) and (3.17e). We have the following result for the scheme (3.17). Theorem 3.2. The solution of scheme (3.17) satisfies the following discrete energy law: ∥σ k˜un+1∥2 L2 +¯μδt∥sn+1∥2 L2 +λ∥∇φn+1∥2 L2 +2λ(F(φn+1),1) +δt ( 2λ γ∥˙φn+1∥2 L2 +¯μ∥∇˜un+1∥2 L2 ) ≤∥σn˜un∥2 L2 +¯μδt∥sn∥2 L2 +λ∥∇φn∥2 L2 +2λ(F(φn),1). Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1168 JIE SHEN AND XIAOFENG YANG Proof. Taking the inner product of (3.17b) with 2δt˜un+1 and using (2.19) and (3.11), we obtain ∥σn+1˜un+1∥2 L2 −∥σnun∥2 L2 +∥σn+1˜un+1 −σnun∥2 L2 +δt∥ √ μn+1D(˜un+1)∥2 L2 +2¯μδt(∇sn,˜un+1)+ 2λδt γ (˙φn+1∇φn,˜un+1)=0 . (3.19) Using (3.17e), we obtain (σnun,σnun)=( ρnun,un)= ( ρn ( ˜un + 1 ρn∇ψn ) ,un ) =( ρn˜un,un) = ( ρn˜un,˜un + 1 ρn∇ψn ) = ∥σn˜un∥2 L2 + ( un − 1 ρn∇ψn,∇ψn ) = ∥σn˜un∥2 L2 −∥ 1 σn∇ψn∥2 L2 (3.20) and 2¯μδt(∇sn,˜un+1)=2¯μδt(sn,−∇·˜un+1)=2¯μδt(sn,sn+1 −sn) =¯μδt(∥sn+1∥2 L2 −∥sn∥2 L2 −∥sn+1 −sn∥2 L2) =¯μδt(∥sn+1∥2 L2 −∥sn∥2 L2)−¯μδt∥∇· ˜un+1∥2 L2. (3.21) It is easy to check by integration by parts that ∥D(u)∥2 L2 = ∥∇u∥2 L2 +∥∇· u∥2 L2 for allu ∈H1 0(Ω)d.(3.22) Hence, we have ¯μ∥∇· ˜un+1∥2 L2 +¯μ∥∇˜un+1∥2 L2 = ∥√ ¯μD(˜un+1)∥2 L2 ≤∥ √ μn+1D(˜un+1)∥2 L2.(3.23) Combining the above inequalities, we find ∥σn+1˜un+1∥2 L2 −∥σn˜un∥2 L2 +   1 σn∇ψn   2 L2 +∥σn+1˜un+1 −σnun∥2 L2 +¯μδt(∥sn+1∥2 L2 −∥sn∥2 L2)+ δt¯μ∥∇˜un+1∥2 L2 + 2λδt γ ( ˙φn+1∇φn+1,˜un+1) ≤0. Taking the inner product of (3.17a) with2λ γ(φn+1−φn) and using the same procedure as in the proof of Theorem 3.1, we can obtain ∥σn+1˜un+1∥2 L2 −∥σn˜un∥2 L2 +    1 σn∇ψn    2 L2 +∥σn+1˜un+1 −σnun∥2 L2 +δt¯μ∥∇˜un+1∥2 L2 +¯μδt(∥sn+1∥2 L2 −∥sn∥2 L2)+ 2λδt γ ∥˙φn+1∥2 L2 +λ(∥∇φn+1∥2 L2 −∥∇φn∥2 L2 +∥∇φn+1 −∇φn∥2 L2) +2λ(F(φn+1)−F(φn),1) ≤0. Then, the desired result follows from the above inequality. Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1169 It is clear that scheme (3.17) is only of first-order. However, a formally second- order scheme can be constructed by combining the second-order scheme in [19] and the approach for the phase equation in (3.17) as follows. For the sake of simplicity, we shall denote, for any sequence {ak}, a∗,k+1 = 2ak −ak−1. ⎧ ⎪⎪ ⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎪ ⎩ 3φ n+1 −4φn +φn−1 2δt +(˜un+1 ·∇)φ∗,n+1 + γ η2(φn+1 −2φn +φn−1)−γ(Δφn+1 −2f(φn)+ f(φn−1)) = 0, ∂nφn+1|∂Ω =0 ; (3.24a) (3.24b) ρn+1 = ρ1 −ρ2 2 ˆφn+1 + ρ1 +ρ2 2 ,μn+1 = μ1 −μ2 2 ˆφn+1 + μ1 +μ2 2 ; (3.24c) ⎧ ⎪⎪ ⎪ ⎪ ⎪ ⎪⎪⎨ ⎪⎪ ⎪ ⎪⎪⎪ ⎪ ⎩ ρ n+13˜un+1 −4un +un−1 2δt +ρn+1(u∗,n+1 ·∇)˜un+1 + 1 2(∇· (ρn+1u∗,n+1))˜un+1 −∇· μn+1D(˜un+1)+ ∇pn +¯μ∇sn + λ γ ( 1 2δt(3φn+1 −4φn +φn−1)+(˜un+1 ·∇)φ∗,n+1 ) ∇φ∗,n+1 =0 , ˜un+1|∂Ω =0 ; ⎧ ⎪⎨ ⎪⎩ −∇· ( 1 ρn+1∇ψn+1 ) = ∇· ˜un+1, ∂nψn+1 =0 ; (3.24d) ⎧ ⎪⎪ ⎪⎪⎨ ⎪⎪ ⎪ ⎪⎩ u n+1 =˜un+1 + 1 ρn+1∇ψn+1, sn+1 = sn −∇· ˜un+1, pn+1 = pn − 3 2δtψn+1 +¯μsn+1. (3.24e) The numerical procedure for the second-order scheme (3.24) is exactly the same for the first-order scheme (3.17). However, while it appears possible to prove its stability, the process will be so technically complicated that we shall not pursue it in this paper. 3.3. Schemes based on pressure stabilization. As discussed in Remark 3.2, any scheme with a projection step would result in an elliptic equation with density as the variable coefficient. This observation led Guermond and Salgado [8] to construct a scheme for the Navier–Stokes equations with variable density, based on pressure stabilization (cf., for instance, [20, 25, 18, 9]), namely, the divergence-free condition is replaced by (3.25) ∇· u−δΔp t =0 , where δis a small parameter. Inspired by the incremental pressure stabilization scheme for the Navier–Stokes equations presented in [8], we propose the following first-order scheme. Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1170 JIE SHEN AND XIAOFENG YANG Given are initial conditionsφ0, p0 =0 ,u0,a n ds e t¯ρ= min(ρ1,ρ2). We compute (φn+1,un+1,pn+1)f o rn ≥0b y ⎧ ⎨ ⎩ φn+1 −φn δt +(un+1 ·∇)φn + γ η2(φn+1 −φn)−γ(Δφn+1 −f(φn)) = 0, ∂nφn+1|∂Ω =0 ; (3.26a) (3.26b) ρn+1 = ρ1 −ρ2 2 ˆφn+1 + ρ1 +ρ2 2 ,μn+1 = μ1 −μ2 2 ˆφn+1 + μ1 +μ2 2 ; ⎧ ⎪⎪ ⎪ ⎪ ⎪ ⎪⎪⎪ ⎪ ⎨ ⎪⎪⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ 1 2(ρn+1 +ρn)un+1 −ρnun δt +ρn(un ·∇)un+1 + 1 2(∇· (ρnun))un+1 −∇· μn+1D(un+1) +∇(2pn −pn−1)+ λ ( φn+1 −φn δt +(un+1 ·∇)φn ) ∇φn =0 , un+1|∂Ω =0 ; (3.26c) ⎧ ⎨ ⎩ Δ(pn+1 −pn)= ¯ρ δt∇· un+1, ∂npn+1|∂Ω =0 . (3.26d) The above scheme involves a weakly coupled system for (φn+1,un+1)a n daP o i s - son equation for the pressure increment. So this scheme is computationally more efficient than (3.17), particularly when the density ratio is large. On the other hand, the above scheme does not lead to a divergence-free approximation while (3.17) does. Let us denote (3.27) ˙φn+1 = φn+1 −φn δt +(un+1 ·∇)φn. We have the following result. Theorem 3.3. The solution of scheme (3.26) satisfies the following energy law: ∥σn+1un+1∥2 L2 + δt2 ¯ρ∥∇pn+1∥2 L2 +λ∥∇φn+1∥2 L2 +2λ(F(φn+1),1) +δt ( 2λ γ∥˙φn+1∥2 L2 +∥μn+1D(un+1)∥2 L2 ) ≤∥σnun∥2 L2 + δt2 ¯ρ∥∇pn∥2 L2 +λ∥∇φn∥2 L2 +2λ(F(φn),1). Proof. Taking the inner product of (3.26c) with 2δtun+1 from ( 1 2(ρn+1 +ρn)un+1 −ρnun,2un+1 ) = ∥σn+1un+1∥2 L2 −∥σnun∥2 L2 +∥σn(un+1 −un)∥2 L2 (3.28) and using (2.19), we have ∥σn+1un+1∥2 L2 −∥σnun∥2 L2 +∥σn(un+1 −un)∥2 L2 +δt∥ √ μn+1D(un+1)∥2 L2 +2δt(pn+1 −2pn +pn−1,∇· un+1) −2δt(pn+1,∇· un+1)+ 2λδt γ (˙φn+1∇φn,un+1)=0 . (3.29) Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1171 Taking the inner product of (3.26d) with2δt2 ¯ρ (pn+1 −2pn +pn−1), we obtain −δt2 ¯ρ(∥∇(pn+1 −pn)∥2 L2 −∥∇(pn −pn−1)∥2 L2 +∥∇(pn+1 −2pn +pn−1)∥2 L2) =2 δt(∇· un+1,pn+1 −2pn +pn−1). (3.30) Taking the inner product of (3.26d) with−2δt2 ¯ρ pn+1,w eo b t a i n δt2 ¯ρ(∥∇pn+1∥2 L2 −∥∇pn∥2 L2 +∥∇(pn+1 −pn∥2 L2) = −2δt(∇· un+1,pn+1). (3.31) After adding the above two equalities together, we have 2δt(pn+1 −2pn +pn−1,∇· un+1)−2δt(pn+1,∇· un+1) = δt2 ¯ρ(∥∇pn+1∥2 L2 −∥∇pn∥2 L2)+ δt2 ¯ρ∥∇(pn −pn−1)∥2 L2 −δt2 ¯ρ∥∇(pn+1 −2pn +pn−1)∥2 L2. (3.32) Taking the difference of (3.26d) at stepn+1andstep n, we derive δt2 ¯ρ∥∇(pn+1 −2pn +pn−1)∥2 L2 ≤¯ρ∥un+1 −un∥2 L2 ≤∥σn(un+1 −un)∥2 L2.(3.33) Combining the above inequalities together, we derive ∥σn+1un+1∥2 L2 −∥σnun∥2 L2 +δt∥ √ μn+1D(un+1)∥2 L2 + δt2 ¯ρ(∥∇pn+1∥2 L2 −∥∇pn∥2 L2)+ δt2 ¯ρ∥∇(pn+1 −pn)∥2 L2 + 2λδt γ (˙φn+1∇φn,un+1) ≤0. (3.34) Taking the inner product of (3.26a) with2λ γ(φn+1−φn) and using the same procedure as in the proof of Theorem 3.1, finally we obtain ∥σn+1un+1∥2 L2 −∥σnun∥2 L2 +δt∥ √ μn+1D(un+1)∥2 L2 + δt2 ¯ρ(∥∇pn+1∥2 L2 −∥∇pn∥2 L2)+ δt2 ¯ρ∥∇(pn+1 −pn)∥2 L2 + 2λδt γ ∥˙φn+1∥2 L2 +λ(∥∇φn+1∥2 L2 −∥∇φn∥2 L2 +∥∇φn+1 −∇φn∥2 L2) +2λ(F(φn+1)−F(φn),1) ≤0. Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1172 JIE SHEN AND XIAOFENG YANG We can construct a second-order version of scheme (3.26) by combining the ap- proaches for the phase equation in (3.26) and for the velocity-pressure in [8]. As before, we still denote, for any sequence{ak}, a∗,k+1 =2 ak −ak−1. Then a second- order version of (3.26) reads ⎧ ⎪⎪ ⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎪ ⎩ 3φ n+1 −4φn +φn−1 2δt +(un+1 ·∇)φ∗,n+1 + γ η2(φn+1 −2φn +φn−1) −γ(Δφn+1 −2f(φn)+ f(φn−1)) = 0, ∂nφn+1|∂Ω =0 ; (3.35a) (3.35b) ρn+1 = ρ1 −ρ2 2 ˆφn+1 + ρ1 +ρ2 2 ,μn+1 = μ1 −μ2 2 ˆφn+1 + μ1 +μ2 2 ; ⎧ ⎪⎪⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪⎪⎪ ⎪ ⎪ ⎩ ρ n+1 2δt(3un+1 −4un +un−1)+ ρn+1(∇· u∗,n+1)un+1 −∇· μn+1D(un+1)+ ∇ ( pn + 4 3ψn −1 3ψn−1 ) + λ γ ( 1 2δt(3φn+1 −4φn +φn−1)+( un+1 ·∇)φ∗,n+1 ) ∇φn+1 =0 , un+1|∂Ω =0 ; (3.35c) ⎧ ⎪⎪ ⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎪ ⎩ Δψ n+1 = 3¯ρ 2δt∇· un+1, ∂nψn+1|∂Ω =0 , pn+1 = pn +ψn+1 −μn+1∇· un+1. (3.35d) We note that the numerical procedure for the above scheme is exactly the same as that of scheme (3.26). However, while it is not hard to show that the above scheme is formally second-order accurate, it appears to be very difficult to extend the stability proof of scheme (3.26) to this second-order scheme. 4. Numerical results. In this section, we present some computational exper- iments using the numerical schemes constructed in the last section to demonstrate their efficiency and accuracy and the robustness of the phase-field model. 4.1. Brief description of the full discretization schemes. In all the fol- lowing examples, we consider a two-dimensional rectangular domain. We adopt the spatial discretization based on the Legendre–Galerkin method [24] which results in very efficient and accurate solvers for elliptic equations with constant coefficients. We use the inf-sup stable (P N,PN−2) pair for the velocity and pressure (or the gauge or pseudopressure) andPN for the phase function in all schemes. The time discretization schemes constructed in the last section all lead to aweakly coupled system for the velocity and the phase function and an elliptic equation for the pressure. In order to take full advantage of the fast spectral Poisson solvers, we can either decouple the weakly coupled system using a lagged velocity for the convective term in the phase equation, which will lead to a time step constraint, or adopt a simple subiteration process, which requires solving a sequence of decoupled Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1173 elliptic equations at each time step to remove the time step constraint. Therefore, at each time step, all numerical schemespresented in the last section will reduce to a sequence of elliptic equations for the velocityu and phase function φand an elliptic or Poisson equation (depending on which scheme to use) for the pressurep. The nonconstant coefficient elliptic problems will be solved by using a preconditioner conjugate gradient (PCG) method with a suitable constant-coefficient problem as a preconditioner [24]. This PCG approach is usually very effective for moderately varying coefficients. However, when the density ratio becomes large, the pressure equation in the gauge-Uzawa schemes (GUM) (3.17) and (3.24) could become very expensive. In this case, the pressure stabilization-based schemes (PSM) (3.26) and (3.35) become much more efficient than the GUM. 4.2. Accuracy test. In order to test the convergence rates, we consider the system (3.4) in Ω = (−1,1) 2 with μ= 1 and suitable forcing functions such that the exact solution is given by ⎧ ⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪⎪⎪ ⎨ ⎪⎪⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ φ(t,x,y )=2+sin( t)cos(πx)cos(πy), ρ 1 =3 ,ρ2 =1 ,ρ(t,x,y )= φ(t,x,y )+2 u(t,x,y )= πsin(2πy)sin2(πx)sin(t), v(t,x,y )= −πsin(2πx)sin2(πy)sin(t), p(t,x,y )=c o s (πx)sin(πy)sin(t). (4.1) We used 1292 Legendre–Gauss–Lobatto points so the spatial discretization errors are negligible compared with the time discretization error. In Figure 1, we plot theL2 errors of the velocity, pressure, and density between the numerical solution and the exact solution att = 1 with different time step sizes. It is clear from Figure 1(a) that the first-order GUM and PSM are first-order accurate in time for all variables and that the velocity and pressureapproximationsby PSM are slightly more accuratethan those by GUM. On the other hand, we observe from Figure 1(b) that the second-order GUMandPSMappeartobesecond-orderaccurateforallvariablesexceptthepressure approximation by PSM, which appears to be first-order accurate; this is consistent with the pressure errorestimate for the second-orderPSM in [25]. It is also interesting to note that, contrary to the first-ordercase, the velocity and pressure approximations by the second-order GUM are more accurate than those by the second-order PSM. 4.3. A lighter bubble rising in a heavier medium. We now use system (3.4) to study a two-phase incompressible fluid in a rectangular domain Ω = (−d,d)× (−2d,2d) with initially a lighter bubble (with densityρ 1 and dynamic viscosityμ1) in a heavier medium (with densityρ2 and dynamic viscosityμ2). The equations are nondimensionalized using the scaled variables ˆt = t t0 , ˆρ= ρ ρ0 , ˆx = x d0 , ˆu = u u0 ,(4.2) where t0 = √ d/g, d 0 = u0 = √ dg, ρ0 = min(ρ1,ρ2).(4.3) Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1174 JIE SHEN AND XIAOFENG YANG 10 −3 10 −2 10 −110 −5 10 −4 10 −3 10 −2 δt L2 Error GUM PSM Ref:Slope−1 10 −3 10 −2 10 −110 −4 10 −3 10 −2 10 −1 δt L2 Error GUM PSM Ref:Slope−1 10 −3 10 −2 10 −110 −4 10 −3 10 −2 10 −1 δt L2 Error GUM PSM Ref:Slope−1 (a) First-order PSM and GUM for velocity, pressure, and density, respectively. 10 −3 10 −2 10 −110 −8 10 −7 10 −6 10 −5 10 −4 10 −3 10 −2 10 −1 δt L2 Error GUM PSM Ref:Slope−2 10 −3 10 −2 10 −110 −7 10 −6 10 −5 10 −4 10 −3 10 −2 10 −1 δt L2 Error GUM PSM Ref:Slope−2 10 −3 10 −2 10 −110 −6 10 −5 10 −4 10 −3 10 −2 10 −1 δt L2 Error GUM PSM Ref:Slope−2 (b) Second-order PSM and GUM for velocity, pressure, and density, respectively. Fig. 1. Convergence rate comparison of PSM and GUM. Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1175 The dimensionless form of (3.4) with an extra gravitationalforceρgin the momentum equation, after we omit the ˆ from the notation, is φt +(u·∇)φ−γ ( Δφ−φ(φ2 −1) η2 ) =0 ,(4.4) ρ(φ)= ˜ρ1 −˜ρ2 2 φ+ ˜ρ1 +˜ρ2 2 ,μ(φ)= ˜μ1 −˜μ2 2 φ+ ˜μ1 +˜μ2 2 ,(4.5) σ(σu)t +(ρu·∇)u+ 1 2∇· (ρu)u−∇· (μ∇u)+ ∇p+ λ γ ˙φ∇φ=0 ,(4.6) ∇· u =0 ,(4.7) where ˜ρ1 = ρ1/ρ0,˜ρ2 = ρ2/ρ0,˜μ1 = μ1/(ρ0d3/2g1/2), and ˜μ2 = μ2/(ρ0d3/2g1/2). We set the initial velocity to be zero. The smoothed initial condition forφis given by φ(x,t =0 )= −tanh ( r−0.5d η0 ) ,(4.8) where r is the distance from the center of the bubble to the point andη0 is the diffusive interfacial width. We emphasize that in orderto conservethe volumefraction forthe phasefunction, a Lagrangemultiplier as in (2.6) is added in the above model and in the corresponding numerical schemes. 4.3.1. Low density ratio with homogeneous viscosity . We first examine the relative accuracy of different schemes in the last section for a problem with ho- mogeneous viscosity and a low density ratio,ρ1 =1a n dρ2 = 10. We set d = 0.005, g=9 .8, μ1 = μ2 =0 .0011, λ=0 .001, γ=0 .02, and η0 = η=0 .02d. We use a grid size of 2572 and a time step size ofδt=0 .001. In Figure 2, we plot a detailed comparison of the level sets of{φ: φ=0 } by first-order GUM and PSM at different times. No visual difference is observed, indicating that (i) the two schemes capture well the dynamics of the bubble evolution, and (ii) the new phase-field model is robust as the two very different numerical schemes produce identical results. 4.3.2. An air bubble rising in water. We now consider an air bubble rising in water. The physical parameters areρ1 =1 .161 andρ2 = 995.65 withμ1 =0 .0000186, and μ2 =0 .0007977. We set d = 0.005, g = 9.8, λ=0 .001, γ=0 .02, andη0 = η= 0.02d. We use a grid size of 2572 and a time step size ofδt=0 .0001. In Figure 3, we plot a comparison of the level sets{φ: φ=0 } by four different schemes at different times. We observe that the four different schemes, first- and second-order GUM and PSM, produce visually identical results, indicating that all four schemes can be used for challenging two-phase flow simulations. It is interesting to note that the results in Figure 3 appear to be very similar to those in Figure 18 in [17] which was computed by using an adaptive volume-of-fluid approach under a similar physical situation. We note that while the parameters we used here correspond to the physical situa- tion, the two-dimensionalrectangulardomainwe usedis notphysical, sothe numerical results cannot really be validated against the experiments. Since our main objective in this paper is to construct efficient numerical schemes that are energy stable and to show their effectiveness in practice, weshall defer the three-dimensional or two- dimensional axisymmetric simulations and their comparisons with recent results (cf. [4, 17]) to a future study. To summarize, all fournumerical schemesproduceaccurateand reasonableresults as long asδtis sufficiently small, particularly in the case of high density ratios. These results are consistent with the analysis in the last section. Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1176 JIE SHEN AND XIAOFENG YANG −1 −0.5 0 0.5 1 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 GUM PSM −1 −0.5 0 0.5 1 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 GUM PSM −1 −0.5 0 0.5 1 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 GUM PSM (a) Interfaces at different time snapshotst =2 ,6,10. −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 GUM PSM (b) Interface att = 10. Fig. 2 . Low density ratio with homogeneous viscosity,ρ1 =1 and ρ2 = 10; comparisons of first-order PSM and GUM. 5. Concluding remarks. We considered the modeling and numerical approxi- mation of two-phase incompressible flows with different densities in this paper. The main contributions of the paper are as follows: •We developed a physically consistent phase-field model for two-phase incom- pressible flows with different densities that admits an energy law. •We constructed several efficient and energy stable time discretization schemes forthe coupled nonlinearphase-fieldsystem. At eachtime step, these schemes all reduce to a weakly coupled system for the velocity and phase function and an elliptic or Poisson equation for the pressure. In particular, the schemes based on pressure stabilization only require solving a pressure Poisson equa- tion. Thus, they are particularly efficient for problems with large density ratios. Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1177 −1 −0.5 0 0.5 1 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 GUM−1st PSM−1st GUM−2nd PSM−2nd −1 −0.5 0 0.5 1 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 GUM−1st PSM−1st GUM−2nd PSM−2nd −1 −0.5 0 0.5 1 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 GUM−1st PSM−1st GUM−2nd PSM−2nd −1 −0.5 0 0.5 1 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 GUM−1st PSM−1st GUM−2nd PSM−2nd −1 −0.5 0 0.5 1 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 GUM−1st PSM−1st GUM−2nd PSM−2nd −1 −0.5 0 0.5 1 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 GUM−1st PSM−1st GUM−2nd PSM−2nd (a) Interfaces at different time snapshotst =0 .5,1,1.5,2,2.5,3. −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 GUM−1st PSM−1st GUM−2nd PSM−2nd (b) Interface att =3 . Fig. 3. Air bubble in water,ρ1 =1 .161, ρ2 = 995.65, μ1 =0 .0000186,a n dμ2 =0 .0007977 at times snapshots t =0 .5,1,1.5,2,2.5,3. Interfacial contours by the first- and second-order PSM and GUM. Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. 1178 JIE SHEN AND XIAOFENG YANG •Despite the decoupling of the pressure from the velocity and the very weak coupling between the velocity and the phase function, we were still able to prove that these schemes admit energy laws which are discrete counterparts of the continuous energy law. •We carried out ample numerical experiments to compare the accuracy and efficiency of the four proposed schemes, and we performed challenging simu- lations of an air bubble rising in water. While we have only considered the phase-field model based on the Allen–Cahn phase equation, it is clear that similar schemes can be constructed for the phase-field model based on the Cahn–Hilliard phase equation. It is expected that the stability proofs in section 3 can be directly extended to the Cahn–Hilliard case, but their numerical implementation will involve solving fourth-order equations. REFERENCES [1] D. M. Anderson, G. B. McF adden, and A. A. Wheeler , Diffuse-interface methods in fluid mechanics, Annu. Rev. Fluid Mech., 30 (1998), pp. 139–165. [2] R. Becker, X. Feng, and A. Prohl , Finite element approximations of the Ericksen–Leslie model for nematic liquid crystal flow, SIAM J. Numer. Anal., 46 (2008), pp. 1704–1731. [3] A. J. Chorin , Numerical solution of the Navier-Stokes equations, Math. Comp., 22 (1968), pp. 745–762. [4] H. Ding, P. D. M. Spelt, and C. Shu , Calculation of two-phase Navier-Stokes flows using phase-field modeling, J. Comput. Phys., 226 (2007), pp. 2078–2095. [5] W. E and J.-G. Liu , Gauge method for viscous incompressible flows,C o m m u n .M a t h .S c i . ,1 (2003), pp. 317–332. [6] X. Feng, Y. He, and C. Liu , Analysis of finite element approximations of a phase field model for two-phase fluids, Math. Comp., 76 (2007), pp. 539–571. [7] J.-L. Guermond and L. Quartapelle , A projection FEM for variable density incompressible flows, J. Comput. Phys., 165 (2000), pp. 167–188. [8] J.-L. Guermond and A. Salgado , A splitting method for incompressible flows with variable density based on a pressure Poisson equation, J. Comput. Phys., 228 (2009), pp. 2834–2846. [9] J. L. Guermond, P. Minev, and J. Shen , An overview of projection methods for incompress- ible flows, Comput. Methods Appl. Mech. Engrg., 195 (2006), pp. 6011–6045. [10] M. E. Gurtin, D. Polignone, and J. Vi ˜nals, Two-phase binary fluids and immiscible fluids described by an order parameter, Math. Models Methods Appl. Sci., 6 (1996), pp. 815–831. [11] D. Jacqmin , Diffuse interface model for incompressible two-phase flows with large density ratios, J. Comput. Phys., 155 (2007), pp. 96–127. [12] P. Lin, C. Liu, and H. Zhang , An energy law preservingC0 finite element scheme for sim- ulating the kinematic effects in liquid crystal dynamics, J. Comput. Phys., 227 (2007), pp. 1411–1427. [13] C. Liu and J. Shen , A phase field model for the mixture of two incompressible fluids and its approximation by a Fourier-spectral method, Phys. D, 179 (2003), pp. 211–228. [14] C. Liu and N. J. W alkington, Convergence of numerical approximations of the incompressible Navier–Stokes equations with variable density and viscosity, SIAM J. Numer. Anal., 45 (2007), pp. 1287–1304. [15] J. Lowengrub and L. Truskinovsky , Quasi-incompressible Cahn-Hilliard fluids and topolog- ical transitions, Philos. Trans. R. Soc. Lond. Ser. A Math. Phys. Eng. Sci., 454 (1998), pp. 2617–2654. [16] R. Nochetto and J.-H. Pyo , The gauge-Uzawa finite element method. PartI: The Navier– Stokes equations, SIAM J. Numer. Anal., 43 (2005), pp. 1043–1068. [17] S. Popinet, An accurate adaptive solver for surface-tension-driven interfacial flows,J .C o m - put. Phys., 228 (2009), pp. 5838–5866. [18] A. Prohl , Projection and Quasi-Compressibility Methods for Solving the Incompressible Navier-Stokes equations, Adv. in Numer. Math., B. G. Teubner, Stuttgart, 1997. [19] J. Pyo and J. Shen , Gauge-Uzawa methods for incompressible flows with variable density,J . Comput. Phys., 221 (2007), pp. 181–197. [20] R. Rannacher, On Chorin’s projection method for the incompressible Navier-Stokes equations, Lecture Notes in Math. 1530, 1991. [21] L. Rayleigh, On the theory of surface forcesii, Phil. Mag., 33 (1892), p. 209. Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A PHASE-FIELD MODEL FOR TWO-PHASE FLOWS 1179 [22] J. Shen and X. Yang , An efficient moving mesh spectral method for the phase-field model of two-phase flows, J. Comput. Phys., 228 (2009), pp. 2978–2992. [23] J. Shen, On error estimates of the projection methods for the Navier–Stokes equations: First- order schemes, SIAM J. Numer. Anal., 29 (1992), pp. 57–77. [24] J. Shen, Efficient spectral-Galerkin methodI. Direct solvers for second- and fourth-order equa- tions by using Legendre polynomials, SIAM J. Sci. Comput., 15 (1994), pp. 1489–1505. [25] J. Shen , On error estimates of projection methods for the Navier-Stokes equations: Second- order schemes, Math. Comp., 65 (1996), pp. 1039–1065. [26] R. Temam, Sur l’approximation de la solution des ´equations de Navier-Stokes par la m´ethode des pas fractionnairesii, Arch. Ration. Mech. Anal., 33 (1969), pp. 377–385. [27] J. van der W aals, The thermodynamic theory of capillarity under the hypothesis of a contin- uous density variation, J. Stat. Phys., 20 (1893), pp. 197–244. [28] X. Yang, J. J. Feng, C. Liu, and J. Shen , Numerical simulations of jet pinching-off and drop formation using an energetic variational phase-field method, J. Comput. Phys., 218 (2006), pp. 417–428. [29] P. Yue, J. J. Feng, C. Liu, and J. Shen , A diffuse-interface method for simulating two-phase flows of complex fluids, J. Fluid Mech., 515 (2004), pp. 293–317.

采集于

查看校方原文 ↗