Skip to Content
  • Article
  • Open Access

2 October 2026

38 Pages

A Hybrid Block–Pseudospectral Scheme for Spatiotemporal Pattern Formation in Phase-Field Models: The Allen–Cahn and Cahn–Hilliard Equations

,
and
1
Department of Mathematics, Rhodes University, P.O. Box 94, Grahamstown 6140, South Africa
2
School of Computer Science and Applied Mathematics, University of the Witwatersrand, Johannesburg, Private Bag 3, Braamfontein 2050, South Africa
*
Author to whom correspondence should be addressed.
This article belongs to the Section Natural Sciences

Abstract

This study introduces a hybrid numerical scheme for analysing spatiotemporal pattern formation in phase-field models, specifically the Allen–Cahn (AC) and the Cahn–Hilliard (CH) equations. These equations are important parabolic partial differential equations (PDEs) that arise in many interesting scientific problems. However, their strong nonlinearity makes finding analytical solutions practically impossible, while traditional numerical methods often suffer from instability. To address this challenge, this study proposes a robust hybrid block–pseudospectral method (HB–PSM) that integrates the off-step hybrid block method (HBM) for temporal integration, Chebyshev pseudospectral for spatial discretisation, and the quasilinearisation method (QLM) to handle nonlinearity. The primary aim is to develop a high-order, energy-stable numerical solver that accurately captures spatiotemporal patterns in both 1D and 2D configurations at reasonable computational cost. Through extensive numerical experimentation, the findings demonstrate that the HB–PSM is a competitive method for solving gradient flow systems, and it can be applied more broadly across many fields to solve a broader class of complex, multidimensional partial differential equations.

1. Introduction

Phase-field models and gradient flow systems are among the most important mathematical models for describing interfacial dynamics and microstructure evolution across many areas of science and engineering [1,2]. They are typically formulated as nonlinear initial-boundary value problems of the form
∂ u ∂ t = L [ u ] + N [ u ] , ( x , y ) ∈ Ω , t > 0 , u ( x , y , 0 ) = u 0 ( x , y ) , ( x , y ) ∈ Ω , B [ u ] = g ( x , y , t ) , ( x , y ) ∈ ∂ Ω ,
where Ω ⊂ R d ( d = 1 , 2 ) denotes a bounded domain, u is the conserved or non-conserved order parameter, L represents a linear spatial differential operator (such as the Laplacian or biharmonic operator), N defines the nonlinear source term derived from the free energy functional, and  B [ u ] represents the appropriate boundary conditions (e.g., standard Neumann, Dirichlet, or periodic conditions for second-order models, alongside mass-conserving zero-flux boundary conditions for fourth-order models).
Phase-field models and gradient flow systems represent a prominent class of partial differential equations (PDEs) used to describe the spatiotemporal evolution of complex interfacial phenomena and microstructures [3]. Rather than relying on classical reaction and mass-diffusion mechanisms, the dynamics of these systems are fundamentally driven by thermodynamics, where the state variables evolve continuously to minimise a total free energy functional over time [4]. By using a continuous order parameter to resolve diffuse interfaces, these equations are highly effective for describing phase separation phenomena and have found widespread applications across scientific and engineering fields, including image analysis, materials science, fluid mechanics, and biological systems [2,5]. The two archetypal gradient flow models driven by the Ginzburg–Landau free energy are the Allen–Cahn (AC) and Cahn–Hilliard (CH) equations. The AC equation is used to describe non-conservative phase separation dynamics [6], and was introduced in the study of antiphase boundary motion in crystalline solids, building on earlier work involving the Ginzburg–Landau free energy functional [7]. The CH equation, on the other hand, is a fundamental model in mathematical physics for describing phase separation and spinodal decomposition in binary mixtures [8] and was originally proposed to model coarsening and phase separation processes in a molten alloy that is heated to a point where only two distinct concentration phases can exist stably [9].
Phase-field models, such as the Allen–Cahn and Cahn–Hilliard equations, have been widely studied for their ability to model a variety of physical and biological phenomena, particularly phase separation and interfacial flow [10,11,12]. Numerous numerical methods have been developed to approximate their solutions, owing to the complexity and nonlinearity that often preclude analytical solutions. Hybrid block methods (HBMs) have proven to be an efficient method for solving initial value problems (IVPs) [13]. Similarly, the pseudospectral method (PSM) provides highly accurate numerical solutions for both stiff and non-stiff partial differential equations (PDEs) [14]. Recent research advances have focused on expanding and refining these methods to address a broader range of differential equations. For instance, the hybrid block method with non-overlapping off-step points has been successfully applied to solve differential equations [15,16]. To further improve the numerical efficiency of the HBM, recent studies have introduced an optimised overlapping-grid-based one-step hybrid block method for solving first-order IVPs [13,17]. In addition to the aforementioned studies, Rufai et al. [18] proposed an overlapping one-step multiderivative HBM for solving second-order IVPs. The utilisation of the overlapping grids approach has demonstrated consistent superior computational performance and accuracy compared to the non-overlapping grid approach.
Despite the notable progress made by HBMs in solving IVPs, challenges associated with accuracy, stability, and computational efficiency continue to motivate further research. Several studies have used spectral-based methods to solve a variety of differential equations. In the past two decades, spectral methods have advanced immensely and have been successfully employed in numerous fields such as heat transfer, quantum mechanics, fluid dynamics, and many more—see [19,20,21]. Spectral-based methods are among the most effective numerical techniques for solving differential equations [22]. Li et al. [23] developed a spectral collocation technique for solving the stochastic Allen–Cahn equation. Lee and Lee [24] proposed a semi-analytical Fourier spectral-based technique for solving the Allen–Cahn equation. Chen and Xu [25] solved the Cahn–Hilliard equation subject to Neumann boundary conditions using the time splitting space spectral element method. The results were consistent across the simulated time steps and highlighted the method’s effectiveness. Despite their promise, studies such as Jeong and Kim [26] and Jeong et al. [27] have shown that solving phase model equations, such as the Allen–Cahn equation, with larger time steps can yield unstable numerical results. This creates a clear research gap in the development of high-order, stable, and efficient methods that combine these two approaches. To bridge this gap, this study proposes hybrid numerical methods that combine multiple techniques to approximate solutions to the Allen–Cahn and Cahn–Hilliard equations and to simulate the temporal evolution of these fascinating patterns that develop in phase-field models.
To validate the accuracy, reliability and computational efficiency of the proposed method, we perform several numerical experiments. The performance of the proposed HB–PSM is tested using the L 2 and L ∞ error norms, computational cost, convergence rates, residual norms and energy stability. The ultimate goal is to develop a robust, high-accuracy numerical scheme that is computationally efficient and suitable for simulating complex phase separation and pattern formation phenomena.
The novelty of this study lies not in either component stated below alone but in their combination and in the analysis of the resulting scheme:
  • We couple an off-step hybrid block method in time with Chebyshev pseudospectral collocation in space, giving a scheme for the Allen–Cahn and Cahn–Hilliard equations whose temporal accuracy can be raised to match its spectral spatial accuracy; to our knowledge, block methods have not previously been applied to fourth-order phase-field equations in two dimensions.
  • The nonlinearity is treated by quasilinearisation, so that each block step requires a single linear solve.
  • We prove that the fully discrete scheme conserves mass and dissipates the energy, is zero-stable for every choice of intra-step points, and has high local truncation error.
  • The scheme is validated on one and 2D Allen–Cahn and Cahn–Hilliard problems, including spinodal decomposition.
The remainder of this paper is organised into four sections as follows: Section 2 establishes the foundational mathematical models and governing equations used throughout this study. The numerical methods, analysis of the methods, and derivation of the HB–PSM are covered in Section 3. Section 4 presents numerical results for spatiotemporal pattern formation in the Allen–Cahn and Cahn–Hilliard phase-field models, and Section 5 provides a summary and conclusion.

2. Mathematical Formulation of the Models

This section provides the necessary mathematical background and foundational concepts upon which the proposed numerical method is developed. The Allen–Cahn and Cahn–Hilliard equations were originally introduced to model the evolution of non-conservative and conservative phase variables in phase separation processes. Both models are formulated as gradient-flow systems associated with a Lyapunov functional, referred to as the free energy [5]. Specifically, given a Lyapunov or free energy functional, the Allen–Cahn-type equations are derived as the gradient flow of that energy with respect to the L 2 inner product of square-integrable functions. In contrast, the Cahn–Hilliard-type equations are formulated as the gradient flow with respect to the inner product of the H − 1 dual Sobolev space. Due to their generality and mathematical flexibility, the Allen–Cahn and Cahn–Hilliard-type equations are effective in modelling a wide range of interfacial and multiphase problems. Many classical partial differential equation models can, in fact, be viewed as special cases or limits of these equations [5]. Their versatility makes them a powerful model for both theoretical analysis and numerical simulation in complex systems involving diffusion, interface flow, and energy dissipation.

Mathematical Model

We begin by considering the Allen–Cahn equation, a fundamental phase-field model for describing non-conservative phase-separation dynamics [6]. The equation is given as
∂ u ∂ t − γ ∇ 2 u + ε f ( u ) = 0 , ( x , y ) ∈ Ω , t > 0 ,
where Ω ⊂ R d ( d = 1 , 2 ) is a bounded domain, u is the order parameter representing the state of the solution, γ is a diffusion coefficient, and  ε is a small positive parameter related to the interfacial width. The nonlinear function f ( u ) is given by the derivative of a double-well potential function F ( u ) , which typically takes the form
F ( u ) = 1 4 ( u 2 − 1 ) 2 ,
so that f ( u ) = F ′ ( u ) = u 3 − u . This potential has two minima at u = ± 1 , representing two stable phases separated by an interface [11]. The Allen–Cahn equation models the gradient flow of the free energy with respect to the L 2 norm, leading to dynamics that do not conserve mass. The Ginzburg–Landau free energy functional associated with the Allen–Cahn equation is given by
E ( u ) = ∫ Ω γ 2 | ∇ u | 2 + ε F ( u ) d Ω .
Here, E ( u ) represents the total free energy of the system. The first term, γ 2 | ∇ u | 2 , accounts for the interface energy, while the second term, ε F ( u ) , corresponds to the energy derived from a double-well potential f ( u ) . Over time, this energy functional is known to decrease monotonically, indicating the system’s natural evolution towards equilibrium [6,27,28].
Theorem 1
(Energy dissipation of the Allen–Cahn equation). Let u be a sufficiently smooth solution of the Allen–Cahn equation. Then, the free energy E ( u ) does not increase in time, i.e.,
d E ( u ) d t ≤ 0 .
Proof. 
Consider the Ginzburg–Landau free energy functional in Equation (4), then the Allen–Cahn equation is given by
∂ u ∂ t = − δ E ( u ) δ u = γ ∇ 2 u − ε F ′ ( u ) .
Taking the time derivative of the free energy yields
d E ( u ) d t = ∫ Ω ( γ ∇ u · ∇ u t + ε F ′ ( u ) u t ) d Ω .
Integrating the first term by parts and applying periodic or homogeneous Neumann boundary conditions ( ∇ u · n = 0 on ∂ Ω ), the boundary term vanishes, leaving
∫ Ω γ ∇ u · ∇ u t d Ω = − ∫ Ω γ ∇ 2 u u t d Ω .
Substituting this into the energy time derivative in Equation (7) and collecting u t as a common factor, we get
d E ( u ) d t = ∫ Ω − γ ∇ 2 u + ε F ′ ( u ) u t d Ω .
Notice that the term inside parentheses is exactly the variational derivative δ E δ u , which is equal to − ∂ u ∂ t in Equation (6). Substituting this gives
d E ( u ) d t = ∫ Ω − ∂ u ∂ t ∂ u ∂ t d Ω = − ∫ Ω ∂ u ∂ t 2 d Ω ≤ 0 .
 □
Another phase-field model considered in this study is the Cahn–Hilliard equation, a fundamental model in mathematical physics for describing phase separation and spinodal decomposition in binary mixtures [8]. The Cahn–Hilliard equation can be derived as the gradient flow of the Ginzburg–Landau free energy in the H − 1 inner product, and is expressed as [29]
∂ u ∂ t + ∇ 2 ( ε 2 ∇ 2 u − f ( u ) ) = 0 , ( x , y ) ∈ Ω , t > 0 ,
where u denotes the order parameter, ε is a small parameter representing the interfacial width, and  f ( u ) = F ′ ( u ) is the derivative of a double-well potential function in Equation (3). The associated free energy functional is given by
E ( u ) = ∫ Ω ε 2 2 | ∇ u | 2 + F ( u ) d Ω .
Equation (11) is a nonlinear fourth-order partial differential equation, originally proposed by Cahn and Hilliard to model coarsening and phase separation processes in a molten alloy that is heated to a point where only two distinct concentration phases can exist stably [9,29]. The study of Altmann and Zimmer [30] further stated that the CH equation is also known as the energy-dissipative system.
Theorem 2
(Energy dissipation of the Cahn–Hilliard equation). Let u be a sufficiently smooth solution of the Cahn–Hilliard equation. Then, the free energy E ( u ) does not increase in time
d E ( u ) d t ≤ 0 .
Proof. 
The proof is similar to the one for Theorem 1, and the Cahn–Hilliard equation is a conserved gradient flow given as
∂ u ∂ t = ∇ · ( ∇ μ ) , where μ = δ E ( u ) δ u = − ε 2 ∇ 2 u + F ′ ( u ) .
Computing the rate of change of the free energy results in
d E ( u ) d t = ∫ Ω δ E ( u ) δ u ∂ u ∂ t d Ω = ∫ Ω μ ∇ · ( ∇ μ ) d Ω .
Integrating by parts and assuming appropriate boundary conditions, the total energy
d E ( u ) d t = − ∫ Ω | ∇ μ | 2 d Ω ≤ 0 ,
decreases monotonically as t → ∞ , confirming the gradient flow structure of the dynamics. □
Theorem 3
(Mass conservation of the Cahn–Hilliard equation). Let u be a sufficiently smooth solution of the Cahn–Hilliard equation with periodic or homogeneous Neumann boundary conditions on the domain Ω ⊂ R d . Then, the total mass is conserved, that is,   
d d t ∫ Ω u d Ω = 0 .
Proof. 
The conserved order parameter u describes the evolution of the CH equation and is given in Equation (14). Differentiating the total mass with respect to t yields
d d t ∫ Ω u d Ω = ∫ Ω ∂ u ∂ t d Ω = ∫ Ω ∇ · ( ∇ μ ) d Ω .
Using the divergent theorem,
∫ Ω ∇ · ( ∇ μ ) d Ω = ∫ ∂ Ω ∇ μ · n d s ,
where n denotes the normal vector on ∂ Ω . Using either periodic boundary conditions, where the integral over the boundary cancels due to periodicity, or Neumann boundary conditions, we have ∇ μ · n = 0 on ∂ Ω . In both cases, the boundary integral vanishes,
∫ ∂ Ω ∇ μ · n d s = 0 .
Thus,
d d t ∫ Ω u d Ω = 0 .
This shows that the total mass (integral of u over the domain) is conserved for all t > 0 . □
As mentioned before, both the Allen–Cahn and Cahn–Hilliard equations are highly nonlinear partial differential equations, and in most cases, obtaining their analytical solutions is practically impossible. This complexity necessitates the use of numerical methods to approximate their solutions with sufficient accuracy. In the next section, we present and discuss the numerical techniques employed in this study to solve these equations.

3. Numerical Discretisation

This section establishes the numerical methods used throughout this study. Particular emphasis is placed on the formulation of the pseudospectral method for spatial discretisation and the hybrid block method for temporal discretisation. Finally, this section outlines the full discretisation of the Allen–Cahn and Cahn–Hilliard equations.

3.1. Pseudospectral Technique

This section introduces the pseudospectral technique, a subclass of spectral methods used for the numerical solution of differential equations. Spectral methods have become one of the main discretisation techniques due to their superior accuracy compared to the finite-difference method (FDM) and the finite-element method (FEM) [31]. The main distinction between spectral methods and finite elements is that spectral methods use non-zero basis or test functions over the entire domain, whereas finite difference and finite element methods use non-zero basis functions on linearised sub-domains. Thus, spectral methods adopt a global approach to numerical approximation, while FDM and FEM are inherently local [32]. This means that for spectral methods, computations at a given grid point rely not just on neighbouring points but on the entire domain. For the aforementioned reason, spectral methods exhibit a special error property known as exponential convergence, making them efficient for solving problems with smooth solutions.
In spectral collocation methods, the interpolation nodes are taken to be the roots or extrema of the orthogonal polynomials. The numerical approximation must be exact on predefined points, known as collocation points [14]. The solution is then interpolated at the collocation points, and its derivatives are approximated using the derivatives of the interpolating polynomial. A Chebyshev spectral differentiation matrix is introduced, which can be used to approximate the derivative of a function with respect to its independent variable. To do this, we define a set of grid points
x j = cos π j N , j = 0 , 1 , … , N ,
called the Chebyshev–Gauss–Lobatto (CGL) nodes [33]. The basic idea behind the spectral collocation method is to use higher-order Lagrange interpolating polynomials at specified collocation points to approximate the unknown solution, u ( x ) , throughout the entire domain. Suppose the function u ( x ) is defined at the grid points { x j } j = 0 N and let u j = u ( x j ) represent the value of the function at each collocation point. Then, the interpolating polynomial U N ( x ) , which approximates u ( x ) is given by
U N ( x ) = ∑ i = 0 N u i l i ( x ) ,
where the function l i is the Lagrange basis polynomials, also called the cardinal function, defined as
l i ( x ) = ∏ j = 0 , j ≠ i N x − x j x i − x j .
These basis polynomials satisfy the Kronecker delta property
l i ( x j ) = 0 if i ≠ j 1 if i = j .
Differentiating the interpolating polynomial U N ( x ) in Equation (23) with respect to x yields
d U N ( x ) d x = ∑ i = 0 N u i l i ′ ( x ) .
In particular, when collocating at the CGL points x j , the first derivative of the interpolant becomes
u ′ ( x j ) = d U N ( x j ) d x = ∑ i = 0 N u i l i ′ ( x j ) = ∑ i = 0 N d j , i u i , j = 0 , 1 … , N ,
where d j , i = l i ′ ( x j ) are entries of the Chebyshev differentiation matrix D x [33]. In matrix-vector notation, Equation (27) is written as
U ′ = D x U ,
where U ′ ∈ R ( N + 1 ) × 1 = [ u ′ ( x 0 ) , u ′ ( x 1 ) , … , u ′ ( x N ) ] ⊤ , U ∈ R ( N + 1 ) × 1 = [ u ( x 0 ) , u ( x 1 ) , … , u ( x N ) ] ⊤ and the entries of the matrix D x ∈ R ( N + 1 ) × ( N + 1 ) are d j , i = l i ′ ( x j ) , i , j = 0 , 1 , … , N , derived from the derivatives of the Lagrange basis functions evaluated at the CGL nodes.
Higher-order derivatives are computed by repeated application of D x , yielding
U ″ = D x 2 U , U ‴ = D x 3 U , ⋮ U ( n ) = D x ( n ) U ,
where n is the n-th order spatial derivative. According to Trefethen [33], the Chebyshev differentiation matrix D x ∈ R ( N + 1 ) × ( N + 1 ) , for all N ≥ 1 , has entries given by
d 0 , 0 = 2 N 2 + 1 6 , d N , N = − 2 N 2 + 1 6 , d j , j = − x j 2 ( 1 − x j 2 ) , j = 1 , … , N − 1 , d i , j = c j ( − 1 ) i + j c j ( x i − x j ) , i ≠ j , i , j = 1 , … , N − 1 ,
where
c i = 2 if i = 0 or N , 1 otherwise .
To construct multidimensional differential operators efficiently, the Kronecker product is used to extend 1D differentiation matrices to tensor-product grids. For matrices A ∈ R n × m and B ∈ R p × q , their Kronecker product is defined by
A ⊗ B = a 11 B … a 1 m B ⋮ ⋱ ⋮ a n 1 B … a n m B ∈ R n p × m q .
For illustration purposes, consider the 2D interpolant
U N ( x , y ) = ∑ i = 0 N ∑ k = 0 N u i , k l i ( x ) l k ( y ) ,
where l i ( x ) and l k ( y ) are the Lagrange basis functions, and  U denotes the vectorised nodal values. Collocation at the CGL points yields
∂ U N ( x , y ) ∂ x = [ I y ⊗ D x ] U , ∂ 2 U N ( x , y ) ∂ x 2 = [ I y ⊗ D x 2 ] U ,
and
∂ U N ( x , y ) ∂ y = [ D y ⊗ I x ] U , ∂ 2 U N ( x , y ) ∂ y 2 = [ D y 2 ⊗ I x ] U , ∂ 4 U N ( x , y ) ∂ x 2 ∂ y 2 = [ D y 2 ⊗ D x 2 ] U ,
where I x , I y ∈ R ( N + 1 ) × ( N + 1 ) are identity matrices, D x ∈ R ( N + 1 ) × ( N + 1 ) and D y ∈ R ( N + 1 ) × ( N + 1 ) are the differentiation matrices with respect to x and y, respectively. The 2D Laplacian is, therefore, approximated by
L U = ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) U ,
while the bi-Laplacian operator required for fourth-order PDEs is given by
B U = ( I y ⊗ D x 4 ) + 2 ( D y 2 ⊗ D x 2 ) + ( D y 4 ⊗ I x ) U .
Spatial derivatives are approximated using the differentiation matrices, and time evolution is approximated using the hybrid block method, which is described in Section 3.2.

3.2. Hybrid Block Method

This section presents the HBM for an equation of the form
u t = G [ x , y , t , u ] , ( x , y ) ∈ Ω , u ( x , y , 0 ) = u 0 ( x , y ) , ( x , y ) ∈ Ω ,
and with Dirichlet, periodic, or Neumann boundary conditions. Here, Ω ⊂ R d ( d = 1 , 2 ) denotes a bounded domain. The function G represents the governing equation, defined as G = γ ∇ 2 u − ε f ( u ) for the Allen–Cahn equation, and  G = ∇ 2 f ( u ) − ε 2 ∇ 4 u for the Cahn–Hilliard equation. First, we present the HBM of the differential equation given as
u t ( t ) = G [ t , u ( t ) ] , u ( t 0 ) = u 0 ,
where G [ t , u ( t ) ] is a general, continuous nonlinear function and u 0 is a given initial condition. Equation (38) is solved over an interval 0 ≤ t ≤ T which is partitioned as
0 = t 0 < t 1 < t 2 < ⋯ < t M − 1 < t M = T .
The step size is defined as h = t n + 1 − t n , for  n = 0 , 1 , 2 , … , M − 1 , and the differential Equation (38) is solved in the M non-overlapping blocks [ t n , t n + 1 ] , using the known initial condition u ( t n ) for n = 0 , 1 , 2 , … , M − 1 . To improve the accuracy of the method, the interval [ t n , t n + 1 ] is then subdivided into a block of m + 1 nodes called off-step points given by
t n + p i = t n + h p i , i = 0 , 1 , … , m + 1 ,
where p i ’s are normalised collocation points defined between 0 and 1 such that
0 = p 0 < p 1 < p 2 < … < p m − 1 < p m = 1 .
Figure 1 is a pictorial illustration of the main and off-step grid points in the integration domain.
Figure 1. Illustration of the non-overlapping off-step points in the [ t n , t n + 1 ] block.
The intra-step points considered in this study are rational approximations of the optimal intra-step points obtained by minimising the local truncation error in Motsa [13]. As discussed by Motsa et al. [34], starting from m = 2 , the initial five sets of intra-step points are given by
m = 2 , 0 , 1 2 , 1 , m = 3 , 0 , 1 10 ( 5 − 5 ) , 1 10 ( 5 + 5 ) , 1 , m = 4 , 0 , 1 14 ( 7 − 21 ) , 1 2 , 1 14 ( 7 + 21 ) , 1 , m = 5 , 0 , 1 2 1 − 1 21 ( 2 7 + 7 ) , 1 2 1 − 1 21 ( 7 − 2 7 ) , 1 2 1 21 ( 7 − 2 7 ) + 1 , 1 2 1 21 ( 2 7 + 7 ) + 1 , 1 , m = 6 , 0 , 1 2 1 − 1 33 ( 2 15 + 15 ) , 1 2 1 − 1 33 ( 15 − 2 15 ) , 1 2 , 1 2 1 33 ( 15 − 2 15 ) + 1 , 1 2 1 33 ( 2 15 + 15 ) + 1 , 1 .
Consider the IVP given in Equation (38). To obtain the approximation of the solution u subject to the given initial condition, we need to discretise this equation. To do this, the approximation of u t is performed using the Lagrange interpolation. Specifically, the interpolation of the derivative u t is approximated over a block of m + 1 nodes t 0 , t 1 , … , t m in terms of Lagrange basis polynomials. That is,
u t = ∑ j = 0 m u t ( t j ) l j ( s ) = ∑ j = 0 m G [ t j , u j ] l j ( s ) ,
where u j = u ( t j ) , and  l j ( s ) is the j-th Lagrange basis polynomial defined by
l j ( s ) = ∏ i = 0 , i ≠ j m s − p i p j − p i ,
with p j being normalised collocation points in [ 0 , 1 ] such that t n + p j = t n + h p j . Collocating the differential equation at the points t = t n + h p i , for  i = 1 , 2 , … , m , yields
u t ( t n + h s ) = ∑ j = 0 m G [ t n + p j , u n + p j ] l j ( s ) , 0 ≤ s ≤ 1 .
Integrating both side of Equation (44) with respect to s from 0 to p i , we obtain
1 h ( u n + p i − u n ) = ∑ j = 0 m G [ t n + p j , u n + p j ] ∫ 0 p i l j ( s ) d s .
Defining A i , j = ∫ 0 p i l j ( s ) d s , the discrete form in Equation (45) becomes
u n + p i = u n + h ∑ j = 0 m A i , j G n + p j , i = 1 , 2 , … , m .
Here, u n = u ( t n ) is the known solution at the beginning of the block, u n + p i = u ( t n + h p i ) is the approximate solution at the i-th intra-step node in the n-th block, G n + p j = G [ t n + p j , u n + p j ] is the evaluation of the function G [ t , u ] at the j-th node in the n-th block, and  A i , j are quadrature coefficients derived from the integrals of the Lagrange basis polynomials. For  i = 1 , 2 , … , m , the general formula of Equation (46) expands into a system of algebraic equations:   
u n + p 1 = u n + h A 1 , 0 G n + A 1 , 1 G n + p 1 + A 1 , 2 G n + p 2 + ⋯ + A 1 , m G n + p m , u n + p 2 = u n + h A 2 , 0 G n + A 2 , 1 G n + p 1 + A 2 , 2 G n + p 2 + ⋯ + A 2 , m G n + p m , ⋮ u n + p m = u n + h A m , 0 G n + A m , 1 G n + p 1 + A m , 2 G n + p 2 + ⋯ + A m , m G n + p m .
This system (47) expresses each intermediate approximation u n + p i in terms of the previous value u n , the derivative at the beginning of the interval G n , and the derivatives at all internal collocation points scaled by the corresponding coefficients. The expanded system can also be written compactly in matrix form as
u n + p 1 u n + p 2 ⋮ u n + p m = 1 1 ⋮ 1 u n + h A 1 , 0 A 2 , 0 ⋮ A m , 0 G n + h A 1 , 1 A 1 , 2 … A 1 , m A 2 , 1 A 2 , 2 … A 2 , m ⋮ ⋮ ⋱ ⋮ A m , 1 A m , 2 … A m , m G n + p 1 G n + p 2 ⋮ G n + p m .
This formulation shows how each internal approximation depends on all the others through the coupling matrix A . For convenience, Equation (48) can also be cast into the matrix form
F 1 U n + 1 = F 0 ⊙ U n + h ( A 0 ⊙ G n + A 1 G n + 1 ) ,
where
F 0 = 1 1 ⋮ 1 , F 1 = 1 0 0 … 0 0 1 0 … 0 ⋮ ⋮ ⋮ ⋱ ⋮ 0 0 0 … 1 , A 0 = A 1 , 0 A 2 , 0 ⋮ A m , 0 , A 1 = A 1 , 1 A 1 , 2 … A 1 , m A 2 , 1 A 2 , 2 … A 2 , m ⋮ ⋮ ⋱ ⋮ A m , 1 A m , 2 … A m , m .
Here,
U n + 1 = [ u n + p 1 , u n + p 2 , … , u n + p m ] T , U n = [ u n , u n , … , u n ] T , G n + 1 = [ G n + p 1 , G n + p 2 , … , G n + p m ] T , G n = [ G n , … , G n , G n ] T ,
and F 0 ⊙ U n denotes the Hadamard (element-wise) product of the vectors F 0 and U n .

3.3. Analysis of the HBM

This section presents the local truncation error, zero stability, and absolute stability properties of the hybrid block scheme.

3.3.1. Local Truncation Error

Theorem 4.
Following Motsa [13], the local truncation error, in the integration block [ t n , t n + 1 ], for the hybrid block method defined as
u n + p i = u n + h ∑ j = 0 m A i , j G n + p j , A i , j = ∫ 0 p i l j ( s ) d s ,
is given by
T i [ u ( t n ) ; h ] = h m + 2 ( m + 2 ) ! p i m + 2 − ( m + 2 ) ∑ j = 0 m A i , j p j m + 1 u ( m + 2 ) ( t n ) + O ( h m + 3 ) ,
for i = 1 , 2 , … , m , when considering the grid points
t n < t n + p 1 < t n + p 2 < ⋯ < t n + p m .
Proof. 
Given that u ( t ) is a sufficiently differentiable function, the block hybrid method can be expressed in terms of the linear operator T i as
T i [ u ( t n ) ; h ] = u ( t n + h p i ) − u ( t n ) − h ∑ j = 0 m A i , j u ′ ( t n + h p j ) , i = 1 , 2 , … , m .
The expressions u ( t n + h p i ) and u ′ ( t n + h p i ) can be expanded using Taylor series around t n , given that u ( t ) is sufficiently differentiable to yield
u ( t n + h p i ) = u ( t n ) + ∑ q = 1 Q p i q q ! h u ( q ) ( t n ) + O ( h Q + 1 ) , u ′ ( t n + h p j ) = ∑ q = 0 Q p j q q ! h u ( q + 1 ) ( t n ) + O ( h Q + 1 ) .
Substituting Equation (55) into the LTE in Equation (54), the LTE becomes
T i [ u ( t n ) ; h ] = u ( t n ) + ∑ q = 1 Q p i q q ! h u ( q ) ( t n ) − u ( t n ) − h ∑ j = 0 m A i , j ∑ q = 0 Q − 1 p j q q ! h q u ( q + 1 ) ( t n ) + O ( h Q + 1 ) .
Equation (56) simplifies to
T i [ u ( t n ) ; h ] = ∑ q = 1 Q p i q q ! h q u ( q ) ( t n ) − ∑ q = 1 Q h q q q ! ∑ j = 0 m A i , j p j q − 1 u ( q ) ( t n ) + O ( h Q + 1 ) = ∑ q = 2 m + 1 h q q ! p i q − q ∑ j = 0 m A i , j p j q − 1 u ( q ) ( t n ) + ∑ q = m + 2 Q h q q ! p i q − q ∑ j = 0 m A i , j p j q − 1 u ( q ) ( t n ) + O ( h Q + 1 ) ,
where Q ≥ m + 2 is a positive integer. Using the identity
∑ j = 0 m l j ( s ) = 1 ,
it is evident that
∑ j = 0 m A i , j = ∑ j = 0 m ∫ 0 p i l j ( s ) d s = p i ,
and
∑ j = 0 m A i , j p j q − 1 = ∑ j = 0 m ∫ 0 p i l j ( s ) d s p j q − 1 = p i q q , for q = 2 , … , m + 1 .
The identity in Equation (60) was reported in Motsa [13]. Substituting the identities into Equation (57), the sum of the first two terms in Equation (57) works out to be zero. Thus, the truncation error for a single step hybrid block method with m + 1 nodes in the interval [ t n , t n + 1 ] is
T i [ u ( t n ) ; h ] = h m + 2 ( m + 2 ) ! p i m + 2 − ( m + 2 ) ∑ j = 0 m A i , j p j m + 1 u ( m + 2 ) ( t n ) + O ( h m + 3 ) .
 □
As noted by Shateyi [35], Theorem 4 implies that, for instance, using three intra-step nodes yields a hybrid block method with minimum order five. This implies that as the m increases, the order of convergence also increases. Thus, this improves the method’s accuracy, as will be shown later in this study.
Corollary 1
(Consistency). Under the hypothesis of Theorem 4, the single-step hybrid block method is consistent since its order of convergence is m + 1 ≥ 2 , with a local truncation error of O ( h m + 2 ) .

3.3.2. Zero Stability

To investigate the zero stability of the hybrid block method, we consider Equation (49) in the limit h → 0 , in which it reduces to
F 1 U n + 1 − F ^ 0 U n = 0 ,
where F ^ 0 = 1 e 1 T is the m × m matrix whose first column consists of ones and whose remaining entries are zero.
Definition 1
(Zero-stability). The method is zero-stable if every root λ j of the first characteristic polynomial ρ ( λ ) = det [ λ F 1 − F ^ 0 ] satisfies | λ j | ≤ 1 , and every root with | λ j | = 1 is simple [36,37,38].
Since F 1 = I m and F ^ 0 has rank one, with eigenvalues 1 (simple) and 0 (multiplicity m − 1 ), then
ρ ( λ ) = det [ λ I m − F ^ 0 ] = λ m − 1 ( λ − 1 ) .
Its roots are λ = 0 , of multiplicity m − 1 , which lies strictly inside the unit disc, and the simple root λ = 1 . The root condition is, therefore, satisfied and, because  ρ does not depend on the intra-step points p 1 , … , p m , every scheme in the family is zero-stable.

3.3.3. Absolute Stability

The region of absolute stability (RAS) of the hybrid block method is considered in this section. A numerical technique is considered stable when errors from one time step do not accumulate in subsequent steps. The RAS is determined by applying the method to the test equation
u t = φ u , φ ∈ C , Re φ < 0 ,
whose exact solution u ( t ) = u ( 0 ) e φ t decays in modulus. Setting z = φ h , the method applied to Equation (62) advances the solution by u n + 1 = H ( z ) u n , where H ( z ) is the amplification factor (stability function) of the method, and the RAS is the set
S = { z ∈ C : | H ( z ) | ≤ 1 } ,
with boundary | H ( z ) | = 1 . Following Dahlquist [36], the method is said to be A-stable if S contains the whole left half-plane { z : Re z ≤ 0 } , and L-stable if it is A-stable and, in addition, lim z → − ∞ H ( z ) = 0 . To obtain H ( z ) , the test equation is applied to the matrix Equation (49) with G [ t , u ] = φ u , so that G n = φ U n and G n + 1 = φ U n + 1 . Since U n = [ u n , u n , … , u n ] T , we have F 0 ⊙ U n = F 0 u n and A 0 ⊙ U n = A 0 u n , and Equation (49) becomes
( F 1 − z A 1 ) U n + 1 = ( F 0 + z A 0 ) u n , that is , U n + 1 = V ( z ) u n , V ( z ) = ( F 1 − z A 1 ) − 1 ( F 0 + z A 0 ) .
The vector V ( z ) contains the amplification factors of the m intra-step values. Since p m = 1 , the solution propagated to the next block is the last component of U n + 1 , namely u n + 1 = u n + p m = e m T U n + 1 , where e m = [ 0 , … , 0 , 1 ] T . Hence,   
u n + 1 = H ( z ) u n , H ( z ) = e m T ( F 1 − z A 1 ) − 1 ( F 0 + z A 0 ) .
Equivalently, in terms of the block computed in the previous step, U ^ n = [ u n − 1 + p 1 , … , u n − 1 + p m ] T , whose last entry is u n , Equation (64) can be written as U n + 1 = Y ( z ) U ^ n with
Y ( z ) = V ( z ) e m T = ( F 1 − z A 1 ) − 1 F ^ 0 + z A ^ 0 , F ^ 0 = F 0 e m T , A ^ 0 = A 0 e m T ,
where F ^ 0 is the matrix of Section 3.3.4 and A ^ 0 is the m × m matrix whose last column is the vector A 0 of Equation (49) and whose remaining entries are zero. The matrix Y ( z ) has rank one, so its eigenvalues are H ( z ) and 0 (of multiplicity m − 1 ); the amplification factor of the method is, therefore, the single nonzero eigenvalue of the amplification matrix Y ( z ) . By Cramer’s rule, H ( z ) is a rational function
H ( z ) = P ( z ) Q ( z ) , Q ( z ) = det ( F 1 − z A 1 ) ,
where P and Q are polynomials of degree m and Q ( 0 ) = 1 . For  m = 2 , with intra-step points { 0 , 1 2 , 1 } , the coefficients in Equation (46) are A 1 , 0 = 5 24 , A 1 , 1 = 1 3 , A 1 , 2 = − 1 24 , A 2 , 0 = 1 6 , A 2 , 1 = 2 3 , A 2 , 2 = 1 6 , so that
F 1 − z A 1 = 1 − z 3 z 24 − 2 z 3 1 − z 6 , Q ( z ) = det ( F 1 − z A 1 ) = 1 − z 2 + z 2 12 ,
and Equation (65) gives H ( z ) = 1 + z 2 + z 2 12 / 1 − z 2 + z 2 12 . Proceeding in the same way for the intra-step points in Section 3.2, the amplification factors for m = 2 , 3 , 4 are
m = 2 : H ( z ) = 12 + 6 z + z 2 12 − 6 z + z 2 , m = 3 : H ( z ) = 120 + 60 z + 12 z 2 + z 3 120 − 60 z + 12 z 2 − z 3 , m = 4 : H ( z ) = 1680 + 840 z + 180 z 2 + 20 z 3 + z 4 1680 − 840 z + 180 z 2 − 20 z 3 + z 4 .
In each case Q ( z ) = P ( − z ) and H ( z ) is the ( m , m ) diagonal Padé approximant of e z ,
P ( z ) = ∑ k = 0 m ( 2 m − k ) ! m ! ( 2 m ) ! k ! ( m − k ) ! z k , Q ( z ) = P ( − z ) , H ( z ) − e z = O ( z 2 m + 1 ) .
Theorem 5
(Absolute stability). For every m ≥ 1 , the hybrid block method with Gauss–Lobatto intra-step points is A-stable. Its region of absolute stability is exactly the closed left half-plane, S = { z ∈ C : Re z ≤ 0 } , and its boundary is the imaginary axis, on which | H ( i y ) | = 1 for all real y. The method is not L-stable, since lim z → − ∞ H ( z ) = ( − 1 ) m .
Proof. 
By Equation (69), H ( z ) is the ( m , m ) diagonal Padé approximant of e z , which is A-stable. The statement can also be verified directly. Since Q ( z ) = P ( − z ) , for  z = 0 + i y with y real, we have Q ( i y ) = P ( − i y ) = P ( i y ) ¯ . Hence, | H ( i y ) | = | P ( i y ) | | P ( i y ) ¯ | = 1 , the boundary of S is the imaginary axis. The zeros of Q, which are the poles of H , are
m = 2 : 3 ± 3 i ; m = 3 : 4.6444 , 3.6778 ± 3.5088 i ; m = 4 : 4.2076 ± 5.3148 i , 5.7924 ± 1.7345 i ,
and in general all zeros of Q lie in Re z > 0 . Hence, H is holomorphic in Re z ≤ 0 , tends to the finite limit ( − 1 ) m as | z | → ∞ , and has modulus one on the imaginary axis; by the maximum modulus principle | H ( z ) | < 1 for Re z < 0 . Conversely, H ( z ) H ( − z ) = 1 gives | H ( z ) | > 1 for Re z > 0 , so S is exactly the closed left half-plane. Finally, lim z → − ∞ H ( z ) = lim z → − ∞ P ( z ) / P ( − z ) = ( − 1 ) m ≠ 0 , so the method is not L-stable. □
Figure 2 displays the regions of absolute stability for m = 2 , 3 , 4 , together with the boundary | H ( z ) | = 1 , the level curves | H ( z ) | = 0.5 , 0.2 , 0.05 and the poles of H . In all three cases, the shaded region is the entire left half-plane, as stated in Theorem 5; the level curves show that the damping of a mode increases with m for fixed z, and the poles move further away from the origin as m increases.
Figure 2. Regions of absolute stability (shaded) of the hybrid block method for m = 2 , 3 , 4 . The boundary | H ( z ) | = 1 is the imaginary axis; the coloured curves are the level sets | H ( z ) | = 0.5 , 0.2 , 0.05 and the circles are the poles of H ( z ) , all of which lie in the right half-plane.

3.3.4. Quasilinearisation Method

The quasilinearisation method (QLM) is a generalisation of the Newton or Newton–Raphson method, a root-finding method in linear algebra, initially introduced by Bellman and Kalaba [39]. In a similar manner to the Newton–Raphson method, the QLM is derived from a linear truncation of the Taylor series about an initial guess of the solution. The idea of QLM is to linearise the nonlinear equation around the previous approximation of the solution u r and its derivatives u r ′ , u r ″ and then solve the resulting linear equation using a suitable method. Linearisation of the nonlinear function N ( u , u ′ , u ″ , … ) using QLM results in
N [ u , u ′ , u ″ , … ] ≈ N [ u r , u r ′ , u r ″ , … ] + ∂ N ∂ u r ( u r + 1 − u r ) + ∂ N ∂ u r ′ ( u r + 1 ′ − u r ′ ) + ∂ N ∂ u r ″ ( u r + 1 ″ − u r ″ ) + ⋯ ,
where u r and u r + 1 are solutions at two successive iterations. Therefore, Equation (70) becomes
N [ u , u ′ , u ″ , … ] ≈ N [ u r , u r ′ , u r ″ , … ] − ∑ v ∈ N 0 ∂ N ∂ u r ( v ) u r ( v ) + ∑ v ∈ N 0 ∂ N ∂ u r ( v ) u r + 1 ( v ) .
In Equation (71), the indices 0 , 1 , 2 , … , respectively, represent the derivatives of u , u ′ , u ″ , … with respect to the spatial variable. As a result, Equation (1) can be written as
∂ u r + 1 ∂ t = L [ u r + 1 , u r + 1 ′ , u r + 1 ″ , … ] + N [ u r , u r ′ , u r ″ , … ] − ∑ v ∈ N 0 ∂ N ∂ u r ( v ) u r ( v ) + ∑ v ∈ N 0 ∂ N ∂ u r ( v ) u r + 1 ( v ) , t > 0 ,
which is now linear in u r + 1 . The QLM assumes that the difference between two concurrent approximations and their derivatives are small, that is, | u r + 1 − u r | < ϵ 0 , | u r + 1 ′ − u r ′ | < ϵ 1 , | u r + 1 ″ − u r ″ | < ϵ 2 , … for ϵ 0 , ϵ 1 , ϵ 2 , … > 0 . Once the nonlinear equation has been linearised, the next step is to choose an appropriate initial guess for the approximation.

3.4. Numerical Discretisation of the Allen–Cahn Equation

This section details the numerical discretisation of the Allen–Cahn equation using the hybrid block method for temporal discretisation combined with the pseudospectral method for spatial discretisation. The discretisation begins with the 2D AC equation given as follows
∂ u ∂ t − γ ∂ 2 u ∂ x 2 + ∂ 2 u ∂ y 2 + ε ( u 3 − u ) = 0 .
Due to the nonlinearity in Equation (73), specifically in the source term f ( u ) = u 3 − u , the nonlinear term is linearised using the QLM, which involves making use of a first-order Taylor series expansion about an approximation u r . Then, the linearisation is as follows
f ( u r + 1 ) ≈ ( u r 3 − u r ) + ( 3 u r 2 − 1 ) ( u r + 1 − u r ) = − 2 u r 3 + 3 u r 2 u r + 1 − u r + 1 = ( 3 u r 2 − 1 ) u r + 1 − 2 u r 3 .
Using the hybrid block method proposed in Section 3.2, Equation (73) can be written in the form
u n + p i = u n + h ∑ j = 0 m A i , j G n + p j , i = 1 , 2 , … , m ,
where G = γ ∂ 2 u ∂ x 2 + ∂ 2 u ∂ y 2 − ε ( u 3 − u ) . Substituting this into Equation (75) results in
u n + p i = u n + h ∑ j = 0 m A i , j γ ∂ 2 u ∂ x 2 + ∂ 2 u ∂ y 2 − ε ( u 3 − u ) n + p j .
Replacing the Laplacian operator ∂ 2 u ∂ x 2 + ∂ 2 u ∂ y 2 with the Kronecker product [ ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) ] U and the nonlinear source term with its linearised form in Equation (74) yields
U r + 1 n + p i = U r + 1 n + h ∑ j = 0 m A i , j γ [ ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) ] U r + 1 n + p j − ε ( 3 ( U r n + p j ) 2 − 1 ) U r + 1 n + p j − 2 ( U r n + p j ) 3 ,
which simplifies to
U r + 1 n + p i − h ∑ j = 1 m A i , j γ [ ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) ] − diag ε ( 3 ( U r n + p j ) 2 − 1 ) U r + 1 n + p j = U r + 1 n + h A i , 0 γ [ ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) ] − ε ( 3 ( U r n ) 2 − 1 ) U r + 1 n + 2 h ε ∑ j = 0 m A i , j ( U r n + p j ) 3 ,
where “diag” denotes a diagonalised matrix of the same size as I x , I y , D x , and  D y .
Remark 1.
For the one-dimensional case, the discrete form of the Allen–Cahn equation is given as:
U r + 1 n + p i − h ∑ j = 1 m A i , j γ D x 2 − diag ε ( 3 ( U r n + p j ) 2 − 1 ) U r + 1 n + p j = U r + 1 n + h A i , 0 γ D x 2 − ε ( 3 ( U r n ) 2 − 1 ) U r + 1 n + 2 h ε ∑ j = 0 m A i , j ( U r n + p j ) 3 .
Algorithm 1 outlines the step-by-step implementation of the HB–PSM for solving the 2D Allen–Cahn equation. It details the sequence of grid discretisation, spatial differentiation using the pseudospectral method, temporal integration using the hybrid block method, and linearisation using Newton-type quasilinearisation. The algorithm can be adapted and reduced to solve the 1D Allen–Cahn equation with minimal modification. To adapt the algorithm for 1D, we simply remove the y-dimension grid ( N y ) and its corresponding differentiation matrices ( D y , D y 2 ). The discrete spatial Laplacian simply becomes L = D x 2 . So, Kronecker products linking the x and y spatial domains are completely removed. The size of the spatial solution vector at any given time point reduces from ( N x + 1 ) ( N y + 1 ) to N x + 1 . Finally, instead of identifying and overwriting the perimeter of the 2D matrix, boundary conditions are applied strictly to the first and last indices of each of the m temporal points within the time block.
Algorithm 1 Hybrid Block–Pseudospectral Method (HB–PSM) for the 2D Allen–Cahn Equation.
Require: Spatial domain Ω = [ x 0 , x N ] × [ y 0 , y N ] , Final time T, Time step h, Tolerance t o l , Block size m, Parameters γ , ϵ .
Ensure: Solution matrix U at all time steps.
       Phase 1: Spatial and Temporal Initialisation
 1:
Generate N x + 1 and N y + 1 Chebyshev–Gauss–Lobatto nodes for x and y.
 2:
Compute 1D differentiation matrices D x , D x 2 and D y , D y 2 .
 3:
Construct the 2D discrete Laplacian: L = I y ⊗ D x 2 + D y 2 ⊗ I x .
 4:
Generate m Hybrid Block points p = [ p 1 , … , p m ] T using shifted Legendre roots.
 5:
Compute the block integration matrix A ∈ R m × ( m + 1 ) using Lagrange basis integrals. Let A 0 be the first column and A 1 be the remaining m × m matrix.
 6:
Initialize U 0 = u 0 ( x , y ) evaluated on the 2D grid.
Phase 2: Time Stepping
 7:
for  n = 0  to  ⌊ T / h ⌋ − 1  do
 8:
Set initial guess for the block stages: U r = [ U n , … , U n ] T (m times).
Phase 3: Quasilinearisation Method (QLM) Iteration
 9:
repeat
10:
Compute the block Laplacian: L b l o c k = I m ⊗ L .
11:
Evaluate the nonlinear derivative diagonal matrix: J r = diag ( 3 U r 2 − 1 ) .
12:
// Construct Block Linear System
13:
Q = γ L b l o c k − ε J r
14:
LHS = I m × ( N x + 1 ) ( N y + 1 ) − h ( A 1 ⊗ I ) Q
15:
// Construct Right-Hand Side
16:
Term 1 = 1 m ⊗ U n
17:
Term 2 = h ( A 0 ⊗ I ) γ L U n − ε ( 3 ( U n ) 2 − 1 ) U n
18:
Term 3 = 2 h ε ( A 0 ⊗ I ) ( U n ) 3 + ( A 1 ⊗ I ) U r 3
19:
RHS = Term 1 + Term 2 + Term 3
20:
// Enforce Boundary Conditions
21:
Overwrite rows in LHS and RHS corresponding to ∂ Ω with the identity matrix and Dirichlet values, respectively, for all m stages.
22:
// Solve and Update
23:
Solve LHS · U n e w = RHS for the updated stages U n e w .
24:
Compute Error = | | U n e w − U r | | ∞ .
25:
Update U r ← U n e w .
26:
until Error < t o l
27:
Extract the solution at t n + 1 : U n + 1 ← last block stage of U n e w .
28:
Compute and store Ginzburg–Landau free energy for U n + 1 .
29:
end for
30:
return  U

3.5. Numerical Discretisation of the Cahn–Hilliard Equation

In this section, the numerical discretisation of the fourth-order nonlinear PDE, the Cahn–Hilliard equation, is presented. To efficiently discretise this equation, a similar approach as implemented in Section 3.4 is used. The presentation begins with the numerical discretisation of the 2D Cahn–Hilliard equation. The Cahn–Hilliard equation under consideration is
∂ u ∂ t + ε 2 ∂ 4 u ∂ x 4 + 2 ∂ 4 u ∂ x 2 ∂ y 2 + ∂ 4 u ∂ y 4 − ( 3 u 2 − 1 ) ∂ 2 u ∂ x 2 + ∂ 2 u ∂ y 2 − 6 u ∂ u ∂ x 2 + ∂ u ∂ y 2 = 0 .
To linearise the nonlinear source term f ( u ) = ( 3 u 2 − 1 ) ∇ 2 u + 6 u ( ∇ u ) 2 in Equation (80), the QLM, which utilises the first-order Taylor series expansion around a known previous iteration u r , is employed. The nonlinear source term is linearised as follows
f ( u r + 1 ) ≈ ( 3 u r 2 − 1 ) ( u x x , r + u y y , r ) + 6 u r [ ( u x , r ) 2 + ( u y , r ) 2 ] + [ 6 u r ( u x x , r + u y y , r ) + 6 ( ( u x , r ) 2 + ( u y , r ) 2 ) ] ( u r + 1 − u r ) + 12 u r u x , r ( u x , r + 1 − u x , r ) + 12 u r u y , r ( u y , r + 1 − u y , r ) + ( 3 u r 2 − 1 ) ( u x x , r + 1 − u x x , r ) + ( 3 u r 2 − 1 ) ( u y y , r + 1 − u y y , r ) = ( 3 u r 2 − 1 ) ( u x x , r + 1 + u y y , r + 1 ) + ( 12 u r u x , r ) u x , r + 1 + ( 12 u r u y , r ) u y , r + 1 + [ 6 u r ( u x x , r + u y y , r ) + 6 ( ( u x , r ) 2 + ( u y , r ) 2 ) ] u r + 1 − [ 6 u r 2 ( u x x , r + u y y , r ) + 12 u r ( ( u x , r ) 2 + ( u y , r ) 2 ) ] .
Upon using the hybrid block method, Equation (80) takes the form
u n + p i = u n + h ∑ j = 0 m A i , j G n + p j , i = 1 , 2 , … , m .
Here, G = ( 3 u 2 − 1 ) ∇ u 2 + 6 u ( ∇ u ) 2 − ε 2 ∇ 4 u . Substituting this into Equation (82) gives
u n + p i = u n − h ∑ j = 0 m A i , j ε 2 ∂ 4 u ∂ x 4 + 2 ∂ 4 u ∂ x 2 ∂ y 2 + ∂ 4 u ∂ y 4 − ( 3 u 2 − 1 ) ∂ 2 u ∂ x 2 + ∂ 2 u ∂ y 2 − 6 u ∂ u ∂ x 2 + ∂ u ∂ y 2 n + p j .
The discrete form after replacing the biLaplacian operator ∂ 4 u ∂ x 4 + 2 ∂ 4 u ∂ x 2 ∂ y 2 + ∂ 4 u ∂ y 4 with the Kronecker product ( I y ⊗ D x 4 ) + 2 ( D y 2 ⊗ D x 2 ) + ( D y 4 ⊗ I x ) U and f ( u ) with the linearised form in Equation (81) gives
U r + 1 n + p i = U r + 1 n − h ∑ j = 0 m A i , j [ ε 2 ( I y ⊗ D x 4 ) + 2 ( D y 2 ⊗ D x 2 ) + ( D y 4 ⊗ I x ) U r + 1 n + p j − 3 ( U r n + p j ) 2 − 1 ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) U r + 1 n + p j − 12 U r n + p j ( I y ⊗ D x ) U r n + p j ( I y ⊗ D x ) U r + 1 n + p j − 12 U r n + p j ( D y ⊗ I x ) U r n + p j ( D y ⊗ I x ) U r + 1 n + p j − ( 6 U r n + p j ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) U r n + p j + 6 ( I y ⊗ D x ) U r n + p j 2 + ( D y ⊗ I x ) U r n + p j 2 ) U r + 1 n + p j + ( 6 ( U r n + p j ) 2 ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) U r n + p j + 12 U r n + p j ( I y ⊗ D x ) U r n + p j 2 + ( D y ⊗ I x ) U r n + p j 2 ) ] .
Taking the implicit linear terms to the left-hand side and keeping the explicit terms on the right-hand side, Equation (84) becomes   
U r + 1 n + p i + h ∑ j = 1 m A i , j [ ( ε 2 ( I y ⊗ D x 4 ) + 2 ( D y 2 ⊗ D x 2 ) + ( D y 4 ⊗ I x ) − diag 3 ( U r n + p j ) 2 − 1 ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) − diag 12 U r n + p j ( I y ⊗ D x ) U r n + p j ( I y ⊗ D x ) − diag 12 U r n + p j ( D y ⊗ I x ) U r n + p j ( D y ⊗ I x ) − diag [ 6 U r n + p j ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) U r n + p j + 6 ( I y ⊗ D x ) U r n + p j 2 + ( D y ⊗ I x ) U r n + p j 2 U r + 1 n + p j ] = U r + 1 n − h A i , 0 [ ( ε 2 ( I y ⊗ D x 4 ) + 2 ( D y 2 ⊗ D x 2 ) + ( D y 4 ⊗ I x ) − 3 ( U r n ) 2 − 1 ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) − 12 U r n ( I y ⊗ D x ) U r n ( I y ⊗ D x ) − 12 U r n ( D y ⊗ I x ) U r n ( D y ⊗ I x ) − [ 6 U r n ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) U r n + 6 ( I y ⊗ D x ) U r n 2 + ( D y ⊗ I x ) U r n 2 ] ) U r + 1 n ] − h ∑ j = 0 m A i , j [ 6 ( U r n + p j ) 2 ( I y ⊗ D x 2 ) + ( D y 2 ⊗ I x ) U r n + p j + 12 U r n + p j ( I y ⊗ D x ) U r n + p j 2 + ( D y ⊗ I x ) U r n + p j 2 ] , i = 1 , … , m .
Remark 2.
For the 1D case, the discrete form of the Cahn–Hilliard equation is given as
U r + 1 n + p i + h ∑ j = 1 m A i , j [ ε 2 D x 4 − diag 3 ( U r n + p j ) 2 − 1 D x 2 − diag 12 U r n + p j ( D x U r n + p j ) D x − diag 6 U r n + p j ( D x 2 U r n + p j ) + 6 ( D x U r n + p j ) 2 ] U r + 1 n + p j = U r + 1 n − h A i , 0 ε 2 D x 4 − 3 ( U r n ) 2 − 1 D x 2 − 12 U r n ( D x U r n ) D x − 6 U r n ( D x 2 U r n ) + 6 ( D x U r n ) 2 U r + 1 n − h ∑ j = 0 m A i , j 6 ( U r n + p j ) 2 D x 2 U r n + p j + 12 U r n + p j ( D x U r n + p j ) 2 .
Algorithm 2 outlines the step-by-step implementation of the HB–PSM for the 2D Cahn–Hilliard equation. It shows the sequence of spatiotemporal discretisation, spatial differentiation using the pseudospectral method, temporal integration using the hybrid block method, and quasilinearisation. The algorithm can be modified to apply to the 1D Cahn–Hilliard equation. To do this, we remove the y-dimensional grid ( N y ), its associated spatial differentiation matrices, and Clenshaw-Curtis weights. In that case, the discrete operators simplify. The gradient reduces to the 1D Chebyshev differentiation matrix ∇ h = D x , the Laplacian reduces to L = D x 2 , and the bi-Laplacian simplifies to B = D x 4 . All Kronecker products used to expand the 1D operators into 2D space are removed. In 2D, boundary conditions are enforced along the perimeter of the discretised domain grid. In 1D, the boundary ∂ Ω is imposed at the endpoints of the x-domain for m temporal points of each time block. Additionally, because the spatial degrees of freedom drop from O ( N x N y ) to O ( N x ) , the resulting block linear system in Phase 3 is substantially smaller and sparser, which results in reduced memory usage and faster inversion times for the QLM iteration.
Algorithm 2 Hybrid Block–Pseudospectral Method (HB–PSM) for the 2D Cahn–Hilliard Equation.
Require: Spatial domain Ω = [ x 0 , x N ] × [ y 0 , y N ] , Final time T, Time step h, QLM tolerance t o l , Block size m, Interface parameter ε .
Ensure: Solution matrix U conserving mass across all time steps.
       Phase 1: Spatial and Temporal Initialisation
 1:
Generate N x + 1 and N y + 1 Chebyshev–Gauss–Lobatto nodes for x and y.
 2:
Compute 1D differentiation matrices ( D x , D x 2 , D x 3 , D x 4 ) and similarly for y.
 3:
Construct 2D discrete spatial operators using Kronecker products:
Gradient: ∇ h = ( I y ⊗ D x , D y ⊗ I x )
Laplacian: L = I y ⊗ D x 2 + D y 2 ⊗ I x
Bi-Laplacian: B = I y ⊗ D x 4 + 2 ( D y 2 ⊗ D x 2 ) + D y 4 ⊗ I x
 4:
Compute the 2D Clenshaw-Curtis integration weight vector W 2 D for mass calculation.
 5:
Generate m Hybrid Block points p = [ p 1 , … , p m ] T using shifted Legendre roots.
 6:
Compute the block integration matrix A ∈ R m × ( m + 1 ) . Let A 0 be the first column and A 1 be the remaining m × m matrix.
 7:
Initialize U 0 = u 0 ( x , y ) evaluated on the 2D grid.
Phase 2: Time Stepping
 8:
for  n = 0  to  ⌊ T / h ⌋ − 1  do
 9:
Set initial guess for the block stages: U r = [ U n , … , U n ] T (m times).
Phase 3: Quasilinearisation Method (QLM) Iteration
10:
repeat
11:
// Construct Block Operators
12:
L b l o c k = I m ⊗ L    and     B b l o c k = I m ⊗ B
13:
∇ b l o c k = I m ⊗ ∇ h
14:
// Evaluate the Fréchet Derivative (Jacobian) of the nonlinear term F ( U r )
15:
J r = diag ( 3 U r 2 − 1 ) L b l o c k + diag ( 12 U r ∇ b l o c k U r ) · ∇ b l o c k + diag ( 6 U r L b l o c k U r + 6 | ∇ b l o c k U r | 2 )
16:
// Construct Block Linear System ( LHS · U n e w = RHS )
17:
Q r = ε 2 B b l o c k − J r
18:
LHS = I + h ( A 1 ⊗ I ) Q r
19:
// Construct Right-Hand Side using previous step U n and Newton expansion
20:
Term 1 = 1 m ⊗ U n
21:
Term 2 = h ( A 0 ⊗ I ) ε 2 B U n − F ( U n )
22:
Term 3 = h ( A 1 ⊗ I ) J r U r − F ( U r )
23:
RHS = Term 1 − Term 2 + Term 3
24:
// Enforce General Boundary Conditions
25:
For all m stages, identify rows in LHS corresponding to the boundary ∂ Ω . Replace these rows with the discrete boundary derivative operators. Replace the corresponding rows in RHS with the prescribed boundary values.
26:
// Solve and Update
27:
Solve the linear system LHS · U n e w = RHS .
28:
Compute Error = | | U n e w − U r | | ∞ .
29:
Update U r ← U n e w .
30:
until Error < t o l
31:
Extract the unprojected solution at t n + 1 : U ˜ n + 1 ← last block stage of U n e w .
Phase 4: Mass Conservation Projection
32:
Calculate current mass offset: Δ M = ∑ ( U ˜ n + 1 ⊙ W 2 D ) − Mass ( U 0 )
33:
Project solution to preserve mass: U n + 1 = U ˜ n + 1 − Δ M ∑ W 2 D
34:
end for
35:
return  U

4. Numerical Experimentation and Discussion

This section presents two numerical examples of the 1D Allen–Cahn and Cahn–Hilliard equations with exact solutions. In addition, four numerical examples of the 2D Allen–Cahn and Cahn–Hilliard equations are considered, one of each model having an exact solution. The examples with exact solutions are used to benchmark the proposed numerical scheme, enabling direct comparison with the exact solution. The comparison is performed by evaluating the L 2 and L ∞ norm errors, which are expressed as
L 2 e r r o r = | | u n u m e r i c a l − u e x a c t | | 2 = 1 N ∑ i ∈ I ( u i n u m e r i c a l − u i e x a c t ) 2 ,
where i = ( i 1 , i 2 , … , i d ) indexed the grid points in each dimension, I = { 0 , … , N 1 } × { 0 , … , N 2 } × … × { 0 , … , N d } is the set of all multi-indices in the d-dimensional grid, N = ∏ k = 1 d ( N k + 1 ) is the total number of the grid points, assuming N k + 1 points in dimension k, u i n u m e r i c a l and u i e x a c t are the numerical and exact solutions at the grid point i .
L ∞ e r r o r = | | u n u m e r i c a l − u e x a c t | | ∞ = max i ∈ I | u i n u m e r i c a l − u i e x a c t | .
We also consider the rate of convergence (ROC), which is computed at two grid resolutions, one fine grid and another coarser with roughly half the points in each dimension or calculated from the errors when halving the step size, the convergence rate can be estimated by
ROC = log 2 w 1 w 2 ,
where w 1 = | | u n u m e r i c a l − u e x a c t | | ∞ or w 1 = | | u n u m e r i c a l − u e x a c t | | 2 computed on the coarser grid, and w 2 = | | u n u m e r i c a l − u e x a c t | | ∞ or w 2 = | | u n u m e r i c a l − u e x a c t | | 2 computed on the finer grid, and the CPU time (in seconds) which quantifies the time the computer takes to execute the algorithm. Finally, for phase formation problems lacking exact solutions, the residual is used to assess the accuracy of the method, which is given as, for the differential equation
L ( u ) = f ,
the residual associated with a numerical solution u ˜ is defined by
R ( u ˜ ) = L ( u ˜ ) − f ,
where L is the differential operator and f is the source term. The residual measures how well u ˜ satisfies the governing equation. An exact solution yields R ( u ˜ ) = 0 , while an accurate numerical approximation is characterised by a residual whose magnitude approaches zero as the discretisation is refined.
Remark 3.
All computations are performed using Python 3 software on the Google Colab environment. In addition, the quasilinearisation procedure is terminated when the difference between two successive iterates satisfies ∥ u r + 1 − u r ∥ ∞ < 10 − 12 for the Allen–Cahn equation and ∥ u r + 1 − u r ∥ ∞ < 10 − 10 for the Cahn–Hilliard equation, where a maximum of 50 iterations is permitted.
Example 1.
Consider the following 1D Allen–Cahn equation
∂ u ∂ t − γ ∂ 2 u ∂ x 2 + ε ( u 3 − u ) = 0 , x ∈ Ω , u ( x , 0 ) = 1 2 1 − tanh x 2 2 ε , x ∈ Ω , u ( ± 2 , t ) = 1 2 1 − tanh ± 2 − s t 2 2 ε , x ∈ ∂ Ω .
The computational domain is Ω = [ − 2 , 2 ] , γ = ε = 1 and the exact solution is u ( x , t ) = 1 2 1 − tanh x − s t 2 2 ε , where s = 3 / ( 2 ε ) [6].
Figure 3 shows a comparison of the approximate and exact solutions at two different time levels: t = 0 and t = 1 , with a spatial resolution of N = 64 . In Figure 3a, when t = 0 , the solutions match, which means that the initial condition is well represented. As time progresses to t = 1 as in Figure 3b, the approximate and exact solutions remain very close to each other. This demonstrates that the hybrid block time-stepping scheme effectively controls potential instabilities, and the pseudospectral spatial discretisation maintains high accuracy throughout the simulation. The two sets of results consistently agree across all temporal points, indicating that the selected numerical scheme successfully captures the dynamics of the AC equation.
Figure 3. Comparison of the numerical and exact solutions at (a) t = 0 and (b) t = 1 for N = 64 and h = 1.0 × 10 − 2 for Example 1.
Table 1 displays the performance analysis of the HB–PSM to solve the Allen–Cahn equation, with varying h and m, and fixed N throughout the experiment. The results indicate a trend toward decreasing L 2 and L ∞ error norms as the time step size h decreases and the number of intra-steps m increases. For example, with time step sizes ranging from h = 0.1 to h = 6.25 × 10 − 3 , the L 2 and L ∞ error norms when m = 2 decreases approximately from 10 − 8 to 10 − 13 and 10 − 7 to 10 − 12 , respectively. Additionally, for m = 3 , both L 2 and L ∞ error norms are very small ranging between 10 − 10 and 10 − 14 , and for m = 4 , the error ranges from 10 − 12 to 10 − 15 , indicating high accuracy of the proposed method. This is supported by the rates of convergence that are approximately fourth order for m = 2 , fifth order for m = 3 , and nearly sixth order for m = 4 , corroborating the results of Theorem 4. These findings demonstrate that increasing the number of off-steps significantly improves temporal accuracy. Furthermore, the QLM maximum iterations indicate that the AC equation requires up to 4 QLM iterations for coarse time steps to reach the 10 − 12 tolerance, whereas the finer step size requires only 3 QLM iterations. Therefore, reducing the time step makes the QLM converge slightly faster.
Table 1. The L 2 and L ∞ error norms, rate of convergence, QLM maximum iterations, and CPU time for Example 1 with N = 64 , evaluated for different time step sizes h and intra-steps m.
The results in Table 2 show the L 2 and L ∞ error norms, the convergence rate, and the CPU time with h = 1.0 × 10 − 2 , for varying numbers of collocation points N and intra-step points m. For m = 2 , and as N increases from 4 to 16, both L 2 and L ∞ error norms steeply decreases from approximately 10 − 4 to 10 − 12 , while for values of m = 3 , 4 ; the error norms drops from 10 − 4 to 10 − 15 . This is supported by the convergence rate, which is approximately 9 to 15 for m = 2 and 9 to 19 for m = 3 , 4 , which aligns with the spectral convergence expected from the pseudospectral method for spatial discretisation. For small values of N, it is evident that the error norms are nearly identical for m = 2 , 3 , 4 , indicating that the number of off-step points for a small number of collocation points has little influence on the accuracy. As N increases from 16 to 32 and 64, the error norms do not decrease further; rather, a slight increase in the error is observed. This behaviour is a well-documented numerical artefact of spectral collocation methods. The condition number of the second-order Chebyshev differentiation matrix scales as O ( N 4 ) . At larger values of N, the algebraic system becomes highly ill-conditioned. This, coupled with the fact that standard double-precision floating-point round-off errors are amplified during inversion of the matrix block system, leads to the spatial discretisation error dominating the numerical error. As such, N ≈ 32 is the optimal spatial resolution for this example, as it maximises spectral accuracy before the system becomes too ill-conditioned and numerical error begins to increase. Despite this ill-conditioning at high N, the QLM converges reliably in three iterations for every tested value of N and m. On the other hand, as both N and m increase, CPU time increases as well, but the computational cost remains relatively low due to the problem’s 1D nature.
Table 2. The L 2 and L ∞ error norms, rate of convergence, QLM maximum iterations, and CPU time for Example 1 with h = 1.0 × 10 − 2 , for varying number of collocation points N and intra-steps points m.
Figure 4 presents the Ginzburg–Landau free energy, which decreases monotonically in time along solution trajectories. The results show that the HB–PSM preserves the energy-dissipation property of the AC equation, confirming the findings of Theorem 1.
Figure 4. The temporal evolution of the free energy by the HB–PSM for the Allen–Cahn equation with travelling wave solution.
Example 2.
Consider the following 1D CH equation:
∂ u ∂ t + ε 2 ∂ 4 u ∂ x 4 − ∂ 2 ∂ x 2 ( u 3 − u ) = g ( x , t ) , x ∈ Ω , u ( x , 0 ) = sin 2 π x 3 , x ∈ Ω , ∂ j u ( − 3 , t ) ∂ x j = ∂ j u ( 3 , t ) ∂ x j , j = 0 , 1 , 2 , 3 ; x ∈ ∂ Ω .
The physical domain is Ω = [ − 3 , 3 ] , ε = 0.3 , source term g ( x , t ) is constructed by substituting the exact solution into the governing equation, and the exact solution is u ( x , t ) = sin 2 π x 3 cos ( 2 π t ) .
Figure 5 presents a comparison between the approximate numerical solutions and the exact solutions at two distinct time levels t = { 0 , 1 } , using N = 64 spatial points and h = 1.0 × 10 − 2 time step size. The numerical solution closely matches the exact solution at all times, demonstrating the high accuracy of the proposed method. The consistent alignment across different time levels indicates that the numerical scheme does not introduce significant numerical errors or instabilities in the solution’s evolution.
Figure 5. Comparison of numerical and exact analytical solutions of the 1D Cahn–Hilliard equation in Example 2 at (a) t = 0 and (b) t = 1 for N = 64 spatial points.
Table 3 shows that the HB–PSM achieves its expected temporal convergence as the time step is refined, with both L 2 and L ∞ error norms reduced. These error reductions produce approximately fourth-, fifth-, and sixth-order convergence rates for m = 2 , 3 , 4 , respectively, before reaching machine precision. It is evident that increasing m also improves the accuracy of the method, with error norms reducing approximately from order 10 − 4 to 10 − 9 for m = 2 to as minimal as 10 − 11 for m = 4 on relatively coarse time step grids. It is observed that the maximum number of QLM iterations decreases as the time step sizes are reduced and the off step points m increase, from 9 to 3 for m = 2 , 8 to 3 for m = 3 , and 6 to 3 for m = 4 as h decreases from 1 / 10 to 1 / 160 , which establishes faster convergence.
Table 3. Convergence rate, L 2 and L ∞ error norms, QLM maximum iterations, and CPU time for Example 2 for some values of step sizes h and m with fixed N = 64 .
Table 4 presents the results of spatial refinement, indicating that the accuracy improves significantly with an increased number of collocation points and m until N = 32 , where both L 2 and the L ∞ errors decrease sharply. The convergence rates between N = 16 and N = 32 are very high, approximately 18 for m = 2 and up to 28 for m = 4 due to the spectral convergence of the pseudospectral method. As N increases further to 32 and 64, the error norms approach 10 − 11 , after which no further reduction is observed because the spatial discretisation error has fallen below the temporal error and machine precision limits. This accounts for the levelling-off of the error and the absence of reported ROC values at these resolutions. The CPU time generally increases with the number of collocation points N and the off-step m.
Table 4. Evaluated L 2 and L ∞ error norms, convergence rate, QLM maximum iterations, and CPU time for Example 2 with h = 1.0 × 10 − 2 for different values of N and m.
Figure 6 provides numerical validation of the physical properties of the Cahn–Hilliard equation presented in Example 2. The left panel shows the monotonic decay of the total free energy, while the right panel confirms that the total mass is strictly conserved over time. This discrete-level preservation of energy dissipation and mass conservation directly corroborates the theoretical proofs in Theorems 2 and 3. More importantly, it demonstrates that the proposed HB–PSM is a physically consistent and energy-stable solver, capable of preventing non-physical blow-ups during the long-term integration of fourth-order gradient flows.
Figure 6. Numerical validation of the gradient flow properties for the 1D Cahn–Hilliard equation in Example 2. The proposed HB–PSM accurately captures the monotonic dissipation of the Ginzburg–Landau free energy over time (left) while strictly preserving the equation’s total mass (right) to machine precision.
Example 3.
Consider the 2D Allen–Cahn equation
∂ u ∂ t − γ ∂ 2 u ∂ x 2 + ∂ 2 u ∂ y 2 + ε ( u 3 − u ) = f ( x , y , t ) , ( x , y ) ∈ Ω , u ( x , y , 0 ) = tanh ( 1 − x ) tanh ( 1 − y ) e − ( x 2 + y 2 ) , ( x , y ) ∈ Ω , u ( x , y , t ) = g ( x , y , t ) , ( x , y ) ∈ ∂ Ω ,
where g ( x , y , t ) is the prescribed Dirichlet boundary condition on the boundary ∂ Ω . The problem’s domain is Ω = [ 0 , 1 ] 2 , and the parameters are set as γ = ε = 1 . For comparison, the following exact solution u ( x , y , t ) = cos ( t ) tanh ( 1 − x ) tanh ( 1 − y ) e − ( x 2 + y 2 ) is prescribed. This exact solution is substituted into the governing differential equation to derive the corresponding continuous source term f ( x , y , t ) analytically. Likewise, evaluating this exact solution along the boundary of the domain yields the required Dirichlet boundary function g ( x , y , t ) .
This numerical experiment considers the 2D Allen–Cahn equation with a prescribed exact solution. The spatial domain is Ω = [ 0 , 1 ] 2 , discretised with N x = N y = N = 32 grid points in each direction. The simulation is examined at the final time t = 1 , with parameters ε = 1 and time step h = 1.0 × 10 − 2 . Figure 7a displays the numerical approximation, while Figure 7b presents the exact solution. The surface plots in Figure 7 are nearly identical, suggesting that the proposed numerical method accurately captures the solution at this resolution. Both plots exhibit similar shapes and gradients, with high values near the origin gradually decreasing toward the boundaries. These results confirm the effective numerical accuracy of the proposed method for the chosen grid size.
Figure 7. Surface plots of the (a) approximate and (b) exact solutions of the 2D Allen–Cahn equation in Example 3 with N = 32 and h = 1.0 × 10 − 2 .
Table 5 presents the temporal convergence of the HB–PSM for both L 2 and L ∞ error norms which decrease from approximately 10 − 8 to 10 − 13 for m = 2 , 10 − 11 to 10 − 15 for m = 3 , and 10 − 13 to 10 − 15 for m = 4 , as the time step h is halved, yielding a consistent temporal convergence rate of approximately 4.00 for m = 2 and 5 for m = 3 . This order of convergence is consistent with the order of the leading term of the LTE, as proposed in Theorem 4. Additionally, the maximum number of QLM iterations decreases as the time-step size h is reduced, indicating a faster QLM convergence for smaller time step sizes. This suggests that a further minimisation of the time steps and an increase of the off-step points indeed increase the accuracy of the numerical scheme.
Table 5. The L 2 and L ∞ error norms, rate of convergence, QLM maximum iterations, and CPU time for Example 3 with N = 32 for various h and m.
Table 6 presents an analysis of convergence and computational time for different numbers of collocation and off-step points. The findings show that as N increases from N = 4 to N = 16 , both the L 2 and L ∞ error norms drop steeply from order 10 − 4 to near machine precision ( 10 − 11 and 10 − 14 ), with very high convergence rates going beyond 12 and approximately 24 for m = 3 and m = 4 . This is supported by the consistent 3 QLM iterations needed for all tested N and m values for the QLM to converge. Beyond N = 16 , the error levels off, indicating that the spatial discretisation error has been reduced to the same order as the temporal error.
Table 6. The L 2 and L ∞ error norms, convergence rate, QLM maximum iterations, and CPU time for the 2D Allen–Cahn equation in Example 3 with h = 1.0 × 10 − 2 , and different values of N and m.
Figure 8 shows that the free energy associated with the AC equation considered in this example decreases slowly initially, drops rapidly during the phase separation stage, and monotonically decays as t → ∞ , thereby validating the energy dissipation assertion of Theorem 1.
Figure 8. The temporal evolution of the total free energy associated with the Allen–Cahn equation in Example 3.
Example 4.
Consider the 2D AC equation with the Dirichlet boundary condition and the following initial condition prescribed as a dumbbell-shaped profile
u ( x , y , 0 ) = tanh 3 ζ ( x − 0.5 ) 2 + y 2 − 0.25 2 , if x > 0.3 tanh 3 ζ y 2 − 0.1 2 , if − 0.3 ≤ x ≤ 0.3 tanh 3 ζ ( x + 0.5 ) 2 + y 2 − 0.25 2 , if x < − 0.3 ,
with parameters ζ = 0.05 , ε = 4 and γ = 0.7 .
Figure 9 illustrates the evolution of the dumbbell-shaped initial condition at various times. The domain is taken as Ω = [ − 1 , 1 ] 2 with N = 32 grid points in each direction, and the time step size is h = 5 × 10 − 2 . The dynamics are captured at t = { 0 , 0.05 , 0.1 , 0.2 , 0.5 , 5 } values. Initially, in Figure 9a, the dumbbell shape clearly represents the initial condition. As time progresses from Figure 9b,c, the interface gradually smooths, the connecting neck thickens, and the two circular lobes of the dumbbell begin to pull towards each other. By t = 0.2 (Figure 9d), the two bubbles have merged into a single bubble, and eventually, at t = 0.5 (Figure 9e), the merged bubble is nearly uniform, making it difficult to distinguish the original two lobes. Finally, Figure 9f shows a well-formed single bubble at t = 5 . The rapid evolution into a single bubble highlights the rapid dynamics of interface coarsening, driven by curvature effects and phase separation in the Allen–Cahn equation.
Figure 9. The deformation contour plots of the dumbbell-shaped solution at (a) t = 0 , (b) t = 0.05 , (c) t = 0.1 , (d) t = 0.2 , (e) t = 0.5 , and (f) t = 5 for N = 32 , illustrating the rapid merging of the two lobes into a single bubble due to curvature-driven phase separation.
Table 7 displays the infinity residual norms, final QLM convergence errors, QLM maximum iterations, and computational time of the 2D AC equation. For all values of N and m, the infinity residual norm remains very small, ranging from approximately 10 − 16 to 10 − 13 , which is very close to the machine precision limits, indicating that the computed solutions nearly satisfy the discretised equation. Moreover, the final QLM convergence error remains below the prescribed tolerance ( 10 − 12 ) with a relatively larger step size and a coarse grid. Table 8 presents the condition numbers for varying N when m = 2 . The condition numbers increase with N yet remain relatively low from N = 4 to N = 16 and increase steeply for N = 32 , suggesting that as the number of collocation points N increases, the differentiation and system matrices become increasingly ill-conditioned. The coefficient (LHS) matrix arising from our discretisation is not sparse, which means that increasing N worsens the residual norm and reduces the computational efficiency of the HB–PSM.
Table 7. The infinity residual norms, final QLM convergence errors, QLM maximum iterations for various values of N and m for Example 4 with h = 1.0 × 10 − 2 .
Table 8. Condition numbers for varying N when h = 1.0 × 10 − 2 and m = 2 for the HB-PSM scheme of the 2D Allen–Cahn equation in Example 4.
In Figure 10, the temporal evolution of the total Ginzburg–Landau free energy E ( u ) is plotted for the dumbbell-shaped phase separation in Example 4. The total energy, which comprises both the bulk double-well potential and the interfacial gradient energy, exhibits strict monotonic decay over time. The rapid drop in energy during the early stages corresponds directly to the curvature-driven merging of the two dumbbell lobes into a single, uniform bubble, which minimises the total interfacial area. This discrete-level energy dissipation aligns with the theoretical gradient-flow property established in Theorem 1, thereby demonstrating the stability of the HB–PSM.
Figure 10. Temporal evolution of the total free energy for the 2D Allen–Cahn equation in Example 4. The monotonic decay confirms that the proposed HB–PSM strictly preserves the energy dissipation property of the phase-field model during the curvature-driven merging of the dumbbell.
Example 5.
This example considers the 2D CH equation, following Appadu et al. [40]. The problem is given by
∂ u ∂ t + ε 2 ∂ 4 u ∂ x 4 + 2 ∂ 4 u ∂ x 2 ∂ y 2 + ∂ 4 u ∂ y 4 − ∂ 2 ∂ x 2 ( u 3 − u ) − ∂ 2 ∂ y 2 ( u 3 − u ) = g ( x , y , t ) , ( x , y ) ∈ Ω , u ( x , y , 0 ) = sin 2 π x L sin 2 π y L , ( x , y ) ∈ Ω , ∂ j u ( − L , y , t ) ∂ x j = ∂ j u ( L , y , t ) ∂ x j , y ∈ ( − L , L ) , ∂ j u ( x , − L , t ) ∂ y j = ∂ j u ( x , L , t ) ∂ y j , x ∈ ( − L , L ) ,
where j = 0 , 1 , 2 , 3 , Ω = [ − L , L ] 2 , ε = 0.8 , and L = 3 . The source term g ( x , y , t ) is constructed by substituting the exact solution into the governing equation, with the exact solution given as
u ( x , y , t ) = sin 2 π x L sin 2 π y L cos ( 2 π t ) .
and
g ( x , y , t ) = − 2 π sin ( a x ) sin ( a y ) sin ( 2 π t ) + 64 π 4 ε 2 L 4 − 8 π 2 L 2 sin ( a x ) sin ( a y ) cos ( 2 π t ) − 24 π 2 L 2 cos 3 ( 2 π t ) sin ( a x ) sin 3 ( a y ) + sin 3 ( a x ) sin ( a y ) − sin 3 ( a x ) sin 3 ( a y ) ,
where a = 2 π / L .
The results, depicted in Figure 11, compare the approximate and exact solutions of the 2D CH equation for N = 32 . The parameters in this numerical experiment are ε = 0.8 and the time step size h = 1.0 × 10 − 2 . The approximate solution in Figure 11a closely matches the exact solution in Figure 11b, preserving the spatial pattern, amplitude, and symmetry of the phase domains. This agreement suggests that the proposed numerical method achieves high accuracy for the chosen spatial resolution.
Figure 11. Surface plots of the (a) approximate and (b) exact solutions of the 2D Cahn-Hilliard equation in Example 5 with N = 32 and h = 1.0 × 10 − 2 .
Table 9 presents the performance of the HB–PSM in terms of error norms, convergence rates, and computational cost as the time step decreases and the number of off-step points (m) increases, keeping the number of spatial collocation points fixed. As expected, the accuracy improves significantly with both temporal refinement and an increase in m. This is supported by the asymptotic convergence rates observed just before reaching the limits of machine precision. The method achieves an approximately fourth-order rate for m = 2 , and a sixth-order rate for both m = 3 and m = 4 , which perfectly aligns with the theoretical derivation in Theorem 4. While the m = 4 configuration yields artificially inflated pre-asymptotic rates on very coarse grids, it ultimately adheres to the theoretically proven O ( h 6 ) asymptotic convergence profile. It is also observed that as h decreases, the QLM convergence improves for m = 2 and m = 3 , whereas for m = 4 it remains at the imposed maximum of 50 iterations, indicating that higher off-step points require more demanding nonlinear iterations. We note highly accurate results, with maximum errors driven down to the order of 10 − 9 to 10 − 11 . This clearly indicates that the HB–PSM is a highly robust and efficient method for solving complex phase-field models and high-order gradient flow systems.
Table 9. The L 2 and L ∞ error norms, convergence rate, QLM maximum iterations, and CPU time for the 2D Cahn-Hilliard equation in Example 5 with fixed N = 32 and different values of h and m.
In Table 10, it is evident that the accuracy increases significantly with increasing numbers of collocation points and off-step points. The convergence rates are approximately 12 for m = 2 , exceed 20 and approach 18 in the L 2 and L ∞ norms, respectively, for m = 3 and m = 4 . In terms of computational efficiency, CPU time remains low for small matrix sizes but increases sharply as the size grows, especially between N = 16 and 32 for m = 3 and m = 4 , where it becomes excessively high. Additionally, spatial refinement increases the maximum number of QLM iterations to 50 at N = 32 , indicating slower QLM convergence as N increases. Ultimately, these findings illustrate the trade-off between computational cost and accuracy in selecting spatial resolution and the number of temporal intra-step points.
Table 10. The L 2 and L ∞ error norms, convergence rate, QLM maximum iterations, and CPU time for the 2D Cahn–Hilliard equation in Example 5 with h = 1.0 × 10 − 2 and different values of N and m.
To further assess the performance and competitiveness of the proposed method, we compare our results with the numerical results reported by Appadu et al. [40] for the same 2D Cahn–Hilliard problem. In Appadu et al. [40], the multilevel finite volume produced L 2 error norms ranging between O ( 10 − 1 ) and O ( 10 − 3 ) requiring refined spatial meshes ( Δ x = Δ y ∈ [ 0.05 , 0.2 ] ) and extremely small time steps down to Δ t = 1.5625 × 10 − 4 to ensure numerical stability. Their CPU execution times went from 0.150 s to as high as 15 , 701.63 s for a relatively small temporal integration domain of [ 0 , 0.01 ] . In contrast, the HB–PSM proposed herein has errors of orders of magnitude of O ( 10 − 9 ) to O ( 10 − 11 ) for a temporal integration domain of [ 0 , 1 ] , with a relatively coarse spatial resolutions from N = 4 to 32, and much larger time steps of h = 1 / 10 to h = 1 / 160 . Furthermore, the overall computational time ranges from 1.18 s on coarse grids to 7120.37 s for the most computationally demanding configuration ( N = 32 , m = 4 , h = 1 / 160 ), which is well below the highest runtime of 15 , 701.63 s reported in Appadu et al. [40]. This direct comparison shows that the spectral–spatial accuracy, combined with the A-stable high-order block time integrator, enables the HB–PSM to achieve higher accuracy at a competitive computational cost without requiring restrictive time-step constraints. Because the exact value of ε was not explicitly specified in Appadu et al. [40], and given that ε directly dictates the stiffness of the equation, we present the errors for ε ∈ { 0.2 , 0.4 , 0.6 , 0.8 , 1.0 } for m = 3 and N = 32 in Figure 12. As shown in the figure, for moderate ε ( ε ≥ 0.4 ), both the L 2 and L ∞ error norms decrease steeply with h ( h = 1 / 20 → 1 / 80 ), closely matching the theoretical O ( h 5 ) convergence line. For the stiffest regime ( ε = 0.2 ), the errors level off around 10 − 7 to 10 − 8 . Very importantly, across the tested values of ε , both the L 2 and L ∞ error norms remain bounded with O ( 10 − 7 ) to O ( 10 − 11 ) . This further confirms that, irrespective of the specific ε used in Appadu et al. [40], the proposed HB–PSM consistently has errors that are four to eight orders of magnitude smaller than those of the finite volume methods proposed in Appadu et al. [40], while allowing time steps that are orders of magnitude larger.
Figure 12. Temporal convergence of the L ∞ error (a) and L 2 error (b) for the 2D Cahn–Hilliard equation in Example 5 for various ε ∈ { 0.2 , 0.4 , 0.6 , 0.8 , 1.0 } , compared against theoretical O ( h 5 ) and O ( h 6 ) reference slopes.
In Figure 13, we present the temporal evolution of the total Ginzburg–Landau free energy and the total mass for the 2D Cahn–Hilliard equation in Example 5. As expected for a conserved gradient flow, the computed total energy (left panel) decreases monotonically over time. Also, the right panel shows that the proposed HB–PSM strictly conserves the total mass of the phase variable, with absolute deviations constrained to machine precision (on the order of 10 − 16 ). These numerical observations explicitly confirm that the fully discrete scheme perfectly inherits the continuous thermodynamic laws established in Theorems 2 and 3.
Figure 13. Numerical validation of the thermodynamic properties for the 2D Cahn–Hilliard equation in Example 5. The proposed HB–PSM successfully captures the monotonic dissipation of the total free energy (left) while strictly enforcing mass conservation up to machine precision (right).
Example 6.
This numerical experiment considers the 2D Cahn–Hilliard equation with the following smooth initial and boundary conditions [12]
u ( x , y , 0 ) = 1 10 cos ( 2 π x ) cos ( 2 π y ) , ( x , y ) ∈ Ω , ∂ u ∂ x = ∂ 3 u ∂ x 3 = 0 , at x = 0 , 2 , y ∈ [ 0 , 2 ] , t > 0 , ∂ u ∂ y = ∂ 3 u ∂ y 3 = 0 , at y = 0 , 2 , x ∈ [ 0 , 2 ] , t > 0 ,
where the problem’s domain is Ω = [ 0 , 2 ] 2 and the interface parameter is ε = 0.3 .
The numerical solutions depicted in Figure 14 illustrate the temporal dynamics of the 2D Cahn–Hilliard equation computed via the proposed HB–PSM using a time step h = 5 × 10 − 2 , interface parameter ε = 0.3 , and the smooth initial condition defined in Equation (98). The system exhibits rapid biharmonic dissipation. The initial checkered oscillations ( t = 0 , Figure 14a) decay rapidly by several orders of magnitude in amplitude from O ( 10 − 2 ) to O ( 10 − 4 ) by t = 0.20 (Figure 14b,c). As time progresses further ( t = 0.25 to t = 1.0 , Figure 14d–f), the localised peaks flatten out and reorganise into diffuse, low-amplitude transitional bands ( O ( 10 − 4 ) ), evolving smoothly toward the uniform state u ≈ 0 . This dissipation behaviour is fully consistent with the energy evolution shown in Figure 15, where the total free energy decreases monotonically from 1.0175 to the baseline value of 1.000 . More importantly, the proposed HB–PSM stably captures this rapid multi-scale decay without introducing spurious oscillations, even on a modest spatial grid ( N = 32 ). In Figure 15, the energy-dissipative and mass-conserving properties of the Cahn–Hilliard equation (Example 6) are numerically validated. The left panel shows the strict monotonic decay of the total free energy toward the equilibrium baseline E = 1.000 , validating Theorem 2. The right panel illustrates that total mass is conserved down to machine precision, with deviations bounded on the order of 10 − 18 , confirming the mass conservation assertion of Theorem 3.
Figure 14. Spatiotemporal evolution of the order parameter u ( x , y , t ) for the 2D Cahn–Hilliard equation (Example 6) at various time snapshots: (a) t = 0 , (b) t = 0.15 , (c) t = 0.20 , (d) t = 0.25 , (e) t = 0.35 , and (f) t = 1.0 , computed using the HB–PSM with N = 32 , h = 5 × 10 − 2 , and ε = 0.3 .
Figure 15. Total energy dissipation (left) and mass conservation (right) for the 2D Cahn–Hilliard model in Example 6 computed through the HB–PSM, confirming the assertions of Theorems 2 and 3.
In Table 11, the results of residual errors and computational time are displayed. It can be seen that as the spatial resolution (N) increases, the residual slightly deteriorates. The slight increase in the residual at higher N does not necessarily imply that the global accuracy of the method has decreased. Rather, it is a direct consequence of the ill-conditioning of the matrix algebraic system for high-order spectral differentiation. For the Cahn–Hilliard equation, the bi-Laplacian operator ( ∇ 4 ) means that the condition number of the Chebyshev differentiation matrix scales as O ( N 8 ) . As seen in the condition numbers in Table 12, the condition number went from approximately 574 for N = 4 to approximately 7.4 × 10 9 for N = 32 , and this results in a highly stiff, ill-conditioned algebraic system. This amplifies the round-off errors when inverting the system during the QLM iterations, resulting in a slightly higher residual. As N increases, the linear system becomes highly sensitive to round-off errors and perturbations, which makes the QLM iteration reach the imposed limit of 50 iterations for N = 32 , although the final QLM convergence error remains below the prescribed tolerance ( 10 − 10 ).
Table 11. The infinity residual norms, final QLM convergence errors, QLM maximum iterations, and computational costs for different values of N and m for Example 6 with the step size h = 1.0 × 10 − 2 .
Table 12. Condition numbers for varying N when h = 1.0 × 10 − 2 and m = 2 for the HB-PSM scheme of the 2D Cahn–Hilliard equation in Example 6.

5. Conclusions

In this study, a robust hybrid block-pseudospectral method (HB–PSM) was developed and successfully implemented to simulate spatiotemporal pattern formation in 1D and 2D phase-field models, specifically the second-order Allen–Cahn and fourth-order Cahn–Hilliard equations. The proposed method was a unified, high-order computational method developed by coupling an off-step hybrid block method (HBM) for temporal integration, Chebyshev pseudospectral collocation for spatial discretisation, and a Newton-type quasilinearisation method (QLM) to iteratively resolve the nonlinear phase-field equations without sacrificing convergence speed.
Extensive numerical experiments on analytical benchmark problems and dynamic interfacial phenomena demonstrated the high accuracy, stability, and physical accuracy of the scheme. In the temporal domain, the method achieved asymptotic convergence rates of fourth order ( m = 2 ), fifth order ( m = 3 ), and sixth order ( m = 4 ), thereby fully corroborating the theoretical truncation-error analysis and the A-stability proofs. Spatially, the scheme exhibited exponential convergence, typical of spectral-based methods, rapidly reducing error norms to near-machine precision ( O ( 10 − 12 ) to O ( 10 − 15 ) ) on relatively coarse grids. Additionally, very importantly, the discrete numerical solutions strictly inherited the continuous dynamic properties of the gradient flow models, namely, the discrete Ginzburg–Landau free energy dissipated monotonically across all test cases, and total mass for the Cahn–Hilliard system was conserved down to machine precision ( O ( 10 − 16 ) to O ( 10 − 18 ) ), thereby validating the theoretical assertions of Theorems 2 and 3.
The study also provided a clear characterisation of the computational performance and numerical trade-offs associated with spectral discretisation. While the dense, non-sparse nature of the Chebyshev differentiation matrices increases the condition number at high spatial resolutions ( N = 32 ), the high spectral accuracy allows the HB–PSM to achieve better precision on much coarser spatial grids and with larger time steps than standard low-order methods. As evidenced by direct comparisons with existing schemes in the literature, the proposed method offers a competitive and reliable alternative for tracking complex morphological evolutions, such as curvature-driven interface coarsening and biharmonic dissipation, without generating spurious numerical oscillations.
Looking ahead, several compelling avenues exist for expanding this numerical method. First, developing an adaptive time-stepping scheme based on local truncation error estimates would significantly enhance computational efficiency across different evolutionary regimes, allowing larger time steps during slow coarsening stages and smaller ones during rapid phase transitions. Second, combining physics-informed neural networks (PINNs) with the HB–PSM offers an attractive hybrid approach to circumvent the computational overhead of large matrix inversions while preserving exact physical conservation laws. Finally, the method can be extended to treat coupled hydrodynamic phase-field systems, such as the Cahn–Hilliard–Navier–Stokes equations, as well as 3D domain configurations.

Author Contributions

Conceptualization, S.D.O. and Y.O.T.; methodology, S.D.O., Y.O.T. and S.B.; software, S.B. and Y.O.T.; validation, S.B., Y.O.T. and S.D.O.; formal analysis, S.B., Y.O.T. and S.D.O.; investigation, S.B.; resources, S.D.O.; writing—original draft preparation, S.B.; writing—review and editing, Y.O.T. and S.D.O.; visualization, S.B.; supervision, S.D.O. and Y.O.T.; project administration, S.D.O.; funding acquisition, S.D.O. and Y.O.T. All authors have read and agreed to the published version of the manuscript.

Funding

This work is based on the research supported in part by the National Research Foundation of South Africa (Ref Numbers: PMDS240607225204 and TTK2204163593).

Data Availability Statement

No new data were created or analyzed in this study. All numerical simulation results presented in this article can be fully reproduced using the mathematical formulations, parameters, and algorithms explicitly detailed within the manuscript.

Acknowledgments

The authors gratefully acknowledge the institutional support provided by Rhodes University.

Conflicts of Interest

The authors declare no conflicts of interest. The findings and conclusions expressed in this article are solely those of the authors.

References

  1. Li, A.; Chen, R.; Farimani, A.; Zhang, Y. Reaction diffusion system prediction based on convolutional neural network. Sci. Rep. 2020, 10, 3894. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Jiang, M.; Zhao, J. Linear relaxation schemes for the Allen–Cahn-type and Cahn–Hilliard-type phase field models. Appl. Math. Lett. 2023, 137, 108477. [Google Scholar] [CrossRef] [Scilit]
  3. Baeumer, B.; Kovács, M.; Meerschaert, M. Numerical solutions for fractional reaction–diffusion equations. Comput. Math. Appl. 2008, 55, 2212–2226. [Google Scholar] [CrossRef] [Scilit]
  4. Aldandani, M. Patterns and Fronts in Cross-Diffusion Systems. Ph.D. Thesis, University of Dundee, Dundee, Scotland, 2021. [Google Scholar]
  5. Wight, C.; Zhao, J. Solving Allen-Cahn and Cahn-Hilliard equations using the adaptive physics informed neural networks. arXiv 2020, arXiv:2007.04542. [Google Scholar]
  6. Aderogba, A.; Chapwanya, M. An explicit nonstandard finite difference scheme for the Allen–Cahn equation. J. Differ. Equ. Appl. 2015, 21, 875–886. [Google Scholar] [CrossRef] [Scilit]
  7. Allen, S.; Cahn, J. A microscopic theory for antiphase boundary motion and its application to antiphase domain coarsening. Acta Metall. 1979, 27, 1085–1095. [Google Scholar] [CrossRef] [Scilit]
  8. Diegel, A.; Wang, C.; Wise, S. Stability and convergence of a second-order mixed finite element method for the Cahn–Hilliard equation. IMA J. Numer. Anal. 2016, 36, 1867–1897. [Google Scholar] [CrossRef] [Scilit]
  9. Cahn, J.; Hilliard, J. Free energy of a nonuniform system. I. Interfacial free energy. J. Chem. Phys. 1958, 28, 258–267. [Google Scholar] [CrossRef] [Scilit]
  10. Sohaib, M.; Furati, K.; Shah, A. Space fractional Allen–Cahn equation and its applications in phase separation: A numerical study. Commun. Nonlinear Sci. Numer. Simul. 2024, 137, 108173. [Google Scholar] [CrossRef] [Scilit]
  11. Owolabi, K.; Pindza, E.; Mare, E. Fourier Spectral Methods for Phase Field and Interface Dynamics: Coarsening and Pattern Formation in Energy-Based Models. 2025. preprint. Available online: https://www.authorea.com/doi/full/10.22541/au.175561927.73365905/v1 (accessed on 27 August 2026).
  12. Abazari, R.; Rezazadeh, H.; Akinyemi, L.; Inc, M. Numerical simulation of a binary alloy of 2D Cahn–Hilliard model for phase separation. Comput. Appl. Math. 2022, 41, 389. [Google Scholar] [CrossRef] [Scilit]
  13. Motsa, S. Overlapping grid-based optimized single-step hybrid block method for solving first-order initial value problems. Algorithms 2022, 15, 427. [Google Scholar] [CrossRef] [Scilit]
  14. Costa, B. Spectral methods for partial differential equations. CUBO A Math. J. 2004, 6, 1–32. [Google Scholar]
  15. Sunday, J.; Skwame, Y.; Tumba, P. A quarter-step hybrid block method for first-order ordinary differential equations. J. Math. Comput. Sci. 2015, 6, 269–278. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Rufai, U.; Sibanda, P.; Goqo, S. A One-Step Multi-Derivative Hybrid Block Method with Modified-Picard Iteration for the Solution of Second Order IVP. Eng. Lett. 2023, 31, 1874. [Google Scholar]
  17. Soomro, H.; Zainuddin, N.; Daud, H.; Sunday, J. Optimized hybrid block Adams method for solving first order ordinary differential equations. Comput. Mater. Contin. 2022, 72, 2947. [Google Scholar] [CrossRef] [Scilit]
  18. Rufai, U.; Sibanda, P.; Goqo, S.; Motsa, S. An Overlapping One-Step Multiderivative Hybrid Block Method for Solving Second-Order Initial Value Problems. J. Appl. Math. 2026, 2026, 9948007. [Google Scholar] [CrossRef] [Scilit]
  19. He, L. Spectral heat transfer coefficient for convection. Int. J. Heat Mass Transf. 2023, 216, 124557. [Google Scholar] [CrossRef] [Scilit]
  20. Hussaini, M.; Zang, T. Spectral Methods in Fluid Dynamics; Technical Report; NASA: Washington, DC, USA, 1986.
  21. Shizgal, B. Spectral Methods in Chemistry and Physics; Scientific Computation; Springer: Berlin/Heidelberg, Germany, 2015. [Google Scholar]
  22. Larsen, C.; Irvine, T. A review of spectral methods for variable amplitude fatigue prediction and new results. Procedia Eng. 2015, 101, 243–250. [Google Scholar] [CrossRef] [Scilit]
  23. Li, N.; Meng, B.; Feng, X.; Gui, D. The spectral collocation method for the stochastic Allen-Cahn equation via generalized polynomial chaos. Numer. Heat Transf. Part B Fundam. 2015, 68, 11–29. [Google Scholar] [CrossRef] [Scilit]
  24. Lee, H.; Lee, J. A semi-analytical Fourier spectral method for the Allen–Cahn equation. Comput. Math. Appl. 2014, 68, 174–184. [Google Scholar] [CrossRef] [Scilit]
  25. Chen, L.; Xu, C. A time splitting space spectral element method for the Cahn-Hilliard equation. East Asian J. Appl. Math. 2013, 3, 333–351. [Google Scholar] [CrossRef] [Scilit]
  26. Jeong, D.; Kim, J. An explicit hybrid finite difference scheme for the Allen–Cahn equation. J. Comput. Appl. Math. 2018, 340, 247–255. [Google Scholar] [CrossRef] [Scilit]
  27. 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] [Scilit]
  28. Du, Q.; Yang, J.; Zhou, Z. Time-fractional Allen–Cahn equations: Analysis and numerical methods. J. Sci. Comput. 2020, 85, 42. [Google Scholar] [CrossRef] [Scilit]
  29. Feng, X.; Prohl, A. Numerical analysis of the Allen–Cahn equation and approximation for mean curvature flows. Numer. Math. 2003, 94, 33–65. [Google Scholar] [CrossRef] [Scilit]
  30. Altmann, R.; Zimmer, C. Dissipation-preserving discretization of the Cahn–Hilliard equation with dynamic boundary conditions. Appl. Numer. Math. 2023, 190, 254–269. [Google Scholar] [CrossRef] [Scilit]
  31. Mai-Duy, N. An effective spectral collocation method for the direct solution of high-order ODEs. Commun. Numer. Methods Eng. 2006, 22, 627–642. [Google Scholar] [CrossRef] [Scilit]
  32. Kheswa, K. A comparison study of Chebyshev Spectral Collocation Based Methods for Solving Nonlinear Second Order Evolution Equations. Master’s Thesis, University of KwaZulu-Natal, Pietermaritzburg, South Africa, 2015. [Google Scholar]
  33. Trefethen, L. Spectral Methods in MATLAB; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2000. [Google Scholar]
  34. Motsa, S.; Oloniiju, S.; Sithole-Mthethwa, H. Rational hybrid block method for solving Bratu-type boundary value problems. Partial Differ. Equ. Appl. Math. 2025, 13, 101091. [Google Scholar] [CrossRef] [Scilit]
  35. Shateyi, S. On the application of the block hybrid methods to solve linear and non-linear first order differential equations. Axioms 2023, 12, 189. [Google Scholar] [CrossRef] [Scilit]
  36. Dahlquist, G. Convergence and stability in the numerical integration of ordinary differential equations. Math. Scand. 1956, 4, 33–53. [Google Scholar] [CrossRef] [Scilit]
  37. Lambert, J. Numerical Methods for Ordinary Differential Systems: The Initial Value Problem; John Wiley & Sons: Chichester, UK, 1991. [Google Scholar]
  38. Hairer, E.; Nørsett, S.; Wanner, G. Solving Ordinary Differential Equations I: Nonstiff Problems, 2nd ed.; Springer Series in Computational Mathematics; Springer: Berlin/Heidelberg, Germany, 1993; Volume 8. [Google Scholar] [CrossRef] [Scilit]
  39. Bellman, R.; Kalaba, R. Quasilinearization and Nonlinear Boundary-Value Problems; Elsevier: Amsterdam, The Netherlands, 1965. [Google Scholar]
  40. Appadu, A.; Djoko, J.; Gidey, H.; Lubuma, J. Analysis of multilevel finite volume approximation of 2D convective Cahn–Hilliard equation. Jpn. J. Ind. Appl. Math. 2017, 34, 253–304. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.