An Accurate Numerical Solution for the Modified Equal Width Wave Equation Using the Fourier Pseudo-Spectral Method ()

Hany N. Hassan^{}

Department of Basic Engineering Sciences, Benha Faculty of Engineering, Benha University, Benha, Egypt.

**DOI: **10.4236/jamp.2016.46110
PDF HTML XML
1,836
Downloads
2,666
Views
Citations

Department of Basic Engineering Sciences, Benha Faculty of Engineering, Benha University, Benha, Egypt.

In this study, the numerical solution for the Modified Equal Width Wave (MEW) equation is presented using Fourier spectral method that use to discretize the space variable and Leap-frog method scheme for time dependence. Test problems including the single soliton wave motion, interaction of two solitary waves and interaction of three solitary waves will use to validate the proposed method. The three invariants of the motion are evaluated to determine the conservation properties of the generated scheme. Finally, a Maxwellian initial condition pulse is then studied. The *L*_{2} and *L*_{∞} error norms are computed to study the accuracy and the simplicity of the presented method.

Keywords

The Modified Equal Width Wave Equation, Fourier Pseudo-Spectral Method, Solitary Waves, Fast Fourier Transform

Share and Cite:

Hassan, H. (2016) An Accurate Numerical Solution for the Modified Equal Width Wave Equation Using the Fourier Pseudo-Spectral Method. *Journal of Applied Mathematics and Physics*, **4**, 1054-1067. doi: 10.4236/jamp.2016.46110.

Received 7 April 2016; accepted 10 June 2016; published 13 June 2016

1. Introduction

Discretization using finite differences in time and spectral methods in space has proved to be very useful in solving numerically non-linear Partial Differential Equations (PDEs) describing wave propagation. The Korteweg de Vries (KdV) equation is one famous example to which such combined schemes have been applied efficiently to analyze efficiently unidirectional solitary wave propagation in one dimension [1] - [3] . In [4] [5] the combination of spectral methods and finite differences is applied to well-known nonlinear PDE of the Boussinesq type which admits bidirectional wave propagation, has closed form solitary wave solutions and like the KdV is completely integrable in one space dimension. Also, the combination of spectral methods and leap frog is applied to the Regularized Long Wave (RLW) equation [6] . In this paper, a combination of spectral method and leap frog is applied to the modified equal width wave equation. The modified equal width wave equation based upon the Equal Width Wave (EW) equation [7] [8] which was suggested by Morrison et al. [9] is used as a model partial differential equation for the simulation of one-dimensional wave propagation in nonlinear media with dispersion processes. This equation is related with the Modified Regularized Long Wave (MRLW) equation [10] and modified Korteweg-de Vries (MKdV) equation [11] . All the modified equations are nonlinear wave equations with cubic nonlinearities and all of them have solitary wave solutions, which are wave packets or pulses. These waves propagate in non-linear media by keeping wave forms and velocity even after interaction occurs. Few analytical solutions of the MEW equation are known. Thus numerical solutions of the MEW equation can be important and comparison between analytic solutions can be made. Geyikli and Battal Gazi Karakoc, [12] [13] solved the MEW equation by a collocation method using septic B-spline finite elements and using a Petrov-Galerkin finite element method with weight functions quadratic and element shape functions which are cubic B-splines. Esen applied a lumped Galerkin method based on quadratic B-spline finite elements which have been used for solving the EW and MEW equations [14] [15] . Saka proposed algorithms for the numerical solution of the MEW equation using quintic B-spline collocation method [16] . Zaki considered the solitary wave interactions for the MEW equation by collocation method using quintic B-spline finite elements [17] and obtained the numerical solution of the EW equation by using least-squares method [18] . Wazwaz investigated the MEW equation and two of its variants by the tanh and the sine-cosine methods [19] . A solution based on a collocation method incorporated cubic B-splines is investigated by and Saka and Dag [20] . Variational iteration method is introduced to solve the MEW equation by Lu [21] . Evans and Raslan [22] studied the generalized EW equation by using collocation method based on quadratic B-splines to obtain the numerical solutions of a single solitary waves and the birth of solitons. Hamdi et al. [23] derived exact solitary wave solutions of the generalized EW equation using Maple software. Esen and Kutluay studied a linearized implicit finite difference method in solving the MEW equation [24] . Karakoç and Geyikli [25] solved the MEW equation numerically by a lumped Galerkin method using cubic B-spline finite elements. The modified equal width wave equation has the normalized form [9]

(1)

where μ is a positive parameter and the subscripts x and t denote differentiation, when solved analytically, within an infinite region with physical boundary conditions as. In this study, boundary conditions are chosen from

(2)

and the initial condition

(3)

where is a localized disturbance inside the considered interval. We investigate the numerical solution of the MEW equation using the Fourier Leap-Frog methods. The proposed method is validated by studying the motion of a single solitary wave, development of interaction of two positive solitary waves and development of three positive solitary waves interaction for the MEW Equation (1).

2. Analysis the Proposed Method

For the numerical treatment, the spatial variable x of Equation (1) is restricted over an interval. In this study, consider the MEW Equation (1) with the boundary conditions in Equation (2). A numerical method is developed for the periodic initial value problem in which U is a prescribed function of x at t = 0 and the solution is periodic in x outside a basic interval. For most of the problems considered, interval may be chosen large enough so the boundaries do not affect the wave interactions being studied. Equation (1) can be written as

(4)

where

(5)

For ease of presentation the spatial period [a, b] is normalized to [0, 2π], with the change of variable

.

Let L = b − a. Thus, Equations (4) and (5) become

, (6)

(7)

is transformed into Fourier space with respect to x, and derivatives (or other operators) with respect to x. This operation can be done with the Fast Fourier transform (FFT). Applying the inverse Fourier transform

with n = 1 and n = 2. The Equations (6) and (7) become

(8)

(9)

In practice, we need to discretize Equations (6) and (7). For any integer N > 0, consider,

. Let be the solution of Equations (8) and (9). Then, we transform it into the discrete Fourier space as

(10)

From this, using the inversion formula, we get

(11)

Replacing F and by their discrete counterparts, and discretizing Equations (8) and (9) give

(12)

(13)

Letting Equation (13) can be written in the vector form

(14)

where G(U) defines the right hand side of Equation (13).

3. Fourier Leap-Frog Method for MEW Equation

A time integration known as a Leap-Frog method (a two-step scheme) is given as

Use the Leap-Frog scheme to advance in time, we obtain.

This is called the Fourier-Leap-Frog (FLF) scheme for the MEW Equation (14). FLF method needs two levels of initial data, we begin with to get from Equation (12), we get

(15)

(16)

Then evaluate second level of initial solution by using a higher-order one-step method, for example, a fourth-order Runge-Kutta method (RK4).

(17)

then substitute in

(18)

to get Thus, the time discretization for Equation (13) is given as

(19)

We substitute V(x, 0) and U(x, Δt) in Equation (19) to evaluate V(x, 2Δt) then substitute V(x, 2Δt) in Equation (18) to evaluate U(x, 2Δt), so we have V(x, Δt) and U(x, 2Δt), substitute in Equation (19) to evaluate V(x, 3Δt) and evaluate U(x, 3Δt) from Equation (18) and so on, until we evaluate U(x, t) at time t = nΔt.

4. Cases Study and Results

In order to show how good the numerical solutions are in comparison with the exact ones, L_{2} and L_{∞} error norms will be computed by

(20)

The conservation properties of the MEW equation will be examined by calculating the following three invariants, given as [17] which respectively correspond to mass, momentum, and energy

(21)

For the computation of U_{x} in Equation (21), we used Fourier transform. To implement the performance of the method, three test problems will be considered: the motion of a single solitary wave, development of two positive solitary waves interaction, development of three positive solitary wave interaction.

4.1. The Motion of Single Solitary Wave

Consider Equation (1) with the boundary as and initial condition

(22)

This problem has a solitary wave solution of the form

(23)

which represents the motion of a single solitary wave with amplitude A, where the wave velocity and. For this problem the analytical values of the invariants are [16]

(24)

For the numerical simulation of the motion of a single solitary wave, the parameters Δx = 0.1, Δt = 0.001, μ = 1, x_{0} = 30, N = 2048 and A = 0.25 are chosen. The analytical values for the invariants are C_{1} = 0.7853982, C_{2} = 0.1666667, and C_{3} = 0.0052083. As it is seen from Table 1, the invariants C_{1} and C_{3} remain almost constant during the computer run at times t = 0 to t = 100 (changes of the invariants C_{1} and C_{3} approach zero), where C_{2} changes from its initial value by less than 1 × 10^{−}^{9}. The error norms L_{2} and L_{∞} at different various times are shown in Table 1. It is shown that the numerical values very close to the exact values. Figure 1(a) shows that the proposed method performs the motion of propagation of a solitary wave satisfactorily, which moved to the right at a constant speed and preserved its amplitude and shape with increasing time as expected. Amplitude is 0.25 at t = 0 which is located at x = 30, while it is 0.249985 at t = 20 which is located at x = 30.6149. The absolute difference in amplitudes at times t = 0 and t = 20 is only 1.5 × 10^{−}^{5}. Error distribution at time t = 20 is drawn in Figure 1(b), from which it can be seen that maximum errors happened just around the peak position of the solitary wave. Table 2 displays the values of the error norms and numerical invariants obtained at different values of N with Δx = 0.1, Δt = 0.001, μ = 1, x_{0} = 30 and A = 0.25. As it is seen from Table 2, the error norms decrease (halved) when N increases (doubled) and numerical invariants C_{1}, C_{2} and C_{3} closed to the analytical values when N increases. The comparison between the results obtained by the present with those in the other studies [15] [22] [24] [25] also documented in Table 2.

(a) (b)

Figure 1. (a) The motion of a single solitary wave and (b) the error distribution in FLF scheme for MEW equation with A = 0.25, N = 2048, Δx = 0.1 and Δt = 0.001 at t = 20.

Table 1. Invariants and error norms for the single soliton using FLF scheme with A = 0.25, N = 2048, Δx = 0.1 and Δt = 0.001.

Table 2. Invariants, error norms for the single soliton MEW equation using FLF scheme with A = 0.25, Δx = 0.1 and Δt = 0.001 at different values of N at t = 20 and comparison with different methods at A = 0.25, Δt = 0.05 and Δx = 0.1.

4.2. Interaction of Two Solitary Waves

The initial condition given by the linear sum of two separate solitary waves of various amplitudes

(25)

where. Firstly the interaction of two positive solitary waves is study with the parameters A_{1} = 1, A_{2} = 0.5, x_{1} = 15, x_{2} = 30, N = 8192, Δx = 0.1 and Δt = 0.01. The analytic invariants are [25] ,

, and. The initial function was placed on the left side of the region with the larger wave to the left of the smaller one as seen in Figure 2(a). Both waves move to the right with velocities dependent upon their magnitudes. The larger wave catches up with the smaller one as time increase. Interaction started at about time t = 25, the overlapping process continues until the time t = 40, then two solitary waves emerge from the interaction and resume their former shapes and amplitudes as shown in Figures 2(b)-(f). The magnitude of the smaller wave 0.510741 on reaching

(a) (b)(c) (d)(e) (f)

Figure 2. Interaction of two solitary waves at different times with A_{1} = 1 and A_{2} = 0.5.

position x = 34.7 and of the larger wave 1.000097 having the position x = 44.4 are measured at time t = 55 so that difference in amplitudes is 0.010741 for the smaller wave and 0.000097 for the larger wave. Table 3 displays the values of the invariants obtained by the present method. It is observed that the obtained values of the invariants remain almost constant during the computer run. The change in C_{2} is 6.11 × 10^{−}^{5} and in C_{3} is 5.68 × 10^{−}^{5} and C_{1} is exact up to the last recorded digit.

The intersection of two solitary waves was also studies with the following parameters: μ = 1, x_{1} = 15, x_{2} = 30, A_{1} = −2, A_{2} = 1, N = 8192, Δt = 0.01 and Δx = 0.1 in the range 0 ≤ x ≤ 819.2. The experiment was run from t = 0 to t = 55 to allow the interaction to take place. Figure 3 shows the development of the solitary wave interaction. As is seen from Figure 3, at t = 0 a wave with the negative amplitude is on the left of another wave with the positive amplitude. The larger wave with the negative amplitude catches up with the smaller one with the positive amplitude as the time increases. At t = 55, the amplitude of the smaller wave is at the point 0.9741792 at the point 52.5064095 whereas the amplitude of the larger one is −2.0014682 at the point 123.6150897326334 It is found that the absolute difference in amplitudes is 0.025820781 for the smaller wave and 0.00146821 for the larger wave. The analytical invariants can be found as C_{1} = −3.1415927, C_{2} = 13.3333333 and C_{2} = 22.6666667. It can be seen in Table 3 that the values obtained for the invariants are satisfactorily constant during the computer run.

4.3. Interaction of Three Solitary Waves

Interaction of three solitary waves is studied by considering Equation (1) with the following initial condition:

(26)

where. The computations are carried out with parameters = 1, A_{1} = 1, A_{2} = 0.5, A_{3} = 0.25, x_{1} = 15, x_{2} = 30, x_{3} = 45, N = 8192, Δx = 0.1 and Δt = 0.01. Solitary wave having the largest amplitude is located to the left of the smaller ones. As is well known, solitary waves with larger amplitudes have a greater velocity than those with smaller amplitudes. Consequently, as time goes on the larger two solitary waves catches up with the smaller one, the overlapping process of the three solitary waves continues while the larger solitary waves have overtaken the smaller ones. Plot of the three solitary waves is depicted at various times in Figure 4. Interaction of three solitary

Table 3. Invariants for the interaction of two solitary waves with Δt = 0.01, Δx = 0.1 and N = 8192.

(a) (b)(c) (d)(e) (f)

Figure 3. Interaction of two solitary waves at different times with A_{1} = −2 and A_{2} = 1.

(a) (b)(c) (d)(e) (f)

Figure 4. Interaction of three solitary waves at different times.

waves can be openly observed from the time-amplitude graph in Figure 4 for the three algorithms. At t = 200, the amplitudes of the smaller waves are 0.25613 at the point x = 47.21 and 0.49672 at the point x = 54.41, whereas the amplitude of the larger one is 1.00032 at the point x = 117.91. Table 4 displays the values of the invariants obtained by the present method. It is observed that the obtained values of the invariants remain almost constant during the computer run. The change in C_{2} is 5.37 × 10^{−}^{5} and in C_{3} is 5.09 × 10^{−}^{5} and C_{1} is exact up to the last recorded digit. The analytical values can be found [25] as, and.

4.4. The Maxwellian Initial Condition

We consider here is the numerical solution of the Equation (1) with the Maxwellian initial condition

, (27)

with the boundary conditions

.

As it is known, Maxwellian initial condition the behavior of the solution depends on the values of µ. The computations are carried out for the cases µ = 1, 0.5, 0.1, 0.05, 0.02 and 0.005 which are used in [12] [17] [21] . When µ = 1, 0.5 is used as shown Figure 5(a) and Figure 5(b) at time t = 12 the Maxwellian initial condition does not cause development into a clean solitary wave. However with smaller values of µ = 1, 0.1, 0.05, 0.02 and 0.005 Maxwellian initial condition breaks up into more solitary waves which drawn in Figures 5(c)-(f) at time t = 12. The numerical conserved quantities with µ = 1, 0.5, 0.1, 0.05, 0.02 and 0.005 are given in Table 5. It can be seen in Table 4 that the values obtained for the invariants are satisfactorily constant during the computer run.

5. Conclusion

The Fourier Leap Frog method has been successfully applied to obtain the numerical solution of the modified equal width wave equation. Four test problems are worked out to examine the performance of the used method. The motion of a single solitary wave and its accuracy was shown by calculating error norms L_{2} and L_{∞} and shown in the figures and tables. The interaction of two solitary waves and its accuracy shown by compare with other numerical solutions. The interaction of three solitary waves and its accuracy shown by compare with other numerical solutions. A Maxwellian initial condition pulse is then studied at different values of µ. The invariants

Table 4. Invariants for the interaction of three solitary waves.

(a) (b)(c) (d)(e) (f)

Figure 5. Maxwellian initial condition, state at t = 12 and different values of µ.

Table 5. Invariants for Maxwellian initial condition at different values of µ.

are satisfactorily constant in computer run in all cases. The obtained results show that the present method is a remarkably successful numerical method and can also be efficiently applied to other types of non-linear problems.

Conflicts of Interest

The authors declare no conflicts of interest.

[1] |
Fornberg, B. (1996) A Practical Guide to Pseudospectral Methods. Cambridge University Press, New York. http://dx.doi.org/10.1017/CBO9780511626357 |

[2] |
Fornberg, B. and Whitham, G.B. (1978) A Numerical and Theoretical Study of Certain Nonlinear Wave Phenomena. Philosophical Transactions of the Royal Society of London, 289, 373-404. http://dx.doi.org/10.1098/rsta.1978.0064 |

[3] |
Hassan, H.N. and Saleh, H.S. (2013) Fourier Spectral Methods for Solving Some Nonlinear Partial Differential Equations. International Journal of Open Problems in Computer Science and Mathematics, 6, 144-179. http://dx.doi.org/10.12816/0006177 |

[4] |
Hassan, H.N. (2010) Numerical Solution of a Boussinesq Type Equation Using Fourier Spectral Methods. Zeitschrift für Naturforschung A, 65, 305-314. http://dx.doi.org/10.1515/zna-2010-0407 |

[5] |
Borluk, H. and Muslu, G.M. (2015) A Fourier Pseudospectral Method for a Generalized Improved Boussinesq Equation. Numerical Methods for Partial Differential Equations, 31, 995-1008. http://dx.doi.org/10.1002/num.21928 |

[6] |
Hassan, H.N. and Saleh, H.S. (2010) The Solution of the Regularized Long Wave Equation Using the Fourier Leap-Frog Method. Zeitschrift für Naturforschung A, 65, 268-276. http://dx.doi.org/10.1515/zna-2010-0402 |

[7] |
Gardner, L.R.T. and Gardner, G.A. (1990) Solitary Waves of the Regularized Long-Wave Equation. Journal of Computational Physics, 91, 441-459. http://dx.doi.org/10.1016/0021-9991(90)90047-5 |

[8] |
Gardner, L.R.T. and Gardner, G.A. (1992) Solitary Waves of the Equal Width Wave Equation. Journal of Computational Physics, 101, 218-223. http://dx.doi.org/10.1016/0021-9991(92)90054-3 |

[9] |
Morrison, P.J., Meiss, J.D. and Cary, J.R. (1984) Scattering of Regularized-Long-Wave Solitary Waves. Physica D. Nonlinear Phenomena, 11, 324-336. http://dx.doi.org/10.1016/0167-2789(84)90014-9 |

[10] |
Abdulloev, Kh.O., Bogolubsky, I.L. and Makhankov, V.G. (1974) One More Example of Inelastic Soliton Interaction. Physics Letters A, 56, 427-428. http://dx.doi.org/10.1016/0375-9601(76)90714-3 |

[11] |
Gardner, L.R.T., Gardner, G.A. and Geyikli, T. (1994) The Boundary Forced MKdV Equation. Journal of Computational Physics, 113, 5-12. http://dx.doi.org/10.1006/jcph.1994.1113 |

[12] |
Geyikli, T. and Karakoç, S.B.G. (2011) Septic B-Spline Collocation Method for the Numerical Solution of the Modified Equal Width Wave Equation. Applied Mathematics, 2, 739-749. http://dx.doi.org/10.4236/am.2011.26098 |

[13] | Geyikli, T. and Karakoç, S.B.G. (2012) Petrov-Galerkin Method with Cubic B Splines for Solving the MEW Equation. Bulletin of the Belgian Mathematical Society, 19, 215-227. |

[14] |
Esen, A. (2005) A Numerical Solution of the Equal Width Wave Equation by a Lumped Galerkin Method. Applied Mathematics and Computation, 168, 270-282. http://dx.doi.org/10.1016/j.amc.2004.08.013 |

[15] |
Esen, A. (2006) A Lumped Galerkin Method for the Numerical Solution of the Modified Equal-Width Wave Equation Using Quadratic B-Splines. International Journal of Computer Mathematics, 83, 449-459. http://dx.doi.org/10.1080/00207160600909918 |

[16] |
Saka, B. (2007) Algorithms for Numerical Solution of the Modified Equal Width Wave Equation Using Collocation Method. Mathematical and Computer Modelling, 45, 1096-1117. http://dx.doi.org/10.1016/j.mcm.2006.09.012 |

[17] |
Zaki, S.I. (2000) Solitary Wave Interactions for the Modified Equal Width Equation. Computer Physics Communications, 126, 219-231. http://dx.doi.org/10.1016/S0010-4655(99)00471-3 |

[18] |
Zaki, S.I. (2000) Least-Squares Finite Element Scheme for the EW Equation. Computer Methods in Applied Mechanics and Engineering, 189, 587-594. http://dx.doi.org/10.1016/S0045-7825(99)00312-6 |

[19] |
Wazwaz, A.M. (2006) The Tanh and the Sine-Cosine Methods for a Reliable Treatment of the Modified Equal Width Equation and Its Variants. Communications in Nonlinear Science and Numerical Simulation, 11, 148-160. http://dx.doi.org/10.1016/j.cnsns.2004.07.001 |

[20] |
Saka, B. and Dagb, I. (2007) Quartic B-Spline Collocation Method to the Numerical Solutions of the Burgers’ Equation. Chaos, Solitons & Fractals, 32, 1125-1137. http://dx.doi.org/10.1016/j.chaos.2005.11.037 |

[21] |
Lu, J. (2009) He’s Variational Iteration Method for the Modified Equal Width Equation. Chaos, Solitons & Fractals, 39, 2102-2109. http://dx.doi.org/10.1016/j.chaos.2007.06.104 |

[22] |
Evans, D.J. and Raslan, K.R. (2005) Solitary Waves for the Generalized Equal Width (GEW) Equation. International Journal of Computer Mathematics, 82, 445-455. http://dx.doi.org/10.1080/0020716042000272539 |

[23] |
Hamdi, S.W., Enright, H., Schiesser, W.E. and Gottlieb, J.J. (2003) Exact Solutions of the Generalized Equal Width Wave Equation. In: Kumar, V., Gavrilova, M.L., Tan, C.J.K. and L’Ecuyer, P., Eds., Computational Science and Its Application—ICCSA 2003, Springer, Berlin, 725-734. http://dx.doi.org/10.1007/3-540-44843-8_79 |

[24] |
Esen, A. and Kutluay, S. (2008) Solitary Wave Solutions of the Modified Equal Width Wave Equation. Communications in Nonlinear Science and Numerical Simulation, 13, 1538-1546. http://dx.doi.org/10.1016/j.cnsns.2006.09.018 |

[25] |
Karakoç, S.B.G. and Geyikli, T. (2012) Numerical Solution of the Modified Equal Width Wave Equation. International Journal of Differential Equations, 2012, Article ID: 587208. http://dx.doi.org/10.1155/2012/587208 |

Journals Menu

Contact us

customer@scirp.org | |

+86 18163351462(WhatsApp) | |

1655362766 | |

Paper Publishing WeChat |

Copyright © 2023 by authors and Scientific Research Publishing Inc.

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.