A decoupled, stable, and linear FEM for a phase-field model of variable density two-phase incompressible surface flow
{ypalzhanov}{azhiliakov}{aquaini}{maolshanskiy}@uh.edu)
Abstract
The paper considers a thermodynamically consistent phase-field model of a two-phase flow of incompressible viscous fluids. The model allows for a non-linear dependence of fluid density on the phase-field order parameter. Driven by applications in biomembrane studies, the model is written for tangential flows of fluids constrained to a surface and consists of (surface) Navier–Stokes–Cahn–Hilliard type equations. We apply an unfitted finite element method to discretize the system and introduce a fully discrete time-stepping scheme with the following properties: (i) the scheme decouples the fluid and phase-field equation solvers at each time step, (ii) the resulting two algebraic systems are linear, and (iii) the numerical solution satisfies the same stability bound as the solution of the original system under some restrictions on the discretization parameters. Numerical examples are provided to demonstrate the stability, accuracy, and overall efficiency of the approach. Our computational study of several two-phase surface flows reveals some interesting dependencies of flow statistics on the geometry.
Keywords: Two-phase flow; Navier–Stokes–Cahn–Hilliard system; Surface PDEs, TraceFEM, Bio-membranes, Kevin–Helmholtz instability; Rayleigh–Taylor instability
1 Introduction
Due to many applications in the physical and biological sciences, binary (two-phase) flows have attracted increasing interest in the past decades. The phase-field method has emerged as a powerful and effective technique for modeling multi-phase problems in general. This method describes the physical system using a set of field variables that are continuous across the interfacial regions separating the phases. The main reasons for the success of the phase-field methodology are the following: it replaces sharp interfaces by thin transition regions called diffuse interfaces, making front-tracking unnecessary, and it is based on rigorous mathematics. The classical diffuse-interface description of binary incompressible fluid with density-matched components is the so-called Model H [22], which is a Navier–Stokes–Cahn–Hilliard (NSCH) system. Several generalization to the case of variable density components have been presented [2, 4, 6, 7, 8, 14, 15, 29, 42]. Some of these models relax the incompressibility constraint to quasi-compressibility and not all models satisfy Galilean invariance, local mass conservation or thermodynamic consistency. In this paper, we focus on the generalization of Model H first presented in [2]. This model is thermodynamically consistent when the density of the mixture depends linearly on the phase-field variable (concentration or volume/surface fraction). We present an extension of the model in [2] that is thermodynamically consistent for a general monotone relation of density and phase-field variable.
Driven by applications in the analysis of lateral organization of plasma membranes (see [45, 46] for more context), we adopt this new model to simulate two-phase flow dynamics on arbitrary-shaped closed smooth surfaces. While there exist many computational studies of multi-component fluid flows in planar and volumetric domains (see, e.g., [19, 28, 31, 44, 47] for some recent works), the number of papers where NSCH systems are treated on manifolds is limited. This can be explained by the fact that solving equations numerically on general surfaces poses additional difficulties that are related to the discretization of tangential differential operators and the approximate recovery of (possibly) complex shapes. In [30], the authors resort to a stream function formulation, decouple the surface Navier–Stokes problem from the surface Cahn-Hilliad problem, and use a parametric finite element approach. Yang and Kim [43] experimented with a finite difference method on staggered marker-and-cell meshes for a NSCH system embedded in the mesh.
In the present paper, we study a geometrically unfitted finite element method for the simulation of two-phase incompressible flow on surfaces. Our approach builds on earlier work on a unfitted FEM for elliptic PDEs posed on surfaces [36] called TraceFEM. Unlike some other geometrically unfitted methods for surface PDEs, TraceFEM employs sharp surface representation. The surface can be defined implicitly and no knowledge of the surface parametrization is required. This method allows to solve for a scalar quantity or a vector field on a surface, for which a parametrization or triangulation is not required. TaceFEM has been extended to the surface Stokes problem in [32, 33] and the surface Cahn–Hilliard problem in [45]. One of the main advantages of TraceFEM is that it works well for PDEs posed on evolving surfaces, including cases with topological changes [27]. Although we will not benefit from this advantage in this paper (as the surfaces are fixed), it will become handy in a future modeling of membrane deformation and fusion for multicomponent lipid bilayers.
Although technical, the numerical analysis of diffuse-interface models for two-phase fluids with matching densities can be largely built on well-established analyses for the incompressible Navier–Stokes equations and Cahn–Hilliad equations alone. See, for example, [12] for the convergence study of a coupled implicit FE method, [25] for the analysis of a decoupled FE scheme, and [21] for the analysis of a linear and second-order in time FE method. The design of energy stable, efficient, and consistent discretizations of diffuse-interface models for two-phase fluids with non-matching densities turns out to be more challenging.
Following the ideas from [18] for the incompressible Navier–Stokes equations with variable density, in [40] Shen and Yang suggested a stable time-stepping method for a NSCH system with the momentum equation modified based on an inconsistent mass conservation equation. In [41], the same authors introduced a time-stepping scheme for the thermodynamically consistent model from [2]. This scheme (which is first order and linear, and it decouples fluid and phase equations) introduces some extra terms in the momentum equation and modifies the advection flux for the order parameter to achieve energy stability. In the same paper, the authors present the stability analysis for a semi-discrete case. In [48], the approach from [41] was extended with the application of a scalar auxiliary variable method [38] and the stability was studied for a finite difference scheme on uniform staggered grids. A fully discrete FE method for the model from [2] was analyzed in [17], subject to the coupled treatment of the phase and fluid equations and a modification of the momentum equation. In [13], this analysis is extended to a posteriori estimates and adaptivity. The question of building provably stable and computationally efficient methods for thermodynamically consistent discretization models of two-phase fluids with variable densities remains largely open.
The present study contributes to the field with a first order in time, linear, and decoupled FE scheme for our generalization of the model from [2]. One advantage of our scheme is that it neither modifies the momentum equation nor alters the advection velocity. We prove that our scheme is stable under a mild time-step restriction. Moreover, the analysis tracks the dependence of the estimates on , the critical model parameter that defines the width of the transition region between phases. The fact that the model is posed on arbitrary-shaped closed smooth surfaces and the use of an unfitted finite element method for spatial discretization add some further technical difficulties to our analysis. However, apart from these extra technical details, the general line of arguments can be followed for the simplified to Euclidian setting or extended to other spatial discretization techniques.
Numerical analysis is even less developed for quasi-incompressible diffuse-interface models due to their additional complexity, e.g. a more subtle nonlinearity. Here, we would like to mention the analysis of a semi-discrete method (coupled, but resulting in linear systems at each time step) in [42].
The rest of the paper is organized as follows. In Sec. 2, we state our generalization of the model from [2] and its variational formulations. A decoupled linear FEM based on the application of TraceFEM to our model is presented in Sec. 3, while the analysis is reported in Sec. 4. In Sec. 5, we report several numerical results, including a convergence test and the simulation of the Kevin–Helmholtz and Rayleigh–Taylor instabilities. Sec. 6 collects a few concluding remarks.
2 Problem definition
On surface we consider a heterogeneous mixture of two species with surface fractions , , where are the surface area occupied by the components and is the surface area of . Since , we have . Let be the representative surface fraction, i.e . Moreover, let be the mass of component and is the total mass. Notice that density of the mixture can be expressed as . Thus,
(2.1) |
Similarly, for the dynamic viscosity of the mixture we can write
(2.2) |
where and are the dynamic viscosities of the two species.
In order to state the model posed on surface , we need some preliminary notation. Let for be the orthogonal projection onto the tangent plane. For a scalar function or a vector function we define , , extensions of and from to its neighborhood . The surface gradient and covariant derivatives on are then defined as and . These definitions are independent of a particular smooth extension of and off . On we consider the surface rate-of-strain tensor [20] given by
(2.3) |
The surface divergence operators for a vector and a tensor are defined as:
with the th standard basis vector in .
The classical phase-field model to describe the flow of two immiscible, incompressible, and Newtonian fluids is the so-called Model H [22]. One of the fundamental assumptions for Model H is that the densities of both components are matching. Several extensions have been proposed to account for the case of non-matching densities; see Sec. 1. Here, we restrict our attention to a thermodynamically consistent generalization of Model H first presented in [2]. For surface based quantities the model reads:
(2.4) | ||||
(2.5) | ||||
(2.6) | ||||
(2.7) |
Here, is the surface averaged tangential velocity , density is given by (2.1) and viscosity by (2.2), is line tension and is the chemical potential defined in (2.7). Force vector , with , is given. In (2.6) is the mobility coefficient, while in (2.7) is the specific free energy of a homogeneous phase and is a parameter related to the thickness of the interface between the two phases. We recall that in order to have phase separation, must be a non-convex function of . For a comprehensive discussion of the related Navier–Stokes and Cahn–Hilliard equations on surfaces we refer, for example, to [23, 10, 9].
Problem (2.4)–(2.7) has only one additional term with respect to Model H: the middle term at the right-hand side in eq. (2.4). Notice that this term vanishes in the case of matching densities since . However, the term is crucial for thermodynamic consistency when the densities do not match and it can be interpreted as additional momentum flux due to diffusion of the components driven by the gradient of the chemical potential.
In practice, we are interested in more general relations than (2.1) between and , since depending on the choice of (and because of numerical errors while computing) the order parameter may not be constrained in and so and based on (2.1) may take physically meaningless (even negative) values. Since we do not see how to show the thermodynamic consistency of (2.4)–(2.7) for non-linear , we propose a further modification. Without the loss of generality let . For a general dependence of on , it is reasonable to assume that is a smooth monotonic function of , i.e. (for ), and so we can set
(2.8) |
Then, we replace (2.4) with
(2.9) |
The updated model (2.9),(2.5)–(2.7) obviously coincides with (2.4)–(2.7) for from (2.1), but exhibits thermodynamic consistency for a general monotone – relation as we show below. The consistency is preserved if is a non-negative function of rather than a constant coefficient. Thermodynamic consistent extensions of (2.4)–(2.7) for a generic smooth (no monotonicity assumption) were also considered in [1, 3] for the purpose of well-posedness analysis. Those extensions introduce yet more term(s) in the momentum equation, so for computational needs and numerical analysis purpose we opt for (2.9).
From now on, we will focus on problem (2.9), (2.5)–(2.7). This is a Navier–Stokes–Cahn–Hilliard (NSCH) system that needs to be supplemented with the definitions of mobility and free energy per unit area . Following many of the existing analytic studies, as well as numerical studies, we assume mobility to be constant (i.e., independent of ). As for , a classical choice is the Ginzburg–Landau double-well potential
(2.10) |
where defines the barrier height, i.e. the local maximum at [11]. We set for the rest of the paper.
For the numerical method, we need a weak (integral) formulation. We define the spaces
(2.11) |
We define the Hilbert space as an orthogonal complement of in (hence ), and recall the surface Korn’s inequality [23]:
(2.12) |
In (2.12) and later we use short notation for the -norm on . Finally, we define . To devise the weak formulation, one multiplies eq. (2.9) by , eq. (2.5) by , eq. (2.6) by , and eq. (2.7) by and integrates all the equations over . For eq. (LABEL:gracke-1m) and (2.6), one employs the integration by parts identity, which for a closed smooth surface reads:
(2.13) |
here is the sum of principle curvatures. Identity (2.13) is applied to the second term in (2.6) (i.e. ), which leads to no contribution from the curvature term since is tangential, and to the third term in (2.6) (i.e. ), which makes the curvature term vanish as well. For a similar reason (component-wise), the curvature term vanishes also when identity (2.13) is applied to the diffusion term in (2.9).
The weak (integral) formulation of the surface NSCH problem (2.9), (2.5)–(2.7) reads: Find such that
(2.14) | |||
(2.15) | |||
(2.16) | |||
(2.17) |
for all .
Remark 2.1
Indeed, the first two terms in eq. (2.14) tested with can be handled as follows:
Using generic , (2.8), and (2.5) we get
With the help of (2.6) , this yields
which will cancel with the second term at the right-hand side in eq. (2.14) tested with . Thus, from eq. (2.14) tested with we obtain the following equality:
(2.19) |
where we have also used eq. (2.15) tested with . From eq. (2.16) tested with and multiplied by , we get:
(2.20) |
The first term on the right-hand side can be handled using (2.7) as follows:
Plugging this into (2.20) and then using what we get in (2.19), we obtain the energy balance (2.18).
3 Numerical method
For the discretization of the variational problem (2.14)–(2.17) we apply an unfitted finite element method called trace finite element approach (TraceFEM). To discretize surface equations, TraceFEM relies on a tessellation of a 3D bulk computational domain ( holds) into shape regular tetrahedra untangled to the position of .
We start with required definitions to set up finite element spaces and variational form. A few auxiliary results will be proved. Then we proceed to the fully-discrete method by introducing a splitting time discretization, which decouples (2.14)–(2.17) into one linear fluid problem and one phase-field problem per every time step.
Surface is defined implicitly as the zero level set of a sufficiently smooth (at least Lipschitz continuous) function , i.e. , such that in a 3D neighborhood of the surface. The vector field is normal on and defines quasi-normal directions in . Let be the collection of all tetrahedra such that . The subset of tetrahedra that have a nonzero intersection with is denoted by . The grid can be refined towards , however the tetrahedra from form a quasi-uniform tessellation with the characteristic tetrahedra size . The domain formed by all tetrahedra in is denoted by .
On we use a standard finite element space of continuous functions that are piecewise-polynomials of degree . This bulk (volumetric) finite element space is denoted by :
In the trace finite element method formulated below, the traces of functions from on are used to approximate the surface fraction and the chemical potential. Our bulk velocity and pressure finite element spaces are either Taylor–Hood elements on ,
(3.1) |
or equal order velocity–pressure elements
(3.2) |
These spaces are employed to discretize the surface Navier–Stokes system. Surface velocity and pressure will be represented by the traces of functions from and on . In general, approximation orders (for the phase-field problem) and (for the fluid problem) can be chosen to be different.
Assumption 3.1
We assume that integrals over can be computed exactly, i.e. we do not consider geometry errors.
In practice, has to be approximated by a (sufficiently accurate) “discrete” surface in such a way that integrals over can be computed accurately and efficiently. For first order finite elements (, ), a straightforward polygonal approximation of ensures that the geometric approximation error is consistent with the finite element interpolation error; see, e.g., [36]. For higher order elements, numerical approximation of based on, e.g., isoparametric trace FE can be used to recover the optimal accuracy [16] in a practical situation when parametrization of is not available explicitly.
There are two well-known issues related to the fact that we are dealing with surface and unfitted finite elements:
-
1.
The numerical treatment of condition . Enforcing the condition on for polynomial functions is inconvenient and may lead to locking (i.e., only satisfies it). Instead, we add a penalty term to the weak formulation to enforce the tangential constraint weakly.
-
2.
Possible small cuts of tetrahedra from by the surface. For the standard choice of finite element basis functions, this may lead to poorly conditioned algebraic systems. We recover algebraic stability by adding certain volumetric terms to the finite element formulation.
To make the presentation of the finite element formulation more compact, we introduce the following finite element bilinear forms related to the Cahn–Hilliard part of the problem:
(3.3) | |||
(3.4) |
Forms (3.3)–(3.4) are well defined for . The second term in (3.3) and (3.4) take care of the issue of the small element cuts (the above issue 2) [16]. These terms are consistent up to geometric errors related to the approximation of by and by in the following sense: any smooth solution and can be extended off the surface along (quasi)-normal directions so that and in . We set the stabilization parameters as follows:
For the stability of a numerical method, it is crucial that the computed density and viscosity stay positive. The polynomial double-well potential does not enforce to stay within interval and hence and may eventually take negative values, if one adopts the linear relation between and in (2.1) or between and in (2.2). Numerical errors may be another reason for the order parameter to depart significantly from . Therefore, assuming without loss of generality that and , we first replace (2.1) and (2.2) with the following cut-off functions that ensure density and viscosity stay positive:
(3.5) |
Note that unlike some previous studies, we clip the linear dependence (2.1) and (2.2) only from below. The resulting convexity of plays a role in the stability analysis later. Nevertheless, (3.5) is not completely satisfactory since is discontinuous, while we need to be from . To this end, we approximate from (2.1) by a smooth monotone convex and uniformly positive function. In our implementation we let , with , and .
Later we make use of the decomposition of a vector field on into its tangential and normal components: For the Navier–Stokes part, we introduce the following forms:
(3.6) | |||
(3.7) | |||
(3.8) | |||
(3.9) |
with . Forms (3.6)–(3.9) are well defined for , . In (3.6), is a penalty parameter to enforce the tangential constraint (i.e., to address the above issue 1), while in (3.6) and in (3.9) are stabilization parameters to deal with possible small cuts. They are set according to [24]:
(3.10) |
If one uses equal order pressure-velocity trace elements instead of Taylor–Hood elements, then form (3.9) should be replaced by
The second term in (3.7) is consistent since the divergence of the true tangential velocity is zero. To avoid differentiation of the projector operator, one may use the identity to implement the -form and -form. For the analysis, we need the identity for the form (3.7) given in the following elementary lemma.
Lemma 3.1
For any , it holds
Proof:
Using the definition of the covariant gradient in terms of tangential operators, , and the integration by parts (2.13), we compute for the first integral term in (3.7)
From this equality and using we obtain:
(3.11) |
We recall that and substitute (3.11) into the definition of the form (3.7). After straightforward computations, we arrive at the result:
For the numerical experiments in Sec. 5, we also add to bilinear form (3.6) the grad-div stabilization term [35], . This term is not essential, in particular for the analysis in Sec. 4, but we find it beneficial for the performance of the iterative algebraic solver and for the overall accuracy of the solution. We set the grad-div stabilization parameter .
At time instance , with time step , denotes the approximation of generic variable . Further, we introduce the following notation for a first order approximation of the time derivative:
(3.12) |
The decoupled linear finite element method analyzed and tested in this paper reads as follows. At time step , perform:
-
-
Step 1: Given and , find such that:
(3.13) (3.14) for all .
-
-
Step 2: Set . Find such that
(3.15) (3.16) for all .
At each sub-step of the scheme, a linear problem (Chan–Hilliard type system at step 1 and linearized Navier–Stokes system at step 2) has to be solved. This allows us to achieve low computational costs, while the scheme is provably stable under relatively mild restrictions. Moreover, the results of numerical experiments in Sec. 5 do not show that any restrictions on the discretization parameters are required in practice (Remark 4.3 discusses what arguments in our analysis require these restrictions).
Before proceeding with analysis, we note that the above scheme does not modify the advection velocity in (3.13) for the purpose of analysis, unlike some other linear decoupled schemes for the NSCH equations found in the literature. We also avoid another common helpful trick to prove energy stability of the variable density NSCH, namely the modification of the momentum equation based on a mass conservation condition of the form which follow from (2.6) and (2.1). This modification, however, is not consistent if a non-linear relation between and is adopted; also it introduces several extra terms in the finite element formulation.
4 Analysis of the decoupled Finite Element method
For the analysis in this section, we assume no forcing term, i.e. for all . To avoid technical complications related to handling Killing vector fields (see, e.g. discussion in [5]), we shall also assume that the surface does not support any tangential rigid motions, and so .
We further use the notation if inequality holds between quantities and with a constant independent of , , , and the position of in the background mesh. We give similar meaning to , and means that both and hold.
The following lemma will be useful in the proof of the main result, which is reported in Theorem 4.2.
Lemma 4.1
It holds
(4.1) |
For satisfying , the factor on the r.h.s. can be replaced by .
Proof:
Denote by , , the closest point projection on . Since is smooth, there is a tubular neighborhood of
such that , , defines the local coordinate system , with and . We can always assume , such that . For , we have in
(4.2) |
Denote by a “reachable from ” part of in the following sense: for any the interval is completely inside . Let
where are piecewise smooth and . Thanks to the co-area formula and the smoothness of , it holds
(4.3) |
From (4.2) and (4.3), we have:
for any real exponent . Triangle inequality and inequality:
yield
(4.4) |
To handle the second term on the right-hand side, we apply Hölder’s inequality with :
Substituting this in (4.4) and using we get
Letting and applying FE inverse inequality to treat the last term, we arrive at
(4.5) |
Next, we need the following technical result from Lemma 7.9 in [16]: There is , depending only on the shape regularity of the mesh such that for any there exists a ball of radius . Since on every tetrahedron is polynomial function of a fixed degree by the standard norm equivalence argument, we have
with depending only on and the shape regularity of . Raising both parts of this inequality to power , summing over all , raising both parts to power and using we get
We now use this in (4.5) and apply another FE inverse inequality to get
(4.6) |
For , recall that the Sobolev embedding theorem implies , , and
This result follows from the corresponding embedding theorem in by standard arguments based on the surface local parametrization and partition of unity. Using this in (4.6), we obtain the estimate
(4.7) |
Letting proves the result in (4.1). Applying the Poincaré inequality for the function satisfying proves the second claim of the lemma.
Following [39], we modify the double-well potential in (2.10) for the purpose of analysis so that it is smooth but has quadratic growth for large . Straightforward calculations give us the following expression for with sufficiently large but fixed :
Function satisfies the following Lipschitz condition with :
(4.8) |
and growth condition
(4.9) |
Theorem 4.2
Assume and satisfy and for some sufficiently small , independent of , , and position of in the background mesh. Then, it holds
(4.10) |
for all , with .
Proof:
We use induction in to prove (4.10). For , the estimate is trivial and provided by the initial condition. For the induction step, assume that it holds with .
Letting in (3.13) and in (3.14) and adding the two equations together, we get
(4.11) |
With the truncated Taylor expansion and (4.8) we get:
Since the second term at the right-hand side has a negative sign, we let be large enough in order to cancel it with the of the last term on the left-hand side of (4.11). We obtain
(4.12) |
After re-arranging terms, multiplying by , and dropping some non-negative terms on the left-hand side, we obtain the following inequality
(4.13) |
The first two terms on the right-hand side of (4.13) are bounded due to the induction assumption. To handle the third term on the right-hand side, we let and use Lemma 4.1 that yields by the definition of the form in (3.4). This, the Cauchy inequality, and the equality help us with the following estimate:
(4.14) |
In last inequality in (4.14), we used the induction assumption to estimate and the fact that by definition of the function. Letting in (3.13) we have
We conclude that in (4.14) can be bounded by a constant depending only on the initial data. Then, using Young’s inequality in (4.14) we get the following bound
with some constants , independent of , , , and position of in the background mesh. Using this back in (4.13) with satisfying assumptions of the theorem, and applying (4.10) for for the remainder terms on the right-hand side of (4.13), we get:
(4.15) |
with some independent of , , and the position of in the mesh. We need this bound later in the proof.
Let in (3.15) and in (3.16), and add the two equations together. We also apply Lemma 3.1 to handle the -form. This brings us to the following equality:
By adding and re-arranging terms, we get
(4.16) |
Denote by an -type projection into given by the bilinear form:
By standard analysis of the TraceFEM for the Laplace-Beltrami problem, e.g. [37], we have
(4.17) |
Since is a convex function of and , we have
(4.18) |
Using (4.18) and eq. (3.13) with , for the terms on the second line of (4.16) we obtain
(4.19) |
with
Next, we use (4.19) to simplify (4.16) as follows:
(4.20) |
After adding (4.12) multiplied by to (4.20) and dropping some non-negative terms on the left-hand side, we arrive at
(4.21) |
It remains to estimate the terms on the right-hand side of (4.21). We handle the first term by invoking the result of Lemma 4.1 as follows:
(4.22) |
Thanks to the a priori bound from (4.15), estimate (4.22) yields
(4.23) |
With the help of for sufficiently small and we obtain
(4.24) |
Now, we proceed with the terms in . For the first terms in , the Cauchy-Schwarz inequality and estimate (4.17) for the norm of gives:
(4.25) |
To estimate the right-most factor, we need the inequalities
which follow by applying Lemma 4.1 componentwise and then using the Korn inequality (2.12) and the fact that is uniformly bounded from below (see the definition in (3.5)). Thanks to and , we have
Using this together with the a priori bound for from (4.15) in (4.25) and using the assumption for sufficiently small , we have
(4.26) |
Next, we treat the second term in . Using Cauchy–Schwarz inequality and estimating as above we have
(4.27) |
By the triangle inequality
Each term on the right hand side can be treated individually by invoking Lemma 4.1, a priori bound from (4.15), and induction assumption:
and
Using these estimates back into (4.27) and with the assumption for sufficiently small , we arrive at the estimate
(4.28) |
Finally, we substitute (4.24) and (4.28) in (4.21) to obtain
This completes the induction step.
Remark 4.3
From the proof we see that the assumption results from the fact that at the discrete level we cannot test the transport equation for the order parameter with , and so we have to project (or for surfaces) in the finite element space and handle the resulting inconsistency. If the finite element velocity space is such that for , then the upper bound on is not needed in the analysis (in the surface case we still would need to handle , but this is possible due to the control over that we have thanks to penalty term in the TraceFEM formulation). An example, when holds, is – stabilized velocity–pressure element combined with element for the order parameter and chemical potential.
5 Numerical results
After checking the convergence orders of the method described in Sec. 3, we present a series of numerical tests to study well-known two-phase fluid flows (the Kelvin–Helmholtz and Rayleigh–Taylor instabilities) on surfaces. Thanks to our method, we can investigate the effect of line tension on such instabilities. In addition, for the Rayleigh–Taylor instability we assess the effect of viscosity and surface shape.
For all the tests, we choose – finite elements for fluid velocity and pressure and – finite elements for surface fraction and chemical potential.
5.1. Convergence test
We proceed with checking the spatial accuracy of the finite element method described in Sec. 3 with a benchmark test. The aim is to validate our implementation of the method. For this purpose, we consider the two-phase fluid system on the unit sphere centered at the origin. The surface is characterized as the zero level set of function and is embedded in an outer cubic domain . We choose Van der Waals “tanh” exact solution for the surface fraction and solenoidal Killing vector field for velocity:
Nonzero CH equation forcing term is computed from (2.6). We set . Fig. 1 (leftmost panel) displays . For this test, we consider fluids with matching densities and viscosities: and . In addition, we set and . The time interval of interest is , during which the initial configuration is rotated by . See Fig. 1. Notice that by setting the NSCH system one-way coupled: phase-separation is affected by the fluid flow, but not vice versa.
The initial triangulation of consists of eight sub-cubes, where each of the sub-cubes is further subdivided into six tetrahedra. Further, the mesh is refined towards the surface, and denotes the level of refinement, with the associated mesh size . For the purpose of numerical integration, we apply several “virtual” levels of refinements for the tetrahedra cut by the mesh and integrate our bilinear forms over a piecewise planar approximation of on this virtual grid. This allowed us to apply a standard quadrature rule and reduce the geometric error in our convergence test. The time step was refined together with the mesh size according to . For this test, we used BDF2 for the time discretization of the Cahn–Hilliard problem at Step 1, instead of BDF1 as reported in (3.13). This is why the time step is refined linearly.
Table 1 reports the and errors for the velocity and the error for the order parameter at the end of the time interval, i.e. , for levels . For each mesh, Table 1 gives the number of sublevels (virtual levels) used for more accurate numerical integration. We observe slightly better than expected convergence rates, which might be the effect of the interplay between interpolation and geometric error reduction.
sublevels | rate | rate | rate | ||||
---|---|---|---|---|---|---|---|
3 | 1 | 0.081485 | 0.010026 | 0.311232 | |||
4 | 2 | 0.016800 | 2.42 | 0.000619 | 8.20 | 0.081597 | 1.91 |
5 | 4 | 0.003905 | 2.15 | 0.000046 | 6.73 | 0.015086 | 2.70 |
5.2. The Kelvin–Helmholtz instability
While the Kelvin–Helmholtz (KH) instability is a classical example of two-phase fluid flow in planar or volumetric domains, the number of numerical studies on curved surfaces is limited. The KH instability arises when there is a difference in velocity at the interface between the two fluids and a perturbation is added to the interface. This perturbation eventually makes the interface curl up and generates a vortex strip. Here, we will simulate the KH instability on a sphere and investigate the effect of varying line tension.
To design this experiment, we follow what done in [26, 24, 34]. The initial velocity field is given by the counter-rotating upper and lower hemispheres with speed approximately equal 1 closer to equator and vanishing at the poles. The velocity field has a sharp transition layer along the equator, where the perturbation is added. See, e.g., [34] for details on the perturbation. The initial surface fraction is given by
where . Also for this test, we consider fluids with matching densities and viscosities: and . In addition, we set . We consider time interval .
We select mesh level (see mesh description for the previous test). We choose . Fig. 2 and 3 show the evolution of surface fraction and vorticity for three different values of line tension: . The evolution of both quantities does not vary significantly when going from to , although some differences can be noticed from on. Changing to produces more evident differences, starting already from . When , the NS part of the CHNS system is two-way coupled to the CH part. So, the differences are significant both for surface fraction and vorticity.
5.3. The Rayleigh–Taylor instability
The Rayleigh–Taylor (RT) instability occurs when a gravity force is acting on a heavier fluid that lies above a lighter fluid. As the RT instability develops, “plumes” of the lighter fluid flow upwards (with respect to the gravitational field) and “spikes” of the heavier fluid fall downwards. We will simulate the RT instability on a sphere and on a torus with the aim of investigating the effect of the geometry. In addition, we will vary line tension and fluid viscosity.
We take two fluids with densities , and matching viscosities , which will be specified for each test. The initial surface fraction is given by
where and is a uniformly generated random number from the range . The role of the perturbation generated by is to onset the RT instability. We set .
Let us start with the sphere. We select mesh level (see mesh description for the convergence test) and set . Fig. 5 shows the evolution of the surface fractions and velocity field for and two values of line tension: and . At time , for we observe the characteristic flow structures of the RT instability. Instead, for such structures have already broken up at . The effect of line tension is also seen at : for we observe that the heavier fluid has already settled at the bottom of the sphere, while for that has not happened yet. It takes till to have the heavier fluid at the bottom in the absence of line tension. After the revolution, the fluid phases do not achieve steady state quickly but the waves keep traveling along the equator.
Next, we consider an assymetric torus with constant distant from the center of the tube to the origin and variable radius of the tube: , with . We characterize the torus surface as the zero level set of function . The torus is embedded in an outer domain , just like the sphere. We also selected same mesh level () and same time step () as for the sphere. We set the line tension to and vary the viscosity: . Fig. 5 displays the evolution of the surface fractions for these three values of viscosity. First, we observe that in all cases the instability develops more slowly on the “skinny” side of the torus. See second column in Fig. 5. The fact that geometry has a considerable effect on the surface RT instability is also clear when one compares the results on the sphere and the torus for the same values of and , i.e. the top row in Fig. 5 with the bottom row in Fig. 4. In particular, notice that while the heavier fluid reaches the bottom of the sphere around (Fig. 4, bottom second-last panel), the two fluids are still very much mixed on the torus at (Fig. 5, top left panel). We need to increase the viscosity value to 1 to be able to see most of the heavier fluid at the bottom of the torus at (Fig. 5, bottom left panel), although that is still far from being settled.
6 Conclusions
In this paper, we presented an extension of a well-known phase field model for two-phase incompressible flow, and we applied and analyzed an unfitted finite element method for its numerical approximation. The advantage of our model is that it is thermodynamically consistent for a general monotone relation of density and phase-field variable. Because of our interest in biomembranes, this Navier–Stokes–Cahn–Hilliard type system is posed on an arbitrary-shaped closed smooth surface. Although in this paper we assumed the surfaces to be rigid, our long term goal is to study two-phase incompressible flow on evolving shapes. In fact, biological membranes exhibit shape changes that need to be accounted for in a realistic model. This need dictated our choice for the numerical approach, which is a versatile geometrically unfitted finite element method called TraceFEM.
In order to reduce the computational cost, the discrete scheme we proposed decouples the fluid problem (a linearized Navier–Stokes type problem) from the phase-field problem (a Cahn–Hilliard type problem with constant mobility) at each time step. An attractive feature of our scheme is that the numerical solution satisfies the same stability bound as the solution of the original system under some restrictions on the discretization parameters.
We validated our implementation of the proposed numerical scheme with a benchmark problem and applied it to simulate well-known two-phase fluid flows: the Kelvin–Helmholtz and Rayleigh–Taylor instabilities. We investigated the effect of line tension on such instabilities. For the Rayleigh–Taylor instability, we also assessed the effect of viscosity and surface shape, which plays an important role in the evolution of the instability.
Acknowledgments
This work was partially supported by US National Science Foundation (NSF) through grant DMS-1953535. A.Z. and M.O. also acknowledge the support from NSF through DMS-2011444. A.Q. also acknowledges the support from NSF through DMS-1620384.
References
- [1] H. Abels and D. Breit. Weak solutions for a non-newtonian diffuse interface model with different densities. Nonlinearity, 29(11):3426, 2016.
- [2] H. Abels, H. Garcke, and G. Grün. Thermodynamically consistent, frame indifferent diffuse interface models for incompressible two-phase flows with different densities. Mathematical Models and Methods in Applied Sciences, 22(03):1150013, 2012.
- [3] H. Abels, H. Garcke, and J. Weber. Existence of weak solutions for a diffuse interface model for two-phase flow with surfactants. Communications on Pure & Applied Analysis, 18(1):195–225, 2019.
- [4] G. L. Aki, W. Dreyer, J. Giesselmann, and C. Kraus. A quasi-incompressible diffuse interface model with phase transition. Mathematical Models and Methods in Applied Sciences, 24(05):827–861, 2014.
- [5] A. Bonito, A. Demlow, and M. Licht. A divergence-conforming finite element method for the surface stokes equation. SIAM Journal on Numerical Analysis, 58(5):2764–2798, 2020.
- [6] F. Boyer. A theoretical and numerical model for the study of incompressible mixture flows. Computers & Fluids, 31(1):41–68, 2002.
- [7] H. Ding, P. D. Spelt, and C. Shu. Diffuse interface model for incompressible two-phase flows with large density ratios. Journal of Computational Physics, 226(2):2078–2095, 2007.
- [8] S. Dong and J. Shen. A time-stepping scheme involving constant coefficient matrices for phase-field simulations of two-phase incompressible flows with large density ratios. Journal of Computational Physics, 231(17):5788–5804, 2012.
- [9] Q. Du, L. Ju, and L. Tian. Finite element approximation of the Cahn–Hilliard equation on surfaces. Computer Methods in Applied Mechanics and Engineering, 200(29-32):2458–2470, 2011.
- [10] C. Eilks and C. Elliott. Numerical simulation of dealloying by surface dissolution via the evolving surface finite element method. Journal of Computational Physics, 227(23):9727 – 9741, 2008.
- [11] H. Emmerich. The Diffuse Interface Approach in Materials Science: Thermodynamic Concepts and Applications of Phase-Field Models. Springer Publishing Company, Incorporated, 2011.
- [12] X. Feng. Fully discrete finite element approximations of the navier–stokes–cahn-hilliard diffuse interface model for two-phase fluid flows. SIAM Journal on Numerical Analysis, 44(3):1049–1072, 2006.
- [13] H. Garcke, M. Hinze, and C. Kahle. A stable and linear time discretization for a thermodynamically consistent model for two-phase incompressible flow. Applied Numerical Mathematics, 99:151–171, 2016.
- [14] Y. Gong, J. Zhao, and Q. Wang. An energy stable algorithm for a quasi-incompressible hydrodynamic phase-field model of viscous fluid mixtures with variable densities and viscosities. Computer Physics Communications, 219:20–34, 2017.
- [15] Y. Gong, J. Zhao, X. Yang, and Q. Wang. Fully discrete second-order linear schemes for hydrodynamic phase field models of binary viscous fluid flows with variable densities. SIAM Journal on Scientific Computing, 40(1):B138–B167, 2018.
- [16] J. Grande, C. Lehrenfeld, and A. Reusken. Analysis of a high-order trace finite element method for PDEs on level set surfaces. SIAM Journal on Numerical Analysis, 56(1):228–255, 2018.
- [17] G. Grun. On convergent schemes for diffuse interface models for two-phase flow of incompressible fluids with general mass densities. SIAM Journal on Numerical Analysis, 51(6):3036–3061, 2013.
- [18] J.-L. Guermond and L. Quartapelle. A projection fem for variable density incompressible flows. Journal of Computational Physics, 165(1):167–188, 2000.
- [19] Z. Guo, P. Lin, J. Lowengrub, and S. Wise. Mass conservative and energy stable finite difference methods for the quasi-incompressible Navier–Stokes–Cahn–Hilliard system: Primitive variable and projection-type schemes. Computer Methods in Applied Mechanics and Engineering, 326:144–174, 2017.
- [20] M. E. Gurtin and A. I. Murdoch. A continuum theory of elastic material surfaces. Archive for Rational Mechanics and Analysis, 57(4):291–323, 1975.
- [21] D. Han, A. Brylev, X. Yang, and Z. Tan. Numerical analysis of second order, fully discrete energy stable schemes for phase field models of two-phase incompressible flows. Journal of Scientific Computing, 70(3):965–989, 2017.
- [22] P. C. Hohenberg and B. I. Halperin. Theory of dynamic critical phenomena. Rev. Mod. Phys., 49:435–479, Jul 1977.
- [23] T. Jankuhn, M. A. Olshanskii, and A. Reusken. Incompressible fluid problems on embedded surfaces: Modeling and variational formulations. Interfaces and Free Boundaries, 20(3):353–377, 2018.
- [24] T. Jankuhn, M. A. Olshanskii, A. Reusken, and A. Zhiliakov. Error analysis of higher order trace finite element methods for the surface Stokes equation. Journal of Numerical Mathematics, 2020.
- [25] D. Kay, V. Styles, and R. Welford. Finite element approximation of a cahn–hilliard–navier–stokes system. Interfaces and Free Boundaries, 10(1):15–43, 2008.
- [26] P. L. Lederer, C. Lehrenfeld, and J. Schöberl. Divergence-free tangential finite element methods for incompressible flows on surfaces. International Journal for Numerical Methods in Engineering, 121(11):2503–2533, 2020.
- [27] C. Lehrenfeld, M. A. Olshanskii, and X. Xu. A stabilized trace finite element method for partial differential equations on evolving surfaces. SIAM Journal on Numerical Analysis, 56(3):1643–1672, 2018.
- [28] C. Liu, F. Frank, C. Thiele, F. O. Alpak, S. Berg, W. Chapman, and B. Riviere. An efficient numerical algorithm for solving viscosity contrast Cahn-–Hilliard–-Navier-–Stokes system in porous media. Journal of Computational Physics, 400:108948, 2020.
- [29] J. Lowengrub and L. Truskinovsky. Quasi–incompressible Cahn–Hilliard fluids and topological transitions. Proceedings of the Royal Society of London A: Mathematical, Physical and Engineering Sciences, 454(1978):2617–2654, 1998.
- [30] I. Nitschke, A. Voigt, and J. Wensch. A finite element approach to incompressible two-phase flow on manifolds. Journal of Fluid Mechanics, 708:418–438, 2012.
- [31] R. H. Nochetto, A. J. Salgado, and I. Tomas. A diffuse interface model for two-phase ferrofluid flows. Computer Methods in Applied Mechanics and Engineering, 309:497–531, 2016.
- [32] M. Olshanskii, A. Quaini, A. Reusken, and V. Yushutin. A finite element method for the surface stokes problem. SIAM Journal on Scientific Computing, 40(4):A2492–A2518, 2018.
- [33] M. Olshanskii, A. Reusken, and A. Zhiliakov. Inf-sup stability of the trace P2-P1 Taylor–Hood elements for surface PDEs. Mathematics of Computation, 2021.
- [34] M. Olshanskii, A. Reusken, and A. Zhilikov. Recycling augmented Lagrangian preconditioner in an incompressible fluid solver. arXiv:2012.10073, 2020.
- [35] M. A. Olshanskii. A low order Galerkin finite element method for the Navier–Stokes equations of steady incompressible flow: a stabilization issue and iterative methods. Computer Methods in Applied Mechanics and Engineering, 191(47-48):5515–5536, 2002.
- [36] M. A. Olshanskii, A. Reusken, and J. Grande. A finite element method for elliptic equations on surfaces. SIAM Journal on Numerical Analysis, 47:3339–3358, 2009.
- [37] A. Reusken. Analysis of trace finite element methods for surface partial differential equations. IMA Journal of Numerical Analysis, 35(4):1568–1590, 2015.
- [38] J. Shen, J. Xu, and J. Yang. The scalar auxiliary variable (sav) approach for gradient flows. Journal of Computational Physics, 353:407–416, 2018.
- [39] J. Shen and X. Yang. Numerical approximations of Allen-Cahn and Cahn-Hilliard equations. Discrete & Continuous Dynamical Systems - A, 28:1669, 2010.
- [40] J. Shen and X. Yang. A phase-field model and its numerical approximation for two-phase incompressible flows with different densities and viscosities. SIAM Journal on Scientific Computing, 32(3):1159–1179, 2010.
- [41] J. Shen and X. Yang. Decoupled, energy stable schemes for phase-field models of two-phase incompressible flows. SIAM Journal on Numerical Analysis, 53(1):279–296, 2015.
- [42] M. Shokrpour Roudbari, G. Şimşek, E. H. van Brummelen, and K. G. van der Zee. Diffuse-interface two-phase flow models with different densities: A new quasi-incompressible form and a linear energy-stable method. Mathematical Models and Methods in Applied Sciences, 28(04):733–770, 2018.
- [43] J. Yang and J. Kim. A phase-field model and its efficient numerical method for two-phase flows on arbitrarily curved surfaces in 3d space. Computer Methods in Applied Mechanics and Engineering, 372:113382, 2020.
- [44] J. Yang, S. Mao, X. He, X. Yang, and Y. He. A diffuse interface model and semi-implicit energy stable finite element method for two-phase magnetohydrodynamic flows. Computer Methods in Applied Mechanics and Engineering, 356:435–464, 2019.
- [45] V. Yushutin, A. Quaini, S. Majd, and M. Olshanskii. A computational study of lateral phase separation in biological membranes. International journal for numerical methods in biomedical engineering, 35(3):e3181, 2019.
- [46] A. Zhiliakov, Y. Wang, A. Quaini, M. Olshanskii, and S. Majd. Experimental validation of a phase-field model to predict coarsening dynamics of lipid domains in multicomponent membranes. Biochimica et Biophysica Acta (BBA)-Biomembranes, 1863(1):183446, 2021.
- [47] G. Zhu, H. Chen, A. Li, S. Sun, and J. Yao. Fully discrete energy stable scheme for a phase-field moving contact line model with variable densities and viscosities. Applied Mathematical Modelling, 83:614–639, 2020.
- [48] G. Zhu, H. Chen, J. Yao, and S. Sun. Efficient energy-stable schemes for the hydrodynamics coupled phase-field model. Applied Mathematical Modelling, 70:82–108, 2019.