Abstract
In this work, a numerical solution of the modified regularized long wave (MRLW) equation is obtained by the method based on collocation of quintic B-splines over the finite elements. A linear stability analysis shows that the numerical scheme based on Von Neumann approximation theory is unconditionally stable. Test problems including the solitary wave motion, the interaction of two and three solitary waves and the Maxwellian initial condition are solved to validate the proposed method by calculating error norms and that are found to be marginally accurate and efficient. The three invariants of the motion have been calculated to determine the conservation properties of the scheme. The obtained results are compared with other earlier results.
MSC: 97N40, 65N30, 65D07, 76B25, 74S05.
Similar content being viewed by others
1 Introduction
The modified regularized long wave (MRLW) equation, based upon the regularized long wave (RLW) equation,
which was proposed at first by Peregrine [1] to describe the development of an undular bore, has the form
where δ and μ are positive parameters and the subscripts x and t denote the differentiation. The RLW equation is one of the best known partial differential equations because it describes a large number of important physical phenomena with weak nonlinearity and dispersion waves such as magneto hydrodynamic and ion-acoustic waves in plasma, phonon packets in non-linear crystals, the transverse waves in shallow water, rotating flow down a tube and pressure waves in liquid-gas bubble mixtures. Bona and Pryant [2] have studied the existence and uniqueness of the equation. Benjamin et al. [3] have proposed the RLW equation as a numerically superior modification of the Korteweg de-Vries (KdV) equation. This superiority arises because, unlike the KdV equation, the dispersion relation associated with the linearized RLW equation yields the frequency that is bounded for large wave numbers [4]. But they have found an analytical solution of the RLW equation under the restricted initial and boundary conditions. So, various numerical techniques have been introduced to solve the equation. These include the finite difference [5–7], finite element [8–22], Fourier pseudo-spectral [23] methods and the meshfree method [24]. One of the special properties of the equation is that the solutions may exhibit solitons whose magnitudes, shapes and velocities are not changed after the collision. The RLW equation is a special case of the generalized long wave (GRLW) equation having the form
where p is a positive integer. Zhang [25] has used the finite difference method to solve the GRLW equation for a Cauchy problem. The quasilinearization method based on finite differences was used by Ramos [26] for solving the GRLW equation. Kaya et al. [27] have also studied the GRLW equation with the Adomian decomposition method. Roshan [28] has solved the GRLW equation numerically by the Petrov-Galerkin method using a linear hat function as the trial function and a quintic B-spline function as the test function. Gardner et al. [29] have developed a collocation solution to the MRLW equation using quintic B-splines finite elements. Khalifa et al. [30, 31] have obtained the numerical solutions of the MRLW equation using the finite difference method and the cubic B-spline collocation finite element method. Solutions based on the collocation method with quadratic B-spline finite elements and the central finite difference method for time have been investigated by Raslan [32]. Raslan and Hassan [33] have solved the MRLW equation by the collocation finite element method using quadratic, cubic, quartic and quintic B-splines to obtain the numerical solutions of a single solitary wave. Fazal-i-Haq et al. [34] have designed a numerical scheme based on the quartic B-spline collocation method for the numerical solution of the MRLW equation. Ali [35] has formulated a classical radial basis functions (RBFs) collocation method for solving the MRLW equation. In this paper, we have obtained a type of the quintic B-spline collocation procedure in which a nonlinear term in the equation is linearized by using the form introduced by Rubin and Graves [36] to solve the MRLW equation. The proposed method is shown to represent accurately the migration of a single solitary wave. Then the interaction of two and three solitary waves and the Maxwellian initial condition are studied. The linear stability analysis based on the Von Neumann method is also investigated.
2 Quintic B-spline finite element solution
Let us consider MRLW equation (2) with the following initial,
and boundary conditions:
For the numerical calculation, the solution domain of the problem is restricted over an interval . The interval is partitioned into uniformly-sized finite elements of length h by the knots such that . The set of quintic B-spline functions forms a basis over the problem domain . We seek the numerical solution to the exact solution in the form of
where are time dependent parameters to be determined from the boundary and collocation conditions.
Quintic B-splines (), at the knots are defined over the interval by [37].
Each quintic B-spline covers six elements so that each element is covered by six B-splines. Substituting trial function (7) into Eq. (6), the nodal values of U, , at the knots are obtained in terms of the element parameters by
where the symbols ′ and represent first and second differentiation with respect to x, respectively. The splines and their four principle derivatives vanish outside the interval .
Using a first-order forward difference formula for the time derivative of the U and Crank-Nicolson approximation for the space derivatives and in Eq. (2) leads to
Now, if we apply a linearization technique similar to the one first introduced by Rubin and Graves [36] to Eq. (9),
we obtain
If we substitute the nodal values of U, and given by (8) into (10), we obtain the following iterative system:
where
This newly obtained iterative system (10) consists of linear equations including unknown parameters . To obtain a unique solution to this system, we need four additional constraints. These are obtained from the boundary conditions and and can be used to eliminate , and , from system (10), which then becomes a matrix equation for the unknowns of the form
The matrices A and B are pentagonal matrices given as
where
To proceed with iterative formula (11), we need the initial vector which is determined from the initial and boundary conditions. For this purpose, approximation (6) must be rewritten for the initial condition as
where the ’s are unknown element parameters. Now, if we require the initial numerical approximation to satisfy the following boundary conditions to eliminate and :
we obtain the following matrix form for the initial vector :
where
and
2.1 A linear stability analysis
The stability analysis is based on the Von Neumann theory in which the growth factor of a typical Fourier mode is defined as
where k is a mode number and h is the element size. The non-linear term of the MRLW equation cannot be handled by the Fourier mode method. Thus, this term is linearized by making the quantity in the nonlinear term a local constant such as . Then substituting Eq. (15) into system (10) gives
where g is the growth factor.
Now, we identify the collocation points with the knots and use Eq. (8) to evaluate and its necessary space derivatives and substitute into Eq. (2) to obtain the following equation:
Here ⋅ denotes derivative with respect to time. If time parameters ’s and their time derivatives ’s in Eq. (17) are discretized by the Crank-Nicolson formula and usual forward finite difference approximation, respectively:
we obtain a recurrence relationship between two time levels n and relating two unknown parameters , for
where
Substituting the Fourier mode (15) into (19) gives the growth factor g of the form
where
The modulus of is 1, therefore the linearized scheme is unconditionally stable.
3 Results and discussion
In this section, we consider the following four test problems: the motion of a single solitary wave, the interaction of two and three solitary waves and the Maxwellian initial condition. Accuracy and efficiency of the method are measured by the error norms
and
The MRLW equation satisfies only three conservation laws given by [38]
which correspond to conversation of mass, momentum and energy, respectively. In the simulation of a solitary wave motion, the invariants , and are monitored to check the conversation of the numerical algorithm.
3.1 The motion of a single solitary wave
For this problem, MRLW Eq. (2) is considered with the boundary condition as and the initial condition
Note that the analytical solution of this problem can be written as
where , and c are arbitrary constants. The constants of motion, for a solitary wave of amplitude and width depending on p may be evaluated analytically as [29]
For our computational work, we have chosen two sets of parameters. Firstly, we have used the parameters , , , , over the interval to coincide with those of earlier papers [28–30, 35]. So, the solitary wave has amplitude 1.0 and the computations are done up to time to obtain the invariants and error norms and at various times. Error norms , and three invariants of the MRLW equation are listed in Table 1. It is seen that the error norms are found to be small enough and the computed values of invariants are in good agreement with their analytical values , , . Percentage values of the relative error of the conserved quantities , and are calculated with respect to the conserved quantities at . Percentage values of relative changes of , and are found to be , , , respectively. Thus, the invariants remain almost constant during the computer run. Table 2 displays a comparison of the values of the invariants and error norms obtained by the present method with those obtained by other methods [28–30, 35]. It can be seen from Table 2 that the error norms obtained by the present method are smaller than other methods [28–30, 35]. Figure 1 shows the motion of a solitary wave with , , at different time levels. It is observed that the soliton moves to the right at a constant speed and almost unchanged amplitude with increasing time, as expected. At the amplitude is 1.0 which is located at , while it is 0.999946 which is located at . At times and , the absolute difference in amplitude is so there is a little change between the amplitudes.
For the second set, the parameters , , , and with range are chosen to compare the results obtained by the present method with those obtained given in Refs. [28, 30, 32, 34, 35]. So, the solitary wave has amplitude 0.547723 and the computations are done up to time to obtain the invariants and error norms and at various times. Error norms and and conserved quantities are tabulated in Table 3 together with the results obtained with Refs. [28, 30, 32, 34, 35]. As it is seen from the table, the error norms obtained by the present method are smaller than those given in Refs. [30, 32] and almost the same as those in Refs. [28, 34, 35]. The agreement between numerical and analytic solutions is perfect which is given by Eq. 23. Percentage values of relative changes of , and are found to be , , , respectively. Moreover, from Table 3 , the changing of the invariants , and during the computer run is less than , , , respectively. The profiles of the solitary wave at different time levels have been shown in Figure 2. The distributions of the errors at time and are shown graphically for solitary wave amplitudes 1 and 0.3 in Figure 3. It is seen that the maximum errors are about at the tip of the solitary waves and between and , and , respectively.
3.2 Interaction of two solitary waves
Here the interaction of two solitary waves is studied by using the initial condition given by the linear sum of two well-separated solitary waves having various amplitudes
where , , , and are arbitrary constants. The analytical values of the invariants are found by [29]
For the numerical simulation, the parameters , , , , , , are used over the range to coincide with those used by Refs. [28, 30, 34, 35]. The experiment is run from to and the values of invariant quantities , and are recorded in Table 4. The analytical values of the invariants for this case are , , . A comparison of the values of the invariants obtained by the present method with those obtained in Refs. [28, 30, 34, 35] are listed in Table 4. It is seen that the obtained values of the invariants remain almost constant during the computer run. The development of the interaction of two solitary waves is shown in Figure 4. It can be seen from the figure that at the wave with larger amplitude is to the left of the second wave with smaller amplitude. Since the taller wave moves faster than the shorter one, it catches up and collides with the shorter one at and then moves away from the shorter one as time increases. At , the amplitude of larger waves is 2.001090 at the point whereas the amplitude of the smaller one is 0.996399 at the point . It is found that the absolute difference in amplitude is for the smaller wave and for the larger wave for this algorithm.
3.3 Interaction of three solitary waves
For this problem, the behavior of interaction of three solitary waves having different amplitudes and traveling in the same direction is studied. So, we consider Eq. (2) with the initial condition given by the linear sum of three well-separated solitary waves of different amplitudes
where , , , and are arbitrary constants. The analytical values of the conservation laws are found from Eq. (23) as follows:
For the purpose of comparison, parameters , , , , , , , , are used over the region . During the simulation, time is taken up to . The analytical values of the invariants for this case are , , . A comparison of the values of the invariants obtained by the present method with those obtained in Refs. [30, 34, 35] are shown in Table 5. It is observed from the table that the obtained values of the invariants remain almost constant during the computer run which are all in good agreement with their analytical values given by Eq. (27). The absolute difference between the values of the conservative constants obtained by the present method at times and are , , , respectively. Figure 5 shows the interaction of these solitary waves at different times. As it is seen from the Figure 5, the interaction started at about time , overlapping processes occurred between time and and waves started to resume their original shapes after the time .
3.4 The Maxwellian initial condition
Finally, we have studied the development of the Maxwellian initial condition
into a train of solitary waves. As it is known, with the Maxwellian condition (28), the behavior of the solution depends on the values of μ. We study each of the following cases: , , and . For , only a single soliton is formed as shown in Figure 6a. When and , two and three stable solitons are formed, respectively, as shown in Figure 6b, c. For , the Maxwellian initial condition has decayed into four solitary waves as shown in Figure 6d. All figures were drawn up at time . The peaks of the well-developed wave lie on a straight line, so that their velocities are linearly dependent on their amplitudes. We also observe a small oscillating tail appearing behind the last wave in all Maxwellian figures. The obtained numerical values of the invariants are given in Table 6.
4 Conclusions
A numerical solution of the MRLW equation based on the quintic B-spline finite element has been successfully presented. The nonlinear term of the equation is linearized by using a form given in the paper [36]. Four test problems are studied to examine the performance of the scheme. To show how good and accurate the numerical solutions of the test problems are, the error norms and and the invariant quantities , and have been used. It is seen that the error norms are sufficiently small and the invariants are well conserved. The method successfully models the motion and interaction of solitary waves. The computed results indicate that the present method is more accurate than some earlier results found in the literature. So, it can be said that the method is a reliable one for obtaining the numerical solutions of a wider range of physically important non-linear partial differential equations.
References
Peregrine DH: Calculations of the development of an undular bore. J. Fluid Mech. 1966, 25: 321-330. 10.1017/S0022112066001678
Bona JL, Pryant PJ: A mathematical model for long wave generated by wave makers in nonlinear dispersive systems. Proc. Camb. Philos. Soc. 1973, 73: 391-405. 10.1017/S0305004100076945
Benjamin TB, Bona JL, Mahoney JL: Model equations for long waves in nonlinear dispersive media. Philos. Trans. R. Soc. Lond. 1972, 272: 47-78. 10.1098/rsta.1972.0032
Morrison PJ, Meiss JD, Cary JA: Scattering of regularized long wave solitary waves. Physica 1984, 11D: 324-336.
Eilbeck JC, McGuire GR: Numerical study of the regularized long wave equation, II: Interaction of solitary wave. J. Comput. Phys. 1977, 23: 63-73. 10.1016/0021-9991(77)90088-2
Jain PC, Shankar R, Singh TV: Numerical solution of regularized long wave equation. Commun. Numer. Methods Eng. 1993, 9: 579-586. 10.1002/cnm.1640090705
Bhardwaj D, Shankar R: A computational method for regularized long wave equation. Comput. Math. Appl. 2000, 40: 1397-1404.
Chang Q, Wang G, Guo B: Conservative scheme for a model of nonlinear dispersive waves and its solitary waves induced by boundary motion. J. Comput. Phys. 1995, 93: 360-375.
Gardner LRT, Gardner GA: Solitary waves of the regularized long wave equation. J. Comput. Phys. 1990, 91: 441-459. 10.1016/0021-9991(90)90047-5
Gardner LRT, Gardner GA, Dogan A: A least-squares finite element scheme for the RLW equation. Commun. Numer. Methods Eng. 1996, 12: 795-804. 10.1002/(SICI)1099-0887(199611)12:11<795::AID-CNM22>3.0.CO;2-O
Gardner LRT, Gardner GA, Dag I: A B-spline finite element method for the regularized long wave equation. Commun. Numer. Methods Eng. 1995, 11: 59-68. 10.1002/cnm.1640110109
Alexander ME, Morris JL: Galerkin method applied to some model equations for nonlinear dispersive waves. J. Comput. Phys. 1979, 30: 428-451. 10.1016/0021-9991(79)90124-4
Serna JMS, Christie I: Petrov Galerkin methods for nonlinear dispersive wave. J. Comput. Phys. 1981, 39: 94-102. 10.1016/0021-9991(81)90138-8
Dogan A: Numerical solution of RLW equation using linear finite elements within Galerkin’s method. Appl. Math. Model. 2002, 26: 771-783. 10.1016/S0307-904X(01)00084-1
Esen A, Kutluay S: Application of lumped Galerkin method to the regularized long wave equation. Appl. Math. Comput. 2006, 174(2):833-845. 10.1016/j.amc.2005.05.032
Soliman AA, Raslan KR: Collocation method using quadratic b-spline for the RLW equation. Int. J. Comput. Math. 2001, 78: 399-412. 10.1080/00207160108805119
Soliman AA, Hussien MH: Collocation solution for RLW equation with septic spline. Appl. Math. Comput. 2005, 161: 623-636. 10.1016/j.amc.2003.12.053
Raslan KR: A computational method for the regularized long wave (RLW) equation. Appl. Math. Comput. 2005, 167: 1101-1118. 10.1016/j.amc.2004.06.130
Saka B, Dag I, Dogan A: Galerkin method for the numerical solution of the RLW equation using quadratic B-splines. Int. J. Comput. Math. 2004, 81(6):727-739. 10.1080/00207160310001650043
Dag I, Saka B, Irk D: Application of cubic B-splines for numerical solution of the RLW equation. Appl. Math. Comput. 2004, 159: 373-389. 10.1016/j.amc.2003.10.020
Dag I, Ozer MN: Approximation of RLW equation by least-square cubic B-spline finite element method. Appl. Math. Model. 2001, 25: 221-231. 10.1016/S0307-904X(00)00030-5
Zaki SI: Solitary waves of the splitted RLW equation. Comput. Phys. Commun. 2001, 138: 80-91. 10.1016/S0010-4655(01)00200-4
Gou BY, Cao WM: The Fourier pseudo-spectral method with a restrain operator for the RLW equation. J. Comput. Phys. 1988, 74: 110-126. 10.1016/0021-9991(88)90072-1
Islam S, Haq F, Ali A: A meshfree method for the numerical solution of the RLW equation. J. Comput. Appl. Math. 2009, 223: 997-1012. 10.1016/j.cam.2008.03.039
Zhang L: A finite difference scheme for generalized long wave equation. Appl. Math. Comput. 2005, 168(2):962-972. 10.1016/j.amc.2004.09.027
Ramos JI: Solitary wave interactions of the GRLW equation. Chaos Solitons Fractals 2007, 33: 479-491. 10.1016/j.chaos.2006.01.016
Kaya D, El-Sayed SM: An application of the decomposition method for the generalized KdV and RLW equations. Chaos Solitons Fractals 2003, 17: 869-877. 10.1016/S0960-0779(02)00569-6
Roshan T: A Petrov-Galerkin method for solving the generalized regularized long wave (GRLW) equation. Comput. Math. Appl. 2012, 63: 943-956.
Gardner LRT, Gardner GA, Ayoup FA, Amein NK: Simulations of solitary waves of the MRLW equation by B-spline finite element. Arab. J. Sci. Eng. 1997, 22: 183-193.
Khalifa AK, Raslan KR, Alzubaidi HM: A collocation method with cubic B-splines for solving the MRLW equation. J. Comput. Appl. Math. 2008, 212: 406-418. 10.1016/j.cam.2006.12.029
Khalifa AK, Raslan KR, Alzubaidi HM: A finite difference scheme for the MRLW and solitary wave interactions. Appl. Math. Comput. 2007, 189: 346-354. 10.1016/j.amc.2006.11.104
Raslan KR: Numerical study of the modified regularized long wave equation. Chaos Solitons Fractals 2009, 42: 1845-1853. 10.1016/j.chaos.2009.03.098
Raslan KR, Hassan SM: Solitary waves for the MRLW equation. Appl. Math. Lett. 2009, 22: 984-989. 10.1016/j.aml.2009.01.020
Haq F, Islam S, Tirmizi IA: A numerical technique for solution of the MRLW equation using quartic B-splines. Appl. Math. Model. 2010, 34: 4151-4160. 10.1016/j.apm.2010.04.012
Ali, A: Mesh free collocation method for numerical solution of initial-boundary value problems using radial basis functions. Dissertation, Ghulam Ishaq Khan Institute of Engineering Sciences and Technology (2009)
Rubin, SG, Graves, RA: Cubic spline approximation for problems in fluid mechanics. Nasa TR R-436, Washington DC (1975)
Prenter PM: Splines and Variational Methods. Wiley, New York; 1975.
Olver PJ: Euler operators and conservation laws of the BBM equation. Math. Proc. Camb. Philos. Soc. 1979, 85: 143-159. 10.1017/S0305004100055572
Acknowledgements
Dedicated to Professor Hari M Srivastava.
The authors would like to thank the reviewers for their careful reading and making some useful comments which improved the presentation of the paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ contributions
All the three authors have almost equal contributions to the article. In particular, SBGK participated in the design of the basic outline of the article and equations. NMY participated in the application of the method and obtaining the iterative formulae. YU participated in coding and running the necessary programs. All authors worked together to check and test the programs, to obtain the results, to carry out the literature search. All authors read, checked, corrected and approved the final manuscript.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Karakoc, S.B.G., Yagmurlu, N.M. & Ucar, Y. Numerical approximation to a solution of the modified regularized long wave equation using quintic B-splines. Bound Value Probl 2013, 27 (2013). https://doi.org/10.1186/1687-2770-2013-27
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/1687-2770-2013-27