Abstract

Allen Cahn (AC) equation is highly nonlinear due to the presence of cubic term and also very stiff; therefore, it is not easy to find its exact analytical solution in the closed form. In the present work, an approximate analytical solution of the AC equation has been investigated. Here, we used the variational iteration method (VIM) to find approximate analytical solution for AC equation. The obtained results are compared with the hyperbolic function solution and traveling wave solution. Results are also compared with the numerical solution obtained by using the finite difference method (FDM). Absolute error analysis tables are used to validate the series solution. A convergent series solution obtained by VIM is found to be in a good agreement with the analytical and numerical solutions.

1. Introduction

The AC equation is a nonlinear parabolic partial differential equation (PDE) which describes natural physical phenomenon in materials and multiphase systems. The model was firstly developed by Allen and Cahn to study the antiphase boundary motion in antiphase domain coarsening [1]. The AC model is mainly used to study various phase separation problems in different fields of sciences such as crystal growth, motion by mean curvature flows, image segmentation, and the mixture of two incompressible fluids [26]. It has become a rudimentary mathematical model to discuss the behavior of phase evolutions and interfacial dynamics in material sciences [7]. In order to study the phenomenon of phase transition, a capable and precise method for the solution of AC equation has practical significance. Physical importance of AC equation attracts many researchers to study the solution of this equation. Since the AC equation is highly stiff and nonlinear, therefore, it is not easy to find its exact analytical or numerical solution. Literature review reveals that many researchers use different numerical and analytical schemes and techniques to find the accurate solutions of AC equation. Tascan and Bekir [8] used the first integral method to find traveling wave solution of AC equation. Wazwaz [9] discussed solitons and kink solutions using the tanh-coth method. Tariq and Akram [10] investigated new traveling wave solution to the AC equation. Jeong et al. [11] performed a comparative study of various numerical techniques for solving the AC equation. Gui and Zhao [12] studied the traveling wave solutions of AC equation with a fractional Laplacian. Jeong and Kim [13] developed an explicit hybrid finite difference scheme for the numerical solution of AC equation. Shah et al. [14] proposed an algorithm based on the finite element method and implicit fractional-step θ−scheme to study the numerical solution of AC equation. Asif and Hasan [15] used FDM to obtain numerical solution of AC equation. Shin et al. [16] use hybrid finite element method for solving the AC equation. Bulut [17] implemented the modified exponential function method to find analytical hyperbolic function solutions of AC equation.

In last few years, approximate analytical techniques attract attention of many researchers to find the approximate solutions of nonlinear PDE’s due to their simplicity and easy approach. Series of methods have been established by mathematicians and researchers such as the homotopy perturbation method (HPM) [18, 19], homotopy analysis method (HAM) [2022], variational iteration method (VIM) [2325], Adomian decomposition method (ADM) [2628], differential transform method (DTM) [2931], tanh method (THM) and extended tanh method [3234], use of trigamma function [35], Catalan-type numbers [36], and polynomials [3739]. Traveling wave solutions are also prominent techniques in finding the closed form of solutions. In recent years, many researchers used these techniques to tackle various problems in physics and engineering [4042]. Among the above stated methods and others, VIM is more dominant and power full due to its simplicity and fast convergence. Literature survey reveals that the AC equation has not been solved using this method. Therefore, in this research work, we have used VIM to obtain series solution of AC equation. The obtained results are compared with numerical solution of [15] and analytical hyperbolic function solution obtained in [17]. We also compare the VIM solution with traveling wave solution obtained in [8].

2. Mathematical Model

The AC equation is the mathematical model that describes phase transitions in material science,along with initial conditions (IC’s) and boundary conditions (BC’s)

In equation (1), is the thickness parameter which represents the width of transition region, and is a bounded domain. The term with represents double well potential.

3. Basic Idea of VIM

VIM is established by a Chinese scientist Ji-Huan He in 1999 using the concept of optimization and Lagrange multiplier [23]. In literature, this method is applied to solve large class of PDE’s [2325]. The key advantage of the suggested technique is that verity of the nonlinear problems can be solved without linearization or small perturbations. It is very straightforward in implementation and iterations can be performed using any symbolic mathematical software like Maple. Later on, many researchers make several modifications and use it to solve several mathematical models [4351]. In order to elaborate the key notion of VIM, we take the differential equation of the formwhere “L” represents the linear operator, “N” represents the nonlinear operator, and is the forcing function. By using VIM, the constructed correctional functional can be written as [2325]where “” is the Lagrange multiplier, is the restricted variation, and shows the nth approximate solution. The Lagrange multiplier can be calculated using optimality conditions and integration by parts. There are some alternative ways to calculate the Lagrange multiplier discussed in [52]. The restricted variation gives . The approximate series solution can be obtained after successive iterations for . Finally, we can write the series solution as

4. Numerical Experiments

In this section, we have solved the AC equation considering various IC’s with the help of VIM taking thickness parameter one, i.e., . We compare the converging series solution with the existing numerical and analytical solutions through absolute error tables which validates the applicability of VIM. Furthermore, we also discuss the VIM solution of AC equation with the transition layer parameter. Effect of the transition parameter on concentration is also studied through plots. CPU time for various iterations in case of each example is also presented through tables.

4.1. Example 1

Consider the AC equation of the form [15, 17]with the IC

Taking

The constructed functional for equation (6) using equation (4) iswhere “” represents the Lagrange multiplier which can be calculated via optimality conditions and restricted variation. Here, shows the restricted variation, i.e., . Taking variation on both sides of equation (9), the equation becomesor

Now, using integration by parts, we have

Hence, we have the following stationary conditions:which gives

Equation (9) becomes

For , equation (15) can be written as

Using from equation (8) to equation (16) and after integration, we get

Equation (17) gives

Using equation (18) in equation (19), we get

Similarly, for , we can get

4.1.1. Absolute Error Analysis

Table​ 1 shows absolute error analysis between the solutions obtained by the modified exponential function method [17], finite difference method [15], and variational iteration method. Absolute error is calculated for fourth and fifth iterations of the variational iteration method. It is clear from Table 1 that error decreases with the increase of the number of iterations. The desired and accurate result can be obtained by performing more iterations.

4.2. Example 2

In this section, we consider the AC equation (8).with the ICwhere is the integrating constant. Taking

Using equation (23) in equation (21) and after integration, we get

Similarly, using equation (24) in equation (19), we get

Similarly, for we can get

4.2.1. Absolute Error Analysis

Table 2 represents the absolute error between traveling wave solution [8] and the series solution obtained by using VIM. Absolute error is estimated for fourth and fifth iterations of VIM solution. The decreasing observation of error indicates the convergence of series solution. Higher accuracy can be attained by performing more iterations.

4.3. Example 3

Here, we consider -version of AC equation of the form [51]with initial profile containing the transition layer thickness parameter.

In order to implement VIM, takingthe correctional functional for equation (26) will take the form

For , equation (29) gives

Further iterations can be performed for up to required accuracy.

4.3.1. Relation between the Transition Parameter and Concentration

Study of relation between the transition parameter and concentration plays an important role in engineering processes, especially formation of alloys and multiphase systems. Figures 1 and 2 depict the effect of the transition parameter on concentration of binary fluids in binary alloys. Figure 1 explores that concentration increases as we increase the values of the transition parameter. Physically larger estimations of transition variable upsurges the rate of diffusion and, therefore, concentration increases. Figure 2 indicates the increasing behavior of concentration with the passage of time for the fixed value of transition parameter. In fact, at fixed diffusion rate, the concentration of molecules in the lower concentrated region increases with the time when diffusion takes place from the higher concentrated region to the lower concentrated region and thus concentration enhances.

5. Conclusion

In the present work, the VIM is effectively applied to obtain an approximate analytical solution of the AC equation. The AC model is solved for different kinds of initial conditions. A series solution obtained using VIM is compared with the numerical results obtained by using FDM and analytical solutions obtained by the traveling wave solution method and the tanh function method. Computed results are illustrated via absolute error tables, and a good agreement of the results is observed. Decreasing behavior of error in Tables 1 and 2 validates the application of VIM for solving highly nonlinear PDE’s. Results are compared after fourth and fifth iterations of VIM. The error tables show the congregating behavior of series solution to the analytical solution and numerical solution. CUP time for different iterations in case of every example is tabulated through Tables 35. A mathematical software Maple is used to perform iterations and absolute error calculations.

Data Availability

Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Authors’ Contributions

Safdar Hussain and Fazal Haq contributed to formal Analysis, methodology, and writing the original draft. Abdullah Shah supervised over all activities. Dilsora Abduvalieva contributed to formal analysis and code validation. Ali Shokri analyzed and interpreted the data and contributed to funding acquisition.