Numerical Approximations for Allen-Cahn Type Phase Field Model of Two-Phase Incompressible Fluids with Moving Contact Lines

Similar documents
ERROR ANALYSIS OF STABILIZED SEMI-IMPLICIT METHOD OF ALLEN-CAHN EQUATION. Xiaofeng Yang. (Communicated by Jie Shen)

A PRACTICALLY UNCONDITIONALLY GRADIENT STABLE SCHEME FOR THE N-COMPONENT CAHN HILLIARD SYSTEM

Part IV: Numerical schemes for the phase-filed model

NUMERICAL APPROXIMATIONS OF ALLEN-CAHN AND CAHN-HILLIARD EQUATIONS

A Second Order Energy Stable Scheme for the Cahn-Hilliard-Hele-Shaw Equations

HIGHLY EFFICIENT AND ACCURATE NUMERICAL SCHEMES FOR THE EPITAXIAL THIN FILM GROWTH MODELS BY USING THE SAV APPROACH

Downloaded 09/17/18 to Redistribution subject to SIAM license or copyright; see

c 2010 Society for Industrial and Applied Mathematics

the moving contact line

Numerical Approximation of Phase Field Models

Journal of Computational Physics

Giordano Tierra Chica

Molecular Hydrodynamics of the Moving Contact Line in Two-phase Immiscible Flows

Surface phase separation and flow in a simple model of drops and vesicles

Adaptive algorithm for saddle point problem for Phase Field model

A New Approach for the Numerical Solution of Diffusion Equations with Variable and Degenerate Mobility

Continuum Methods 1. John Lowengrub Dept Math UC Irvine

On Multigrid for Phase Field

SECOND-ORDER FULLY DISCRETIZED PROJECTION METHOD FOR INCOMPRESSIBLE NAVIER-STOKES EQUATIONS

arxiv: v1 [math.na] 12 Apr 2018

Computers and Mathematics with Applications

Multiscale method and pseudospectral simulations for linear viscoelastic incompressible flows

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

(1:1) 1. The gauge formulation of the Navier-Stokes equation We start with the incompressible Navier-Stokes equation 8 >< >: u t +(u r)u + rp = 1 Re 4

The inviscid limit to a contact discontinuity for the compressible Navier-Stokes-Fourier system using the relative entropy method

Construction of a New Domain Decomposition Method for the Stokes Equations

Numerical methods for the Navier- Stokes equations

Exercise 5: Exact Solutions to the Navier-Stokes Equations I

Fully Discrete Second-Order Linear Schemes for Hydrodynamic Phase Field Models of Binary Viscous Fluid Flows with Variable Densities

Derivation of continuum models for the moving contact line problem based on thermodynamic principles. Abstract

Analysis of a non-isothermal model for nematic liquid crystals

Numerical Heat and Mass Transfer

Weak solutions for the Cahn-Hilliard equation with degenerate mobility

Numerical Simulations on Two Nonlinear Biharmonic Evolution Equations

c 2003 International Press

Coarsening kinetics from a variable-mobility Cahn-Hilliard equation: Application of a semi-implicit Fourier spectral method

PSEUDO-COMPRESSIBILITY METHODS FOR THE UNSTEADY INCOMPRESSIBLE NAVIER-STOKES EQUATIONS

Gauge finite element method for incompressible flows

Simulation of T-junction using LBM and VOF ENERGY 224 Final Project Yifan Wang,

Complex Fluids. University of California - Santa Barbara, CA April 26, Abstract

On Pressure Stabilization Method and Projection Method for Unsteady Navier-Stokes Equations 1

Numerical Approximations for the Cahn Hilliard Phase Field Model of the Binary Fluid-Surfactant System

Stability of Shear Flow

Nonlinear Wave Theory for Transport Phenomena

7 The Navier-Stokes Equations

Phase-field modeling of step dynamics. University of California, Irvine, CA Caesar Research Center, Friedensplatz 16, 53111, Bonn, Germany.

FREE BOUNDARY PROBLEMS IN FLUID MECHANICS

Control of Interface Evolution in Multi-Phase Fluid Flows

Convergence analysis for second-order accurate schemes for the periodic nonlocal Allen-Cahn and Cahn-Hilliard equations

Chapter 9: Differential Analysis

Fluctuating Hydrodynamics and Direct Simulation Monte Carlo

LEAST-SQUARES FINITE ELEMENT MODELS

arxiv:comp-gas/ v1 28 Apr 1993

The behaviour of high Reynolds flows in a driven cavity

Chapter 9: Differential Analysis of Fluid Flow

Soft Bodies. Good approximation for hard ones. approximation breaks when objects break, or deform. Generalization: soft (deformable) bodies

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

12.1 Viscous potential flow (VPF)

Adaptive C1 Macroelements for Fourth Order and Divergence-Free Problems

The Research Grants Council of Hong Kong NSFC/RGC Joint Research Scheme Joint Completion Report

Domain decomposition schemes with high-order accuracy and unconditional stability

A Mixed Finite Element Formulation for Solving Phase Change Problems with Convection

Nonlinear elasticity and gels

with deterministic and noise terms for a general non-homogeneous Cahn-Hilliard equation Modeling and Asymptotics

A numerical study of heat transfer and fluid flow over an in-line tube bank

ERROR ESTIMATES FOR SEMI-DISCRETE GAUGE METHODS FOR THE NAVIER-STOKES EQUATIONS : FIRST-ORDER SCHEMES

6.2 Governing Equations for Natural Convection

Author(s) Huang, Feimin; Matsumura, Akitaka; Citation Osaka Journal of Mathematics. 41(1)

Modified models of polymer phase separation

ON LIQUID CRYSTAL FLOWS WITH FREE-SLIP BOUNDARY CONDITIONS. Chun Liu and Jie Shen

- Marine Hydrodynamics. Lecture 4. Knowns Equations # Unknowns # (conservation of mass) (conservation of momentum)

2 Law of conservation of energy

Turbulence - Theory and Modelling GROUP-STUDIES:

3D simulations of phase separation with a liquid crystal component

Nonlinear Solitary Wave Basis Functions for Long Time Solution of Wave Equation

Research Article On a Quasi-Neutral Approximation to the Incompressible Euler Equations

Report Documentation Page

Implementation of a symmetry-preserving discretization in Gerris

ANALYSIS AND NUMERICAL METHODS FOR SOME CRACK PROBLEMS

A two-fluid model of turbulent two-phase flow for simulating turbulent stratified flows

Finite Difference Solution of the Heat Equation

Stability of Mach Configuration

Navier-Stokes equations

Mathematical analysis of the stationary Navier-Stokes equations

Shell Balances in Fluid Mechanics

Fourth Order Convergence of Compact Finite Difference Solver for 2D Incompressible Flow

Boundary Conditions for the Moving Contact Line Problem. Abstract

An evaluation of a conservative fourth order DNS code in turbulent channel flow

SIMPLIFICATION OF LAMINAR BOUNDARY LAYER EQUATIONS. Karlo T. Raić. University of Belgrade, Faculty of Technology and Metallurgy

FDM for parabolic equations

Phase-Field Simulation of the Effect of Elastic Inhomogeneity on Microstructure Evolution in Ni-Based Superalloys

Research Article A Two-Grid Method for Finite Element Solutions of Nonlinear Parabolic Equations

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

A phase field model for the coupling between Navier-Stokes and e

Newton-Multigrid Least-Squares FEM for S-V-P Formulation of the Navier-Stokes Equations

A Momentum Exchange-based Immersed Boundary-Lattice. Boltzmann Method for Fluid Structure Interaction

1 Exercise: Linear, incompressible Stokes flow with FE

Coarsening: transient and self-similar dynamics in 1-D

A numerical approximation with IP/SUPG algorithm for P-T-T viscoelastic flows

INTEGRAL ANALYSIS OF LAMINAR INDIRECT FREE CONVECTION BOUNDARY LAYERS WITH WEAK BLOWING FOR SCHMIDT NO. 1

Transcription:

Commun. Comput. Phys. doi: 1.48/cicp.OA-16-8 Vol. 1, No. 3, pp. 867-889 March 17 Numerical Approximations for Allen-Cahn Type Phase Field Model of Two-Phase Incompressible Fluids with Moving Contact Lines Lina Ma 1, Rui Chen, Xiaofeng Yang 3, and Hui Zhang 4 1 Department of Mathematics, Penn State University, State College, PA 168, USA. Institute of Applied Physics and Computational Mathematics, Beijing, 188, P.R. China. 3 Department of Mathematics, University of South Carolina, Columbia, SC 98, USA; Beijing Institute for Scientific and Engineering Computing, Beijing University of Technology, Beijing, 114, P.R. China. 4 Shool of Mathematical Sciences, Beijing Normal University, Laboratory of Mathematics and Complex Systems, Ministry of Education, Beijing, 1875, P.R. China. Received 15 January 16; Accepted (in revised version) 8 July 16 Abstract. In this paper, we present some efficient numerical schemes to solve a twophase hydrodynamics coupled phase field model with moving contact line boundary conditions. The model is a nonlinear coupling system, which consists the Navier- Stokes equations with the general Navier Boundary conditions or degenerated Navier Boundary conditions, and the Allen-Cahn type phase field equations with dynamical contact line boundary condition or static contact line boundary condition. The proposed schemes are linear and unconditionally energy stable, where the energy stabilities are proved rigorously. Various numerical tests are performed to show the accuracy and efficiency thereafter. AMS subject classifications: 65M1, 65M7, 65P99 Key words: Phase-field, two-phase flow, Navier-Stokes, contact lines, stability. 1 Introduction Phase field (or diffuse interface) methods have been used widely and successfully to simulate a variety of interfacial phenomena, and have become one of the major tools to study the interfacial dynamics in many science and engineering fields (cf. [4 6, 8, 9, 1, 13, 15, 16, Corresponding author. Email addresses: linama@psu.edu (L. Ma),ruichenbnu@gmail.com (R. Chen), xfyang@math.sc.edu (X. Yang),hzhang@bnu.edu.cn (H. Zhang) http://www.global-sci.com/ 867 c 17 Global-Science Press

868 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 5] and the references therein). The starting point of the phase-field approach is that the interface between multiple material components is viewed as a transition layer, where the two components are assumed to mix to a certain degree. Hence, the dynamics of the interface can be determined by the competition between the kinetic energy and the elastic mixing energy. Based on the variational formalism, the derived phase field model usually follows the thermodynamically consistent (or called energy stable) energy dissipation law, making it possible to carry out mathematical analysis, to develop efficient numerical schemes, and further to perform reliable numerical simulations. In typical phase field models, there are mainly two categories of system equations: the Allen-Cahn equation (Bray []) and the Cahn-Hilliard equation (Cahn and Hilliard [3]), based on choices of diffusion rates. From the numerical point of view, the Allen-Cahn equation is a second-order equation, which is easier to solve numerically but does not conserve the volume fraction, while the Cahn-Hilliard equation is a fourth-order equation which conserves the volume fraction but is relatively harder to solve numerically. Since the PDE of either system usually follows the energy law, people are particularly interested in developing efficient numerical schemes that can satisfy a thermo-consistent energy law in the discrete level. Moreover, it is specifically desirable to develop some easy-to-implement (linear or decoupled) schemes in order to avoid expensive computational cost spent on the iterations needed by the nonlinear schemes. In [18 1], the authors developed an efficient phase field model to simulate the so called moving contact line (MCL) problem, where the fluid-fluid interface may touch the solid wall. For such situation, the simple no-slip boundary conditions implying that the position of the contact line does not move, are not applicable since there may exist quite a few molecules near the surface that they bounce along down the surface. Thus the phase field model derived in [18 1] consists of Navier-Stokes equations with the general Navier boundary condition (GNBC), and the equations for the phase field variable with the so-called dynamical contact line boundary condition (DCLBC). Due to the considerations of volume conservation, the dynamics of the phase field variable is governed by the fourth order Cahn-Hilliard equation. We recall that a nonlinear, energy stable numerical scheme was proposed in [1], where the convective term was treated semi-implicitly, and the double well potential was handled by the convex splitting approach. Such a scheme requires solving a coupled nonlinear system that usually is not convenient for the computations. Therefore, in this paper, we aim to develop some efficient numerical schemes to solve the phase field model with MCLs. To avoid the difficulties to solve the fourth order Cahn-Hilliard equation, we adopt the second order Allen-Cahn equation by assuming that the relaxation of the phase variable is governed by the L gradient flow. To overcome non-conservation of the volume fraction, an extra term is added in the free energy to penalize the volume, which is one of the common practices in the framework of phase field models [8, 6]. We develop two numerical schemes, one for the static contact line boundary condition (SCLBC) and the other for the DCLBC. Both schemes are linear and unconditionally energy stable. Moreover, the computations of the phase variable are

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 869 completely decoupled from that of the velocity in the scheme for the SCLBC. Ample numerical examples are implemented to show the accuracy and efficiency thereafter. The rest of the paper is organized as follows. In Section, we present the phasefield model of moving contact line condition and show the energy dissipation law for the system. In Section 3, we propose two energy stable schemes and prove their energy stabilities. In Section 4, we present some numerical simulations to illustrate the efficiency and accuracy of the proposed numerical schemes. Some concluding remarks are given in Section 5. The PDE system and its energy law In [18 1], the flow-coupled phase field model consists the Navier-Stokes (NS) equations with the GNBC (.4) for the momentum equation, and the Cahn-Hilliard equations (CH) with the DCLBC (.8) for the phase field variable. The non-dimensional version of the system reads as follows: Incompressible Navier-Stokes equations for hydrodynamics: u t +(u )u=ν u p+λµ φ, (.1) u=, (.) u n =, on, (.3) l(φ)(u τ u w )+ν n u τ λl(φ) τ φ=, on. (.4) The Cahn-Hilliard type phase field equations: φ t + (uφ)= M µ, (.5) µ= ε φ+ f(φ), (.6) n µ=, on, (.7) φ t +u τ τ φ= γl(φ), on. (.8) Now we list detailed descriptions for all the variables. u is the fluid velocity, p is the pressure, φ is the phase field variable, µ is the chemical potential, and the function L(φ) is given by L(φ)=ε n φ+g (φ), (.9) where g(φ) is the boundary interfacial energy, l(φ) is a given coefficient function meaning the ratio of the thickness of interface and characteristic length. The function f(φ)=f (φ) with F(φ) being the Ginzburg-Landau double well potential. More precisely, F(φ) and g(φ) are defined as F(φ)= 1 ( π ) 4ε (φ 1), g(φ)= 3 cosθ ssin φ, (.1)

87 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 where θ s is the static contact angle, ν is the viscosity coefficient, λ denotes the strength of the capillary force comparing to the Newtonian fluid stress, M is the mobility coefficient, γ is a boundary relaxation coefficient, and ε denotes the interface thickness. denotes the gradient operator, n is the outward normal direction on boundary, τ is the boundary tangential direction, and vector operator τ = (n )n is the gradient along tangential direction, u w is the boundary wall velocity, u τ is the boundary fluid velocity in tangential direction. From (.3), we have u=u τ on boundary. When γ +, the DCLBC (.8) reduces to the (SCLBC), and the GNBC (.4) reduces to the NBC, L(φ) =, on, (.11) l(φ)(u τ u w )+ν n u τ =, on. (.1) There are quite a few challenges to develop numerical algorithms for the above system. In order to design a numerical scheme that naturally satisfies the discrete energy dissipation law, one must overcome the following difficulties: (i) the fourth order Cahn- Hilliard equation with complicated boundary conditions; (ii) the coupling of the velocity and pressure through the incompressible condition; (iii) the stiffness in the phase equation associated with the interfacial width; (iv) the nonlinear couplings between the velocity and the phase variable in the stresses and convections; and (v) the nonlinear couplings between the velocity and the phase variable on the boundary conditions. In this paper, to avoid the difficulty to solve the fourth order Cahn-Hilliard equation with complicated boundary conditions, we assume the relaxation of the interface follows the L gradient flow. Therefore the fourth order Cahn-Hilliard equation is replaced by the second order Allen-Cahn equation. Thus the phase field equation is given as follows. φ t +u φ= Mµ, (.13) µ= ε φ+ f(φ), (.14) φ t +u τ τ φ= γl(φ), on. (.15) It is well known that the Allen-Cahn equation does not conserve the volume. Inspired by the Allen-Cahn type phase field vesicle model in [8, 6], we add a penalty term in the phase field equation, to enforce this conservation property. Then the modified Allen- Cahn (AC) equations are as follows, φ t +u φ= Mµ, (.16) ( ) µ= ε φ+ f(φ)+λ φdx α, (.17) φ t +u τ τ φ= γl(φ), on, (.18) where α= φ (t=)dx is the initial volume and Λ is the positive penalty parameter. We shall show the effectiveness of volume conservation later in the numerical experiment.

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 871 We now derive the energy dissipation law for PDEs system (.1)-(.4) and (.16)- (.18). Note for any function f,g L (), we use ( f,g) to denote f gdx, ( f,g) to denote f gds, and f =( f, f) and f =( f, f). Theorem.1. The NS-AC-GNBC-DCLBC system ((.1)-(.4), (.16)-(.18)) is a dissipative system satisfying the following energy dissipation law, d dt E= ν u λm µ λγ L(φ) l(φ) 1 us (l(φ)u s,u w ), (.19) where u s = u ø u w is the velocity slip on boundary, and E= (ε u +λ φ +(F(φ),1)+ Λ ( ) ) φdx α +λ(g(φ),1). Proof. By taking the inner product of (.1) with u, using the incompressible condition (.) and the zero flux boundary condition (.3), we have 1 d dt u = ν( n u,u) ν u +λ(µ φ,u). (.) By taking the inner product of (.16) with λµ, we get λ(φ t,µ)+λ(u φ,µ)= λm µ. (.1) By taking the inner product of (.17) with λφ t, we have λ(µ,φ t )= λε( n Œ,φ t ) + 1 λε d dt φ +λ d dt (F(φ),1)+ 1 λλ d dt ( φdx α). (.) Summing up Eqs. (.)-(.), we obtain 1 d dt u + 1 λε d dt φ +λ d dt (F(φ),1)+ 1 λλ d ( ) φdx α dt = ν u λm µ +ν( n u,u) +λε( n φ,φ t ). (.3) Then, by using (.8), (.9) and boundary condition (.4), we have and ν( n u,u) = ν( n u τ,u τ ) =(λl(φ) τ φ l(φ)(u τ u w ),u τ ) = λ(l(φ) τ φ,u τ ) (l(φ)u s,u s +u w ), (.4) λε( n φ,φ t ) = λ(l(φ) g (φ),φ t ) = λ(l(φ),φ t ) λ(g (φ),φ t ) = λ(l(φ), u τ τ φ γl(φ)) λ d dt (g(φ),1) = λ(l(φ) τ φ,u τ ) λγ L(φ) λ d dt (g(φ),1). (.5)

87 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 Summing up (.3), (.4) and (.5), we obtain the energy desired energy estimate (.19). Remark.1. We have the similar energy dissipation law for the NS-CH-GNBC-DCLBC ((.1)-(.8)), where the total free energy is E= u ( +λ ε φ ) +(F(φ),1) +λ(g(φ),1). Even though the above PDE energy law is straightforward, the nonlinear terms in µ involves the second order derivatives. Therefore it is not convenient to use them as test functions in numerical approximations, which makes it difficult for implementations. To overcome this difficulty, we need to reformulate the momentum equation (.1) to an alternative formulation such that it is convenient for numerical approximation. Let φ=φ t +u φ, and notice that µ= φ M, then the momentum equation (.1) can be rewritten as the following equivalent form, u t +(u )u=ν u p λ M φ φ. (.6) This equivalent form (.6)-(.)-(.3)-(.4) and (.16)-(.18) still admits the similar energy law. To this end, by taking the L inner product of (.6) with u, of (.16) with λ M φ t, and of (.17) with λφ t, we derive 1 d dt u = ν( n u,u) ν u λ M ( φ φ,u), (.7) λ M φ λ M ( φ,u φ)= λ(µ,φ t ), (.8) λ(µ,φ t )=λε( n Œ,φ t ) 1 λε d dt φ λ d dt (F(φ),1) 1 λλ d (. φdx α) (.9) dt Taking the summation of the above equalities, we have 1 d dt u + 1 λε d dt φ +λ d dt (F(φ),1)+ 1 λλ d ( dt = ν u λ M φ +ν( n u,u) +λε( n φ,φ t ). ) φdx α Using (.4) and (.5), we have the energy dissipation law. d dt E= ν u λ M φ λγ L(φ) l(φ) 1 us (l(φ)u s,u w ).

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 873 3 Energy stable numerical schemes We aim to develop easy-to-implement energy stable schemes where the word easy means linear or decoupled. To this end, we assume that F(φ) satisfies the conditions as follows: There exists a constant L such that max F (φ) L. (3.1) φ R We note that this condition is not satisfied by the usual Ginzburg-Landau double-well potential F(φ)= 1 4ε (φ 1). However, since it is well-known that the Allen-Cahn equation satisfies the maximum principle, we can truncate F(φ) to quadratic growth outside of an interval [ M 1,M 1 ] without affecting the solution if the maximum norm of the initial condition φ is bounded by M 1. Therefore, it has been a common practice [7, 11, ]) to consider the Allen-Cahn equation with a truncated double-well potential F(φ). Without loss of generality, we introduce the following ˆF(φ) to replace F(φ): ˆF(φ)= 1 4ε (φ+1), if φ< 1, (φ 1), if 1 φ 1, (φ 1), if φ>1. We drop the ˆ in symbols for convenience. Correspondingly, we define f(φ)= F (φ) and two Lipschitz constants (3.) L 1 := max φ Ê f (φ) = ε, L := max φ Ê g (φ) = π 1 cosθ s. (3.3) 3.1 Linear and decoupled schemes (LD) We first focus on the NS-AC-NBC-SCLBC system where the boundary conditions are relatively simple. We emphasize that there is no coupling between the velocity and phase field variable on the boundary, that makes it possible to develop the following decoupled, linear scheme. For convenience, we remind readers with the governing system here. The hydrodynamics equations: u t +(u )u ν u+ p+ λ M φ φ=, (3.4) u=, (3.5) u n =, on, (3.6) l(φ)(u τ u w )+ν n u τ =, on. (3.7)

874 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 The Allen-Cahn type phase field equations: ( ( φ t +(u )φ= M ε φ f(φ) Λ φdx α) ), (3.8) L(φ) =, on. (3.9) Let > be a time discretization step and suppose u n, φ n and p n are given, where the superscript n on variables denotes approximations of corresponding variables at time n. Assuming S 1, S are two positive stabilizing coefficients to be determined, the firstorder time discretization scheme to solve NS-AC-NBC-SCLBC system (3.4)-(3.9) reads as follows. Step 1: We first solve for φ n+1 from φ n+1 φ n ( ( +(u n )φ n = M ε φ n+1 f(φ n ) S 1 (φ n+1 φ n ) Λ φ dx α) ) n+1, (3.1) L n+1 =, on, (3.11) where Step : We solve ũ n+1 from Step 3: We update u n+1 and p n+1 from u n = u n λ M φ n+1 φ n, (3.1) φ n+1 = φn+1 φ n +(u n )φ n, (3.13) L n+1 = ε n φ n+1 +g (φ n )+S (φ n+1 φ n ). (3.14) ũ n+1 u n +(u n )ũ n+1 ν ũ n+1 + p n =, (3.15) ũ n+1 n=, on, (3.16) ν n ũτ n+1 +l(φ n )ũs n+1 =, on. (3.17) u n+1 ũ n+1 + (p n+1 p n )=, (3.18) u n+1 =, (3.19) u n+1 n=, on. (3.) Remark 3.1. We recall that f(φ) takes the form 1 ε φ(φ 1), so the explicit treatment of this term usually leads to a severe restriction on the time step when ε 1. It is common practice to add a stabilizing term to improve the stability [14, 4].

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 875 Remark 3.. Inspired by [1,17,3,4], we introduce the explicit convective velocity u n in (3.1) by combining the term u n with surface tension term φ φ. This term helps us to decouple the computations of φ from the velocity. From (3.13), we obtain u n = B 1( u n φn+1 φ n M/λ φn), (3.1) where B=(I+ M/λ φn φ n ). It is easy to get the det(i+c φ φ)=1+c φ φ, thus B is invertible. We have the energy stability as follows. Theorem 3.1. Assuming u w =, and S 1 L 1 / and S L /, the scheme (3.1)-(3.) is energy stable in the sense that Etot n+1 + ( pn+1 + ν ũ n+1 + λ M φ n+1 + l 1/ (φ n )ũs n+1 E n tot+ pn, (3.) where Etot= n 1 un +λ (ε φn +(F(φ n ),1)+ Λ ( Proof. By taking inner product of (3.1) with λ M we have ) ) φ n dx α +λ(g(φ n ),1). (3.3) φ n+1 φ n, and notice the identity (a b,a)= a b + a b, (3.4) λ M φ n+1 λ M (un φ n, φ n+1 ) λε ( φ n+1, φn+1 φ n ) ( +λ f(φ n ), φn+1 φ n ) + λs 1 φn+1 φ n + λλ ( ( ) ( ) + ( ) ) φ n+1 dx α φ n dx α (φ n+1 φ n )dx =, (3.5) ) and λε ( φ n+1, φn+1 φ n ) = λε ( φn+1 φ n + (φ n+1 φ n ) ) λε ( n φ n+1, φn+1 φ n ). (3.6)

876 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 For the boundary integral terms in (3.6), by using (3.11) and (3.14), we have λε ( n φ n+1, φn+1 φ n (g ) = λ (φ n )+S (φ n+1 φ n ), φn+1 φ n ). (3.7) To handle the nonlinear term associated with f in (3.5) and the term associated with g in (3.7), we need the following identities f(φ n )(φ n+1 φ n )= F(φ n+1 ) F(φ n ) f (η) (φ n+1 φ n ), (3.8) g (φ n )(φ n+1 φ n )= g(φ n+1 ) g(φ n ) g (ζ) (φ n+1 φ n ). (3.9) Combining Eqs. (3.5), (3.6), (3.7), (3.8) and (3.9), we get λε ( φn+1 φ n + (φ n+1 φ n ) ) + λ ( ( (F(φ n+1 ) F(φ n ),1)+ S 1 f (η),(φn+1 φ n ) )) + λ ( ( ) (g(φ n+1 ) g(φ n ),1) + S g (ζ),(φ n+1 φ n ) ) + λλ ( ( ) ( ) + ( ) ) φ n+1 dx α φ n dx α (φ n+1 φ n )dx λ M (un φ n, φ n+1 ) = λ M φ n+1. (3.3) By taking the L inner product of Eq. (3.1) with u n /, we obtain 1 ( un u n + u n u n )= λ M ( φ n+1 φ n,u n ). (3.31) By taking the inner product of Eq. (3.15) with ũ n+1, and notice u n =,u n n =, we have and ((u n )ũ n+1,ũ n+1 )=, (3.3) 1 ( ũn+1 u n + ũ n+1 u n ) = ν ũ n+1 +ν( n ũ n+1,ũ n+1 ) ( p n,ũ n+1 ). (3.33)

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 877 For the boundary term in the above equation, using Eq. (3.17) and noticing that ũτ n+1 ũw n+1 = ũs n+1 and uw n+1 =, we have ν( n ũ n+1,ũ n+1 ) = l 1/ (φ n )ũ n+1 s. (3.34) By taking inner product of (3.18) with u n+1, using (3.19) and (3.), we have 1 ( un+1 ũ n+1 + u n+1 ũ n+1 )=. (3.35) We can also obtain the following equation directly from Eq. (3.18), pn+1 p n = 1 ũn+1 u n+1. (3.36) In addition, by taking inner product of (3.18) with p n, using incompressible condition (3.19) and boundary condition (3.), we can get ( pn+1 p n p n+1 p n )=(ũ n+1, p n ). (3.37) By taking the summation of Eqs. (3.3), (3.31), (3.33)-(3.37) and dropping some positive terms, we derive 1 (En+1 tot ( = 1 λ E n tot)+ ( pn+1 p n )+ λε (φn+1 φ n ) ν ũ n+1 + λ M φ n+1 + l 1/ (φ n )ũs n+1 ( u u n + ũ n+1 u n ) ( ( S 1 f (ξ),(φn+1 φ n ) ) + ( S g (ζ) ),(φ n+1 φ n ) ) ). (3.38) Thus, assuming S 1 L 1 / and S L / and dropping some unnecessary positive terms, we get the desired energy estimate (3.). 3. Linear and coupled scheme (LC) For the GNBC-DCLBC, the velocity and phase field variable are both coupled together on the boundary conditions. Such couplings make it challenging to construct any decoupled schemes for GNBC-DCLBC. Thus the best scheme we can develop is the following linear coupled scheme, to solve the NS-AC-GNBC-DCLBC system. Again for readers convenience, we recall the governing equations as follows.

878 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 The hydrodynamics equations: u t +(u )u ν u+ p+ λ M φ φ=, (3.39) u=, (3.4) u n =, on, (3.41) l(φ)(u τ u w )+ν n u τ λl(φ) τ φ=, on. (3.4) The Allen-Cahn type phase field equations: ( ( φ t +(u )φ= M ε φ f(φ) Λ φdx α) ), (3.43) φ t +(u τ )φ= γl(φ), on. (3.44) Assuming S 1, S are two positive stabilizing coefficients to be determined, the firstorder time discretization scheme to solve PDE system (3.39)-(3.44) reads as follows. Step 1: We first solve for ũ n+1,φ n+1 from with the boundary conditions ũ n+1 u n +(u n )ũ n+1 ν ũ n+1 + p n + λ M φ n+1 φ n =, (3.45) φ n+1 φ n ( +(ũ n+1 )φ n = M ε φ n+1 f(φ n ) S 1 (φ n+1 φ n ) ( Λ φ dx α) ) n+1, (3.46) where ũ n+1 n=, on, (3.47) ν n ũτ n+1 +l(φ n )ũs n+1 λ L n+1 τ φ n =, on, (3.48) φ n+1 φ n +(ũτ n+1 τ )φ n+1 = γ L n+1, on, (3.49) φ n+1 = φn+1 φ n +(ũ n+1 )φ n, (3.5) L n+1 = ε n φ n+1 +g (φ n )+S (φ n+1 φ n ). (3.51) Step : We update u n+1 and p n+1 from u n+1 ũ n+1 + (p n+1 p n )=, (3.5) u n+1 =, (3.53) u n+1 n=, on. (3.54) We now present the energy stability proof as follows.

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 879 Theorem 3.. Assuming u w =, and S 1 L 1 / and S L /, the scheme (3.45)-(3.54) is energy stable in the sense that Etot n+1 + ( pn+1 + ν ũ n+1 + λ ) M φ n+1 + l 1/ (φ n )ũs n+1 +γλ L n+1 E n tot+ pn, (3.55) where Etot n is defined in (3.3). Proof. By taking inner product of (3.46) with λ M φ n+1 φ n, we have λ M φ n+1 λ M (ũn+1 φ n, φ n+1 )+ λε ( φn+1 φ n + (φ n+1 φ n ) ) λε ( n φ n+1, φn+1 φ n ( ) +λ f(φ n ), φn+1 φ n ) + λs 1 φn+1 φ n + λλ ( ( ) ( ) + ( ) ) φ n+1 dx α φ n dx α (φ n+1 φ n )dx =. (3.56) For the boundary integral terms above, using (3.51), we have and λε ( n φ n+1, φn+1 φ n ) =λ ( L n+1 +g (φ n )+S (φ n+1 φ n ), φn+1 φ n ). (3.57) ( λ L n+1, φn+1 φ n ) = γλ L n+1 λ( L n+1,(ũτ n+1 )φ n+1 ). (3.58) Combining Eqs. (3.56), (3.57), (3.8) and (3.9), we get λε ( φn+1 φ n + (φ n+1 φ n ) ) + λ ( ) F(φ n+1 ) F(φ n ),1 + λ ( S 1 f (η),(φ n+1 φ n ) ) + λ ( ) g(φ n+1 ) g(φ n ),1 + λ ( S g (ζ),(φ n+1 φ n ) ) + λλ ( ( ) ( ) + ( ) ) φ n+1 dx α φ n dx α (φ n+1 φ n )dx λ (ũ n+1 φ n, φn+1 φ n ) M = γλ L n+1 λ( L n+1,(ũ n+1 τ )φ n+1 ) λ M φ n+1. (3.59)

88 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 and By taking the inner product of Eq. (3.45), we obtain 1 ( ũn+1 u n + ũ n+1 u n ) = ν ũ n+1 +ν( n ũ n+1,ũ n+1 ) ( p n,ũ n+1 ). (3.6) For the boundary term in the above equation, using Eq. (3.48), we have ν( n ũ n+1,ũ n+1 ) = l 1/ (φ n )ũ n+1 s +λ( L n+1 τ φ n,ũ n+1 ). (3.61) Exactly as Theorem 3.1, for (3.5), we derive 1 ( un+1 ũ n+1 + u n+1 ũ n+1 )=, (3.6) pn+1 p n = 1 ũn+1 u n+1, (3.63) ( pn+1 p n p n+1 p n )=(ũ n+1, p n ). (3.64) By taking the summation of Eqs. (3.59)-(3.64) and dropping some unnecessary positive terms, we derive 1 (En+1 tot ( = 1 λ E n tot)+ ( pn+1 p n )+ λε (φn+1 φ n ) ν ũ n+1 + λ M φ n+1 + l 1/ (φ n )ũs n+1 ( ũ n+1 u n+1 + ũ n+1 u n ) ( ( S 1 f (ξ),(φn+1 φ n ) ) + ( S g (ζ) γλ L n+1,(φ n+1 φ n ) ) ) ). (3.65) Thus, assuming S 1 L 1 / and S L / and dropping some unnecessary positive terms, we get the desired energy estimate (3.55). 4 Numerical simulations In this section, we present various numerical simulations to validate our proposed schemes. For simplicity, we assume the system in x direction is periodic, and only the top and bottom boundaries take the GNBC (or NBC) and DCLBC (or SCLBC). For the spatial operators in the scheme, we use second-order central finite difference methods to discretize them over a uniform spatial grid, where the velocity fields are discretized on the center of mesh surface, and pressure p, phase variables φ are discretized on cell center.

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 881 Except specially specified, the default parameters are given as follows, λ=1/3, ν=1/36, M=.15, γ=1, π ε=.1, l(φ)=1/1.14, Λ=1/M, S 1 = 1/ε, S = 4 cos(θ s). (4.1) 4.1 Accuracy test We presume the following functions ( φ(x,y,t) = sin(πx)cos πy+ π ) cos(t), u(x,y,t) =(ysin(t),), p(x,y,t) = sin(πx)cos(t) (4.) to be the exact solution, and impose some suitable force fields such that the given solution can satisfy the system. The computational domain is (x,y) [.5,.5] [.5,.5], We perform the accuracy test for different time steps till t=.1, the result of L errors of the phase variable φ and velocity profile u is shown in Table 1 and Table for LD scheme and LC scheme, respectively. Both schemes present the first order convergence. Table 1: Numerical L errors for the phase variable φ and the velocity u at t=.1 for different time steps using the LD scheme. L error φ order L error u order 1E- 1E- 1.E-3 5E-3 5E-3 1. 6.1E-4.95.5E-3.5E-3 1. 3.14E-4.99 1.5E-3 1.E-3 1.6 1.58E-4.99 6.5E-4 6.3E-4.95 8.3E-5.98 3.15E-4 3.11E-4 1. 4.13E-5.96 1.565E-4 1.55E-4 1..4E-5.88 Table : Numerical L errors for the phase variable φ and the velocity u at t=.1 for different time steps using the LC scheme. L error φ order L error u order 1E- 1E- 1.E-3 5E-3 5E-3 1. 6.1E-4.95.5E-3.5E-3 1. 3.14E-4.99 1.5E-3 1.E-3 1.6 1.58E-4.99 6.5E-4 6.3E-4.95 8.E-5.99 3.15E-4 3.11E-4 1. 4.1E-5.98 1.565E-4 1.55E-4 1..18E-5.9

88 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 4. Shear flow We consider the flow between two parallel plates that move in opposite directions at a constant speed. We fix the domain size to be L y =.4, L x =, and use 1 11 grid points to discretize the space. The order parameters are specified in (4.1). The initial velocity field takes the profile of Couette flow, and the initial value of φ is given as follows, ( ( 1 Lx φ (x,y)=tanh ε 4 x L )) x. (4.3) Fig. 1(a) shows the interface contour{φ = } of the initial profile φ. We present two numerical results for a classical benchmark numerical simulation from [1,4]. In simulation I, u w =±.7, θ s =64, where u w is the speed of top and bottom. T=.15.1.5.5.1.15. 1.8.6.4...4.6.8 1 (a) The initial profile of the phase field φ...1 T=5 Static BC Dynamic BC.1. 1.8.6.4...4.6.8 1 (b) Simulation I: The steady state of φ for θ s = 64...15.1.5.5.1.15 T=5 Static BC Dynamic BC. 1.8.6.4...4.6.8 1 (c) Simulation II: The steady state of φ for θ s = 77.6. Figure 1: The contours of the interfaces of phase variable φ. (a) The initial configuration of φ given by (4.3); (b) Contour of φ at t=5 with contact angle θ s = 64 and u w =±.7; (c) Contour of φ at t=5 with contact angle θ s = 77.6 and u w =±.. The results are generated by both of the LD and LC schemes with 1 grid points and =.1.

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 883.1 LD scheme LC scheme..3.4.5.6.7 1.8.6.4...4.6.8 1 Figure : The x-axis component of the velocity profile at the top wall at t=5 with contact angle θ s = 64 and u w =±.7. plates, θ s is the static contact angle;±sign means the values on top boundary and bottom boundary have different signs (directions). In simulation II, u w =±. and θ s =±77.6. In spite of the fact that our numerical schemes are stable for any time step, we still have to choose some reasonable small time step in order to get the desired accuracy. In the two simulations, the time step is =.1. The interface contours of φ at the steady state (t=5) are presented in Fig. 1(b)-(c) using both of the LC scheme and LD scheme. We show the plots for the velocity at the top wall y=. when t=5 for both schemes in Fig. as well. These results are consistent to the numerical results obtained using the Cahn-Hilliard model in [1, 4]. We also notice that the LD scheme for NBC-SCLBC actually gives almost identical results as the LC scheme for GNBC-DCLBC for both weak shear flow case with u w =±., and for the strong shear flow case with u w =±.7. 4.3 Dewetting and spreading of a drop We simulate the dynamics of a drop initially resided on a surface. For various contact angles, the drop will perform different dynamics of dewetting or spreading. We set two contact angles and perform the simulations using both of the LD and LC schemes. We fix the domain size to be[ 1,1] [.5,.5], and set the other parameters as follows, λ=1, ν=1/1, M=.15, γ=1, ε=.1, l(φ)=1/.19, π S 1 = 1/ε, S = 4 cos(θ s), Λ=1/M. We take 1 11 grid points for x and y direction respectively. (4.4)

884 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889.5 T=.5 T=1.5 1.5.5 1.5 1.5.5 1.5 T=1.5.5 T=.5 1.5.5 1.5 1.5.5 1.5 T=.5.5 T=3.5.5 1.5.5 1.5 1.5.5 1.5 T=4.5 T=5.5 1.5.5 1.5 1.5.5 1 Figure 3: The snapshots of the interface contour of the phase variable φ using the LD scheme for the system of NBC-SCLBC at t=,1,1.5,,.5,3.5,4,5. The contact angle is θ s = 3. In Fig. 3 and Fig. 4, we plot the contour of the drop interface using the LD scheme for NBC-SCLBC system for θ s = 3 and θ s = 15, respectively. We notice that for the acute contact angle, the drop performs the dewetting process, and for the obtuse contact angle, the drop tends to spread over the solid surface. The detailed results using the LC scheme are omitted because they are essentially the same as the results of the LD scheme. For comparisons, we plot the two contour lines of the steady state (t=5) using LD scheme

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 885.5 T=.5 T=1.5 1.5.5 1.5 1.5.5 1.5 T=1.5.5 T=.5 1.5.5 1.5 1.5.5 1.5 T=.5.5 T=3.5 1.5.5 1.5 1.5.5 1.5 T=4.5 T=5.5 1.5.5 1.5 1.5.5 1 Figure 4: The interface contour of the phase variable φ using the LD scheme for the system of GNBC-DCLBC. The contact angle is θ s = 15. and LC scheme for these two contact angles in Fig. 5 and Fig. 6, respectively. In Fig. 7, we show the energy plots for both LD and LC scheme for the example of the dewetting case with =.1, which shows that our scheme is indeed energy stable. In Fig. 8, we plot the volume change with the time, and it shows the volume of the drop is perfectly preserved. Similar to the weaker shear flow case, both schemes give almost identical results since the velocity involved in these examples are relatively small.

886 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889.5 T=5 Static BC Dynamic BC.5 1.5.5 1 Figure 5: The comparison of the interface contour of the steady state using the LD scheme for NBC-SCLBC, and LC scheme for GNBC-DCLBC with θ s = 3..5 T=5 Static BC Dynamic BC.5 1.5.5 1 Figure 6: The comparison of the interface contour of the steady state using the LD scheme for NBC-SCLBC, and LC scheme for GNBC-DCLBC with θ s = 15..65 LD Scheme LC Scheme.6.55.44.43.4.5.41.4.45.39 1 1.5.4.35.5 1 1.5.5 3 3.5 4 4.5 5 Figure 7: Energy plots for dewetting and spreading of a drop with θ s = 3. The x-axis is the time, the y-axis is the energy.

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 887 1 x 1 5 8 6 4 1 3 4 5 Figure 8: Change of volume for LD scheme with θ s = 3. The x-axis is the time, the y-axis is the volume change. 5 Concluding remarks In this paper, for the hydrodynamics coupled with Allen-Cahn type phase-field model that incorporates the moving contact line boundary problems, we construct two efficient, linear numerical schemes. The first scheme is decoupled for the simple version of the boundary conditions (NBC-SCLBC), where one only needs to solve a series of decoupled elliptic equations. The other is linear coupled for the more complicated version of the boundary conditions (GNBC-DCLBC). Both schemes are energy stable and the unconditional energy stability are rigorously proved. Ample numerical simulations are presented to verify the accuracy and efficiency of the proposed model and numerical schemes. Acknowledgments The work of X. Yang is partially supported by NSF-DMS-1487, NSF-DMS-1418898, and AFOSR FA955-1-1-178. The work of H. Zhang is partially supported by NSFC- 1147146, NSFC-1157145, NSFC-RGC-116116486 and the Ministry of Education Program for New Century Excellent Talents Project NCET-1-53. X. Yang thank the hospitality of Hong Kong University of Science and Technology during his winter visit. References [1] F. Boyer and S. Minjeaud. Numerical schemes for a three component Cahn-Hilliard model. ESAIM. Mathematical Modelling and Numerical Analysis, 45(4):697 738, 11. [] A.J. Bray. Theory of phase-ordering kinetics. Advances in Physics, 43(3):357 459, 1994.

888 L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 [3] J. W. Cahn. Free energy of a nonuniform system. II. thermodynamic basis. Journal of Chemical Physics, 3(5), May 1959. [4] J. W. Cahn and J. E. Hilliard. Free energy of a nonuniform system. I. interfacial free energy. J. Chem. Phys., 8:58 67, 1958. [5] L. Q. Chen and Y. Wang. The continuum field approach to modeling microstructural evolution. JOM, 48:13 18, 1996. [6] R. Chen, G. Ji, X. Yang, and H. Zhang. Decoupled energy stable schemes for phase-field vesicle membrane model. Journal of Computational Physics, 3:59 53, 15. [7] N. Condette, C. Melcher, and E. Suli. Spectral approximation of pattern-forming nonlinear evolution equations with double-well potentials of quadratic growth. Math. Comp., 8:5 3, 11. [8] Q. Du, C. Liu, and X. Wang. A phase field approach in the numerical study of the elastic bending energy for vesicle membranes. Journal of Computational Physics, 198:45 468, 4. [9] Q. Du, C. Liu, and X. Wang. A phase field approach in the numerical study of the elastic bending energy for vesicle membranes. Journal of Computational Physics, 198:45 468, 4. [1] M. Gao and X. Wang. A gradient stable scheme for a phase field model for the moving contact line problem. Journal of Computational Physics, 31(4):137 1386, February 1. [11] D. Kessler, R. H. Nochetto, and A. Schmidt. A posteriori error control for the Allen-Cahn problem: circumventing Gronwall s inequality. Mathematical Modeling and Numerical Analysis, 38:19 14, 4. [1] J. Kim. Phase-field models for multi-component fluid flows. Comm. Comput. Phys, 1(3):613 661, 1. [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. Physica D, 179(3-4):11 8, 3. [14] C. Liu, J. Shen, and X. Yang. Decoupled energy stable schemes for a phase field model of two phase incompressible flows with variable density. Journal of Scientific Computing, 6:61 6, 15. [15] J. S. Lowengrub, A. Ratz, and A. Voigt. Phase field modeling of the dynamics of multicomponent vesicles spinodal decomposition coarsening budding and fission. Physical Review E, 79(3), 9. [16] C. Miehe, M. Hofacker, and F. Welschinger. A phase field model for rate-independent crack propagation: Robust algorithmic implementation based on operator splits. Computer Methods in Applied Mechanics and Engineering, 199:765 778, 1. [17] S. Minjeaud. An unconditionally stable uncoupled scheme for a triphasic Cahn Hilliard/Navier Stokes model. Commun. Comput. Phys., 9:584 618, 13. [18] T. Z. Qian, X. Wang, and P. Sheng. Power-law slip profile of the moving contact line in two-phase immiscible flows. Physical Review Letters, 93:9451, 4. [19] T-Z. Qian, X. Wang, and P. Sheng. Molecular scale contact line hydrodynamics of immiscible flows. Phys. Rev. E, 68:1636, 3. [] T-Z. Qian, X. Wang, and P. Sheng. Molecular hydrodynamics of the moving contact line in two phase immiscible flows. Comm. in Comput. Phys., 1(1):1 5, 6. [1] T-Z. Qian, X. Wang, and P. Sheng. A variational approach to moving contact line hydrodynamics. Journal of Fluid Mechanics, 564:336 36, 6. [] J. Shen and X. Yang. Numerical approximations of Allen-Cahn and Cahn-Hilliard equations. DCDS, Series A, 8:1169 1691, 1. [3] J. Shen and X. Yang. Decoupled energy stable schemes for phase field models of two phase incompressible flows. SIAM Journal of Numerical Analysis, 53(1):79 96, 15.

L. Ma et al. / Commun. Comput. Phys., 1 (17), pp. 867-889 889 [4] J. Shen, X. Yang, and H. Yu. Efficient energy stable numerical schemes for a phase field moving contact line model. Journal of Computational Physics, 84:617 63, 15. [5] R. Spatschek, E. Brener, and A. Karma. A phase field model for rate-independent crack propagation: Robust algorithmic implementation based on operator splits. Philosophical Magazine, 91:75 95, 1. [6] X. Wang and Q. Du. Modelling and simulations of multi-component lipid membranes and open membranes via diffuse interface approaches. Journal of Mathematical Biology, 56:347 371, 8.