Abstract
The Allen-Cahn equation is a fundamental model for phase transitions, offering critical insights into the dynamics of interface evolution in various physical systems. This paper investigates the stability and robustness of frequently utilized time-discretization numerical schemes for solving the Allen-Cahn equation, with focuses on the Backward Euler, Crank-Nicolson (CN), convex splitting of modified CN, and Diagonally Implicit Runge-Kutta (DIRK) methods. Our stability analysis reveals that the Convex Splitting of the Modified CN scheme exhibits unconditional stability, allowing greater flexibility in time step size selection, while the other schemes are conditionally stable. Additionally, our robustness analysis highlights that the Backward Euler method converges to correct physical solutions regardless of initial conditions. In contrast, all other methods studied in this work show sensitivity to initial conditions and may converge to incorrect physical solutions if the initial conditions are not carefully chosen. This study introduces a comprehensive approach to assessing stability and robustness in numerical methods for solving the Allen-Cahn equation, providing a new perspective for evaluating numerical techniques for general nonlinear differential equations.
Keywords: Allen-Cahn equation, Stability, Numerical approximation, Backward Euler method, Crank–Nicolson scheme, Runge-Kutta method
1. Introduction
The Allen-Cahn equation, a fundamental partial differential equation (PDE) in the field of phase transitions, describes the process of phase separation in multi-component alloy systems. Its significance extends to numerous applications in materials science [21], image processing [3, 29], and areas requiring the modeling of interface dynamics [2, 15]. Due to the equation’s nonlinearity and the presence of diffuse interface in solutions, developing robust and stable numerical schemes is a long-lasting challenge for accurate simulations [9, 13, 25, 35]. As important as spatial discretization, time discretization is crucial since it also directly determines the efficiency and accuracy of the numerical schemes [10, 11, 30, 31, 41]. Below is an incomplete list of frequently utilized one step explicit and implicit time discretization methods for solving the Allen-Cahn equation and other phase field models:
- Explicit Methods
- Explicit Runge-Kutta Methods: Higher-order explicit methods, such as the fourth-order Runge-Kutta, can be used to improve accuracy while still being conditionally stable [40]. These methods are rarely used due to the stringent time step size restrictions imposed by stability considerations.
- Implicit Methods
- Diagonally Implicit Runge-Kutta (DIRK) Methods: These methods are a subclass of implicit Runge-Kutta methods where the coefficient matrix is lower triangular with equal diagonal elements [39]. This structure simplifies the implementation by allowing a step-by-step solution of implicit equations, which improves stability and accuracy while maintaining reasonable computational costs.
- Semi-Implicit Methods
- Semi-Implicit Spectral Deferred Correction (SISDC) Method: This method iteratively corrects the solution using both implicit and explicit updates, improving stability and accuracy [32].
The choice of time discretization method for the Allen-Cahn equation and other phase field models requires careful consideration of stability, accuracy, and computational efficiency [37]. Implicit and semi-implicit methods are often favored for their desired stability properties, and are particularly suited for stiff problems. Notably, these methods require solving nonlinear systems.
Fourier or energy methods are often used to analyze stability conditions for linear schemes of linear partial differential equations with constant coefficients. Yet few have become known about the stability of numerical schemes for nonlinear equations. The study in [38] indicates that many numerical schemes, except for the backward Euler method, may experience convergence issues unless the time step size is exceedingly small. Motivated by this work, we introduce in this paper the following concepts of stability and robustness for numerical schemes designed to solve the Allen-Cahn equation.
Definition 1.1. Stability is defined as the uniqueness of for a given , revealing the upper bound for the time step size of the numerical scheme which is the stability condition;
Definition 1.2. Robustness is defined as the uniqueness of for a given , indicating the numerical scheme’s accuracy in converging to the physical solution across various initial conditions.
We note that our notion of stability may also be referred to as unique solvability. It differs from energy stability that does not guarantee the uniqueness of the solution, see [35, 37, 38]. Robustness, on the other hand, refers to the accuracy of a numerical scheme in converging to the correct physical solution with different initial conditions. A non-robust scheme may converge to an incorrect physical solution or an alternative steady-state solution. A lack of robustness indicates that, regardless of the time step size, an initial condition that leads the numerical scheme to converge to an incorrect solution can be constructed. In this paper, we focus on assessing the robustness of schemes by examining the uniqueness of for a given .
While the stability of numerical schemes is a major concern in analyzing them, importance of the robustness of the nonlinear schemes is sometimes overlooked. In fact, the robustness here indicates the sensitivity of the (nonlinear) schemes to the initial guess used to solve them in each time-stepping. Thus a numerical solution computed using a scheme suffering from robustness issues may converge to a wrong solution.
Both stability and robustness can be investigated through bifurcation theory [6, 24, 28, 33] and perturbation analysis [4, 22], powerful mathematical tools that examine the behavior of solution structures. Stability, as defined in this paper, was previously studied using fixed-point analysis [8], convex energy analysis [37], or analysis of roots in cubic equations [38]. Bifurcation analysis allows ones not only to explore the uniqueness of the numerical solutions but also to identify critical points where qualitative changes in the solution structure occur. Perturbation analysis provides insight into how small perturbations affect the structure of trivial solutions. Together, these analyses form a new and rigorous framework to evaluate the performance of different numerical schemes for phase-field equations.
In this paper, we examine both the stability and robustness of several time-discretization numerical schemes that are commonly used for the Allen-Cahn equation. They include the Backward Euler method, Crank-Nicolson method, and Runge-Kutta methods. Our findings reveal both essential stability conditions and sensitivity to initial conditions based on robustness, guiding the development of efficient and reliable computational methods for simulating the Allen-Cahn equation. Through this investigation, we aim to develop a general framework based on stability and robustness in the numerical treatment of phase field models.
The rest of the paper is organized as follows: In Section 2, we present the Allen-Cahn equation considered in this study. Section 3 explores the stability and robustness of the Backward Euler scheme. In Section 4, we extend this analysis to the Crank-Nicolson scheme. Section 5 examines the convex splitting of the modified Crank-Nicolson scheme. In Section 6, we study the Diagonally Implicit Runge-Kutta method. Section 7 explores all the schemes that we investigated in Sections 3–6 with benchmark problems. Finally, we conclude our work in Section 8.
2. Problem Setup
We consider the following time-dependent Allen-Cahn equation on domain :
| (1) |
where is a small positive constant representing the thickness of the diffuse interface, is given and is the unit outward normal vector to . It is well known that the Allen-Cahn equation possesses two stable steady state solutions , respectively.
Our objective is to investigate numerical methods for solving the Allen-Cahn equation. We consider nonlinear schemes given in the general formula , where represents the solution at time step , and represents the solution at the next time step .
3. Backward Euler Scheme
The backward Euler scheme for the Allen-Cahn Eq. (1) reads as:
| (2) |
where is the time step size. We will derive its stability condition through bifurcation analysis and its robustness through perturbation analysis in the following subsection.
3.1. The stability condition via bifurcation analysis
In this section, we begin with the constant solution of Eq. (2), then perform the bifurcation analysis of the constant solution with respect to the parameter .
First, we examine a constant solution case of Eq. (2), where and , satisfying the equation:
Next, we consider a general perturbed case by introducing and , with , and and being some smooth functions. Substituting these functions into Eq. (2) and retaining the linear term in , we obtain
| (3) |
Rearranging this equation, we obtain
| (4) |
We can assess the uniqueness of by studying the solution structure of Eq. (4) after dropping the term. In this case, is a given function, and we focus on examining the homogeneous part of Eq. (4), namely,
| (5) |
which is a Helmholtz equation. We arrive at the following proposition.
Proposition 3.1. Bifurcations of in Eq. (5) occur when and . The bifurcation points and corresponding eigenfunctions are as follows:
| (6) |
where the function can either be or depending the values of .
Proof. By the method of separation of variables, we let . Substituting this into Eq. (5) yields:
For the trivial solution, this equation holds for any constant . For the non-trivial case where , we divide both sides by to obtain:
| (7) |
Each term in Eq. (7) is constant because the sum remains constant regardless of changes in the variables . This reduces our problem to a 1D eigenvalue problem with the Neumann boundary condition:
| (8) |
where .
The eigenvalue and corresponding eigenfunction for (8) can be easily computed, and are given by:
| (9) |
where the eigenfunction can either be or depending the values of .
To satisfy Eq. (5), we also require . Thus, we have the bifurcation point corresponding to the eigenfunction .
From Proposition 3.1, we can see that, if , the solution to Eq. (5) will exclusively exhibit the trivial solution . Consequently, we can conclude that the particular solution for Eq. (4) is unique, and is also unique while satisfying the stability condition . Thus, the backward Euler scheme is stable when .
Remark 3.1. For the robustness analysis of the backward Euler scheme, we examine the uniqueness of given . As Eq. (2) is linear with respect to , establishing uniqueness is straightforward.
4. Crank-Nicolson Scheme
The Crank-Nicolson scheme for the Allen-Cahn Eq. (1) reads as
| (10) |
4.1. The stability condition via bifurcation analysis
In this section, we investigate the uniqueness of for any given and derive the associated stability condition. We start by considering a perturbed setup with respect to the trivial solution.
Here we define and , with and representing constant solutions of Eq. (10), and being a given function with . Plugging these expressions into Eq. (10), we obtain:
| (11) |
This equation is simplified as
| (12) |
where is given by:
| (13) |
Considering the homogeneous case of Eq. (12) and dropping the term, we have:
| (14) |
Then we can deduce the following bifurcation results:
Proposition 4.1. Bifurcations of in Eq. (14) occur when and . The bifurcation points and corresponding eigenfunctions are as follows:
| (15) |
where the function can either be or depending the values of .
From Proposition 4.1, we can see that, if , the solution to Eq. (14) will exclusively exhibit the trivial solution . Consequently, we can conclude that the particular solution for Eq. (12) is unique, and is also unique while satisfying the stability condition . The proof proceeds by employing similar computations as those used in Proposition 3.1.
4.2. The robustness analysis
In this section, we delve into the solution space of given a . Initially, we investigate the trivial solutions; subsequently, we apply perturbation analysis to examine these trivial solutions.
4.2.1. Trivial solution analysis
We consider and and rewrite Eq. (10) as:
| (16) |
By fixing , if , we have 3 different real solutions for by the discriminant of cubic polynomial. If it is equal to 0, then we have multiple real solutions. If it is less than 0, we have complex solutions and a real solution.
First, we let and solve Eq. (16) to get two non-zero roots for and denote them as , where .
Then we have the following results:
if and only if ;
if and only if ;
if and only if .
Therefore, given a time step size satisfying the stability condition, to have hold, we must have ; to have hold, we must have . The above analysis is discussed in Theorem 3.2 of [38] to show that the Crank-Nicolson method may converge to a wrong steady-state solution. We carry out this further to obtain a more insightful convergence pattern.
Next, we compute roots by solving Eq. (16) with . Since
| (17) |
we can obtain only one negative real solution and denote it as . Since , we have which implies . Moreover, notice that the value of decreases if is getting larger than . Thus we can find a unique sequence of by repeating this process with . This gives us a pattern of signs of trivial solutions at consecutive time steps. We can conclude that:
if and only if ;
if and only if ;
if and only if ;
if and only if .
Now we have generated a sequence of by solving Eq. (16) with setting . The numerical values of are presented in Table 1 for different values of . The convergence intervals are shown in Fig. 1. If one chooses the initial condition from the interval , the CN scheme converges to after time-stepping.
Table 1:
Convergence Interval points for the CN Scheme in Eq. (10) with different .
| 0.001 | 31.639 | 48.124 | 60.363 | 70.53 |
| 0.01 | 10.05 | 15.256 | 19.123 | 22.335 |
| 0.1 | 3.317 | 4.942 | 6.152 | 7.159 |
| 0.25 | 2.236 | 3.243 | 3.996 | 4.625 |
| 0.5 | 1.732 | 2.421 | 2.941 | 3.377 |
Figure 1:

Visualizing Convergence Intervals of CN Scheme in Eq. (10). If initial conditions are chosen in red regions, CN Scheme eventually converges to 1, while the initial conditions chosen in blue regions lead the CN Scheme to converge to −1. The values of with different are shown in Table 1.
4.2.2. Perturbation Analysis
In this section, we delve into non-trivial solutions by perturbing the trivial solutions analyzed in the previous section. Specifically, we define and . Our objective is to investigate for a given . In this case, is a given perturbation function, such as in the 1D case. We need to solve for . To achieve this, we substitute these functions into Eq. (10), resulting in:
| (18) |
where is defined as
| (19) |
To be more specific for the 1D case, when we choose for , we find that , with the coefficient given by
| (20) |
For the 2D case, we choose for , and have that , with the coefficient given by
| (21) |
Using as an initial guess, we employ Newton’s method to solve Eq. (10) for given . As an illustrative example, we present the results in Fig. 2 for the 1D case and Fig. 3 for the 2D case with the parameters , and . We initiate the process with and employ a homotopy continuation method to compute the solution with [18, 19, 20]. The solutions of corresponding to for different perturbation modes and are shown in Fig. 2. For the 2D case, perturbation is given as and results are shown in Fig. 3. In this particular instance, we choose from the interval .
Figure 2:

The solutions of of the CN scheme for with are depicted in A and B panels. Here the solid curve is for , the dashed curve is for . The parameters are chosen as in A , and B , , , and . These values are chosen from Table 1 in interval (). In panel C, the CN scheme jumps to a different solution with the initial conditions of , and ultimately converges to an incorrect solution. Conversely, the backward Euler scheme converges to a solution near .
Figure 3:

The solutions of of the CN scheme for 2D function with are depicted in A and B panels. Here the perturbation function is . The parameters are chosen as in A , and B , , , and . This values are chosen from Table 1 in interval . In panel C, the CN scheme jumps to a different solution with the initial conditions of , ultimately converging to an incorrect solution. Conversely, the backward Euler scheme converges to a solution near .
Consequently, the CN scheme converges after a single time step but yields an incorrect solution. To elaborate, if we choose as an initial condition, the CN scheme jumps to approximately −1 after a one-time step and continues to converge toward −1 after a few iterations. Conversely, the backward Euler scheme converges to a correct solution near . Due to the robustness and stability of the backward Euler scheme, the numerical solution computed using this scheme serves as the reference solution for comparing with solutions computed using other schemes. Moreover, based on the PDE theory, the time evolution solution consistently converges to the nearby steady-state solution. Thus we conclude that the CN scheme converges to an incorrect steady-state solution with this initial condition.
Furthermore, we choose within the interval . As a result, the CN scheme converges after 9 zig-zag iterations but leads to an incorrect solution after 14 time steps shown in Fig. 4 for the 1D case and Fig. 5 for the 2D case. The zig-zag curves in Figs. 4 and 5 demonstrate the patterns illustrated in Fig. 1. We choose different initial conditions with both and modes as well as for the 1D case in Fig. 4 and for the 2D case in Fig. 5.
Figure 4:

The solutions of of the CN scheme for with are depicted in A and B panels. Here the solid curve is for , the dashed curve is for . The parameters are chosen as in A , and B , , , and . In panel C, the CN scheme jumps back and forth, ultimately converging to an incorrect solution. Red and blue regions are visualizing convergence intervals as Fig. 1.
Figure 5:

The solutions of of the CN scheme for 2D function with are depicted in A and B panels. Here the perturbation function is . The parameters are chosen as in A , and B , , and . In panel C, the CN scheme jumps back and forth, ultimately converging to an incorrect solution. Red and blue regions are visualizing convergence intervals as Fig. 1.
5. Convex Splitting of Modified Crank-Nicolson Scheme
Next, we consider the convex splitting of the modified Crank-Nicolson (Mod CN) scheme of Eq. (1) defined as follows:
| (22) |
5.1. Unconditional stability
We now examine the uniqueness of for a fixed within Eq. (22). Substituting these functions into Eq. (22), we obtain:
| (23) |
where is given by:
| (24) |
Given that , it becomes evident that only the trivial zero general solution exists within
| (25) |
We conclude that the particular solution for Eq. (23) is unique for any given , independent of . This demonstrates the unconditional stability of the convex splitting of the modified Crank-Nicolson scheme.
5.2. The robustness analysis
Similar to the CN scheme, we analyze the trivial solution structure of the convex splitting of the Mod CN scheme firstly. Namely, for and , we have
| (26) |
Through a computation similar to the one used in analyzing the CN scheme §4.2.1, we can calculate the sequence of by solving Eq. (26) with (here ). We present the values of for various ratios of in Table 2.
Table 2:
Convergence Interval points for the Convex splitting of modified CN scheme with different .
| 0.001 | 44.766 | 75.889 | 98.476 | 116.931 |
| 0.01 | 14.283 | 24.165 | 31.334 | 37.192 |
| 0.1 | 4.899 | 8.147 | 10.497 | 12.418 |
| 0.25 | 3.464 | 5.641 | 7.212 | 8.497 |
| 0.5 | 2.828 | 4.503 | 5.707 | 6.694 |
We can perturb the trivial solutions using and in a way similar to the one in §4.2.2. This allows us to reformulate the Convex splitting of Mod CN scheme as follows:
| (27) |
where is given by:
| (28) |
When we choose , the particular solution becomes for the 1D case, where the coefficient is determined by the following expression from using Eq. (27):
| (29) |
Using the computed as an initial approximation, we employ Newton’s method to solve for given in Eq. (22). This results in a solution structure similar to that of the CN scheme.
For 2D we have similar results as for . We find that , with the coefficient given by
| (30) |
6. Diagonally Implicit Runge–Kutta (DIRK)
The DIRK family of methods is the most widely used implicit Runge-Kutta (IRK) method for solving phase field modeling problems due to their relative ease of implementation [26]. Some applications of the DIRK methods on the Allen-Cahn equation can be found in [7, 34]. These methods are characterized by a lower triangular A-matrix with at least one non-zero diagonal entry and are sometimes referred to as semi-implicit or semi-explicit Runge-Kutta methods. This structure allows for solving each stage individually rather than all stages simultaneously. We write the general formula of DIRK method in Butcher array format as follows:

When solving the Allen-Cahn equation, the DIRK method is summarized as
| (31) |
where
| (32) |
By letting , we can rewrite the DIRK method as [26, 27]
| (33) |
In this case, the final solution can be expressed as . Then the DIRK method represents a multi-stage backward Euler method which solves for for each stage .
6.1. The stability condition via bifurcation analysis
First, we consider a trivial solution case of for given , specifically, :
| (34) |
Next, let’s perturb the trivial solutions with and . By substituting into Eq. (34) and retaining the linear term in , we obtain
| (35) |
We aim to assess the uniqueness of while holding fixed. In this case, is a given function, and we focus on the uniqueness of the homogeneous solution, namely,
| (36) |
This is essentially the same as Eq. (5) if . By Proposition 3.1, we have that the solution is unique if
| (37) |
or
| (38) |
Consequently, we can conclude that the particular solution for Eq. (34) is unique, and is also unique while satisfying the stability condition . Then the stability condition of the DIRK method is
| (39) |
6.2. The robustness analysis
In theory, we can apply robustness analysis to any order of the DIRK method. In this section, for simplicity, we illustrate the idea by considering the 2nd order DIRK method with the following 2 × 2 Butcher array:

We first analyze the trivial solution case, namely and . Then, the DIRK method with 2nd order for solving the Allen-Cahn equation is expressed as:
| (40) |
By letting , we have 3 roots for as and 0 by solving the last equation in Eq. (40), where . By simplifying Eq. (40) with , we have
| (41) |
By plugging Eq. (41) into the first equation of Eq. (40), we have
| (42) |
If , since of the discriminant of the cubic polynomial from the second equation in Eq. (40),
| (43) |
we have only one root as . Thus we have
| (44) |
where is the root of
| (45) |
If , we have another set of solutions:
| (46) |
For , we have five roots for , namely, , and 0.
By letting , we obtain a unique solution for due to the discriminant of the cubic polynomial, denoted as . Inductively, we can define and by solving Eq. (40) for with and , respectively. The values of and for different values of are shown in Table 3, and the iterations of the DIRK method in different regions are illustrated in Fig. 6.
Table 3:
Convergence Interval points for the DIRK 2nd order scheme in Eq. (40) with different .
| 0.001 | 63.277 | 159.524 | 280.251 | 421.311 | 580.137 | 754.936 | 944.371 | 1147.391 |
| 0.01 | 20.1 | 50.612 | 88.857 | 133.527 | 183.81 | 239.141 | 299.098 | 363.349 |
| 0.1 | 6.633 | 16.517 | 28.821 | 43.14 | 59.221 | 76.889 | 96.012 | 116.485 |
| 0.25 | 4.472 | 10.958 | 18.95 | 28.2 | 38.552 | 49.898 | 62.156 | 75.262 |
| 0.5 | 3.464 | 8.306 | 14.188 | 20.942 | 28.462 | 36.675 | 45.524 | 54.966 |
Figure 6:

Visualizing Convergence Intervals of DIRK scheme with 2nd order in Eq. (40). Suppose initial conditions are chosen in red regions. In that case, DIRK with 2nd order scheme eventually converges to 1, while the initial conditions chosen in blue regions lead the DIRK method to converge to −1. The values of with different are shown in Table 3.
Next, we perturb the trivial solutions using and as similar way in §4.2.2, where is a given perturbed function. After plugging in to Eq. (40) and retaining the linear term in , we have
| (47) |
By choosing specific functions in the 1D case as
| (48) |
we obtain
| (49) |
Then, we employ Newton’s method to solve Eq. (40) for , given , taking the initial guess . As an illustrative example, we show the solutions of in Fig. 7 for the 1D case and Fig. 8 for the 2D case with the parameters , and . We initiate the process with and employ a homotopy continuation method to compute the solution with [18, 19, 20]. The solutions of corresponding to for different perturbation modes and are shown in Fig. 7. For the 2D case, perturbation is given as and we present the results in Fig. 8.
Figure 7:

The solutions of of the DIRK scheme for with are depicted in A and B panels. Here the solid curve is for , the dashed curve is for . The parameters are chosen as in A , and B , , , and . This values are chosen from Table 3 in interval . In panel C, the DIRK scheme jumps to a different solution with the initial conditions of , ultimately converging to an incorrect solution. Conversely, the backward Euler scheme converges to a solution near .
Figure 8:

The solutions of of the DIRK scheme for 2D function with are depicted in A and B panels. Here the perturbation function is . The parameters are chosen as in A , and B , , , and . This values are chosen from Table 3 in interval . In panel C, the DIRK scheme jumps to a different solution with the initial conditions of , ultimately converging to an incorrect solution. Conversely, the backward Euler scheme converges to a solution near .
Thus we use as the initial condition to solve the Allen-Cahn equation by using DIRK with second order. Since we choose from the interval , consequently, the DIRK scheme converges after two time steps but yields an incorrect solution. To elaborate, if we choose as an initial condition, the DIRK scheme jumps to approximately −1 after a one-time step and continues to converge toward −1 after a few iterations. Conversely, the backward Euler scheme converges to a correct solution near .
Furthermore, we choose within the interval . As a result, the DIRK scheme converges after five iterations but leads to an incorrect solution. This convergence process is evident in the jumping curves depicted in Fig. 6. The initial conditions for and modes with , as well as the final solutions after 7 time steps, are shown in Fig. 9 for the 1D case and Fig. 10 for the 2D case.
Figure 9:

The solutions of of the DIRK scheme for function with are depicted in A and B panels. Here the solid curve is for , the dashed curve is for . The parameters are chosen as in A , and B , , , and . In panel C, the DIRK scheme, ultimately converging to an incorrect solution. Red and blue regions are visualizing convergence intervals as Fig. 6.
Figure 10:

The solutions of of the DIRK scheme for 2D function with are depicted in A and B panels. Here the perturbation function is . The parameters are chosen as in A , and B , , , and . In panel C, the DIRK scheme converges to an incorrect solution. Red and blue regions visualize convergence intervals as Fig. 6.
7. Benchmark problem test
Numerous benchmark problems have been utilized for Allen-Cahn equation, with numerical results validated through various computational methods employing different spatial and temporal discretizations [7]. In this section, we consider two benchmark problems from [7]. The first benchmark problem uses the following initial condition:
| (50) |
on the domain , where is a constant used to test the robustness of different numerical schemes. First, we performed 10 iterations of the CN scheme with a time step and parameter . The results, shown in Fig. 11, indicate that the CN scheme lacks robustness, as positive initial conditions converge to the negative steady state. Next, we test the benchmark problem using the convex splitting of modified CN scheme in Eq. (22) and the second-order RK method in Eq. (40). The results, shown in Fig. 12, similarly indicate the lack of robustness in both schemes.
Figure 11:

The first benchmark problem using the CN scheme with the initial conditions given by Eq. (50). The top-left figure corresponds to and the top-right figure to . The middle row displays the numerical results after applying the CN scheme for 10 time steps. The bottom figure illustrates the dynamics of the average solution over the domain as a function of the time steps.
Figure 12:

The first benchmark problem using the convex splitting of modified CN scheme and 2nd order RK method with the initial conditions given by Eq. (50). We show the dynamics of the average solution over the domain as a function of the time steps with different constant .
The second benchmark problem we considered uses the following initial conditions [7]:
| (51) |
on the domain with coefficients listed in Table 4.
Table 4:
Centres and radii for the initial conditions in Eq. (51).
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
|---|---|---|---|---|---|---|---|
Similarly, we tested all three schemes—CN, convex splitting of modified CN scheme, and the second-order RK method—with a time step of and parameter . The results, presented in Figs. 13 and 14, indicate a lack of robustness in each of the schemes.
Figure 13:

The second benchmark problem using the CN scheme with the initial conditions given by Eq. (51). The top-left figure corresponds to and the top-right figure to . The middle row displays the numerical results after applying the CN scheme for 10 time steps. The bottom figure illustrates the dynamics of the average solution over the domain as a function of the time steps.
Figure 14:

The first benchmark problem using the convex splitting of modified CN scheme and 2nd order RK method with the initial conditions given by Eq. (51). We show the dynamics of the average solution over the domain as a function of the time steps with different constant .
8. Conclusions
The Allen-Cahn equation serving as a fundamental tool for modeling phase transitions, offers invaluable insights into interface evolution across diverse physical systems. In this paper, we have devoted into the stability and robustness of various time-discretization numerical schemes utilized to solve the Allen-Cahn equation, recognizing their pivotal role in ensuring precise simulations in practical applications.
Our stability analyses of several numerical methods, including the backward Euler, Crank-Nicolson, Convex Splitting of modified Crank-Nicolson schemes, and the DIRK method, have unveiled fundamental stability conditions for each method. Notably, the backward Euler scheme, Crank-Nicolson, and DIRK methods exhibited conditional stability, necessitating careful consideration of time step sizes. Conversely, the convex splitting of the modified Crank-Nicolson scheme showcased unconditional stability, affording flexibility in time step selection without compromising numerical accuracy.
Furthermore, our robustness analyses have shed light on the behavior of numerical solutions under varying initial conditions. While the backward Euler method demonstrated robustness, reliably converging to physical solutions regardless of initial conditions; other methods such as the Crank-Nicolson and convex splitting of modified Crank-Nicolson schemes, as well as the DIRK method, exhibited sensitivity to initial conditions in the solving of these nonlinear schemes at each time step, potentially leading to wrong solutions if the initial conditions are not carefully chosen.
To conclude, our study introduces the concepts of stability and robustness to the realm of numerical methods for solving the Allen-Cahn equation. By elucidating the stability conditions and robustness characteristics of these methods, we provide a novel framework for evaluating numerical techniques tailored to nonlinear differential equations, thereby advancing the accuracy and reliability of phase transition simulations in various scientific domains.
Table 5:
Summary of stability conditions for different numerical schemes. in DIRK is the diagonal elements in Butcher array format.
| Numerical Scheme | Backward Euler | CN | Convex Splitting of Modified CN | DIRK |
|---|---|---|---|---|
| Stability Condition |
Highlights.
Comprehensive stability and robustness analysis of numerical schemes for the Allen-Cahn equation.
Backward Euler method shows robust convergence to correct physical solutions regardless of initial conditions.
Sensitivity to initial conditions highlighted for Crank-Nicolson and Diagonally Implicit Runge-Kutta (DIRK) methods, which may lead to incorrect solutions.
Acknowledgement
SL and WH are supported by NIH via 1R35GM146894; ZX is supported by NSF via DMS-2424826/2424827.
Footnotes
Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.
Declaration of interests
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
References
- [1].On linear schemes for a cahn–hilliard diffuse interface model. Journal of Computational Physics, 234:140–171, 2013. [Google Scholar]
- [2].Aihara Shintaro, Takaki Tomohiro, and Takada Naoki. Multi-phase-field modeling using a conservative allen–cahn equation for multiphase flow. Computers & Fluids, 178:141–151, 2019. [Google Scholar]
- [3].Michal Beneš Vladimír Chalupecký, and Mikula Karol. Geometrical image segmentation by the allen–cahn equation. Applied Numerical Mathematics, 51(2–3):187–205, 2004. [Google Scholar]
- [4].Bonnans J Frédéric and Shapiro Alexander. Perturbation analysis of optimization problems. Springer Science & Business Media, 2013. [Google Scholar]
- [5].Chen LQ and Shen Jie. Applications of semi-implicit fourier-spectral method to phase field equations. Computer Physics Communications, 108:147–158, 1998. [Google Scholar]
- [6].Chow S-N and Hale Jack K. Methods of bifurcation theory, volume 251. Springer Science & Business Media, 2012. [Google Scholar]
- [7].Jon M Church Zhenlin Guo, Peter K Jimack Anotida Madzvamuse, Promislow Keith, Wetton Brian, Wise Steven M, and Yang Fengwei. High accuracy benchmark problems for allen-cahn and cahn-hilliard dynamics. Communications in computational physics, 26(4), 2019. [Google Scholar]
- [8].Condette Nicolas, Melcher Christof, and Süli Endre. Spectral approximation of pattern-forming non-linear evolution equations with double-well potentials of quadratic growth. Mathematics of computation, 80(273):205–223, 2011. [Google Scholar]
- [9].Du Qiang, Ju Lili, Li Xiao, and Qiao Zhonghua. Stabilized linear semi-implicit schemes for the nonlocal cahn–hilliard equation. Journal of Computational Physics, 363:39–54, 2018. [Google Scholar]
- [10].Du Qiang, Ju Lili, Li Xiao, and Qiao Zhonghua. Maximum principle preserving exponential time differencing schemes for the nonlocal allen–cahn equation. SIAM Journal on numerical analysis, 57(2):875–898, 2019. [Google Scholar]
- [11].Du Qiang, Yang Jiang, and Zhou Zhi. Time-fractional allen–cahn equations: analysis and numerical methods. Journal of Scientific Computing, 85(2):42, 2020. [Google Scholar]
- [12].Eyre David J. An unconditionally stable one-step scheme for gradient systems. Unpublished article, 6, 1998. [Google Scholar]
- [13].Feng Xiaobing and Prohl Andreas. Numerical analysis of the allen-cahn equation and approximation for mean curvature flows. Numerische Mathematik, 94:33–65, 2003. [Google Scholar]
- [14].Feng Xinlong, Tang Tao, and Yang Jiang. Stabilized crank-nicolson/adams-bashforth schemes for phase field models. East Asian Journal on Applied Mathematics, 3(1):59–80, 2013. [Google Scholar]
- [15].Grant Martin and Gunton James D. Temperature dependence of the dynamics of random interfaces. Physical Review B, 28(10):5496, 1983. [Google Scholar]
- [16].Carsten Gräser Ralf Kornhuber, and Sack Uli. Time discretizations of anisotropic allen–cahn equations. IMA Journal of Numerical Analysis, 33(4):1226–1244, 2013. [Google Scholar]
- [17].Guillén-González Francisco and Tierra Giordano. Second order schemes and time-step adaptivity for allen-cahn and cahn–hilliard models. Computers & Mathematics with Applications, 68(8):821–846, 2014. [Google Scholar]
- [18].Hao Wenrui. An adaptive homotopy tracking algorithm for solving nonlinear parametric systems with applications in nonlinear odes. Applied Mathematics Letters, 125:107767, 2022. [Google Scholar]
- [19].Hao Wenrui, Hesthaven Jan, Lin Guang, and Zheng Bin. A homotopy method with adaptive basis selection for computing multiple solutions of differential equations. Journal of Scientific Computing, 82(1):19, 2020. [Google Scholar]
- [20].Hao Wenrui and Zheng Chunyue. An adaptive homotopy method for computing bifurcations of non-linear parametric systems. Journal of Scientific Computing, 82:1–19, 2020. [Google Scholar]
- [21].Heida Martin, Málek Josef, and Rajagopal KR. On the development and generalizations of allen–cahn and stefan equations within a thermodynamic framework. Zeitschrift für angewandte Mathematik und Physik, 63(4):759–776, 2012. [Google Scholar]
- [22].Ho Yu-Chi Larry and Cao Xi-Ren. Perturbation analysis of discrete event dynamic systems, volume 145. Springer Science & Business Media, 2012. [Google Scholar]
- [23].Hou Tianliang, Tang Tao, and Yang Jiang. Numerical analysis of fully discretized crank–nicolson scheme for fractional-in-space allen–cahn equations. Journal of Scientific Computing, 72:1214–1231, 2017. [Google Scholar]
- [24].Iooss Gérard and Joseph Daniel D. Elementary stability and bifurcation theory. Springer Science & Business Media, 2012. [Google Scholar]
- [25].Jeong Darae, Lee Seunggyu, Lee Dongsun, Shin Jaemin, and Kim Junseok. Comparison study of numerical methods for solving the allen–cahn equation. Computational Materials Science, 111:131–136, 2016. [Google Scholar]
- [26].Kennedy Christopher A and Carpenter Mark H. Diagonally implicit runge-kutta methods for ordinary differential equations. a review. Technical report, 2016. [Google Scholar]
- [27].Kennedy Christopher A and Carpenter Mark H. Diagonally implicit runge–kutta methods for stiff odes. Applied Numerical Mathematics, 146:221–244, 2019. [Google Scholar]
- [28].Kuznetsov Yuri A, Kuznetsov Iu A, and Kuznetsov Y. Elements of applied bifurcation theory, volume 112. Springer, 1998. [Google Scholar]
- [29].Lee Dongsun, Lee Seunggyu, et al. Image segmentation based on modified fractional allen–cahn equation. Mathematical Problems in Engineering, 2019, 2019. [Google Scholar]
- [30].Li Yibao, Hyun Geun Lee Darae Jeong, and Kim Junseok. An unconditionally stable hybrid numerical method for solving the allen–cahn equation. Computers & Mathematics with Applications, 60(6):1591–1606, 2010. [Google Scholar]
- [31].Liu Chun and Shen Jie. A phase field model for the mixture of two incompressible fluids and its approximation by a fourier-spectral method. Physica D: Nonlinear Phenomena, 179(3–4):211–228, 2003. [Google Scholar]
- [32].Liu Fei and Shen Jie. Stabilized semi-implicit spectral deferred correction methods for allen–cahn and cahn–hilliard equations. Mathematical Methods in the Applied Sciences, 38(18):4564–4575, 2015. [Google Scholar]
- [33].Sattinger David H. Topics in stability and bifurcation theory, volume 309. Springer, 2006. [Google Scholar]
- [34].Shah Abdullah, Sabir Muhammad, Qasim Muhammad, and Bastian Peter. Efficient numerical scheme for solving the allen-cahn equation. Numerical Methods for Partial Differential Equations, 34(5):1820–1833, 2018. [Google Scholar]
- [35].Shen Jie and Yang Xiaofeng. Numerical approximations of allen-cahn and cahn-hilliard equations. Discrete Contin. Dyn. Syst, 28(4):1669–1691, 2010. [Google Scholar]
- [36].Spigler Renato and Vianello Marco. Convergence analysis of the semi-implicit euler method for abstract evolution equations. Numerical functional analysis and optimization, 16(5–6):785–803, 1995. [Google Scholar]
- [37].Xu Jinchao, Li Yukun, Wu Shuonan, and Bousquet Arthur. On the stability and accuracy of partially and fully implicit schemes for phase field modeling. Computer Methods in Applied Mechanics and Engineering, 345:826–853, 2019. [Google Scholar]
- [38].Xu Jinchao and Xu Xiaofeng. Lack of robustness and accuracy of many numerical schemes for phase-field simulations. Mathematical Models and Methods in Applied Sciences, 33(08):1721–1746, 2023. [Google Scholar]
- [39].Zhang Hong, Yan Jingye, Qian Xu, Gu Xianming, and Song Songhe. On the preserving of the maximum principle and energy stability of high-order implicit-explicit runge-kutta schemes for the space-fractional allen-cahn equation. Numerical Algorithms, 88:1309–1336, 2021. [Google Scholar]
- [40].Zhang Hong, Yan Jingye, Qian Xu, and Song Songhe. Numerical analysis and applications of explicit high order maximum principle preserving integrating factor runge-kutta schemes for allen-cahn equation. Applied Numerical Mathematics, 161:372–390, 2021. [Google Scholar]
- [41].Zhang Jian and Du Qiang. Numerical studies of discrete approximations to the allen–cahn equation in the sharp interface limit. SIAM Journal on Scientific Computing, 31(4):3042–3063, 2009. [Google Scholar]
