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

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

c\bigcirc 2018 Society for Industrial and Applied Mathematics

Computational Techniques Prof. Sreenivas Jayanthi. Department of Chemical Engineering Indian institute of Technology, Madras

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

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

Numerical methods for the Navier- Stokes equations

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

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

COMPUTATION OF A SHRINKING INTERFACE IN A HELE-SHAW CELL \ast

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

Partial Differential Equations

Discontinuous Galerkin Methods

Numerical Approximation of Phase Field Models

Introduction. Finite and Spectral Element Methods Using MATLAB. Second Edition. C. Pozrikidis. University of Massachusetts Amherst, USA

A High-Order Discontinuous Galerkin Method for the Unsteady Incompressible Navier-Stokes Equations

Part IV: Numerical schemes for the phase-filed model

Dynamically Orthogonal Numerical Schemes for Efficient Stochastic Advection and Lagrangian Transport \ast

FDM for parabolic equations

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

Diffusion / Parabolic Equations. PHY 688: Numerical Methods for (Astro)Physics

PDE Solvers for Fluid Flow

From Completing the Squares and Orthogonal Projection to Finite Element Methods

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

An Accurate Fourier-Spectral Solver for Variable Coefficient Elliptic Equations

Gauge finite element method for incompressible flows

1 Exercise: Linear, incompressible Stokes flow with FE

A note on accurate and efficient higher order Galerkin time stepping schemes for the nonstationary Stokes equations

HIGH ACCURACY NUMERICAL METHODS FOR THE SOLUTION OF NON-LINEAR BOUNDARY VALUE PROBLEMS

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

Additive Manufacturing Module 8

PDEs, part 1: Introduction and elliptic PDEs

SEMILINEAR ELLIPTIC EQUATIONS WITH DEPENDENCE ON THE GRADIENT

Convective Heat and Mass Transfer Prof. A. W. Date Department of Mechanical Engineering Indian Institute of Technology, Bombay

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

1462. Jacobi pseudo-spectral Galerkin method for second kind Volterra integro-differential equations with a weakly singular kernel

NUMERICAL APPROXIMATIONS OF ALLEN-CAHN AND CAHN-HILLIARD EQUATIONS

Entropy generation and transport

1 Introduction. J.-L. GUERMOND and L. QUARTAPELLE 1 On incremental projection methods

Short title: Total FETI. Corresponding author: Zdenek Dostal, VŠB-Technical University of Ostrava, 17 listopadu 15, CZ Ostrava, Czech Republic

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

7 The Navier-Stokes Equations

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

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

(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

A FAST SOLVER FOR ELLIPTIC EQUATIONS WITH HARMONIC COEFFICIENT APPROXIMATIONS

Quantum Mechanics-I Prof. Dr. S. Lakshmi Bala Department of Physics Indian Institute of Technology, Madras. Lecture - 21 Square-Integrable Functions

Efficient Augmented Lagrangian-type Preconditioning for the Oseen Problem using Grad-Div Stabilization

Simple Examples on Rectangular Domains

c\bigcirc 2019 Society for Industrial and Applied Mathematics

1. Introduction. In this paper we consider infinite horizon stochastic optimal control problems with cost in a maximum form of the following type:

Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction

Discontinuous Galerkin methods for nonlinear elasticity

Numerical Methods for Partial Differential Equations: an Overview.

Stability and Convergence Analysis of Fully Discrete Fourier Collocation Spectral Method for 3-D Viscous Burgers Equation

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

A local-structure-preserving local discontinuous Galerkin method for the Laplace equation

Domain decomposition schemes with high-order accuracy and unconditional stability

An Overview of Fluid Animation. Christopher Batty March 11, 2014

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 9

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

Modeling, Simulating and Rendering Fluids. Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan

c 2010 Society for Industrial and Applied Mathematics

Natural Boundary Integral Method and Its Applications

arxiv: v1 [math.na] 12 Apr 2018

CHAPTER 8 ENTROPY GENERATION AND TRANSPORT

Spectral Processing. Misha Kazhdan

the moving contact line

Chapter 6. Finite Element Method. Literature: (tiny selection from an enormous number of publications)

LECTURE # 0 BASIC NOTATIONS AND CONCEPTS IN THE THEORY OF PARTIAL DIFFERENTIAL EQUATIONS (PDES)

FEniCS Course. Lecture 6: Incompressible Navier Stokes. Contributors Anders Logg André Massing

Adaptive C1 Macroelements for Fourth Order and Divergence-Free Problems

Efficient BDF time discretization of the Navier Stokes equations with VMS LES modeling in a High Performance Computing framework

A Robust Preconditioned Iterative Method for the Navier-Stokes Equations with High Reynolds Numbers

A Simple Compact Fourth-Order Poisson Solver on Polar Geometry

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

12.1 Viscous potential flow (VPF)

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

Fast Structured Spectral Methods

The Conjugate Gradient Method

Marching on the BL equations

Analyzing Reconstruction Artifacts from Arbitrary Incomplete X-ray CT Data \ast

arxiv: v1 [math.na] 29 Feb 2016

Glowinski Pironneau method for the 3D ω-ψ equations

Relaxation methods and finite element schemes for the equations of visco-elastodynamics. Chiara Simeoni

III.3 Momentum balance: Euler and Navier Stokes equations

FREE BOUNDARY PROBLEMS IN FLUID MECHANICS

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

NUMERICAL METHODS FOR ENGINEERING APPLICATION

Workshop on PDEs in Fluid Dynamics. Department of Mathematics, University of Pittsburgh. November 3-5, Program

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

A very short introduction to the Finite Element Method

On Multigrid for Phase Field

AProofoftheStabilityoftheSpectral Difference Method For All Orders of Accuracy

Math (P)Review Part II:

Domain Decomposition Preconditioners for Spectral Nédélec Elements in Two and Three Dimensions

Computational Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

The Deep Ritz method: A deep learning-based numerical algorithm for solving variational problems

7.4 The Saddle Point Stokes Problem

AMS subject classifications. Primary, 65N15, 65N30, 76D07; Secondary, 35B45, 35J50

Partial Differential Equations

Transcription:

SIAM J. S\mathrm{\mathrm{. C\mathrm{\mathrm{\mathrm{\mathrm{\mathrm{. Vol. 4, No. 3, pp. B889--B94 \mathrm{\bigcirc 8 Society for Industrial and Applied Mathematics EFFICIENT SECOND ORDER UNCONDITIONALLY STABLE SCHEMES FOR A PHASE FIELD MOVING CONTACT LINE MODEL USING AN INVARIANT ENERGY QUADRATIZATION APPROACH \ast XIAOFENG YANG \dagger \mathrm{\mathrm{\mathrm{ HAIJUN YU \ddagger Abstract. We consider the numerical approximations for a phase field model consisting of incompressible Navier--Stokes equations with a generalized Navier boundary condition, and the Cahn-- Hilliard equation with a dynamic moving contact line boundary condition. A crucial and challenging issue for solving this model numerically is the time marching problem, due to the high order, nonlinear, and coupled properties of the system. We solve this issue by developing two linear, second order accurate, and energy stable schemes based on the projection method for the Navier--Stokes equations, the invariant energy quadratization for the nonlinear gradient terms in the bulk and boundary, and a subtle implicit-explicit treatment for the stress and convective terms. The well-posedness of the semidiscretized system and the unconditional energy stabilities are proved. Various numerical results based on a spectral-galerkin spatial discretization are presented to verify the accuracy and efficiency of the proposed schemes. Key words. Cahn--Hilliard equation, moving contact line, unconditionally energy stable, high order scheme, invariant energy quadratization AMS subject classifications. 65M, 65Z5, 65P4 DOI..37/7M55. Introduction. In this paper, we consider numerical approximations for a hydrodynamically coupled phase field model [34, 35] with moving contact line (MCL) boundary conditions. The phase field method is a popular approach that is widely used to simulate the interfacial dynamics of multiple material components due to its versatility in modeling as well as numerical simulations. The fluid-fluid interface in this method is considered as a continuous but steep change of some physical property of two fluid components, e.g., density or viscosity. An order parameter (phase field variable) is introduced to label the two fluid components; the interface is then represented by a thin but smooth transition layer that can remove the singularities in practice. The standard phase field model for an incompressible immiscible fluid mixture is a nonlinear system that couples the Cahn--Hilliard equation and the Navier--Stokes equations via convective and stress terms. Once the fluid-fluid interface touches a solid wall, an MCL problem is induced. This phenomenon exists in many physical and engineering processes such as wetting, coating, and painting. In this situation, the no-slip boundary condition for the Navier--Stokes equations is no longer applicable (cf. [6, 7, 3]). Simulations in [, 3, 49] using molecular dynamics \ast Submitted to the journal's Computational Methods in Science and Engineering section April, 7; accepted for publication (in revised form) April 6, 8; published electronically June 9, 8. http://www.siam.org/journals/sisc/4-3/m5.html Funding: The first author's work was partially supported by the National Science Foundation under grant NSF DMS-7. The second author's work was partially supported by NSFC projects 77439, 9533 and China National Program on Key Basic Research Project 5CB8563. \dagger Key Laboratory of HPC-SIP (MOE), College of Mathematics and Statistics, Hunan Normal University, Changsha 48, Hunan, China, and Department of Mathematics, University of South Carolina, Columbia, SC 98 (xfyang@math.sc.edu). \ddagger Corresponding author. NCMIS \& LSEC, Institute of Computational Mathematics and Scientific/Engineering Computing, Academy of Mathematics and Systems Science, Beijing 9, China, and School of Mathematical Sciences, University of Chinese Academy of Sciences, Beijing 49, China (hyu@lsec.cc.ac.cn). B889

B89 XIAOFENG YANG AND HAIJUN YU simulations showed that nearly complete slip happens near the MCL. In the context of the phase field method, a set of accurate boundary conditions for the MCL problem was derived by Qian, Wang, and Shen in [34, 35], resulting in a standard two-phase model supplemented with a generalized Navier boundary condition (GNBC) and a dynamic contact line condition (DCLC), where the nonlinear couplings also show up in the boundary conditions. Numerically, although the phase field variable is continuous and smooth, the model is still very stiff since a small dimensionless parameter related to the thickness of the interface layer is involved, for which certain numerical methods like fully implicit or explicit methods for nonlinear terms need a very small time marching step size (see the analysis in [, 4, 54]). Hence a challenging issue for solving the model is to develop numerically stable methods, namely, to establish efficient numerical schemes that can verify the so-called energy stable property at the discrete level, irrespective of the coarseness of the discretization. Such algorithms are usually called unconditionally energy stable or thermodynamically consistent. Schemes with this property are specially preferred since it is critical for the numerical schemes to use larger time steps to capture the correct long time dynamics that can reduce the time cost in computing. Nonetheless, we must mention the basic fact that a larger time step will definitely induce larger numerical errors. In other words, schemes with unconditional energy stability can allow an arbitrarily large time step only for the sake of stability. To measure whether a scheme is reliable or not,in addition to stability, the controllable accuracy is another important factor. Therefore, if one attempts to use a time step as large as possible while maintaining the desirable accuracy, the only possible choice is to develop more accurate schemes, e.g., second order energy stable schemes, which is the main focus of this paper. It is remarkable that, unlike the enormous numerical scheme developments on the standard phase field model for a two-phase fluid flows system with easy boundary conditions (without MCLs)---e.g., see [,,, 6, 7, 3, 48]---almost all developed time marching schemes for solving the model with MCLs are first order; see, e.g., [, 4, 5,, 3, 9, 9, 36, 46, 6]. More precisely, to the best of the authors' knowledge, no schemes can be claimed to possess the following three properties: linear, unconditionally energy stable, and second order accuracy. This is because two additional numerical difficulties, the discretization of the GNBC and DCLC conditions on the boundary, emerge in addition to the regular stiffness issue induced by the nonlinear double well potential in the Cahn--Hilliard equation. At the very least, even for the Cahn--Hilliard equation, the algorithm design is still challenging. To overcome the stiffness issue, many efforts have been implemented to remove the time step constraint, including, e.g., the nonlinear convex splitting approach [9, 39, 47, 5] and the linear stabilization approach [3, 8, 33, 4, 43, 44, 45, 46, 56]. Concerning the pros and cons of these two methods, we give some detailed discussions in section 3. Therefore, the aim of this paper is to develop some more efficient and accurate schemes for solving the phase field MCL model proposed in [34, 35]. We shall construct second order time stepping schemes which satisfy a discrete energy law by combining several successful approaches, including the projection method for the Navier--Stokes equations to decouple the velocity and pressure, the invariant energy quadratization (IEQ) method (cf. [7, 55, 57, 58, 6]) for nonlinear gradient terms that appear in the bulk as well as the boundary of the phase field equation, and a subtle implicit-explicit treatment for the stress and convective terms. At each time step, one can solve a linear elliptic system for the phase variable and the velocity field, and a Poisson equation for the pressure. We shall give a rigorous proof of the well-posedness of the linear system

EFFICIENT SECOND ORDER SCHEMES FOR PHASE FIELD MCL B89 together with numerical results to verify the second order accuracy in time and the efficiency. The rest of the paper is organized as follows. In section, we briefly describe the phase field model with MCL boundary conditions and its associated energy dissipation law. In section 3, we present the numerical schemes, and provide a rigorous proof of the well-posedness of the semidiscretized linear system and their discrete energy dissipation law. In section 4, we describe the implementation based on a Fourier-- Legendre spectral-galerkin spatial discretization. In section 5, we present various numerical examples to illustrate the accuracy and efficiency of the proposed schemes. Some concluding remarks are given in section 6.. The phase field MCL model and its energy law. Consider a mixture of two immiscible, incompressible fluids in a confined domain \Omega \subset R d (d =, 3) with matched density and viscosity. We introduce a phase field variable \phi(\bfitx, t) such that \Biggl\{, fluid I, (.) \phi(\bfitx, t) = -, fluid II. We consider the following Ginzburg--Landau free energy for the mixture: \int \Bigl( \varepsi (.) E mix (\phi) = \lambda \nabla \phi + F (\phi)\bigr) d\bfitx, \Omega where \lambda denotes rescaled characteristic strength of phase mixing energy. The first gradient term in E mix contributes to the hydrophilic-type (tendency of mixing) interactions between the materials; the second part, the double well bulk energy F (\phi) = 4\varepsi (\phi - ), represents the hydrophobic-type (tendency of separation) interactions. As the consequence of the competition between the two types of interactions, the equilibrium configuration will include a diffusive interface with a thickness proportional to the parameter \varepsi. The total bulk energy of the hydrodynamic system is a sum of the kinetic energy E k together with the mixing energy E mix : \int \biggl( \Bigl( \varepsi \Bigr) \biggr) (.3) E bulk (\bfitu, \phi) = E k (\bfitu) + E mix (\phi) = \bfitu + \lambda \nabla \phi + F (\phi) d\bfitx. Here \bfitu is the fluid velocity field, and we assume the fluid density is. The evolution of the phase function is governed by the Cahn--Hilliard equation (.4) (.5) \Omega \phi t + \nabla \cdot (\bfitu \phi ) = M\Delta \mu, \mu = \lambda (- \varepsi\delta \phi + f(\phi )), where \mu is the chemical potential, M is a mobility parameter, and f(\phi ) = F \prime (\phi ) = \varepsi \phi (\phi - ). The momentum equation for the hydrodynamics takes the usual form of the Navier--Stokes equation as follows (cf., e.g., [, 7, 35, 46]): (.6) (.7) \bfitu t + (\bfitu \cdot \nabla )\bfitu - \nu \Delta \bfitu + \nabla p + \phi \nabla \mu =, \nabla \cdot \bfitu =, where p is the pressure, and \nu is the kinetic viscosity of the mixture. On the boundary \Gamma, we use the GNBC for the velocity as follows [34, 35]: (.8) \bfitu \cdot \bfitn =,

B89 (.9) XIAOFENG YANG AND HAIJUN YU \nu \partial \bfitn \bfitu \tau = - \nu \ell (\phi )(\bfitu \tau - \bfitu w ) - \lambda \gamma \. \phi \nabla \tau \phi, and, together with the DCLC for the phase field variable on the boundary \Gamma, (.) (.) \partial \bfitn \mu =, \varepsi\partial \bfitn \phi = - \gamma \. \phi - g(\phi ), where \phi \. = \phi t + \bfitu \tau \cdot \nabla \tau \phi, \ell(\phi) \geq, is a given coefficient function that is the ratio of domain length to the slip length, \gamma is a boundary relaxation coefficient, \bfitu w is the wall velocity, \bfitu \tau is the tangential velocity along the boundary tangential direction \tau, \nabla \tau = \nabla - (\bfitn \cdot \nabla)\bfitn is the gradient along \tau, g(\phi ) = G \prime (\phi), and G(\phi ) is the interfacial energy that is defined as \surd \Bigl( \pi \Bigr) (.) G(\phi ) = - 3 cos \theta s sin \phi, where \theta s is the static contact angle. From (.8), we have \bfitu = \bfitu \tau on boundary \Gamma. We now describe the energy dissipation law for the above model. Hereafter, for any function f, g \in L (\Omega), we use (f, g) = \int \Omega f(\bfitx )g(\bfitx)d\bfitx to denote the L inner product between functions f(\bfitx ) and g(\bfitx ), (f, g) \Gamma to denote \int \Gamma f(s)g(s)ds, and \ f\ = (f, f) and \ f\ \Gamma = (f, f) \Gamma. Lemma.. The Navier--Stokes--Cahn--Hilliard (NSCH) system with GNBC and DCLC ( (.4)--(.7) with (.8)--(.)) satisfies the energy dissipation law (.3) d dt E(\bfitu, \phi ) = - \nu \ \nabla \bfitu \ - M\ \nabla \mu \ - \lambda \gamma \ \. \phi \ \Gamma - \nu \ \sqrt{} \ell (\phi )\bfitu s \ \Gamma - \nu (\ell (\phi )\bfitu s, \bfitu w ) \Gamma, where \bfitu s = \bfitu - \bfitu w is the velocity slip on boundary \Gamma, and \int \Bigl( \Bigl( \varepsi \Bigr) \int (.4) E(\bfitu, \phi) = \bfitu + \lambda \nabla \phi + F (\phi)\bigr) d\bfitx + \lambda \Omega \Gamma G(\phi (s))ds. Proof. The theorem is identical to Theorem in [46] if we let L(\phi ) = - \. \phi /\gamma. 3. Numerical schemes. We now construct time marching schemes to solve the NSCH system (.4)--(.7) with boundary conditions of GNBC (.8)--(.9) and DCLC (.)--(.). With the aim of constructing schemes that are linear, second order, and unconditionally energy stable, we notice that there are several numerical challenges, including (i) how to decouple the computations of velocity and pressure; (ii) how to discretize f(\phi ); (iii) how to discretize g(\phi ); and (iv) how to develop proper discretizations for convective and stress terms. The first difficulty (i) actually has been well studied during the last forty years; e.g., projection-type methods are one of the best ways to solve it (cf. the review in [4] and the references therein). Difficulty (ii) has also been well studied recently by two classes of methods, i.e., the nonlinear convex splitting method (cf., e.g., [9, 39, 47, 5]) and the linear stabilization approach (cf., e.g., [3, 8, 33, 4, 43, 44, 45, 46, 56]). The convex splitting approach is energy stable; however, it produces nonlinear schemes in most cases, and thus the implementations are often complicated and the computational costs high. The linear stabilization approach introduces purely linear schemes and is therefore easy to implement. Its stability, however, usually

EFFICIENT SECOND ORDER SCHEMES FOR PHASE FIELD MCL B893 requires a special property (generalized maximum principle) [4, 53] satisfied by the classical PDE solution and the numerical solution, which is very hard to prove in general. Recently, some theoretical progress has been made to overcome this barrier for first order [5] and second order [4] stabilization methods using subtle Fourier analysis. However, to prove the unconditional stability, large stabilization constants are required. In this paper, we use a newly developed IEQ approach which has been successfully applied to solve several gradient flow--type models (cf. [7, 55, 57, 58, 59, 6, 6]). Its idea is to make the free energy quadratic in terms of new variables via the change of variables. Then the free energy and the PDE system are transformed into equivalent forms, and thus the nonlinear terms can be treated semi-explicitly. More precisely, we define two new variables (3.) U = \phi -, W = \sqrt{} G(\phi ) + C, where C is a constant to ensure G(\phi ) + C is positive, for instance, C = \surd 3 + \eta with any \eta >. Hence we can rewrite the bulk and total free energy as \int \biggl( \Bigl( \varepsi E bulk (\bfitu, \phi, U) = \Omega \bfitu + \lambda \nabla \phi + 4\varepsi U \Bigr) \biggr) (3.) d\bfitx, \int (3.3) E(\bfitu, \phi, U, W ) = E bulk (\bfitu, \phi, U) + \lambda W ds - \lambda C \Gamma. Thus, we have an equivalent new PDE system as follows: (3.4) (3.5) (3.6) (3.7) (3.8) \phi t + \nabla \cdot (\bfitu \phi) = M\Delta \mu, \biggl( \mu = \lambda - \varepsi\delta \phi + \varepsi \biggr) \phi U, \bfitu t + (\bfitu \cdot \nabla )\bfitu - \nu \Delta \bfitu + \nabla p + \phi \nabla \mu =, \nabla \cdot \bfitu =, U t = \phi \phi t, with the GNBC on \Gamma given as (3.9) (3.) and DCLC as (3.) (3.) (3.3) \bfitu \cdot \bfitn =, \nu \partial \bfitn \bfitu \tau = - \nu \ell (\phi )(\bfitu \tau - \bfitu w ) - \lambda \gamma \. \phi \nabla \tau \phi, \partial \bfitn \mu =, \varepsi\partial \bfitn \phi = - \gamma \. \phi - Z(\phi )W, W t = Z(\phi )\phi t, where Z(\phi ) = g(\phi )/ \sqrt{} G(\phi ) + C. The initial conditions read as (3.4) \phi t= = \phi, \bfitu t= = \bfitu, U t= = \phi -, W t= = \sqrt{} G(\phi ) + C. \Gamma We derive the energy dissipative law for this new system (3.4)--(3.3) as follows.

B894 XIAOFENG YANG AND HAIJUN YU Theorem 3.. The NSCH system with GNBC and DCLC (3.4)--(3.3) satisfies the following energy dissipation law: (3.5) d dt E(\bfitu, \phi, U, W ) = - \nu \ \nabla \bfitu \ - M\ \nabla \mu \ - \lambda \gamma \ \. \phi \ \Gamma - \nu \ \sqrt{} \ell (\phi )\bfitu s \ \Gamma - \nu (\ell (\phi )\bfitu s, \bfitu w ) \Gamma. Proof. By taking the L inner product of (3.4) with \mu, and using boundary conditions (3.9) and (3.), we get (3.6) (\phi t, \mu ) - (\bfitu \phi, \nabla \mu ) = - M\ \nabla \mu \. By taking the L inner product of (3.5) with - \phi t, we have (3.7) - (\mu, \phi t ) = \lambda (\varepsi\partial \bfitn \phi, \phi t ) \Gamma - \lambda \varepsi d dt \ \nabla \phi \ - \lambda \varepsi (\phi U, \phi t). By taking the L inner product of (3.8) with \lambda \varepsi U, we obtain (3.8) \lambda d dt 4\varepsi \ U\ = \lambda \varepsi (\phi \phi t, U). By taking the L inner product of (3.6) with \bfitu, using the divergence-free condition (3.7), we get d (3.9) dt \ \bfitu \ = - \nu \ \nabla \bfitu \ + (\nu \partial \bfitn \bfitu \tau, \bfitu \tau ) \Gamma - (\phi \nabla \mu, \bfitu). By taking the summation of (3.6)--(3.9), we obtain (3.) d dt E(\bfitu, \phi, U) = - \nu \ \nabla \bfitu \ - M\ \nabla \mu \ + (\nu \partial \bfitn \bfitu, \bfitu ) \Gamma + \lambda (\varepsi\partial \bfitn \phi, \phi t ) \Gamma. Then we use boundary condition (3.), (3.) and definition of \phi \. to derive (\nu \partial \bfitn \bfitu, \bfitu) \Gamma = - \lambda \Bigl( \Bigr) (3.) \.\phi \nabla \tau \phi, \bfitu \tau - \nu (\ell(\phi)\bfitu s, \bfitu s + \bfitu w ) \gamma \Gamma, \Gamma (3.) \lambda (\varepsi\partial \bfitn \phi, \phi t ) \Gamma = - \lambda \gamma \ \. \phi \ \Gamma + \lambda \gamma ( \. \phi, \bfitu \tau \cdot \nabla \tau \phi ) \Gamma - \lambda (Z(\phi )W, \phi t ) \Gamma. By taking the L inner product of (3.3) with \lambda W, we obtain (3.3) \lambda d dt \ W \ \Gamma = \lambda (Z(\phi )\phi t, W ) \Gamma. Summing up (3.)--(3.3), we get the desired energy law (3.5). We emphasize that the new transformed system (3.4)--(3.3) is exactly equivalent to the original system (.4)--(.7), (.8)--(.) that can be easily obtained by integrating (3.8) and (3.3) with respect to the time. Therefore, the energy law (3.5) for the transformed system is exactly the same as the energy law (.4) for the original system for the time-continuous case. We will develop time marching schemes for the new transformed system (3.4)--(3.3) that in turn follows the new energy dissipation law (3.5) instead of the energy law (.3) for the original system. \int We fix some notation here. We define two Sobolev spaces Hc (\Omega) = \{ \phi \in H (\Omega) : \Omega \phi = \} and H \bfitu(\omega) = \bigl\{ \bfitu \in [H (\Omega)] d : \bfitu \cdot \bfitn \Gamma = \bigr\}. Let \delta t > be a time step size and set t n = n\delta t. For any function S(\bfitx, t), let S n denote the numerical approximation to S(\cdot, t) t=t n, and S n+ := Sn+ +S n, S n+ \star := 3 Sn - Sn-, S\star n+ := S n - S n-, \delta S n+ := S n+ - S n, \delta S n+ := S n+ - S n + S n-.

EFFICIENT SECOND ORDER SCHEMES FOR PHASE FIELD MCL B895 3.. A Crank--Nicolson scheme. We first construct a linear Crank--Nicolson (CN) scheme for the system (3.4)--(3.3); see Scheme. Scheme Linear Crank--Nicolson. Assuming that \phi n, \bfitu n, p n, U n, W n, \phi n-, \bfitu n- are given, we compute \phi n+, \bfitu n+, p n+, U n+, W n+ in two steps. Step : We update \phi n+, \mu n+, \widetil\bfitu n+, U n+, W n+ as follows: (3.4) (3.5) (3.6) (3.7) \phi n+ - \phi n + \nabla \cdot (\widetil\bfitu n+ n+ \phi \star ) = M\Delta \mu n+, \delta t \Bigl( \mu n+ = \lambda - \varepsi\delta \phi n+ \Bigr) + \varepsi \phi n+ \star U n+, U n+ - U n = \phi n+ \star (\phi n+ - \phi n ), \widetil\bfitu n+ - \bfitu n \delta t + B(\bfitu n+ \star, \widetil\bfitu n+ ) - \nu \Delta \widetil\bfitu n+ + \nabla p n + \phi n+ \star \nabla \mu n+ =, with the following boundary conditions on \Gamma : (3.8) (3.9) \widetil\bfitu n+ \cdot \bfitn =, \nu \partial \bfitn \widetil\bfitu n+ \tau = - \nu \ell (\phi n+ \star )(\widetil\bfitu n+ - \bfitu w ) - \lambda \gamma \. \phi n+ \nabla \tau \phi n+ \star, (3.3) \partial \bfitn \mu n+ =, \varepsi\partial\bfitn \phi n+ = - \phi \gamma \. n+ n+ (3.3) - Z(\phi \star )W n+, (3.3) W n+ - W n = Z(\phi n+ \star )(\phi n+ - \phi n ), where B(\bfitu, \bfitv ) = (\bfitu \cdot \nabla )\bfitv + (\nabla \cdot \bfitu )\bfitv, \widetil\bfitu n+ (3.33) \. \phi n+ = \phi n+ - \phi n Step : We update \bfitu n+ and p n+ as follows: (3.34) (3.35) \delta t \bfitu n+ - \widetil\bfitu n+ \delta t \nabla \cdot \bfitu n+ =, with the following boundary condition on \Gamma : (3.36) = \widetil\bfitu n+ +\bfitu n and + \widetil\bfitu n+ \tau \cdot \nabla \tau \phi n+ \star. + \nabla( pn+ - p n ) =, \bfitu n+ \cdot \bfitn =. Remark 3.. The computations of (\phi n+, \mu n+, \widetil\bfitu n+ ) and the pressure p n+ are totally decoupled via a second order pressure correction scheme [5] and a subtle implicit-explicit treatment for the stress and convective terms. Developing a second order scheme that can decouple the computations of (\phi, \mu ) from the velocity field \bfitu is quite an open problem. All decoupled-type energy stable schemes were first order accurate in time (cf. [8, 3, 44, 45, 46]). The adopted projection method here was analyzed in [38], where it is shown (discrete time, continuous space) that the scheme

B896 XIAOFENG YANG AND HAIJUN YU is second order accurate for velocity in \ell (, T ; L (\Omega )) but only first order accurate for pressure in \ell \infty (, T ; L (\Omega )). The loss of accuracy for pressure is due to the artificial boundary condition (3.34) imposed on the pressure [8]. We refer the reader to [4, 38] and references therein for analysis on this type of discretization. Scheme (3.4)--(3.3) is totally linear since we handle the convective and stress terms by compositions of implicit and explicit discretization at t n+. Note that the new variables U and W will not result in extra computational cost. In fact, we can substitute for U n+ and W n+ in (3.5) and (3.3) using (3.6) and (3.3). Thus the scheme (3.4)--(3.3) can be written as (3.37) \left\{ \phi n+ + \delta t \nabla \cdot (\widetil\bfitu n+ \phi n+ \star ) - \delta tm\delta \mu n+ = f, - \mu n+ \lambda \varepsi - \Delta \phi n+ + \lambda \varepsi (\phi n+ \star ) \phi n+ = f, \widetil\bfitu n+ + \delta t 4 B(\bfitu n+ \star, \widetil\bfitu n+ ) - with the following boundary conditions on \Gamma : \left\{ \widetil\bfitu n+ \cdot \bfitn =, (3.38) \nu \delta t 4 \Delta \bfitu n+ + \delta t \phi n+ \star \nabla \mu n+ = f3, \nu \partial \bfitn \widetil\bfitu n+ = - \nu \ell (\phi n+ \star )\widetil\bfitu n+ - \lambda \gamma \r \phi n+ \nabla \phi n+ \star + g, \partial \bfitn \mu n+ =, where the definition of \r \phi n+ is (3.39) \varepsi\partial \bfitn \phi n+ = - \gamma \r \phi n+ - Z(\phi n+ \star ) \phi n+ + g, \phi \r n+ = \delta t \phi n+ + n+ \widetil\bfitu \tau \cdot \nabla \tau \phi n+ \star, and f, f, f 3, g, g include only terms from previous time steps. Therefore, we can solve (3.37)--(3.38) directly. Once we obtain \phi n+, \mu n+, \widetil\bfitu n+, the new variables U n+, W n+ are updated using (3.6) and (3.3). \int Now we study \int the well-posedness of the semidiscretized system. Define \phi \= = \Omega \phi d\bfitx, \=\mu = \Omega \Omega \Omega \mu d\bfitx. By integrating (3.4), we find that \phi \= n+ = \phi \= n = \cdot \cdot \cdot = \phi \=. Let \phi = \phi n+ - \phi \=, \mu = \mu n+ - \=\mu n+ such that \phi, \mu \in Hc (\Omega). Here \int \biggl( (3.4) \=\mu n+ \lambda \varepsi = - \Omega \Omega \Delta \phi n+ + \lambda \varepsi (\phi n+ \star ) \phi n+ - f \biggr). Then the weak form for (3.37)--(3.38) can be written as the following system with unknowns \mu, \phi \in H c (\Omega ), \bfitu \in H \bfitu (\Omega ): (3.4) (3.4) (\phi, w) - \delta t (\bfitu \phi n+ \star, \nabla w) + M\delta t(\nabla \mu, \nabla w) = (f, w), \lambda \varepsi -(\mu, \psi) + (\nabla \phi, \nabla \psi) + \lambda \varepsi ((\phi n+ \star ) \phi, \psi) + \lambda \gamma (\r \phi, \psi ) \Gamma + \lambda 4 (Z(\phi n+ \star ) \phi, \psi ) \Gamma = (f, \psi ) + \lambda (g, \psi ) \Gamma,

EFFICIENT SECOND ORDER SCHEMES FOR PHASE FIELD MCL B897 (3.43) \delta t (\bfitu, \bfitv) + 4 (B(\bfitu n+ \star, \bfitu), \bfitv) + \delta t\nu + 4 (\ell(\phi n+ \star )\bfitu, \bfitv) \Gamma + \lambda \gamma \delta t(\r \phi \nabla \phi n+ \star \nu \delta t \delta t (\nabla \bfitu, \nabla \bfitv) + 4 (\phi n+ \star \nabla \mu, \bfitv), \bfitv ) \Gamma = (f 3, \bfitv ) + \delta t 4 (g, \bfitv ) \Gamma for any w, \psi \in H c (\Omega ) and \bfitv \in H \bfitu (\Omega ), where \r \phi = \delta t \phi + \bfitu \tau \cdot \nabla \tau \phi n+ \star. We denote the above linear system (3.4)--(3.43) as (3.44) (A\bfitX, \bfity ) = (B, \bfity ), where \bfitx = (\mu, \phi, \bfitu ) T, \bfity = (w, \psi, \bfitv ) T, and \bfitx, \bfity \in (H c, H c, H \bfitu )(\Omega ). Theorem 3.. The linear system (3.4)--(3.43) admits a unique solution (\mu, \phi, \bfitu ), where \mu, \phi \in H c (\Omega ), \bfitu \in H \bfitu (\Omega ). Proof. (i) For any \bfitx =(\mu, \phi, \bfitu ) T and \bfity =(w, \psi, \bfitv ) T with \bfitx, \bfity \in (H c, H c, H \bfitu )(\Omega ), we have (3.45) (A\bfitX, \bfity ) \leq C (\ \phi \ H + \ \mu \ H + \ \bfitu \ H )(\ \psi \ H + \ w\ H + \ \bfitv \ H ) from the trace theorem, where C is a constant depending on \delta t, \nu, M, \varepsi, \lambda, \gamma, \ \bfitu n+ \star \ \infty, \ \phi n+ \star \ \infty, \ Z(\phi n+ \star )\ \infty. Therefore, the bilinear form (A\bfitX, \bfity ) is bounded. (ii) It is easy to derive that (3.46) (A\bfitX, \bfitx ) = \ \bfitu \ + \nu \delta t 4 \ \nabla \bfitu \ \lambda \varepsi + \ \nabla \phi \ + \lambda \varepsi \ \phi n+ \star \phi \ + M\delta t\ \nabla \mu \ \lambda \delta t + \gamma \ \phi \r \ \Gamma + \lambda 4 \ Z(\phi n+ \star )\phi \ \Gamma + \delta t \nu \ (\ell(\phi n+ \star )) \bfitu \tau \ \Gamma \geq C (\ \phi \ H + \ \mu \ H + \ \bfitu \ H ) from the Poincar\'e inequality (since \int \Omega \phi d\bfitx = \int \Omega \mu d\bfitx = ), where C is a constant depending on \delta t, \nu, M, \varepsi, \lambda. Thus the bilinear form (A\bfitX, \bfity ) is coercive. Then from the Lax--Milgram theorem, we conclude that the linear system (3.44) admits a unique solution (\mu, \phi, \bfitu) \in (Hc, Hc, H \bfitu )(\Omega). Namely, the linear system (3.37)--(3.38) admits a unique solution (\mu n+, \phi n+, \widetil\bfitu n+ ) in (Hc, Hc, H \bfitu )(\Omega). The stability result of the proposed CN scheme follows along the same lines as in the derivation of the new PDE energy dissipation law, Theorem 3., as follows. Theorem 3.3. The scheme (3.4)--(3.36) is unconditionally energy stable, in the sense that it satisfies the discrete energy dissipation law (3.47) E n+ cn where \widetil\bfitu n+ s = \widetil\bfitu n+ - \bfitu w and (3.48) = E n cn - M\delta t\ \nabla \mu n+ \ - \nu \delta t\ \nabla \widetil\bfitu n+ \ - \lambda \delta t \gamma \ \. \phi n+ \ \Gamma, - \nu \delta t\ \ell (\phi n+ \star ) \widetil\bfitu n+ s \ \Gamma - \nu \delta t(\ell (\phi n+ \star )\widetil\bfitu n+ s, \bfitu w ) \Gamma, E n cn = E(\bfitu n, \phi n, U n, W n ) + \delta t 8 \ \nabla pn \.

B898 XIAOFENG YANG AND HAIJUN YU Proof. By taking the L inner product of (3.4) with \delta t\mu n+ and performing integration by parts, we obtain (3.49) (\phi n+ - \phi n, \mu n+ ) - \delta t(\widetil\bfitu n+ \phi n+ \star, \nabla \mu n+ ) = - M\delta t\ \nabla \mu n+ \. By taking the L inner product of (3.5) with - (\phi n+ - \phi n ), we obtain -(\mu n+, \phi n+ - \phi n ) = \lambda(\varepsi\partial \bfitn \phi n+, \phi n+ - \phi n ) \Gamma - (3.5) - \lambda \varepsi (\phi n+ \star U n+, \phi n+ - \phi n ). By taking the L inner product of (3.6) with \lambda \varepsi U n+, we obtain (3.5) \lambda \varepsi (\ \nabla \phi n+ \ - \ \nabla \phi n \ ) \lambda \bigl( \ U n+ \ - \ U n \ \bigr) = \lambda 4\varepsi \varepsi (\phi n+ \star (\phi n+ - \phi n ), U n+ ). By taking the L inner product of (3.7) with \delta t\widetil\bfitu n+, we obtain (3.5) \ \widetil\bfitu n+ \ - \ \bfitu n \ + \delta t\nu \ \nabla \widetil\bfitu n+ \ - \delta t(\nu \partial \bfitn \widetil\bfitu n+, \widetil\bfitu n+ )\Gamma + \delta t(\nabla p n, \widetil\bfitu n+ ) + \delta t(\phi n+ \star \nabla \mu n+, \widetil\bfitu n+ ) =. By taking the L inner product of (3.34) with \delta t\bfitu n+ and using the divergence-free condition for \bfitu n+ from (3.35), we obtain (3.53) (\ \bfitu n+ \ - \ \widetil\bfitu n+ \ ) + \ \bfitu n+ - \widetil\bfitu n+ \ =. We further rewrite the projection step (3.34) as (3.54) \bfitu n+ + \bfitu n - \widetil\bfitu n+ + \delta t \nabla (pn+ - p n ) =. By taking the L inner product of the above equation with \delta t \nabla pn and applying the divergence-free condition for \bfitu n+ + \bfitu n, we obtain (3.55) \delta t 8 (\ \nabla pn+ \ - \ \nabla p n \ - \ \nabla p n+ - \nabla p n \ ) = \delta t(\widetil\bfitu n+, \nabla p n ). On the other hand, it follows directly from (3.34) that (3.56) \delta t 8 \ \nabla (pn+ - p n )\ = \ \bfitu n+ - \widetil\bfitu n+ \. Summing up (3.49), (3.5), (3.5), (3.5), (3.53), (3.55), and (3.56), we obtain (3.57) \lambda \varepsi \bigl( \ \nabla \phi n+ \ - \ \nabla \phi n \ \bigr) + \lambda \ U 4\varepsi\bigl( n+ \ - \ U n \ \bigr) + M\delta t\ \nabla \mu n+ \ + \ \bfitu n+ \ - \ \bfitu n \ + \nu \delta t\ \nabla \widetil\bfitu n+ \ + - \delta t(\nu \partial \bfitn \widetil\bfitu n+, \widetil\bfitu n+ )\Gamma - \lambda (\varepsi\partial \bfitn \phi n+, \phi n+ - \phi n ) \Gamma =. \delta t 8 (\ \nabla pn+ \ - \ \nabla p n \ )

EFFICIENT SECOND ORDER SCHEMES FOR PHASE FIELD MCL B899 To deal with the boundary integrals, from (3.9), we derive (3.58) - \delta t(\nu \partial \bfitn \widetil\bfitu n+, \widetil\bfitu n+ )\Gamma = \delta t\nu (\ell(\phi n+ \star )\widetil\bfitu n+ s, \widetil\bfitu n+ s + \bfitu w ) \Gamma \lambda \delta t + \gamma ( \phi \. n+ \nabla \tau \phi n+ \star, \widetil\bfitu n+ )\Gamma. From (3.3) and the definition of \. \phi n+, we obtain (3.59) - \lambda(\varepsi\partial \bfitn \phi n+, \phi n+ - \phi n ) \Gamma - \lambda(z(\phi n+ \star )W n+, \phi n+ - \phi n ) \Gamma \lambda \delta t = \gamma \ \phi \. n+ \ \lambda \delta t \Gamma - \gamma ( \phi \. n+, \widetil\bfitu n+ \cdot \nabla \tau \phi n+ \star ) \Gamma. By taking the L inner product of (3.3) with \lambda W n+, we obtain (3.6) \lambda (\ W n+ \ \Gamma - \ W n \ \Gamma ) = \lambda (Z(\phi n+ \star )(\phi n+ - \phi n ), W n+ )\Gamma. Finally, we obtain the desired energy law (3.47) by combining (3.57)--(3.6). The proposed scheme follows the new energy dissipation law (3.5) formally instead of the energy law for the originated system (.3). In the time-continuous case, the two energy laws are the same. In the time-discrete case, the discrete energy E n cn (defined in (3.48)) is a second order approximation to the exact energy E tot (\bfitu n, \phi n ) (defined in (.4)), since U n+, W n+ are second order approximations to \phi - and \sqrt{} G(\phi ) + C. Several remarks are in order. Remark 3.. The time discretization for the cubic polynomial term f(\phi ) induced from the double well potential has been well studied in much of the literature. For instance, one popular method to obtain second order time marching schemes is the convex splitting approach (cf. [7, 8]), since there exists a natural convex-concave decomposition for the double well potential F (\phi). For the boundary energy G(\phi ), since its second order derivative is bounded, it is natural to use the linear stabilization approach; see [, 3, 46, 6]. Namely, g(\phi ) is treated explicitly and an extra linear stabilizer is added to improve the stability. However, it is not easy to design an unconditionally stable second order scheme by linear stabilization. The IEQ approach provides a novel way to handle both f(\phi ) and g(\phi ). Its idea is very simple but quite different from the traditional time marching schemes like fully explicit, implicit, or other various Taylor expansions to discretize nonlinear potentials. Through a simple substitution of new variables, the complicated nonlinear potentials are transformed into quadratic forms. We summarize the great advantages of this quadratic transformation as follows: (i) this quadratization method works well for various complex nonlinear terms as long as the corresponding nonlinear potentials are bounded from below; (ii) the complicated nonlinear potential is transferred to a quadratic polynomial form, which is much easier to handle; (iii) the derivative of the quadratic polynomial is linear, which provides the fundamental support for the linearization method; (iv) the quadratic formulation in terms of new variables can automatically maintain this property of positivity (or bounded from below) of the nonlinear potentials.

B9 XIAOFENG YANG AND HAIJUN YU Remark 3.3. When the nonlinear potential is a fourth order polynomial (e.g., the double well potential), the IEQ we used in (3.) for the \phi variable is exactly the same as the so-called Lagrange multiplier method developed in [6]. We note that the idea of the Lagrange multiplier method only works well for the fourth order polynomial potential (\phi 4 ). This is because the nonlinear term \phi 3 (the derivative of \phi 4 ) can be naturally decomposed into a multiplication of two factors: \lambda(\phi)\phi, that is, the Lagrange multiplier term. The \lambda(\phi) = \phi is then defined as the new auxiliary variable U. However, this method might not succeed for other types of potentials. For instance, we notice the Flory--Huggins potential is widely used in the two-phase model; see also []. The induced nonlinear term is of logarithmic type as ln( \phi - \phi). If one forcefully rewrites this term as \lambda(\phi)\phi, then \lambda(\phi) = \phi \phi ln( - \phi), which is the definition of the new variable U. Obviously, such a form is unworkable for algorithm design. Therefore, we can see that the IEQ approach generalizes the Lagrange multiplier approach, which is for double well potential only, and extends its applicability greatly to a unified framework for general dissipative stiff systems with high nonlinearity. Concerning the application of the IEQ approach for handling other types of nonlinear potentials, we refer the reader to the authors' other works [7, 55, 57, 58, 6]. Remark 3.4. The IEQ approach is more efficient than nonlinear approaches such as fully implicit or convex splitting. Let us consider the double well potential case, e.g., F (\phi ) = \phi 4 ; then the IEQ scheme will generate the linear scheme as (\phi n ) \phi n+. The implicit or convex splitting approach will produce the scheme as (\phi n+ ) 3. Therefore, if the Newton iterative method is applied for this term, at each iteration the nonlinear convex splitting approach would yield the same linear operator as the IEQ approach. Hence the cost of solving the IEQ scheme is the same as the cost of performing one iteration of the Newton method for the implicit/convex splitting approach, provided that the same linear solvers are applied. Remark 3.5. Instead of using U = \phi - as in (3.), one can also use a more general form U = \sqrt{} (\phi - ) + C with C \geq. All the stability properties still hold. However, the convergence behavior will be different. Our numerical tests show that the numerical results with C \sim o() perform almost the same as the results using (3.). If C is big, for a fixed time step, the magnitude of accuracy result is a little bit inferior to the case of C =, but the accuracy order is still second order. Thus, for the double well potential, one can either use U = \phi - or U = \sqrt{} (\phi - ) + C with C \sim o(). But if the nonlinear potential is not double well, for instance, the logarithmic Flory--Huggins potential, then the only choice for the new variable U is \sqrt{} G(\phi ) + C formally; see [55]. 3.. A backward differentiation scheme. We further develop another linear scheme based on a second order backward differentiation formula (BDF); see Scheme. Similar to the CN scheme (3.4)--(3.3), the BDF scheme (3.6)--(3.73) is linear and the new variables U, W do not involve any extra computational cost. Theorem 3.4. The weak form of the linear system (3.6)--(3.73) admits a unique solution (\mu n+, \phi n+, \widetil\bfitu n+ ), where \mu n+, \phi n+ \in H c (\Omega ), and \widetil\bfitu n+ \in H \bfitu (\Omega ). Proof. The proof is similar to Theorem 3.; thus we omit the details here.

EFFICIENT SECOND ORDER SCHEMES FOR PHASE FIELD MCL B9 Scheme BDF. Assuming that (\phi, \bfitu, p, U, W ) n- and (\phi, \bfitu, p, U, W ) n are already known, we compute \phi n+, \bfitu n+, p n+, U n+, W n+ from the following second order temporal semidiscrete system. Step : We update \phi n+, \widetil\bfitu n+, U n+, W n+ as follows: 3\phi n+ - 4\phi n + \phi n- (3.6) \delta t \Bigl( (3.6) \mu n+ = \lambda (3.63) (3.64) + \nabla \cdot (\widetil\bfitu n+ \phi n+ \star ) = M\Delta \mu n+, - \varepsi\delta \phi n+ + n+ \phi \star U n+\bigr), \varepsi 3U n+ - 4U n + U n- = \phi n+ \star (3\phi n+ - 4\phi n + \phi n- ), 3\widetil\bfitu n+ - 4\bfitu n +\bfitu n- \delta t with the boundary conditions (3.65) (3.66) (3.67) (3.68) (3.69) where (3.7) \widetil\bfitu n+ \cdot \bfitn =, + B(\bfitu n+ \star, \widetil\bfitu n+ )- \nu \Delta \widetil\bfitu n+ + \nabla p n + \phi n+ \star \nabla \mu n+ =, \nu \partial \bfitn \widetil\bfitu n+ \tau = - \nu \ell (\phi n+ \star )(\widetil\bfitu n+ - \bfitu w ) - \lambda \gamma \. \phi n+ \nabla \tau \phi n+ \star, \partial \bfitn \mu n+ =, \varepsi\partial \bfitn \phi n+ = - \gamma \. \phi n+ - Z(\phi n+ \star )W n+, 3W n+ - 4W n + W n- = n+ Z(\phi \star )(3\phi n+ - 4\phi n + \phi n- ), \.\phi n+ = 3\phi n+ - 4\phi n + \phi n- \delta t Step : We update \bfitu n+ and p n+ as follows: (3.7) (3.7) with the boundary condition (3.73) + \widetil\bfitu n+ \tau \cdot \nabla \tau \phi n+ \star. 3 \bigl( \bfitu n+ - \widetil\bfitu n+\bigr) + \nabla(p n+ - p n ) =, \delta t \nabla \cdot \bfitu n+ =, \bfitu n+ \cdot \bfitn = on \Gamma. Theorem 3.5. The scheme (3.6)--(3.73) is unconditionally energy stable satisfying the following discrete energy dissipation law: (3.74) where E n+ bdf \leq E n bdf - M\delta t\ \nabla \mu n+ \ - \nu \delta t\ \nabla \widetil\bfitu n+ \ - \lambda \gamma \delta t\ \. \phi n+ \ \Gamma - \nu \delta t\ \ell (\phi n+ \star ) \widetil\bfitu n+ s \ \Gamma, - \nu \delta t(\ell (\phi n+ \star )\widetil\bfitu n+ s, \bfitu w ) \Gamma, (3.75) Ebdf n = E(\bfitu n, \phi n, U n, W n ) + n+ E(\bfitu \star, \phi n+ \star, U\star n+, W\star n+ ) + \delta t 3 \ \nabla pn \.

B9 XIAOFENG YANG AND HAIJUN YU Proof. By taking the L inner product of (3.6) with \delta t\mu n+ and performing integration by parts, we obtain (3.76) (3\phi n+ - 4\phi n + \phi n-, \mu n+ ) - \delta t(\widetil\bfitu n+ \phi n+ \star, \nabla \mu n+ ) = - M\delta t\ \nabla \mu n+ \. By taking the L inner product of (3.6) with - (3\phi n+ - 4\phi n + \phi n- ), we obtain (3.77) - (\mu n+, 3\phi n+ - 4\phi n + \phi n- ) = - \lambda \varepsi \Bigl( \ \nabla \phi n+ \ - \ \nabla \phi n \ + \ \nabla \phi n+ \star \ - \ \nabla \phi n+ \star \ + \ \nabla \delta \phi n+ \ \Bigr) + \lambda(\varepsi\partial \bfitn \phi n+, 3\phi n+ - 4\phi n +\phi n- ) \Gamma - \lambda n+ (\phi \star U n+, 3\phi n+ - 4\phi n +\phi n- ). \varepsi By taking the L inner product of (3.63) with \lambda \varepsi U n+, we obtain (3.78) \lambda \Bigl( \ U n+ \ - \ U n \ + \ U\star n+ \ - \ U\star n+ \ + \ \delta U n+ \ \Bigr) 4\varepsi = \lambda n+ (\phi \star (3\phi n+ - 4\phi n + \phi n- ), U n+ ). \varepsi By taking the L inner product of (3.64) with \delta t\widetil\bfitu n+, we obtain (3.79) (3\widetil\bfitu n+ - 4\bfitu n + \bfitu n-, \widetil\bfitu n+ ) + \nu \delta t\ \nabla \widetil\bfitu n+ \ - \nu \delta t(\partial \bfitn \widetil\bfitu n+, \widetil\bfitu n+ ) \Gamma + \delta t(\nabla p n, \widetil\bfitu n+ ) + \delta t(\phi n+ \star \nabla \mu n+, \widetil\bfitu n+ ) =. From (3.7), for any function \bfitv with \nabla \cdot \bfitv =, we can derive (3.8) Then for the first term in (3.79), we have (3.8) (3.8) (3\widetil\bfitu n+ - 4\bfitu n + \bfitu n-, \widetil\bfitu n+ ) (\bfitu n+, \bfitv ) = (\widetil\bfitu n+, \bfitv ). = (3\bfitu n+ - 4\bfitu n + \bfitu n-, \bfitu n+ ) + 3(\widetil\bfitu n+ - \bfitu n+, \widetil\bfitu n+ + \bfitu n+ ) = \Bigl( \ \bfitu n+ \ - \ \bfitu n \ + \ \bfitu n+ \star \ - \ \bfitu n+ \star \ + \ \delta \bfitu n+ \ \Bigr) + 3(\ \widetil\bfitu n+ \ - \ \bfitu n+ \ ). For the projection step, we rewrite (3.7) as 3 \delta t \bfitu n+ + \nabla p n+ = 3 \delta t \widetil\bfitu n+ + \nabla p n. By squaring both sides of the above equality, we obtain (3.83) namely, we have (3.84) 9 4\delta t \ \bfitu n+ \ + \ \nabla p n+ \ = 9 4\delta t \ \widetil\bfitu n+ \ + \ \nabla p n \ + 3 \delta t (\widetil\bfitu n+, \nabla p n ); 3 (\ \bfitu n+ \ - \ \widetil\bfitu n+ \ \delta t ) + 3 (\ \nabla pn+ \ - \ \nabla p n \ ) = \delta t(\widetil\bfitu n+, \nabla p n ). By taking the L inner product of (3.7) with \delta t\bfitu n+, we have (3.85) 3 (\ \bfitu n+ \ - \ \widetil\bfitu n+ \ + \ \bfitu n+ - \widetil\bfitu n+ \ ) =.

EFFICIENT SECOND ORDER SCHEMES FOR PHASE FIELD MCL B93 By combining (3.76)--(3.8) and (3.84)--(3.85), we obtain (3.86) M\delta t\ \nabla \mu n+ \ + 3 \ \bfitu n+ - \widetil\bfitu n+ \ \delta t + 3 (\ \nabla pn+ \ - \ \nabla p n \ ) + \nu \delta t\ \nabla \widetil\bfitu n+ \ \lambda \varepsi \Bigl( + \ \nabla \phi n+ \ - \ \nabla \phi n \ + \ \nabla \phi n+ \star \ - \ \nabla \phi n+ \star \ + \ \nabla \delta \phi n+ \ \Bigr) + \lambda \Bigl( \ U n+ \ - \ U n \ + \ U\star n+ \ - \ U\star n+ \ + \ \delta U n+ \ \Bigr) 4\varepsi + \Bigl( \ \bfitu n+ \ - \ \bfitu n \ + \ \bfitu n+ \star \ - \ \bfitu n+ \star \ + \ \delta \bfitu n+ \ \Bigr) = \lambda(\varepsi\partial \bfitn \phi n+, 3\phi n+ - 4\phi n + \phi n- ) \Gamma + \delta t(\nu \partial \bfitn \widetil\bfitu n+, \widetil\bfitu n+ ) \Gamma. From (3.68), we obtain \Bigl( - \lambda \varepsi\partial \bfitn \phi n+, 3\phi n+ - 4\phi n + \phi n- \Bigr) \Gamma (3.87) From (3.66), we obtain (3.88) - \nu (\partial \bfitn \widetil\bfitu n+, \widetil\bfitu n+ ) \Gamma = \lambda \gamma = \delta t \lambda \gamma \ \phi \. n+ \ \Gamma - \delta t \lambda \gamma ( \phi \. n+, \widetil\bfitu n+ \cdot \nabla \phi n+ \star ) \Gamma + \lambda (Z(\phi n+ \star )W n+, 3\phi n+ - 4\phi n + \phi n- ) \Gamma. \bigl( \.\phi n+ \nabla \phi n+ \star, \widetil\bfitu n+\bigr) \Gamma + \nu \ \ell (\phi n+ \star ) \widetil\bfitu n+ s \ \Gamma + \nu \bigl( \ell (\phi n+ \star )\widetil\bfitu n+ s, \bfitu w\bigr) \Gamma. By taking the L inner product of (3.69) with \lambda W n+, we obtain \Bigl( \Bigr) \lambda \ W n+ \ \Gamma - \ W n \ \Gamma + \ W\star n+ \ \Gamma - \ W\star n+ \ \Gamma + \ \delta W n+ \ \Gamma (3.89) \Bigl( = \lambda Z(\phi n+ \star )(3W n+ - 4W n + W n- ), W n+\bigr). \Gamma By combining (3.86), (3.87)--(3.89), we obtain M\delta t\ \nabla \mu n+ \ \delta t + 3 (\ \nabla pn+ \ - \ \nabla p n \ ) + \nu \delta t\ \nabla \widetil\bfitu n+ \ \lambda \varepsi \Bigl( + \ \nabla \phi n+ \ - \ \nabla \phi n \ + \ \nabla \phi n+ \star \ - \ \nabla \phi n+ \star \ \Bigr) + \lambda \Bigl( \ U n+ \ - \ U n \ + \ U\star n+ \ - \ U\star n+ \ \Bigr) 4\varepsi + \Bigl( \ \bfitu n+ \ - \ \bfitu n \ + \ \bfitu n+ \star \ - \ \bfitu n+ \star \ \Bigr) (3.9) \Bigl( \Bigr) + \lambda \ W n+ \ \Gamma - \ W n \ \Gamma + \ W\star n+ \ \Gamma - \ W\star n+ \ \Gamma + \delta t \lambda \gamma \ \. \phi n+ \ \Gamma + \nu \delta t\ (\ell (\phi n+ \star )) \widetil\bfitu n+ s \ \Gamma - \nu \delta t(\ell (\phi n+ \star )\widetil\bfitu n+ s, \bfitu w ) \Gamma = - 3 \ \bfitu n+ - \widetil\bfitu n+ \ - \ \nabla \delta \phi n+ \ - \ \delta U n+ \ - \ \delta \bfitu n+ \ - \ \delta W n+ \ \Gamma \leq. We conclude the proof of the theorem.

B94 XIAOFENG YANG AND HAIJUN YU Remark 3.6. Similar to the CN scheme, the BDF scheme is only first order accurate for pressure. As mentioned in Remark 3., the loss of accuracy for pressure is due to the artificial condition (3.9) \partial \bfitn p n+ = on \Gamma, imposed on pressure by (3.34)--(3.36) for the CN scheme and (3.7)--(3.73) for the BDF scheme. The particularly semi-implicit treatment for the phase field body force in the Navier--Stokes equation allows the pressure in a rotational form pressureprojection method to satisfy an appropriate boundary condition. For example, let's replace equation (3.7) with a rotational form (cf. [4, 5, 5]) 3 \delta t (\bfitu n+ - \~\bfitu n+ ) + \nabla (p n+ - p n + \nu \nabla \cdot \~\bfitu ) =. Noticing \phi n+ \star \partial \bfitn \mu n+ = and B(\bfitu n+ \star, \~\bfitu n+ ) \cdot n = on the boundary, using a procedure similar to that in [5], we find that p satisfies the boundary condition \partial \bfitn p n+ = - \nu (\nabla \times \nabla \times \bfitu n+ ) \cdot n on \Gamma. The body force due to phase field does not introduce any trouble because we use the form \phi \nabla \mu instead of - \mu \nabla \phi, which was frequently used elsewhere in the literature. Our numerical results show that the rotational form pressure-projection indeed improves the accuracy of pressure. But since our focus is not on pressure accuracy, we will not discuss this issue in detail. 4. Spatial discretization and implementation. We implement a spectral- Galerkin method for a -dimensional rectangular domain \Omega = [, L x ] \times [-, ] to test the stability and accuracy of the linear schemes proposed in the last section. Note that any spatial discretization based on weak formulation and Galerkin approximation of the NSCH coupled system will keep the energy dissipation properties obtained for the temporal semidiscretized schemes. Thus the finite element or spectral element methods can be used as well in a similar way. Now we take the weak form for the CN scheme (3.4)--(3.43) as an example to illustrate the spatial discretization, and the BDF scheme can be handled similarly. We obtain a Galerkin approximation by providing appropriate finite-dimensional spaces H\bfitu N, H\mu N, H\phi N for H \bfitu(\omega), Hc (\Omega), Hc (\Omega) for the velocity field \bfitu, the chemical potential \mu, and the phase variable \phi, correspondingly. 4.. A spectral-galerkin approximation. We assume the system in the x direction is periodic, and only the top and bottom boundaries (y = \pm ) take the GNBC and DCLC. We use F m := span\{ E k (x) = e ikx/lx, k \leqslan m\}, P n := span\{ \varphi k : \leqslan k \leqslan n\} as the basis set for the x direction and y direction, correspondingly, where \varphi (y) =, \varphi (y) = x, \varphi k (y) = L k (y) - L k- (y) for k \geq, and L k (y) denotes the Legendre polynomial of degree k. Note that the basis set for the y direction is a direct extension of the nearly orthogonal Legendre bases introduced by Shen [37]. Here we include constant and linear bases to treat Robin-type boundary conditions. The corresponding stiffness matrix is still diagonal, and the mass matrix is banded. The numbers of degree of freedom (DoF) in the x and y directions are n x = m+ and n y = n +. For given m and n, we take H N \mu = H N \phi = F m \otimes P n as the approximation space for \mu and \phi. For the Navier--Stokes equation, the velocity in the x-component satisfies the GNBC, a Robin-type boundary condition, while the component in the

EFFICIENT SECOND ORDER SCHEMES FOR PHASE FIELD MCL B95 y direction satisfies the Dirichlet boundary condition. The Robin-type boundary condition is treated naturally in the weak form, and the Dirichlet boundary condition is imposed on the approximation space. So we take the Galerkin approximation space for \bfitu as H\bfitu N = (F m \otimes P n ) \times (F m \otimes Pn), where Pn = span\{ \varphi k, k =,..., n\}. The approximation space for pressure is Hp N = F m \otimes P n- \setminu(e \otimes P ). 4.. Solution procedure. System (3.4)--(3.43) is a linear variable-coefficient system. The constant-coefficient terms in the system all lead to sparse matrices that are time independent. However, the variable-coefficient terms lead to time-dependent dense matrices; thus explicitly building those time-dependent dense matrices is extremely expensive. (Note that if one uses finite element methods, the corresponding matrices will be sparse but still time dependent.) So we use a conjugate gradient type solver with preconditioning (PCG), in which one does not need to explicitly build the matrix. Instead, it only needs a subroutine to calculate the matrix-vector product. Since the linear system is not symmetric, we use the BiCGSTAB method. The preconditioning is also matrix-free. In each iteration, the preconditioning subroutine solves an approximated system corresponding to the system (3.4)--(3.43) with convection terms in (3.4) and (3.43) removed and variable coefficients in (3.4) approximated by constants. See [46, 6] for more details about the preconditioning. Its effectiveness is shown in the next section. The solution procedure for the BDF scheme is similar. It is worth mentioning that a new approach called the Scalar Auxiliary Variable (SAV) method was recently introduced by Shen, Xu, and Yang [4, 4]. Its essential idea is quite similar to that of the IEQ-type method but extends its applicability to more general cases. The differences between these two methods are that the bulk energy functional (integral) is quadratized in the SAV method, but the bulk energy density (integrand) is quadratized in the IEQ method. For some particular models like the molecular beam epitaxy (MBE) model without slope selections, where the nonlinear potential is not bounded from below but the total energy is, the SAV method can generate unconditionally energy stable schemes as well. Moreover, the SAV method can get constant-coefficient terms for the gradient flow part. However, when considering the hydrodynamics coupled model, the variable-coefficient terms in the Navier--Stokes equation and the convection part of the phase field equation are still inevitable using both methods. 4.3. The startup step. Both the CN and BDF schemes need two initial steps to start up. We can use any first order scheme to calculate \phi, \bfitu, p, U, W. In our simulations, we use the first order scheme developed in [46]. 5. Numerical results. In this section, we present various numerical experiments to validate the developed CN scheme (3.4)--(3.36) and BDF scheme (3.6)-- (3.73) and demonstrate their stability and accuracy. We examine the accuracy, stability, and efficiency of the proposed schemes by performing a classical shear flow experiment between two parallel plates which move in opposite directions at a constant speed. If not explicitly specified, the model parameters take default values given below, which is consistent with the benchmark simulation in [, 3, 34, 35, 46, 6]: (5.) \lambda =, M =.5, \gamma =, \ell (\phi ) = /.9, \nu = /.6, \varepsi =.5. 5.. Convergence test for space and time. We first test the convergence in space and time by presenting numerical results for two cases. In case, we set \bfitu w = (\pm.7, ), \theta s = 64 \circ, where \bfitu w denotes the velocities of the upper and bottom