校园网页 · 学校官网
v13_1045.dvi
Communications in Computational Physics http://journals.cambridge.org/CPH Additional services for Communications in Computational Physics: Email alerts: Click here Subscriptions: Click here Commercial reprints: Click here Terms of use : Click here Mass and Volume Conservation in Phase Field Models for Binary Fluids Jie Shen, Xiaofeng Yang and Qi Wang Communications in Computational Physics / Volume 13 / Issue 04 / April 2013, pp 1045 - 1065 DOI: 10.4208/cicp.300711.160212a, Published online: 03 June 2015 Link to this article: http://journals.cambridge.org/abstract_S1815240600004163 How to cite this article: Jie Shen, Xiaofeng Yang and Qi Wang (2013). Mass and Volume Conservation in Phase Field Models for Binary Fluids. Communications in Computational Physics, 13, pp 1045-1065 doi:10.4208/cicp.300711.160212a Request Permissions : Click here Downloaded from http://journals.cambridge.org/CPH, IP address: 128.210.206.146 on 22 Jun 2016 Commun. Comput. Phys. doi: 10.4208/cicp.300711.160212a V ol.13, No. 4, pp. 1045-1065 April 2013 Mass and V olume Conservation in Phase Field Models for Binary Fluids Jie Shen1, Xiaofeng Yang2 and Qi Wang2,3,4, ∗ 1 Department of Mathematics, Purdue University, West Lafaye tte, IN 46907, USA. 2 Department of Mathematics and NanoCenter at USC, Universit y of South Carolina, Columbia, SC 29028, USA. 3 School of Mathematics, Nankai University, Tianjin 300071, P .R. China. 4 Beijing Computational Science Research Center, Beijing 10 0084, P .R. China. Received 30 July 2011; Accepted (in revised version) 16 Febr uary 2012 Communicated by Pingwen Zhang Available online 21 September 2012 Abstract. The commonly used incompressible phase field models for non- reactive, bi- nary fluids, in which the Cahn-Hilliard equation is used for t he transport of phase variables (volume fractions), conserve the total volume of each phase as well as the ma- terial volume, but do not conserve the mass of the fluid mixtur e when densities of two components are different. In this paper, we formulate the ph ase field theory for mix- tures of two incompressible fluids, consistent with the quas i-compressible theory [28], to ensure conservation of mass and momentum for the fluid mixt ure in addition to conservation of volume for each fluid phase. In this formulat ion, the mass-average ve- locity is no longer divergence-free (solenoidal) when dens ities of two components in the mixture are not equal, making it a compressible model sub ject to an internal con- straint. In one formulation of the compressible models with internal constraints (model 2), energy dissipation can be clearly established. An effici ent numerical method is then devised to enforce this compressible internal constraint. Numerical simulations in con- fined geometries for both compressible and the incompressib le models are carried out using spatially high order spectral methods to contrast the model predictions. Nu- merical comparisons show that (a) predictions by the two mod els agree qualitatively in the situation where the interfacial mixing layer is thin; and (b) predictions differ significantly in binary fluid mixtures undergoing mixing wit h a large mixing zone. The numerical study delineates the limitation of the common ly used incompressible phase field model using volume fractions and thereby caution s its predictive value in simulating well-mixed binary fluids. AMS subject classifications : 65M70, 76M22, 76T99 Key words: Phase field model, compressibility , multiphase fluid flows, spectral methods. ∗Corresponding author. Email addresses: shen@math.purdue.edu (J. Shen), xfyang@math.sc.edu (X. Yang), qwang@math.sc.edu (Q. Wang) http://www .global-sci.com/ 1045 c⃝2013 Global-Science Press 1046 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1 Introduction Phase field models have been used successfully to study a varie ty of interfacial phenom- ena like equilibrium shapes of vesicle membranes [12–16, 35 ], blends of polymeric liq- uids [17, 36–38], multiphase fluid flows [19, 23–25, 28, 40–45], dentritic growth in solidifi- cation, microstructure evolution [21, 22, 29], grain growth [8], crack propagation [9], mor- phological pattern formation in thin films and on surfaces [26 , 30], self-assembly dynam- ics of two-phase monolayer on an elastic substrate [27], a wi de variety of diffusive and diffusion-less solid-state phase transitions [10, 39], di slocation modeling in microstruc- ture, electro-migration and multiscale modeling [34]. Mult iple phase-field methods can be devised to study multiphase materials [40]. Recently , ph ase field models are applied to study liquid crystal drop deformation in another fluid, liquid films, polymer nanocom- posites, and biofilms [5, 18, 19, 23–25, 28, 40–44, 46]. Comparing to other mathematical and computational technologies available for study- ing multi-phase materials, the phase-field approach exhibit s a clear advantage in its sim- plicity in model formulation, ease of numerical implementation, and the ability to explore essential interfacial physics at the interfacial regions etc. Computing the interface without explicitly tracking the interface is the most attractive nu merical feature of this modeling and computational technology . Since the pioneering work of Cahn and Hilliard in the 50’s of the last century , the Cahn-Hilliard equation has bee n the foundation for various phase field models [6, 7]. It arises naturally as a model for mul tiphase fluid mixtures should the entropic and mixing energy of the mixture system b e known. For immiscible binary fluid mixtures, one commonly uses a labeling or a phase variable (also known as a volume fraction or an order parameter) φ to distinguish between distinct fluid phases. For instance φ =1 indicates one fluid phase while φ =0 denotes the other fluid phase in an immiscible binary mixture. The interfacial region is track ed by 0<φ <1. Given the histor- ical reason, most mixing energies are calculated in terms of the volume fraction instead of the mass fraction in the literature [11,20]. Consequentl y , the system free energy includ- ing the entropic and mixing contribution has been formulate d in the volume fraction as well, especially for polymeric systems [11, 20]. We acknowl edge the existence of diffuse interface models derived using mass fractions [28], which d o not belong to the class of phase field models we are addressing in this paper. We denote th e system free energy for the material system to be modeled by F(φ ,∇ φ ,···). A transport equation for the volume fraction φ along with the conservation equation of momentum and contin uity equation constitutes the essential part of the governing system of eq uations for the binary fluid mixture. The volume fraction serves as an interval variable for the fluid mixture. In the literature on immiscible binary mixtures of incompre ssible fluids, one uses the concept of chemical potential to formulate the transport equation for the volume fractions of the fluids φ 1 and φ 2. In this formulation, the material incompressibility is on the one hand modeled by the continuity equation ∇· v = 0, (1.1) J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1047 while on the other hand, interpreted as the invariant proper ty of the sum of the volume fractions for the two fluid components, i.e., φ 1 +φ 2 = 1 if we denote φ = φ 1 and φ 2 = 1− φ . This assumption is plausible and indeed consistent with the fluid compressibility (1.1) only if the two components are either completely separated b y phase boundaries when their densities are not equal or possibly mixed when the dens ities are identical. Oth- erwise, there is a potential inconsistency with the usual co nservation of mass. This in- consistency has been identified in [28], but ignored by many pr actitioners using phase field modeling technologies using volume fractions as phase v ariables. We note that this inconsistency occurs only in the mixed region of the two inco mpressible fluids, where the incompressible condition (1.1) is no longer valid, indi cating the mixture is no longer incompressible despite that each fluid component participa ting in mixing is incompress- ible. This type of fluids is referred to as quasi-compressibl e in [28]. This paper aims at discussing the inconsistency in phase field models for binary mix- tures of two incompressible fluids of unmatched densities an d viscosities and providing a quantitative assessment for the quasi-compressible phas e field model that obeys the conservation of both mass and volume against the incompress ible one that only respects the volume conservation. The paper is organized as follows. First we discuss the math- ematical formulation of the phase field theory for binary visc ous fluid mixtures and its various approximations and their ramifications. Secondly , w e develop a new set of nu- merical algorithms, which enforce the mass conservation, t o solve the governing system of fluid flow equations. Thirdly , we implement the algorithms using spatially high or- der spectral methods and discuss the discrepancies between the ad hoc incompressible phase field model and the quasi-compressible phase field model i n two representative examples. 2 The mathematical model We revisit the derivation of the governing system of equatio ns for a binary mixture of incompressible viscous fluids, which includes the transpor t equation for a phase vari- able (the volume fraction) and the conservation equations f or mass and linear momen- tum. The conservation equations for a binary system can be fo rmulated in two different ways: either as a two fluid model or a one fluid two component mod el [1, 2, 4]. For nontrivial fluid simulations, the one fluid multi-component formulation often yields a convenient governing system of equations and easy-to-impl ement boundary conditions for the model’s hydro-dynamical variables. The phase field th eory for binary fluids falls naturally into the one fluid two component formulation [6]. I n the phase field formula- tion, chemical reaction between the two distinct component s can take place so that one component can be turned into the other component. However, t he overall mass must be conserved. In this paper, we will not address the phase field fo rmulation with chemical reactions. This topic deserves a separate discussion of its own. 1048 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 2.1 Governing equations In a phase field theory , the transport equation for the volume f raction of one fluid phase is given by φ t +∇· (φ v) =∇· (λ ∇ µ p), (2.1) where v is an average velocity to be clarified below, λ = λ (φ ) is the mobility function, and µ p is an operator related to the chemical potential of the mater ial system to be de- termined. The mobility function λ is often taken as a constant λ 0, but is preferably a function of φ in the form: λ = λ 0φ (1− φ ). (2.2) The Cahn-Hilliard equation with the volume fraction depend ent mobility is called singu- lar or modified Cahn-Hilliard equation. Often, it is approxim ated simply by a constant value λ =λ 0 in studying phase separated, immiscible fluids. The resulta nt equation is the well-known Cahn-Hilliard equation. The free energy of the mixture system is normally a function o f the labeling function of phase function and its higher order derivatives (only the first order is included here for brevity): F = F(φ ,∇ φ ). (2.3) In this paper, we consider the mixture of two incompressible fluids with constant mass density ρ 1 and ρ 2, respectively . The total density of the mixture is then give n by ρ = ρ 1φ +ρ 2(1− φ ). (2.4) We identify v as the mass-average velocity for the mixture. Then, the cons ervation equa- tions for mass and momentum are given by ρ t +∇· (ρ v) =0, (2.5a) (ρ v)t +∇· (ρ vv) =∇· (τ )− φ ∇ µ +Fe, (2.5b) where Fe is the external force and φ ∇ µ is the ”elastic force” or the ”surface force” due to the interfacial energy f (φ ) [?]. The surface force − φ ∇ µ can be replaced by µ ∇ φ modulo a surface term which is normally zero. In light of the transpo rt equation for the volume fraction, we have ∇· v = ρ 2 − ρ 1 ρ 2 [φ t +∇· (φ v)] = ρ 2 − ρ 1 ρ 2 [∇· (λ ∇ µ p)]. (2.6) It is apparent that the divergence free condition for the mas s-average velocity field is sat- isfied only if ρ 1 = ρ 2 or ∇· (λ ∇ µ p) =0. Otherwise, the mass conservation equation serves J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1049 as a constraint for the velocity field, which determines the un determined pressure in the constraint hydrodynamic theory for fluid mixtures. We note t hat ∇· (λ ∇ µ p) is normally not zero for a spatially inhomogeneous system. Hence, as lon g as ρ 1 ̸= ρ 2, Eq. (2.6) serves as a constraint. To close the system of equations, we must come up with a consti tutive equation for the stress tensor τ . We consider the mixture made up of viscous fluids. For viscou s fluids, the stress constitutive equation is τ = τ c +2η D+ν tr(D)I, (2.7) where τ c is the constraint stress responsible to maintain the constr aint Eq. (2.6) without any contribution to the entropy production, η is the shear viscosity , ν is the volumetric viscosity , and D is the rate of strain tensor. The ratio between ν and η depends on the property of the material and is roughly 4.3 for water for exam ple. The viscosity coeffi- cients for the fluid mixture are interpolated through the vol ume fraction and given by η = η 1φ +η 2(1− φ ), ν = ν 1φ +ν 2(1− φ ), (2.8) where η 1,2,ν 1,2 are constant shear and volumetric viscosities for fluid 1 and fluid 2, re- spectively . To deal with constraint (2.6), we augment the chemical potential µ with a term ¯µ called the constraint response in the transport of the volume fract ion: µ p = µ + ¯µ . (2.9) Based on the second law of thermodynamics in the form of the Cl ausius-Duhem inequal- ity , the constraint response does not contribute to entropy production, i.e., τ c : D− (µ − µ p) ˙φ = 0, (2.10) where ˙φ = ∂φ ∂ t +∇· (vφ ) is the material derivative. We rewrite Eq. (2.6) as I : D+ ρ 1 − ρ 2 ρ 2 ˙φ = 0. (2.11) For Eq. (2.10) must be valid for all thermodynamic processes that obeys (2.11), we deduce that τ c = − pI and µ p = µ + ρ 2 − ρ 1 ρ 2 p, (2.12) where p is the hydrodynamic pressure. 1050 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 The governing system of equations for the binary fluid that re spects the conservation of mass and total volume are summarized as follows φ t +∇· (φ v) =∇· (λ ∇ µ p), (2.13a) (ρ v)t +∇· (ρ vv) =ρ [vt +v·∇ v] =∇· (2η D+ν tr(D)I)−∇ p− φ ∇ µ +Fe = ∇· (η ∇ v)+ ∇ ((η +ν )∇· v)−∇ p− φ ∇ µ +Fe , (2.13b) ∇· v = ρ 2 − ρ 1 ρ 2 [∇· (λ ∇ µ p)], (2.13c) µ p = δ F δφ + ρ 2 − ρ 1 ρ 2 p. (2.13d) We refer (2.13) as the compressible model 2 in this paper. On the other hand, if we replace µ p by µ in (2.13a)-(2.13c), we obtain another set of equations, whi ch we refer to as the compressible model 1. With the help of (2.13c), the transpor t equation for φ can be recast into φ t +∇· (φ v) = ρ 2 ρ 2 − ρ 1 ∇· v (2.14) provided ρ 1 ̸= ρ 2. The above compressible models preserve the mass conservation and are compressible inside the mixing/interfacial region. In particular, comp ressible model 1 is also incom- pressible within pure fluid 1 or fluid 2 while compressible mod el 2 may be compressible everywhere due to the role played by the hydrodynamic pressu re in the transport of the volume fraction. On the other hand, the incompressible mode l, in which the mass aver- age velocity field is assumed solenoidal, consists of the foll owing equations: φ t +∇· (φ v) =∇· (λ ∇ µ ), (2.15a) ρ [vt +v·∇ v] =∇· (η ∇ v)) −∇ p− φ ∇ µ +Fe, (2.15b) ∇· v = 0, (2.15c) µ = δ F δφ . (2.15d) This model assumes that the flow is incompressible everywher e at the expense of local mass conservation inside the interfacial/mixing region. For the binary fluid models, we define the total energy as E (t) = ∫ Ω [ ρ ∥v∥2 2 + F ] dx, (2.16) where x is the Eulerian coordinate. For compressible model 1 with Fe = 0, by taking the inner product of (2.13a) (with µ p replaced by µ ) with µ and of (2.13b) with u, we find that the rate of change in the total energy is given by dE dt = − ∫ Ω [λ ∥∇ µ ∥2 +( τ − τ c) : D]dx− ∫ Ω τ c : Ddx. (2.17) J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1051 To ensure positivity in the first integral, we need (2η D+ν tr(D)I) : D ≥ 0, η ≥ 0,ν + 2η 3 ≥ 0. Unfortunately , we have no control over the sign for the secon d integral. On the other hand, for compressible model 2 with Fe = 0, by taking the inner product of (2.13a) with µ p and of (2.13b) with u, we can easily show that the rate of change in the energy for th is system of governing equations is given by dE dt = − ∫ Ω [λ ∥∇ µ p∥2 +( τ − τ c) : D]dx ≤ 0. (2.18) Hence, the total energy is dissipative! We note that Shen and Yang [32, 33] derived in- compressible models which also satisfy an energy dissipati on law. One of the possible traded-offs in enforcing the mass conservation is losing th e energy law if model 1 is used or losing incompressibility everywhere if compressible mo del 2 is used. We note that an analogous phase field equation (to model 2) was also derived us ing an energy argument in [28] for mass fractions. 2.2 Choice of free energy The free energy F can take different form depending on the applications. In th is paper, we consider the free energy density in the following form: F(φ ,∇ φ ) =kBTγ [ 1 2 ∥∇ φ ∥2 + f (φ ) ] , (2.19) where kB is the Boltzmann constant, T is the absolute temperature, and γ is a parameter with the unit of a number density per unit length. γ is in fact proportional to the product of the number density per unit volume and the square of the per sistent length. We first look at the Ginzburg-Laudau free energy with f (φ ) = 1 ǫ 2 φ 2(1− φ )2 (2.20) for two immiscible fluids, where ǫ > 0 is a small parameter characterizing the hydropho- bic property between the two fluids. Therefore, δ F δφ = kBTγ [ −∇ 2φ + 1 ǫ 2 φ (1− φ )(1− 2φ ) ] . (2.21) We also consider the Flory-Huggins mixing free energy for tw o immiscible fluids to simulate the phase separation dynamics. The Flory-Huggins mixing free energy density is given by (2.19) with f (φ ) = 1 ǫ 2 [ φ N1 lnφ + 1− φ N2 ln(1− φ )+ χφ (1− φ ) ] , (2.22) 1052 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 where N1 and N2 are the polymerization indices for fluid 1 and fluid 2 and χ is the mixing parameter between 0 and 2. If both are viscous fluids, we assum e N1 = N2 = 1. In this case, δ F δφ = kBTγ [ −∇ 2φ + 1 ǫ 2 ( lnφ N1 + ln(1− φ ) N2 +χ (1− 2φ ) ) ] +const. (2.23) 2.3 Non-dimensionalization We denote the characteristic time scale by t0 and length scale by L0. The dimensionless variables are defined by ˜t = t t0 , ˜ x = x L0 , ˜ v = vt0 L0 , ˜p = pt2 0 ρ 2L2 0 . (2.24) We will drop the ˜ on the dimensionless variables in the follo wing. We choose L0 so that the dimensionless length Ly = 1. We use Lx = 1 in the following calculations simply for convenience. The dimensionless model parameters are defined by Rei,s = ρ 2L0 t0η i , Rei,v = ρ 2 L0 t0ν i (i = 1,2), Λ = λ t0kBTγ L4 0 , ˜ǫ = L0 ǫ , (2.25a) Bi = φ ρ 1 ρ 2 +(1− φ ), 1 Res = φ Re1,s + 1− φ Re2,s , 1 Rev = φ Re1,v + 1− φ Re2,v . (2.25b) Here Res and Rev denotes the Reynolds number corresponding to the shear and v olumet- ric stress, and Λ is the dimensionless mobility parameter. We set Ly = 1, C = kBTγ t0 L4 0 ρ 2 = 1 (2.26) in this study yielding t0 = L4 0ρ 2 kBTγ . The dimensionless equations for the two compressible model s are given by φ t +∇· (φ v) =∇· (Λ∇ µ p), Bi[vt +v·∇ v] =∇· ( 1 Res ∇ v ) +∇ ( ( 1 Res + 1 Rev ) ∇· v ) −∇ p− φ ∇ µ , ∇· v = ( 1− ρ 1 ρ 2 ) [ ∇· (Λ∇ µ p) ] , µ = − ∆φ + ˜f (φ ) (Model 1), µ p = − ∆φ + ˜f (φ )− ( ρ 1 ρ 2 − 1 ) p (Model 2), (2.27) where ˜f (φ ) are given by (2.20) or (2.22) with ǫ replaced by ˜ǫ . J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1053 The above system is subjected to a set of suitable initial and boundary conditions. For example, if the mixture is confined in a domain Ω, the boundary conditions are ∂φ ∂ n ⏐ ⏐ ⏐ ∂ Ω = ∂µ ∂ n ⏐ ⏐ ⏐ ∂ Ω = 0, v|∂ Ω = 0, (2.28) where n is the outward normal. 3 Numerical schemes In this section, we shall focus on constructing efficient and e asy to implement numerical schemes to accommodates the non-vanishing divergence velo city field so as to preserve the mass conservation. How to construct energy stable schem es is much more involved and will be addressed separately . To simplify the presentation, we shall only consider the slightly more complicated model 2. One can obtain the scheme for model 1 by replacing µ + p with µ . 3.1 Discretization in time To simplify the presentation, we shall present only first-ord er schemes. In what follows, the superscript n denotes the time level and ∆t is the time step size. Scheme based on a modified projection: 1. Solve (φ n+1,µ n+1 p ) from: φ n+1− φ n ∆t +∇· (φ nvn) =∇· (Λ∇ µ n+1 p ), ∂φ n+1 ∂ n ⏐ ⏐ ⏐ ∂ Ω = 0, (3.1a) µ n+1 p = − ∆φ n+1 + ˜f (φ n)+ S ˜ǫ 2 (φ n+1− φ n)+ ρ 2 − ρ 1 ρ 2 pn, ∂µ n+1p ∂ n ⏐ ⏐ ⏐ ∂ Ω = 0, (3.1b) where S is a computational parameter and ǫ is the parameter in the free energy. The last term is added to stabilize the scheme to allow larger step sizes. It s role is to damp the high frequency or short waves in the numerical simulation. 2. Denote Bin+1 = φ n+1 ρ 1 ρ 2 +(1− φ n+1), Ren+1 s = φ n+1Re1,s +(1− φ n+1)Re2,s, (3.2a) Ren+1 ν = φ n+1Re1,ν +(1− φ n+1)Re2,ν ; (3.2b) Solve ˜vn+1 from: Bin+1 ( ˜vn+1 − vn ∆t +vn ·∇ vn ) −∇· (Ren+1 s ∇ ˜vn+1) −∇ ( (Ren+1 s + Ren+1 ν )∇· vn) +∇ pn = − φ n+1∇ µ n+1, (3.3a) ˜vn+1|∂ Ω = 0. (3.3b) 1054 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 3. Set c0 = 1 and solve pn+1− pn from: −∇· 1 Bin+1 ∇ (pn+1− pn) = 1 ∆t { c0 ρ 2 − ρ 1 ρ 2 [∇· (Λ∇ µ n+1 p )] −∇· ˜vn+1 } , (3.4a) ∂ (pn+1− pn) ∂ n ⏐ ⏐ ⏐ ∂ Ω = 0, (3.4b) where Ω is the domain occupies by the fluid mixture. 4. Finally, update vn+1 = ˜vn+1 − ∆t Bin+1 ∇ (pn+1− pn), (3.5) and then goto the next step. Remarks: • S=O(1) is a stabilizing computational parameter. We use S=2 in all the simulations presented in this paper. • Setting c0 =0 in (3.4), we get the scheme for divergence-free velocity fiel d (∇· v=0). • η = φη 1 +(1− φ )η 2 and ν = φν 1 +(1− φ )ν 2 are the interpolated effective viscosity coefficients. • A second-order scheme can be constructed as well. Notice that (3.4)-(3.5) represents a modified pressure-corr ection projection method. One can easily verify from (3.4)-(3.5) that vn+1 and µ n+1 p satisfy ∇· vn+1 = ( 1− ρ 1 ρ 2 ) [ ∇· (Λ∇ µ n+1 p ) ] , (3.6) which ensures the mass conservation. However, the step (3.4 ) in the above involves solv- ing an elliptic equation with 1 Bin+1 as the variable coefficient. When ρ 2 ρ 1 is large, this step may become very costly . So we propose the following scheme ba sed on the pressure- stabilization technique which only requires solving a pres sure Poisson equation. The price we pay for this simplicity is that (3.6) will only be sat isfied approximately . This strategy has been proven effective in the numerical solutio n of the incompressible field phase model [32, 33]. Scheme based on a pressure-stabilization method: 1. Solve (φ n+1,µ n+1 p ) from: φ n+1− φ n ∆t +∇· (φ nvn) =∇· (Λ∇ µ n+1 p ), ∂φ n+1 ∂ n ⏐ ⏐ ⏐ ∂ Ω = 0, (3.7a) µ n+1 p = − ∆φ n+1 + ˜f (φ n)+ S ˜ǫ 2 (φ n+1− φ n), ∂µ n+1 p ∂ n ⏐ ⏐ ⏐ ∂ Ω = 0. (3.7b) J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1055 2. Denote Bin+1 = φ n+1 ρ 1 ρ 2 +(1− φ n+1), Ren+1 s = φ n+1Re1,s +(1− φ n+1)Re2,s, (3.8a) Ren+1 ν = φ n+1Re1,ν +(1− φ n+1)ℜ 2,ν ; (3.8b) Solve ˜vn+1 from: Bin+1 ( vn+1 − vn ∆t +vn ·∇ vn ) −∇· (Ren+1 s ∇ vn+1) −∇ ( (Ren+1 s + Ren+1 ν )∇· vn) +∇ pn = − φ n+1∇ µ n+1, (3.9a) ˜vn+1|∂ Ω = 0. (3.9b) 3. Set c0 = 1 and solve pn+1− pn: − ∆(pn+1− pn) = ρ min ∆t { c0 ρ 2 − ρ 1 ρ 2 [∇· (Λ∇ µ n+1 p )] −∇· vn+1 } , (3.10a) ∂ (pn+1− pn) ∂ n ⏐ ⏐ ⏐ ∂ Ω = 0, (3.10b) where ρ min = min(ρ 1,ρ 2). Go to the next step. We observe that the step (3.7) is a system of two second-order equations with constant coefficients, the step (3.9) is an elliptic equation with vari able coefficients and the step (3.10) is just a Poisson equation. Hence, the above scheme is easy to implement and very efficient. As in an usual pressure-stabilization method [33] where the divergence-free condition is satisfied approximately , it is clear from (3.10) thatvn+1 and µ n+1 p from the above scheme only satisfy the internal constraint (2.6) approximately w ith a residue of order O(∆t2). Therefore, the mass is conserved up to a controllable error o f order O(∆t2), independent of the interfacial width ǫ . 3.2 Discretization in space The spatial discretization can be done in either a spectral m ethod or a finite element method or a finite difference method. However, the spatial res olution needs to be fine enough to resolve the interfacial layer. We shall use the hig h resolution spectral method which requires a significantly less number of unknowns inside the interface as compared with a lower-order method. We focus in this paper on two-dimensional fluid flows in both dr op dynamics as well as mixing dynamics of immiscible binary fluids, and define the c omputational domain as Ω = [0,Lx]× [0,Ly] with the periodic boundary condition in the x-direction. In the y- direction, the boundary conditions are: 1056 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 v(x,y,t) =v(x+ Lx,y,t), φ (x,y,t) =φ (x+ Lx,y,t), (3.11a) v(x,0, t) =v0, v(x, Ly,t) =v1, (3.11b) φ y(x,0, t) =φ y(x, Ly,t) =φ yyy(x,0, t) =φ yyy(x, Ly,t) =0. (3.11c) The boundary conditions of φ at y=0,Ly are interpreted as the flux boundary conditions. We shall use the Fourier expansion in the x-direction and the Legendre-Galerkin method in the y-direction. 4 Numerical results and discussions We investigate predictive drop dynamics and phase separati on dynamics computed us- ing the two distinct classes of models with a focus on the comp arison between the phases and the phase boundaries of the mixture. We tabulate the dimensionless parameters used in the simulations in Table 1, where N and M denote the number of grid points in x and y direction, respectively . These are chosen based on our prev ious experience with the two-phase fluid [32, 33]. Table 1: Parameter values. Parameter N M g Re1,s Re2,s ǫ Re1,v Re2,v ρ 1 ρ 2 Λ V alue 256 256 0 1 1× 10− 2 0.02 4.3× Re1,s 4.3× Re2,v 1 50 1× 10− 6 We first consider the drop dynamics of fluid 1 immersed in fluid 2 a nd denote the volume fraction of fluid 1 as φ . For presentation purposes, we relabel the models as follows in the figures: Model 1: incompressible model, Model 2: c ompressible model 1, Model 3: compressible model 2. 4.1 Drop dynamics We first simulate a lighter fluid (fluid 1, φ = 1) drop immersed in a heavier fluid (fluid 2, φ =0). The density ratio we choose for this numerical example is ρ 1:ρ 2=1:50 and viscosity ratio 1 : 100. In this setting, the lighter drop will rise in th e fluid channel (computational domain). The simulated results using the compressible mode ls and the incompressible model for mixtures agree with each other qualitatively . The velocity components, pres- sure and the drop profiles obtained using the three phase field mo dels are shown in Figs. 1-3, respectively . In the simulations, the lighter flu id drop rises; the rising drop pushes the fluid in the front aside and pushes the fluid downwar d on the side of the fluid domain. The horizontal and the vertical velocity compo nent are plotted in Figs. 1 and 2, respectively . The pressure around the drop remains lo w, which is shown in Fig. 3. The drop shapes obtained using the three distinct models are contrasted at a selected time J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1057 Figure 1: The horizontal velocity component in the case of a l ighter drop immersed in a heavier fluid with density ratio ρ 1 :ρ 2 =1:50 at time t=0.6,1.2,1.8,2.4,3,3.6 . (a) M1 (Model 1); (b) M2 (Model 2); (c) M3 (Model 3). Each figure is superimposed by the shape of the drop, i.e. t he zero contour curve of the phase-field function φ , at the corresponding time. Figure 2: The vertical velocity component in the case of a lig hter drop immersed in a heavier fluid with density ratio ρ 1 : ρ 2 = 1 : 50 at t = 0.6,1.2,1.8,2.4,3,3.6 . (a) M1, (b) M2, (c) M3. Each figure is superimposed by the shape of the drop, i.e. the zero contour curve of the phase-fie ld function φ , at the corresponding time. t = 3.6 in Fig. 4 along with the deviations between the velocity c omponents of each pair of models. The predictions from model 1 and 2 are close relati ve to that from model 3. The deviations in general fall into the range of O(10− 2). The velocity field superimposed by the drop profile is shown in Fig. 5, where a pair of vortices ar e shown explicitly . We then repeat the simulation with a heavier fluid drop sedime nts in a lighter fluid. The density ratio is reversed to ρ 1 : ρ 2 = 50 : 1 and the viscosity ratio is reversed to 100 : 1. The behavior described above for the rising drop reverses. T his time, the predictions 1058 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 Figure 3: The pressure field in the case of a lighter drop immer sed in a heavier fluid with density ratio ρ 1:ρ 2=1:50 at t = 0.6,1.2,1.8,2.4,3,3.6 . (a) M1, (b) M2, (c) M3. Each figure is superimposed by the shap e of the drop, i.e. the zero contour curve of the phase-field function φ , at the corresponding time. (a) (b) (c) (d) (e) (f) (g) Figure 4: The velocity difference between pairs of the phase fi eld models investigated. (a) u(M1)− u(M2), (b) u(M1)− u(M3), (c) u(M2)− u(M3), (d) v(M1)− v(M2), (e) v(M1)− v(M3), (f) v(M2)− v(M3), (g) Comparisons of the zero contour curves of φ for all three models. The results are based on the solutions a t t = 3.6. between model 1 and model 2 and those between model 2 and model 3 are qualitatively the same; model 3 predicts the fastest drop sedimentation am ong all three. To save space, we suppress the demonstration of the numerical results pert inent to this simulation. J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1059 (a) (b) (c) Figure 5: The velocity field superimposed by the shape of the d rop at t = 3.6 for the three models. (a) M1, (b) M2, (c) M3. In summary , the model predictions in both drop rising and drop sedimentation agree qualitatively . In these cases, the interfacial layer betwe en the two immiscible fluids are thin and the volume fraction of the fluid involved in the mixin g/interfacial zone is small. Consequently , the deviation among the model predictions ar e small. We anticipate this scenario will change as the mixing/interfacial layer gets l arger and the volume fraction of the fluid involved in mixing becomes significant. We next exa mine an example of fluid mixing/demixing where the mixing zone is significantly large r. 4.2 Phase separation dynamics of immiscible binary fluids Figs. 6-9 depict the phase portrait of the mixture during pha se separation and the cor- responding velocity components as well as the pressure field a t selected time. In Figure 6, the value of the volume fraction φ is plotted as a color map. The compressible mod- els (model 2 and model 3) give well separated islands while th e incompressible model (model 1) predicts only slightly modified phase landscape. Fi gs. 7 and 8 supports this with a much elevated velocity field in the compressible models than in the incompress- ible model. Moreover, the flow pattern is drastically differe nt between the predictions obtained from different classes of models. Fig. 9 portraits the pressure field, which cor- relates well with the phase portrait of the mixture given by t he level sets of the volume fraction φ . The difference between the two classes of models are significant in this numer- ical example. The drastic difference between the model pred ictions is an amplification of the difference in the fundamental physical mechanism on mas s conservation in a much larger mixing zone in contrast to the previous drop dynamics . If these examples show the behavior of the transient solutio n, the next set of figures (Figs. 10-13) portrait the solutions up to nearly quasi-sta tic states. The phase behavior 1060 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 (a) (a) (b) (b) (c) ( ) Figure 6: The phase portrait of the binary fluid mixing with th e Flory-Huggins energy for all three models at t = 0.1,0.2,0.3,0.4,0.5 . (a) M1, (b) M2, (c) M3. (a) (b) (b) (c) Figure 7: The velocity component u at t = 0.1,0.2,0.3,0.4,0.5 in the case of binary fluid mixing for all three models. (a) M1, (b) M2, (c) M3. (a) (b) (b) (c) Figure 8: The velocity component v at t = 0.1,0.2,0.3,0.4,0.5 in the case of binary fluid mixing for all three models. (a) M1, (b) M2, (c) M3. J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1061 (a) (b) (c) Figure 9: The hydrodynamic pressure p at t = 0.1,0.2,0.3,0.4,0.5 in the case of binary fluid mixing for all three models. (a) M1, (b) M2, (c) M3. Figure 10: The phase portrait of the binary fluid mixing with t he Flory-Huggins energy for all three models at t = 0.1,0.2,0.3,0.4,15 . (a) M1, (b) M2, (c) M3. Figure 11: The velocity component u at t = 0.1,0.2,0.3,0.4,15 in the case of binary fluid mixing for all three models. (a) M1, (b) M2, (c) M3. The solutions nearly reach quasi-steady state at t = 15. 1062 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 Figure 12: The velocity component v at t = 0.1,0.2,0.3,0.4,15 in the case of binary fluid mixing for all three models. (a) M1, (b) M2, (c) M3. The solutions nearly reach quasi-steady state at t = 15. Figure 13: The hydrodynamic pressure p at t = 0.1,0.2,0.3,0.4,15 in the case of binary fluid mixing for all three models. (a) M1, (b) M2, (c) M3. The solutions nearly reach quasi-steady state at t = 15. predicted by the incompressible model (Model 1) is distinct q uantitatively from those by the compressible models (Fig. 10). The prediction on the vel ocity field and the pressure field made by the incompressible model and by the compressible ones are completely dif- ferent. Whereas, the difference between the compressible m odel predictions is minimal. If we were to impose the constraint on the conservation of the total volume of each separate phase, the predictions from the compressible mode ls should be more credible since they also conserves the mass, which is fundamentally i mportant. 5 Conclusion A pair of phase field models that conserve mass, momentum and to tal volume for each individual phase of immiscible binary fluid mixtures are formulated. In particular, unlike previously proposed quasi-compressible models, model 2 sa tisfies an energy dissipation J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1063 law. The mass-average velocity becomes non-solenoidal whe n the density ratio between the two fluids is not unity . Consequentially , the new phase field theories are compressible although a global volume conservation for each phase can be m aintained over the entire material volume. On the other hand, in the commonly used phas e field model for binary fluid mixtures, which we refer to as the incompressible model in this paper, the continuity equation is approximated by a divergence free condition; th e resulting theory preserves material volume but not mass. The deviation between the predictions by the compressible m odels and the incom- pressible one depends on the size of the mixing zone. When the size of the mixing zone is small compared to the entire fluid domain, both model predi ctions agree qualitatively . However, when the mixing zone is large, the two classes of mod els describe two quite different dynamics (in both the transient and quasi-steady state). One numerical example on a drop dynamics of one fluid drop immersed in another immisc ible fluid matrix and the other on the phase separation of immiscible binary fluid m ixtures are carried out to illustrate this point. From the hydrodynamics point of view , it is apparent that the fun- damental conservation laws of fluids must be obeyed. Therefo re, the mass conservation should be respected in any faithful simulations employing t he phase field formulation when the mixing zone is large. The predictions made by the two compressible mod- els are consistent in the two numerical examples presented, and therefore are credible regardless of the size of the mixing zone. Acknowledgments The work of Jie Shen is partially supported by NSF grants DMS-0 915066 and AFOSR FA9550-11-1-0328; Qi Wang’s research is partially supported by NSF grants DMS-0819051, DMS-0908330, SC EPSCOR award and the USC startup fund; X. Yang ’s research is par- tially supported by the ARO grant W911NF-09-1-0389 and the U SC startup fund. References [1] Bird, Stewart, and Lightfoot, Transport Phenomena, Joh n Wiley and Sons, 2002. [2] Probstein, Physicochemical Hydrodynamics, John Wiley and Sons, 1994. [3] B. Bird, R. Armstrong, O. Hassager, Dynamics of Polymeri c Liquids, 2nd Ed., V ol. 2, John Wiley and Sons, New Y ork, 1987. [4] A. N. Beris and B. Edwards, Thermodynamics of Flowing Sys tems, Oxford University Press, Oxford, 1994. [5] B. Lindley , Q. W ang and T. Zhang, Multicomponent models f or biofilm flows, Discrete and Continuous Dynamic Systems- Series B,15(2) (2011), 417-45 6. [6] J. W . Cahn and J. E. Hilliard. Free energy of a nonuniform s ystem. i: interfacial free energy . J. Chem. Phys., 28 (1959), 258–267. [7] J. W . Cahn and J. E. Hilliard. Free energy of a nonuniform s ystem-iii: Nucleation in a 2- component incompressible fluid. J. Chem. Phys., 31(3) (1959 ), 688–699. 1064 J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 [8] L. Q. Chen and W . Y ang, Computer simulation of the dynamic s of a quenched system with large number of non-conserved order parameters, Phys. Rev . B, 50 (1994), 15752-15756. [9] L. Q. Chen, Phase-field modeling for microstructure evol ution, Annu. Rev . Mater. Res., 32 (2002), 113-140. [10] L. Q. Chen and Y . W ang, The Continuum Field Approach to Mo deling Microstructural Evo- lution, J. Miner Met. Mater. Soc. 48 (12) (1996), 13-18. [11] M. Doi, Introduction to Polymer Physics, Clarendon Pre ss, Oxford, 1996. [12] Q. Du, C. Liu, R. Ryham and X. W ang, Phase field modeling of the spontaneous curvature effect in cell membranes, Comm. Pur. Applied. Anal., 4 (2005 ), 537-548. [13] Q. Du, C. Liu, R. Ryham and X. W ang, A phase field formulati on of the Willmore problem, Nonlinearity , 18 (2005), 1249-1267. [14] Q. Du, C. Liu and X. W ang, A Phase Field Approach in the Num erical Study of the Elastic Bending Energy for V esicle Membranes, J. Comp. Phy ., 198 (2004), 450-468. [15] Q. Du, C. Liu and X. W ang, Retrieving topological inform ation for phase field models, SIAM Journal on Applied Mathematics, 65 (2005), 1913-1932. [16] Q. Du, C. Liu and X. W ang, Simulating the Deformation of V esicle Membranes under Elastic Bending Energy in Three Dimensions, J. Comp. Phys., 212 (200 5), 757-777. [17] M. G. Forest and Q. W ang, Hydrodynamic theories for blen ds of flexible polymer and ne- matic polymers, Physical Review E, 72 (2005), 041805. [18] M. G. Forest, Q. Liao and Qi W ang, 2-D Kinetic Theory for P olymer Particulate Nanocom- posites, Communication in Computational Physics, 7 (2) (20 10), 250-282. [19] J. J. Feng, C. Liu, J. Shen and P . Yue, Transient Drop Defo rmation upon Startup of Shear in Viscoelastic Fluids, Fluids. Phys. Fluids, 17 (2005), 1231 01. [20] P . J. Flory , Principles of Polymer Chemistry, Cornell U niversity Press, Ithaca, NY , 1953. [21] R. Hobayashi, Modeling and numerical simulations of de ndritic crystal growth, Physica D, 63 (1993), 410-423. [22] A. Karma and W . Rappel, Phase-Field Model of Dendritic S idebranching with Thermal Noise, Phys. Rev . E, 60 (1999), 3614-3625. [23] 1.Jinsong Hua, Ping Lin, Chun, Liu, Qi W ang, Energy Law P reserving C0 Finite Element Schemes for Phase Field Models in Two-phase Flow Computatio ns, J. Comp. Phys., 230 (19) (2011), 7115-7131. [24] C. Liu and N. J. W alkington, An Eulerian description of fl uids containing visco-hyperelastic particles, Arch. Rat. Mech. Ana., 159 (2001), 229-252. [25] C. Liu and J. Shen, A phase field model for the mixture of tw o incompressible fluids and its approximation by a fourier-spectral method, Physica D, 179 (2003), 211-228. [26] Y . Li, S. Hu, Z. Liu, and L. Chen, Phase-field model of doma in structures in ferroelectric thin films, Appl. Phys. Lett., 78 (2001), 3878-3880. [27] W . Lu and Z. Suo, Dynamics of nanoscale pattern formatio n of an epitaxial monolayer, J. Mech. Phys. Solids, 49 (2001), 1937-1950. [28] J. Lowengrub and L.Truskinovsky , Quasi-incompressib le Cahn-Hilliard fluids and topolog- ical transitions, R. Soc. Lond. Proc. Ser. A Math. Phys. Eng. Sci., 454 (1998), 2617–2654. [29] G. McFadden, A. Wheeler, R. Braun, S. Coriell, and R. Sek erka, Phys. Rev . E, 48 (1998), 2016- 2024. [30] D. J. Seol, S. Y . Hu, Y . L. Li, J. Shen, K. H. Oh and L. Q. Chen , Three-dimensional Phase- Field Modeling of Spinodal Decomposition in Constrained Fi lms, Acta Materialia 51 (2003), 5173-5185. [31] J. Shen and X. Y ang, An efficient moving mesh spectral met hod for the phase-field model of J. Shen, X. Yang and Q. Wang / Commun. Comput. Phys., 13 (2013), pp. 1045-1065 1065 two phase flows, J. Comput. Phys., 228 (2009), 2978-2992. [32] J. Shen and X. Y ang, Energy Stable Schemes for Cahn-Hill iard phase-field model of two- phase incompressible flows, Chinese Ann. Math. series B, 31 ( 2010), 743-758. [33] J. Shen and X. Y ang, A phase-field model and its numerical approximation for two-phase incompressible flows with different densities and viscosit ites, SIAM J. Sci. Comput., 32(3) (2010), 1159-1179. [34] E. T admor, R. Phillips, and M. Ortiz, Mixed Atomistic an d Continuum Models of Deforma- tion in Solids, Langmuir, 12 (1996), 4529-4534. [35] X. W ang, Asymptotic Analysis of Phase Field Formulatio ns of Bending Elasticity Models, submitted to SIAM Mathematical Analysis (2006). [36] Q. W ang, W . E, C. Liu, and P . Zhang, Kinetic theories for fl ows of nonhomogeneous rodlike liquid crystalline polymers with a nonlocal intermolecula r potential, Physical Review E, 65(5) (2002), 0515041-0515047. [37] Q. W ang, A hydrodynamic theory of nematic liquid crysta lline polymers of different config- urations, Journal of Chemical Physics, 116 (2002), 9120-91 36. [38] Q. W ang, M. G. Forest and R. Zhou, A hydrodynamic theory f or solutions of nonhomoge- neous nematic liquid crystalline polymers with density var iations, J. of Fluid Engineering, 126 (2004), 180-188. [39] Y . W ang and C. L. Chen, Simulation of microstructure evo lution. In Methods in Materials Research, Ed. E. N. Ksufmann, R. Abbaschian, A. Bocarsly , C. L. Chien, D. Dollimore, et al., (1999), 2a3.1-2a3.23. [40] A. Wheeler, G. McFadden, and W . Boettinger, Proc. R. Soc . London Ser. A, 452 (1996), 495- 525. [41] S. M. Wise, J. S. Lowengrub, J. S. Kim and W . C. Johnson, Ef ficient phase-field simulation of quantum dot formation in a strained heteroepitaxial film, Su perlattices and Microstructures, 36 (2004) 293-304. [42] X. Y ang, J. Feng, C. Liu and J. Shen, Numerical simulatio ns of jet pinching-off and drop formation using an energetic variational phase-field metho d, J. Comput. Phys., 218 (2006), 417-428. [43] P . Yue, J. J. Feng, C. Liu, and J. Shen, A diffuse-interfa ce method for simulating two-phase flows of complex fluids, J. Fluid Mech., 515 (2004), 293–317. [44] P . Yue, J. J. Feng, C. Liu, and J. Shen, Diffuse-interfac e simulations of drop coalescence and retraction in viscoelastic fluids, J. Non-Newtonian Fluid M ech., 129 (2005), 163-176. [45] T. Y . Zhang, N. Cogan, and Q. W ang, Phase Field Models forBiofilms. II. 2-D Numerical Sim- ulations of Biofilm-Flow Interaction, Communications in Co mputational Physics, 4 (2008), 72-101. [46] T. Y . Zhang and Q. W ang, Cahn-Hilliard vs Singular Cahn-Hilliard Equations in Phase Field Modeling, Communications in Computational Physics, 7(2) ( 2010), 362-382.
采集于
查看校方原文 ↗