Research Article

Comparison of Approximate Analytical and Numerical Solutions of the Allen Cahn Equation

Table 1

Absolute error between numerical results obtained by FDM, analytical solution obtained by using the tanh function method, and series solution obtained by VIM at .

Numerical solution (FDM)Tan hyperbolic functions solution Solution by VIM after four and five iterationsAbsolute error in case of FDM Absolute error in case of VIM after four iterations Absolute error in case of VIM after five iterations

0.000.1842470.1842580.1841630.184218
0.010.1831870.1831970.1831050.183158
0.020.1821310.1821420.1820510.182103
0.030.1810800.1810910.1810020.181052
0.040.1800340.1800440.1799570.180007
0.050.1789920.1790030.1789170.178966
0.060.1779550.1779660.1778820.177929