Abstract
This paper describes temporally second-order unconditionally stable direct methods for Allen–Cahn and conservative Allen–Cahn equations on surfaces. The discretization is performed via a surface mesh consisting of piecewise triangles and its dual-surface polygonal tessellation. We prove that the proposed schemes, which combine a linearly stabilized splitting scheme, are unconditionally energy-stable. The resulting system of discrete equations is linear and is simple to implement. Several numerical experiments are performed to demonstrate the performance of our proposed algorithm.
1. Introduction
The aim of this paper is to develop a second-order accurate method in time and space, for Allen–Cahn equation and conservative Allen–Cahn equation on surfaces:
and
Here the phase field approximates the density of a binary mixture on the surface . is the Laplacian operator. is the Helmholtz free energy density. is the gradient energy parameter related to the interfacial energy. To simplify the presentation, here we consider the periodic boundary for the order parameter. It should be noted that our method can also be extended to cases involving Neumann and Dirichlet boundary conditions. The Allen–Cahn equation [] has been applied to a wide range of problems such as motion by mean curvature [,], image analysis [,,,], grain growth [,], crystal growth [,], surface reconstruction [,], triply-periodic minimal surface [] and two-phase fluid flows []. Various numerical methods have been developed to improve the numerical stability and accuracy of Allen–Cahn equation on the flat surface [,,,,,]. in a conservative Allen–Cahn equation is the Lagrange multiplier, which can be defined as . It is well-known that Equation (2) satisfies the mass conservation:
Equation (1) is derived from a constrained gradient flow in a space of the Helmholtz free energy functional:
The total energy decreases with time. That is,
Here, is the boundary of and is the outward normal vector at the boundary. Here we have used the divergence theorem, since the solution is assumed to be smooth. Equation (2) is also from a constrained gradient flow and makes non-increasing with time:
Here Equation (3) has been used. An important feature of the Allen–Cahn equation [] and conservative Allen–Cahn equation is that they both satisfy the energy dissipation law. The conservative Allen–Cahn equation has also been studied and applied in the various fields on the flat surface [,,,,,,,,]. Solving these two equations on non-flat surfaces are important issues, both in the geometrical and numerical sense. Recently, J.Kim et al. proposed a finite difference method for the conservative Allen–Cahn equation on various surfaces embedded in a narrow band domain in the three-dimensional space []. Based on the radial basis functions, V. Mohammadl et al. [] presented a study of the conservative Allen–Cahn equation on surfaces. To the best of the authors’ knowledge, there is no research work that has attempted to prove the second-order unconditionally stabilities of Allen–Cahn and conservative Allen–Cahn equations on surfaces. The goal of this paper is to develop second-order accurate schemes for the Allen–Cahn equation and conservative Allen–Cahn equation on surfaces. We will prove that the proposed schemes, which combine a linearly stabilized splitting scheme, are unconditionally energy-stable. The resulting system of discrete equations is linear and is simple to implement. Several numerical experiments will be performed to demonstrate the performance of our proposed algorithm.
2. Numerical Method
Let be a triangular discretization of surface and be the set of triangles. For a vertex , let be the neighboring vertices of for , where . The vertices are labeled counterclockwise. Assume to be the triangle with vertices , , and let , and . Let be defined on the set of vertices V. For a small regular surface by using Green’s formula, one has
Here, is the outer normal vector of the regular surface . and are the inner product and normal product operators, respectively. It is easy to obtain
where and is the area of , which is a triangle with , , and . is a discrete Laplace–Beltrami operator. On the other hand, we can get
The normal vectors and are defined as
Here and are the normal vector of triangles and , respectively. is the approximation surface gradient of at the centroid of each triangle. We assume takes the following form where and are constants:
Now Equation (1) can be discretized with second-order time accuracy as follows:
where . Equation (2) can be discretized with second-order time accuracy as follows:
where
Note that we can easily design a full Crank–Nicolson scheme that is a second-order two-level scheme. However, it requires solving a nonlinear equation at each time step. Compared to the fully Crank–Nicolson scheme, only an elliptic equation with constant coefficients is required to be solved at each time step, which makes it easy to implement. We define the discrete mass as
The discrete energy and pseudo the discrete energy are defined as:
Here, is the constant satisfying
The discrete inner product at the vertex and centroid of the triangle face by
Here, for . In this work, we restrict our attention to the order parameter which is bounded. That is, there exists a constant such that , because the Allen–Cahn equation satisfies the maximum principle. This condition can be satisfied by many physically relevant potentials by restricting the growth of to a quadratic for . Furthermore, if the maximum norm of initial condition is bounded by 1, then the solution for the Allen–Cahn equation is also bounded based on our numerical tests. Now we will prove several lemmas.
Lemma 1.
Proof.
By taking the Taylor expansion formula, we have:
Here, and are constants due to the mean value theorem for definite integrals. Thus, there exits which satisfies:
Lemma 2.
Let ϕ and ψ be defined on a surface S, which is assumed to be closed. Then, .
Here we state Lemma 2 without proof, which can be obtained simply by summation-by-parts formulas and discrete first and second Green’s identities.
Lemma 3.
Under the condition that , two solutions of the scheme (15) satisfy .
Proof.
By Equation (15), we can show that
Here . The proof is complete. □
Theorem 1.
.
Proof.
Let denote the edge of . It is obvious that belongs to the dual neighbor triangular mesh of the vertices and . Since the summation in Equation (21) is for the vertex , we can rewrite it as
Since all vertices are labeled counterclockwise, we get
Theorem 2.
The solution of Equation (11) satisfies , if .
Proof.
Here Equation (13) and Theorem 1 have been used. The proof is completed. □
Now, we prove the unconditional energy stability of these schemes under the condition .
Theorem 3.
If , three solutions of the scheme (11) satisfy:
Proof.
By combining the above relations and using the definition of energy (15), we obtain
Here, we have used the condition that . The proof is complete. □
Theorem 4.
If , three solutions of the scheme (12) satisfy:
Proof.
The proof is much similar with Theorem 4. By multiplying Equation (11) by and summing by parts, we have that
Here, and Theorem 2 have been used. The proof is complete. □
Theorem 5.
Proof.
By the last Theorem 3 and , we have a chain of inequalities,
Thus, the discrete version of the original energy is bounded and non-increasing in time, which follows from the above by the energy of the initial condition. □
Therefore, our proposed method is unconditionally energy-stable with the suitable stabilizing parameter , which is chosen to be in practical simulation.
3. Numerical Experiments
3.1. Spinodal Decomposition on Surfaces
Spinodal decomposition is a mechanism by which a solution of two or more components separates into different phases. The system separates into spatial regions rich in one species and poor in the other species and evolves into an equilibrium state with a lower overall free energy [,]. In this section, we will consider this problem for the Allen–Cahn equation and conservative Allen–Cahn equation with the initial condition on a sphere surface. Here is a random number between and 1. The calculation is run until with time step . We chose and . Figure 1a,b show the evolutions of spinodal decomposition of the Allen–Cahn equation and conservative Allen–Cahn equation, respectively. Observing these results, we can see that the positive phases are separated and gathered together. At the early stage, the evolutions with two methods are similar because the effect of the phase separation is dominant. Once the positive phases are fully separated, the dynamics of two equations become significantly different. On the later stage, the pattern of the phase deforms to a bar shape and shrinks with increasing speed, because the Allen–Cahn equation has the motion of mean curvature flow []. On the other hand, the bar shape remains due to the mass conservation of the conservative Allen–Cahn equation [].
Figure 1.
Spinodal decomposition on the sphere surface. (a) Allen–Cahn equation. (b) Conservative Allen–Cahn equation. From left to right, the results are at time , , 1, 2, and 4, respectively.
Figure 2 shows the evolution of phase separation on a bunny surface. The inset small figures represent the morphology of the phase field at the indicated times. Note that we have normalized the total energy by the total energy at the initial time. We can see that our method can work well on the complex surface.
Figure 2.
Evolution of phase separation on a bunny surface. Note that we have normalized the total energy and mass at the initial time, respectively.
3.2. Convergence Test
To test the convergence rates of the scheme, we used a same smooth initial condition on the sphere surface. Here the time step is fixed. We set a series of grids as , and , which implies the spatial and temporal grids are refined both by a factor of 2. We expect the ratio of successive errors to increase by a factor of 2 because of in the proposed scheme. Here we consider the Cauchy error, which is widely used to compute the error when we do not know the exact solution. The results are presented in Table 1, which confirm the second-order convergence rates in time and space.
Table 1.
Error and convergence results with various time steps and space steps. is fixed.
3.3. Unconditional Stability
As mentioned above, our proposed schemes (11) and (12) are unconditionally stable and allow the use of large time steps. To demonstrate that, we performed a numerical experiment using a large time step, . The initial condition and parameters were set as in Section 3.1. The calculations were run until time . Observing the numerical solutions in Figure 3, we can see that the total energy evolutions are non-increasing, which suggests that our proposed schemes are indeed unconditionally stable.
Figure 3.
The non-increasing discrete energy for our proposed method with a larger time step . Note that we have normalized the total energy and mass at the initial time, respectively.
3.4. Mean Curvature Flow
Numerical simulations of surfaces evolving according to their mean curvature are presented. The conservative Allen–Cahn equation has the motion of mean curvature []. Following the reference [], we consider two spherical caps on a unite sphere surface. Let (t) and be the radii of two spherical caps at time t, respectively. We perform the initial condition as
The calculation is run until with a time step . Here and are chosen. Figure 4 shows the temporal evolution of two spherical caps on the unit sphere surface. Observing the results, we can see that the larger spherical cap grows and the smaller one shrinks.
Figure 4.
Evolution of two spherical caps on the unit sphere surface.
The comparison and between exact solution and numerical solution are drawn in Figure 5. Note that the analytic solutions of and are obtained by the fourth–order Runge–Kutta method []. The result shows that the numerical solution is close to the exact solution.
Figure 5.
The comparison and between exact solution and numerical solution.
4. Conclusions
In this work, we proposed second-order unconditionally stable direct methods for the Allen–Cahn and conservative Allen–Cahn equations on surfaces. The discretization is performed via a surface mesh consisting of piecewise triangles and its dual-surface polygonal tessellation. We have proved that the proposed schemes are unconditionally energy-stable. The proposed schemes are easy to implement because only linear elliptic equations should be solved at each time step. We performed several numerical experiments such as evolutions on simple and complex surfaces, convergence test, and stability test. The numerical experiments confirmed the efficiency of the proposed algorithm.
Author Contributions
All authors contributed equally to this work; B.X., Y.L. and Z.L. critically reviewed the manuscript. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by the Fundamental Research Funds for the Central Universities (No.XTR042019005).
Acknowledgments
The authors wish to thank the reviewers for the constructive and helpful comments on the revision of this article.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Allen, S.M.; Cahn, J.W. A microscopic theory for antiphase volume motion and its application to antiphase domain coarsening. Acta. Metall. 1979, 27, 1085–1095. [Google Scholar] [CrossRef]
- Ilmanen, T. Convergence of the Allen-Cahn equation to Brakke’s motion by mean curvature. J. Differ. Geom. 1993, 38, 417–461. [Google Scholar] [CrossRef]
- Bene, M.; Mikula, K. Simulation of anisotropic motion by mean curvaturecomparison of phase-field and sharp-interface approaches. Acta Math. Univ. Comenian. 1998, 67, 17–42. [Google Scholar]
- Li, Y.; Kim, J. Multiphase image segmentation with a phase-field model. Comput. Math. Appl. 2011, 62, 737–745. [Google Scholar] [CrossRef]
- Li, Y.; Kim, J. An unconditionally stable numerical method for bimodal image segmentation. Appl. Math. Comput. 2012, 219, 3083–3090. [Google Scholar] [CrossRef]
- Li, Y.; Kim, J. An unconditionally stable hybrid method for images egmentation. Appl. Numer. Math. 2014, 82, 32–43. [Google Scholar] [CrossRef]
- Li, Y.; Jeong, D.; Choi, J.-L.; Lee, S.; Kim, J. Fast local image inpainting based on the Allen-Cahn model. Digit. Dignal. Process. 2015, 37, 65–74. [Google Scholar] [CrossRef]
- Kobayashi, R.; Warren, J.A.; Carter, W.C. A continuum model of grain boundaries. Phys. D 2000, 140, 141–150. [Google Scholar] [CrossRef]
- Krill Iii, C.E.; Chen, L.-Q. Computer simulation of 3-D grain growth using a phase-field model. Acta Mater. 2002, 50, 3057–3073. [Google Scholar] [CrossRef]
- Li, Y.; Lee, H.G.; Kim, J. A fast, robust, and accurate operator splitting method for phase-field simulations of crystal growth. J. Cryst. Growth 2011, 321, 176–182. [Google Scholar] [CrossRef]
- Li, Y.; Kim, J. Phase-field simulations of crystal growth with adaptive mesh refinement. Int. J. Heat Mass Transfer 2012, 55, 7926–7932. [Google Scholar] [CrossRef]
- Li, Y.; Lee, D.; Lee, C.; Lee, J.; Lee, S.; Kim, J.; Ahn, S.; Kim, J. Surface embedding narrow volume reconstruction from unorganized points. Comput. Vis. Image Underst. 2014, 121, 100–107. [Google Scholar] [CrossRef]
- Li, Y.; Kim, J. Fast and efficient narrow volume reconstruction from scattered data. Pattern. Recogn. 2015, 48, 4057–4069. [Google Scholar] [CrossRef]
- Li, Y.; Guo, S. Triply periodic minimal surface using a modified Allen-Cahn equation. Appl. Math. Comput. 2017, 295, 84–94. [Google Scholar] [CrossRef]
- Yang, X.; Feng, J.J.; Liu, C.; Shen, J. Numerical simulations of jet pinching-off and drop formation using an energetic variational phase-field method. J. Comput. Phys. 2006, 218, 417–428. [Google Scholar] [CrossRef]
- Gu, S.; Zhou, X. Convex splitting method for the calculation of transition states of energy functional. J. Comput. Phys. 2018, 353, 417–434. [Google Scholar] [CrossRef]
- Shen, J.; Yang, X. Numerical approximations of Allen-Cahn and Cahn-Hilliard equations. Discret. Contin. Dyn. Syst. 2010, 28, 1669–1691. [Google Scholar] [CrossRef]
- Li, Y.; Lee, H.G.; Jeong, D.; Kim, J. An unconditionally stable hybrid numerical method for solving the Allen-Cahn equation. Comput. Math. Appl. 2010, 60, 1591–1606. [Google Scholar] [CrossRef]
- Jeong, D.; Lee, S.; Lee, D.; Shin, J.; Kim, J. Comparison study of numerical methods for solving the Allen-Cahn equation. Comput. Mater. Sci. 2016, 111, 131–136. [Google Scholar] [CrossRef]
- Guilln-Gonzlez, F.; Tierra, G. Second order schemes and time-step adaptivity for Allen-Cahn and Cahn-Hilliard models. Comput. Math. Appl. 2014, 68, 821–846. [Google Scholar] [CrossRef]
- Long, J.; Luo, C.; Yu, Q.; Li, Y. An unconditional stable compact fourth-order finite difference scheme for three dimensional Allen-Cahn equation. Comput. Math. Appl. 2019, 77, 1042–1054. [Google Scholar] [CrossRef]
- Joshi, V.; Jaiman, R.K. A positivity preserving and conservative variational scheme for phase-field modeling of two-phase flows. J. Comput. Phys. 2018, 360, 137–166. [Google Scholar] [CrossRef]
- Jeong, D.; Kim, J.S. Conservative Allen-Cahn-Navier-Stokes system for incompressible two-phase fluid flows. Comput. Fluids 2017, 156, 239–246. [Google Scholar] [CrossRef]
- Lehrenfeld, C.; Olshanskii, M.A.; Xu, X. A stabilized trace finite element method for partial differential equations on evolving surfaces. SIAM J. Numer. Anal. 2018, 56, 1643–1672. [Google Scholar] [CrossRef]
- Niu, J.; Xu, M.; Yao, G. An efficient reproducing kernel method for solving the Allen-Cahn equation. Appl. Math. Lett. 2019, 89, 78–84. [Google Scholar] [CrossRef]
- Zhai, S.; Weng, Z.; Feng, X. Fast explicit operator splitting method and time-step adaptivity for fractional non-local Allen-Cahn model. Appl. Math. Model. 2016, 40, 1315–1324. [Google Scholar] [CrossRef]
- Shi, D.; Liu, Q. An efficient nonconforming finite element two-grid method for Allen-Cahn equation. Appl. Math. Lett. 2019, 98, 374–380. [Google Scholar] [CrossRef]
- Zhao, J.; Yang, X.; Gong, Y.; Wang, Q. A novel linear second order unconditionally energy stable scheme for a hydrodynamic Q-tensor model of liquid crystals. Comput. Methods Appl. Mech. Eng. 2017, 318, 803–825. [Google Scholar] [CrossRef]
- Gong, Y.; Zhao, J. Energy-stable Runge-Kutta schemes for gradient flow models using the energy quadratization approach. Appl. Math. Lett. 2019, 94, 224–231. [Google Scholar] [CrossRef]
- Yang, X.; Zhang, G.-D. Convergence analysis for the invariant energy quadratization (IEQ) schemes for solving the Cahn-Hilliard and Allen-Cahn equations with general nonlinear potential. J. Sci. Comput. 2020, 82, 55. [Google Scholar] [CrossRef]
- Kim, J.; Jeong, D.; Yang, S.-D.; Choi, Y. A finite difference method for a conservative Allen-Cahn equation on non-flat surfaces. J. Comput. Phys. 2017, 334, 170–181. [Google Scholar] [CrossRef]
- Mohammadi, V.; Mirzaei, D.; Dehghan, M. Numerical simulation and error estimation of the time-dependent Allen-Cahn equation on surfaces with radial basis functions. J. Sci. Comput. 2019, 79, 493–516. [Google Scholar] [CrossRef]
- Li, Y.; Kim, J.; Wang, N. An unconditionally energy-stable second-order time-accurate scheme for the Cahn–Hilliard equation on surfaces. Commun. Nonlinear Sci. Numer. Simul. 2017, 53, 213–227. [Google Scholar] [CrossRef]
- Cahn, J.W. On spinodal decomposition. Acta Metall. 1961, 9, 795–801. [Google Scholar] [CrossRef]
- Li, Y.; Jeong, D.; Shin, J.; Kim, J.S. A conservative numerical method for the Cahn–Hilliard equation with Dirichlet boundary conditions in complex domains. Comput. Math. Appl. 2013, 65, 102–115. [Google Scholar] [CrossRef]
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).