Abstract

In this paper, we consider a new Swift–Hohenberg equation, where the total mass of this model is conserved through a nonlocal Lagrange multiplier. Based on the operator splitting method and spectral method, a fast and efficient numerical algorithm is proposed. Three numerical examples in both two and three dimensions are provided to illustrate that the proposed algorithm is a practical, accurate, and efficient simulation tool for the nonlocal Swift–Hohenberg equation.

1. Introduction

The Swift–Hohenberg model [1] was first introduced by Swift and Hohenberg in studies of Rayleigh–Bénard convection and has become one of the paradigms of the nonlinear dynamical system leading to complex pattern formation. Recent applications of the Swift–Hohenberg equation have been extensively spanned in complex fluids and biological tissues [2, 3]. The Swift–Hohenberg model is derived by using the -gradient flow of the Lyapunov energy functional [4]where is a bounded regular domain (n = 1, 2, 3) and ϕ is the density field. is the nonlinear smoothing potential, and and are constants with physical significance.

By taking the variational derivative of (1) in norm, the following Swift–Hohenberg equation is obtained:where denotes the variational derivative and . Thus, the total energy is not increasing with time

The Swift–Hohenberg equation (2) is a fourth-order nonlinear partial differential equation, and we cannot generally obtain the analytic solution for the arbitrary initial conditions. Therefore, computer simulations play an essential role in understanding the dynamical behavior. Till now, a large number of works have been proposed to study the Swift–Hohenberg equation [512].

Since the Swift–Hohenberg model (2) is derived by using the -gradient flow, the total mass of the unknown variable is not conserved with time. However, in Elder’s phase field crystal model, the phase field variable is interpreted as the density of atoms from the perspective of physical significance; thus, the total mass of the phase field variable is expected to be conserved, such as the Cahn–Hilliard equation [13, 14]. Zhang and Yang [15] very recently proposed a conservative Swift–Hohenberg equation with a nonlocal Lagrange multiplier to cancel out the variation in mass without influencing the original energy law. The conservative Swift–Hohenberg equation is as follows:subject to the initial condition

The periodic boundary condition is adopted here since it is usually used to remove all boundary integrals (cf. [15]). Note that when , equation (4) degenerates back to the standard Swift–Hohenberg model (2).

The nonlocal term can be understood as a nonlocal Lagrange multiplier for the mass constraint

Furthermore, system (4) still satisfies energy dissipative law (3). Taking the inner product of (4) with , integrating by parts and using (6), we havewhere is defined by (1).

Compared to a large number of studies for the standard Swift–Hohenberg equation (2), there are few numerical results on the conservative Swift–Hohenberg equation (4) because the extra nonlocal term brings up substantial numerical challenges to developing fast and efficient algorithms. Zhang and Yang [15] proposed a second-order, unconditionally energy stable scheme by combining the invariant energy quadratization (IEQ) approach with the stabilization technique. The law of conservation of mass of the proposed scheme was not verified in this article [15].

In this work, we aim to develop a fast explicit algorithm based on the operator splitting method [14, 16, 17]. The main idea of the method is to solve problem (4) through three parts: the linear homogeneous heat equation was first solved via the Fourier spectral method and then the nonlinear part and the nonlocal equation were solved explicitly.

The rest of this paper is organized as follows. In Section 2, a fast explicit operator splitting method is proposed for solving (4). In Section 3, we test the accuracy and applicability of the obtained numerical method in three examples including a 3D example. Finally, we summarize the present work and discuss the future work in Section 4.

2. Time-Splitting Spectral Method

In this section, we present a time-splitting spectral method to simulate the asymptotic behavior of the solution of equation (4). The proposed method is based on the operator splitting method for the time and spectral method for the space. For simplicity, we only consider two-dimensional (2D) space. The 1D/3D case is defined analogously.

The operator splitting method for the conservative Swift–Hohenberg equation is constructed as follows. We rewrite equation (4) in the following abstract initial value problem:where the operators , , and are defined as

Thus, we can evolve the solution from t to using the following first-order Lie–Trotter method [16]:where , , and are the exact solution operators associated with the nonlinear equationthe heat equationand the Lagrange multiplier equationrespectively. Higher order splitting schemes can be found in [18, 19].

Before proceeding to present a fast explicit operator splitting method for (4), the exact solution operators , , and are first replaced by their numerical approximations , , and , respectively.

Step 1 (). We first consider the fully discrete scheme for (11). The following spatial grid is introduced:for the periodic condition, where . Let , where is the time step and M is the total number of time steps.
Based on the theory of spectral method [20], the solution to equation (11) derived with periodic boundary conditions can be represented by the following band-limited Fourier series:whereand by using the following Fourier expansion, the fast Fourier transform (FFT) may be used to calculate the Fourier coefficients {} from the discrete function values {}:and and are, respectively, defined asSubstituting (15) into (11), we obtain the following system of ordinary differential equations for the discrete -th Fourier coefficients:whereThe above equation is solved analytically by the variable separation method with an initial condition , and then the solution is obtained as follows:Hence, we haveThe errors between and ϕ can be measured in Sobolev spaces. For this purpose, we denote by the subspace of , which consists of functions with derivatives of order up to being periodic on . The main approximation result is stated below.

Theorem 1 (see [20]). For any and , it holds that

This theorem indicates that the projection is the best approximation of ϕ in all Sobolev spaces . For further references about the spectral method, we refer to [20].

Step 2 (). Now we propose a first-order difference scheme for solving equation (12) in . Note that if , equation (12) can be rewritten asTaking the integral from to on both sides of the above equation with respect to t, we haveNote that , and then we obtain a first-order explicit finite difference scheme for (12)It is clear that if , the above formula is also derived.

Step 3 (). Equation (12) involves solving a nonlocal Lagrange multiplier equation. For convenience, we denote . Then, we employ the backward difference method for equation (13) in with an initial condition ; this givesSumming both sides of equation (27) over i and j, and by the property of mass conservation , we obtainA similar idea has also been mentioned in [21].
Combining (27) and (28), a first-order explicit finite difference scheme for (13) is obtained:Then, based on equations (10), (22), (26), and (29), we obtain the following fast explicit operator splitting schemes:The derivation of algorithm (30) shows that the temporal truncation error has the form . Based on this observation, we can use the following Richardson’s extrapolation technique:to eliminate the leading term , where and are the numerical solutions at the final time level calculated using time step sizes and , respectively. Thus, we obtain a high-order numerical solution with second-order temporal accuracy.
In addition, we define the discrete inner productand discrete norm and norm

Theorem 2. Scheme (30) satisfies the discrete mass conservation lawwhere .

Proof. Taking discrete inner product of the third equation of (30) with 1, summing over i and j, we haveThis completes the proof.

3. Numerical Experiments

In this section, three numerical experiments are carried out to study the accuracy and efficiency of the proposed method. The -norm error (denoted as ) and the -norm error (denoted as ) of the numerical solutions are computed, respectively, by the following formulas:

Problem 1 (convergence test). In order to verify the temporal numerical accuracy, we consider an example on with various ϵ and η, and the initial condition is as follows:We use , so the spatial discretization errors are negligible compared with the time discretization error. The computational results at for various ϵ and η are presented in Table 1. One may see that the convergence rate is close to 2 for all cases, which coincides with what we expected.

Problem 2 (effects of ϵ and η on energy stability and pattern formation). Various related works have been proposed for the Swift–Hohenberg equation, and most of them considered the case of except [9, 10]. In order to show the effects of ϵ and η on pattern formation, we use a benchmark simulation for the conservative Swift–Hohenberg equation, i.e., the phase transition behaviors. We set the 2D computational domain as and discretize it by using . The initial condition reads aswhere is a random number in the range of .
We first perform a numerical experiment with and for the stability study of the proposed method. Figure 1 shows the plots at with different time steps, and the corresponding curves of mass M and energy E are also presented. These results suggest that the proposed method satisfies mass conservation and is unconditionally stable. The only drawback is that the method is conditionally energy stable.
Secondly, with the same parameters and , we present the snapshots of phase transition behaviors of the density field at different computational time steps in Figure 2.
Finally, the relationship between energy stability and the parameters ϵ and η is examined. Figure 3 shows the evolution of the energies using different ϵ, η, and time steps. The results in Figure 3 suggest that the proposed method is conditionally energy stable. We can see from this figure that the energy is mainly affected by the value of ϵ rather than η, and small time step τ is needed to keep the energy law (7) for large ϵ.

Problem 3 (the conservative Swift–Hohenberg equation in 3D). We consider the evolution of ϕ in 3D space using the proposed method. The initial condition on isWe take the simulation parametersIn Figure 4, we display the evolution of the phase field at different time periods. From the results, it can be seen that our method is applicable to 3D conservative Swift–Hohenberg equation. Moreover, the curves of mass M and energy E are also presented in Figure 5.

4. Conclusions

In this paper, we developed a second-order, linear, and mass conservation algorithm for solving the nonlocal Swift–Hohenberg equation by combining the operator splitting technique with the Fourier spectral method. A variety of numerical experiments were presented to demonstrate the stability and the accuracy of the developed method. In particular, it is applicable to various problems with a mass conservation constraint.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the Natural Science Foundation of Xinjiang Province (No. 2016D01C071).