Abstract and Applied Analysis

Volume 2014 (2014), Article ID 596406, 15 pages

http://dx.doi.org/10.1155/2014/596406

## An Efficient Approach to Numerical Study of the MRLW Equation with B-Spline Collocation Method

^{1}Nevsehir Haci Bektas Veli University, 50300 Nevsehir, Turkey^{2}Armutlu Vocational High School, Yalova University, 77500 Yalova, Turkey^{3}Faculty of Computer Science, Abdullah Gül University, 38039 Kayseri, Turkey

Received 1 January 2014; Revised 15 May 2014; Accepted 8 July 2014; Published 22 July 2014

Academic Editor: Ahmet Yasar Ozban

Copyright © 2014 Seydi Battal Gazi Karakoç et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

A septic B-spline collocation method is implemented to find the numerical solution of the modified regularized long wave (MRLW) equation. Three test problems including the single soliton and interaction of two and three solitons are studied to validate the proposed method by calculating the error norms and and the invariants , , and . Also, we have studied the Maxwellian initial condition pulse. The numerical results obtained by the method show that the present method is accurate and efficient. Results are compared with some earlier results given in the literature. A linear stability analysis of the method is also investigated.

#### 1. Introduction

The generalized regularized long wave equation is given by where is a positive integer and and are positive constants. This equation is one of the most important nonlinear wave equation used a model for small amplitude long waves on the surface of water in a channel [1, 2]. A few authors solved the equation numerically: among others, Zhang [3] used a finite difference method for a Cauchy problem and Kaya [4] applied the Adomian decomposition method and a quasilinearization method based on finite differences was used by Ramos [5]. Roshan [6] implemented the Petrov-Galerkin method using a linear hat function as the trial function and a quintic B-spline function as the test function. A mesh-free technique for the numerical solution of the equation has been presented by Mokhtari and Mohammadi [7]. For , Equation (2) is known as regularized long wave equation, originally introduced to describe the behavior of the undular bore by Peregrine [1] and later widely studied by Benjamin et al. [8]. The RLW equation has been solved numerically by finite element methods [9–22], finite difference methods [23–26], Fourier pseudospectral [27], and mesh-free method [28]. For , Another particular case of (2) is called modified regularized long wave (MRLW) equation. Like RLW equation, the MRLW equation has been solved numerically by various methods. Among many others, a collocation solution to the equation using quintic B-spline finite element method is developed by Gardner et al. [29]. Khalifa et al. [30, 31] obtained the numerical solutions of the equation using finite difference method and cubic B-spline collocation finite element method. Solutions based on collocation method with quadratic B-spline finite elements and the central finite difference method for time are investigated by Raslan [32]. The equation was solved with a collocation finite element method using quadratic, cubic, quartic, and quintic B-splines to obtain the numerical solutions of the single solitary wave by Raslan and Hassan [33]. Haq et al. [34] have designed a numerical scheme based on quartic B-spline collocation method for the numerical solution of the equation. Ali [35] has formulated a classical radial basis functions (RBFs) collocation method for solving the equation. Karakoc et al. [36] have obtained a type of the quintic B-spline collocation procedure in which nonlinear term in the equation is linearized by using the form introduced by the Rubin and Graves [37] to solve the equation. A Petrov-Galerkin method using cubic B-spline function as trial function and a quadratic B-spline function as the test function is set up to solve the equation by Karakoc and Geyikli [38]. A homotopy analysis method has been employed to obtain approximate numerical solution of the modified regularized long wave (MRLW) equation with some specified initial conditions by Khan et al. [39].

In the present paper, a numerical scheme based on the septic B-spline collocation method has been set up for solving the MRLW equation with a variant of both initial and boundary conditions. This paper is set out as follows. In Section 2, septic B-spline collocation scheme is presented. Also stability analysis is considered. In Section 3, test problems including single, two, and three solitary waves and Maxwellian initial condition are discussed. Finally in Section 4, a summary is given at the end of the paper.

#### 2. Septic B-Spline Finite Element Solution

Consider the MRLW Equation (3) given with the following boundary conditions, and the initial condition

In order to be able to apply the numerical method, the solution region of the problem is restricted over an interval . Space interval is partitioned into uniformly sized finite elements of length by the nodes such that and . The set of septic B-spline functions forms a basis over the problem domain . A global approximation is expressed in terms of septic B-splines as where s are time dependent parameters to be determined from the initial, boundary, and collocation conditions.

Septic B-splines , (), at the knots are defined over the interval by [40]

Using expansion (6) and trial function (7), the nodal values and their first, second, and third derivatives can be calculated at the nodal points in terms of nodal parameters by the following set of equations: The splines and their six principle derivatives vanish outside the interval .

To apply the proposed method, Crank-Nicolson approximation for the space derivatives and and usual first order forward difference formula for the time derivative of the in (3) have been used, which lead to

In order to linearize the nonlinear term (, we can write the term as follows, and apply the linearization form introduced by Rubin and Graves [37] to (9), and we get

Substituting the approximate solution and putting the nodal values of and its derivatives given by (8) into (12) one obtains the following iterative system for where The newly obtained iterative system (13) consists of linear equation in unknowns . To obtain a unique solution of this system, six additional constraints are required. Applying the boundary conditions (4) and using the values of (8), these constraints are used and this enables us to eliminate the unknowns from system (13). So system (13) is reduced to a septa-diagonal system of linear equations in unknowns given by , where . The coefficient matrixes are given bywhere

Before starting the solution process, initial parameters must be determined by using the initial condition and the following derivatives at the boundaries: So we have the following matrix form for the initial vector : whereand .

##### 2.1. A Linear Stability Analysis

We have investigated stability analysis by applying the von-Neumann approach in which the growth factor of typical Fourier mode is given by where is a mode number and is the element size. To apply this method, we have linearized the nonlinear term by considering as a constant such as in (9). If we substitute (20) into the iterative system (13) we obtain the following equation: where is the growth factor. We have identified the collocation points with the nodes and used (8) to evaluate and its space derivatives in (3). This leads to a set of ordinary differential equations in the following form: where . Here denotes derivative with respect to time. If the parameters ’s and their time derivatives in (22) are discretized by the Crank-Nicolson formula and usual forward finite difference approximation, respectively, we obtain a recurrence relationship between two time levels and relating two unknown parameters , for , where

Substituting the Fourier mode (20) into (24) leads to the growth factor of the form where ; therefore the linearized scheme is unconditionally stable.

#### 3. Numerical Examples and Results

In this section, we have obtained numerical solution of the MRLW equation for motion of single solitary wave, interaction of two and three solitary waves, and development of the Maxwellian initial condition into solitary waves. Accuracy of the method is measured by using the following error norms: The discrete conservation properties of the MRLW equation corresponding to mass, momentum, and energy are determined by finding the following three invariants [41]:

##### 3.1. The Motion of Single Solitary Wave

As a first problem, MRLW equation (3) is considered with the boundary conditions as and the initial condition Single solitary wave solution of the MRLW equation has an analytical solution of the form where and and are arbitrary constants. This solution corresponds to motion of single solitary wave with amplitude , initially centered at and with wave velocity . For this problem the analytical values of the invariants are [29]

For the computational work, two sets of parameters have been chosen and discussed. First of all, we have taken the parameters over the interval to compare our results with [6, 29, 30, 35, 36]. Thus, the solitary wave has an amplitude and the computations are done up to time to obtain the invariants and error norms and . Values of the three invariants and error norms are reported in Table 1. It is clearly seen from the table that the error norms are satisfactorily small enough and the computed values of invariants are in good agreement with their analytical values , and . The percentage of the relative error of the conserved quantities , , and is calculated with respect to the conserved quantities at . Percentage of relative changes of , , and is found to be , and , respectively. Thus, the quantities , , and remain constant during the computer run. For this case in Table 2, we compare the values of the invariants and error norms obtained by using the present method and some earlier methods [6, 29, 30, 35, 36]. From the table, we observed that the error norms obtained by the present method are less than those of other methods [6, 29, 30, 35, 36]. Figure 1 shows the motion of solitary wave with at different time levels. It is observed that the solitary wave moves to the right with constant velocity and amplitude. At , the amplitude is which is located at , while it is at located at . The absolute difference in amplitudes at times and is found to be , so there is a little change between the amplitudes.

Secondly, we have taken the parameters and with range to enable comparison with [6, 30, 32, 34–36]. So the solitary wave has amplitude . Simulations are run up to time . Error norms and and conserved quantities are tabulated in Table 3, together with the results obtained in [6, 30, 32, 34–36]. These results show high degree of accuracy and efficiency of the method. The invariants , , and have changed by less than , and percent, respectively. Moreover, the variation of the invariants and from the initial variants is less than and , respectively, whereas the changes in the invariant approach to zero throughout the interval. The perspective views of traveling solitary wave at different time levels are shown in Figure 2. The distributions of the errors at time and are shown graphically for solitary waves amplitudes and in Figure 3. It is seen that the maximum errors are close to the tip of the solitary waves and between and , , and , respectively. The CPU times for an Intel(R) Core i5, 2.53 GHz, are also given in Tables 4 and 5.

##### 3.2. Interaction of Two Solitary Waves

As a second problem, interaction of two well separated solitary waves having different amplitudes and traveling in the same direction is considered by using the initial condition where , , , and and are arbitrary constants. The analytical values of the invariants can be found as [29]

We have studied the interaction of two positive solitary waves having the parameters through the interval to coincide with those used by [6, 30, 34–36]. The simulations are maintained up to . Constant values , and at various time steps together with equivalent results for the previous methods are shown in Table 6. It is seen that the numerical values of the invariants remain almost constant during the computer run. 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 at the point , whereas the amplitude of the smaller one is at the point . It is found that the absolute difference in amplitude is for the smaller wave and for the larger wave for this case.

##### 3.3. Interaction of Three Solitary Waves

As a third problem, interaction of three solitary waves having different amplitudes and travelling in the same direction is studied. We consider (3) with initial conditions given by where , , , and are arbitrary constants. For this problem the analytical values of the invariants are found from (32) as

In order to be able to compare with the previous works, computations are performed for the parameters over the interval . The simulation is run from to . Table 7 shows a comparison of the values of the invariants obtained by the present method with those obtained in [30, 34–36]. It is evident 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 (36). Figure 5 depicts the interaction of three solitary waves at different times. It is observed from Figure 5 that interaction started 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

As our last problem, the development of the Maxwellian initial condition, into a train of solitary waves is considered. For the Maxwellian initial condition, behavior of the solution depends on the values of . So we take , and . The numerical values of the invariants quantities during the simulations are given in Table 8. For , only a single soliton occurred as depicted in Figure 6(a). When and , two and three stable solitons occurred, respectively, as depicted in Figures 6(b) and 6(c). For , Maxwellian initial condition has decayed into four solitary waves as depicted in Figure 6(d). As is seen, when is reduced, more solitary waves occurred. All figures are 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 and also we observe a small oscillating tail appearing behind the last wave in all Maxwellian figures.

#### 4. Conclusion

In this paper, a numerical treatment of the MRLW equation has been introduced using septic B-spline collocation finite element method. The nonlinear term in the equation has been linearized by using a form given in the paper [37]. To examine the performance of the scheme, four test problems have been studied. The performance and accuracy of the method have been tested by calculating the error norms and and the invariant quantities , and . Linear stability analysis proved that the present scheme is unconditionally stable. The experimental results of the algorithm are much satisfactory in comparison with the previous results. Our method can successfully be used to model the motion and interaction of the solitary waves. Thus, we can assert that our scheme is efficient and reliable for obtaining the numerical solutions of the other physically important nonlinear partial differential equations.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

The authors wish to thank the reviewers for their careful reading and making several useful comments improving the presented paper.

#### References

- D. H. Peregrine, “Calculations of the development of an undular bore,”
*Journal of Fluid Mechanics*, vol. 25, pp. 321–330, 1966. View at Google Scholar - D. H. Peregrine, “Long waves on a beac,”
*Journal of Fluid Mechanics*, vol. 27, pp. 815–827, 1967. View at Google Scholar - L. Zhang, “A finite difference scheme for generalized regularized long-wave equation,”
*Applied Mathematics and Computation*, vol. 168, no. 2, pp. 962–972, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - D. Kaya, “A numerical simulation of solitary-wave solutions of the generalized regularized long-wave equation,”
*Applied Mathematics and Computation*, vol. 149, no. 3, pp. 833–841, 2004. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - J. I. Ramos, “Solitary wave interactions of the GRLW equation,”
*Chaos, Solitons and Fractals*, vol. 33, no. 2, pp. 479–491, 2007. View at Publisher · View at Google Scholar · View at Scopus - T. Roshan, “A Petrov-Galerkin method for solving the generalized regularized long wave (GRLW) equation,”
*Computers & Mathematics with Applications*, vol. 63, no. 5, pp. 943–956, 2012. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - R. Mokhtari and M. Mohammadi, “Numerical solution of GRLW equation using Sinc-collocation method,”
*Computer Physics Communications*, vol. 181, no. 7, pp. 1266–1274, 2010. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - T. B. Benjamin, J. L. Bona, and J. J. Mahony, “Model equations for long waves in nonlinear dispersive systems,”
*Philosophical Transactions of the Royal Society of London A: Mathematical and Physical Sciences*, vol. 272, no. 1220, pp. 47–78, 1972. View at Publisher · View at Google Scholar · View at MathSciNet - Q. S. Chang, G. B. Wang, and B. L. Guo, “Conservative scheme for a model of nonlinear dispersive waves and its solitary waves induced by boundary motion,”
*Journal of Computational Physics*, vol. 93, no. 2, pp. 360–375, 1991. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - L. R. T. Gardner and G. A. Gardner, “Solitary waves of the regularised long-wave equation,”
*Journal of Computational Physics*, vol. 91, no. 2, pp. 441–459, 1990. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - L. R. T. Gardner, G. A. Gardner, and A. Dogan, “A least-squares finite element scheme for the RLW equation,”
*Communications in Numerical Methods in Engineering*, vol. 12, no. 11, pp. 795–804, 1996. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - L. R. T. Gardner, G. A. Gardner, and I. Dag, “A $B$-spline finite element method for the regularized long wave equation,”
*Communications in Numerical Methods in Engineering*, vol. 11, no. 1, pp. 59–68, 1995. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - M. E. Alexander and J. L. Morris, “Galerkin methods applied to some model equations for non-linear dispersive waves,”
*Journal of Computational Physics*, vol. 30, no. 3, pp. 428–451, 1979. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - J. M. Sanz-Serna and I. Christie, “Petrov-Galerkin methods for nonlinear dispersive waves,”
*Journal of Computational Physics*, vol. 39, no. 1, pp. 94–102, 1981. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - A. Dogan, “Numerical solution of RLW equation using linear finite elements within Galerkin's method,”
*Applied Mathematical Modelling*, vol. 26, no. 7, pp. 771–783, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus - A. Esen and S. Kutluay, “Application of a lumped Galerkin method to the regularized long wave equation,”
*Applied Mathematics and Computation*, vol. 174, no. 2, pp. 833–845, 2006. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - A. A. Soliman and K. R. Raslan, “Collocation method using quadratic B-spline for the RLW equation,”
*International Journal of Computer Mathematics*, vol. 78, no. 3, pp. 399–412, 2001. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - A. A. Soliman and M. H. Hussien, “Collocation solution for RLW equation with septic spline,”
*Applied Mathematics and Computation*, vol. 161, no. 2, pp. 623–636, 2005. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - K. R. Raslan, “A computational method for the regularized long wave (RLW) equation,”
*Applied Mathematics and Computation*, vol. 167, no. 2, pp. 1101–1118, 2005. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - B. Saka, I. Dag, and A. Dogan, “Galerkin method for the numerical solution of the {RLW} equation using quadratic B-splines,”
*International Journal of Computer Mathematics*, vol. 81, no. 6, pp. 727–739, 2004. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - İ. Daǧ, B. Saka, and D. Irk, “Application of cubic B-splines for numerical solution of the RLW equation,”
*Applied Mathematics and Computation*, vol. 159, no. 2, pp. 373–389, 2004. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - I. Daǧ and M. Naci Özer, “Approximation of the RLW equation by the least square cubic B-spline finite element method,”
*Applied Mathematical Modelling*, vol. 25, no. 3, pp. 221–231, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus - S. I. Zaki, “Solitary waves of the splitted RLW equation,”
*Computer Physics Communications*, vol. 138, no. 1, pp. 80–91, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus - J. C. Eilbeck and G. R. McGuire, “Numerical study of the regularized long-wave equation, II. Interaction of solitary waves,”
*Journal of Computational Physics*, vol. 23, no. 1, pp. 63–73, 1977. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - P. C. Jain, R. Shankar, and T. V. Singh, “Numerical solution of regularized long-wave equation,”
*Communications in Numerical Methods in Engineering*, vol. 9, no. 7, pp. 579–586, 1993. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - D. Bhardwaj and R. Shankar, “A computational method for regularized long wave equation,”
*Computers & Mathematics with Applications*, vol. 40, no. 12, pp. 1397–1404, 2000. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - B. Y. Guo and W. M. Cao, “The Fourier pseudospectral method with a restrain operator for the RLW equation,”
*Journal of Computational Physics*, vol. 74, no. 1, pp. 110–126, 1988. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - S. Islam, F. Haq, and A. Ali, “A meshfree method for the numerical solution of the RLW equation,”
*Journal of Computational and Applied Mathematics*, vol. 223, no. 2, pp. 997–1012, 2009. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - L. R. T. Gardner, G. A. Gardner, and F. A. a. Ayoub, “Approximations of solitary waves of the {MRLW} equation by $B$-spline finite elements,”
*The Arabian Journal for Science and Engineering A: Sciences*, vol. 22, no. 2, pp. 183–193, 1997. View at Google Scholar · View at MathSciNet · View at Scopus - A. K. Khalifa, K. R. Raslan, and H. M. Alzubaidi, “A collocation method with cubic B-splines for solving the MRLW equation,”
*Journal of Computational and Applied Mathematics*, vol. 212, no. 2, pp. 406–418, 2008. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - A. K. Khalifa, K. R. Raslan, and H. M. Alzubaidi, “A finite difference scheme for the MRLW and solitary wave interactions,”
*Applied Mathematics and Computation*, vol. 189, no. 1, pp. 346–354, 2007. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - K. R. Raslan, “Numerical study of the modified regularized long wave (MRLW) equation,”
*Chaos, Solitons and Fractals*, vol. 42, no. 3, pp. 1845–1853, 2009. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - K. R. Raslan and S. M. Hassan, “Solitary waves for the MRLW equation,”
*Applied Mathematics Letters*, vol. 22, no. 7, pp. 984–989, 2009. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - F. Haq, S. Islam, and I. A. Tirmizi, “A numerical technique for solution of the MRLW equation using quartic B-splines,”
*Applied Mathematical Modelling*, vol. 34, no. 12, pp. 4151–4160, 2010. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - A. Ali,
*Mesh free collocation method for numerical solution of initial-boundary value problems using radial basis functions [Ph.D. thesis]*, 2009. - S. B. G. Karakoc, N. M. Yagmurlu, and Y. Ucar, “Numerical approximation to a solution of the modified regularized long wave equation using quintic B-splines,”
*Boundary Value Problems*, vol. 2013, article 27, 2013. View at Publisher · View at Google Scholar · View at MathSciNet - S. G. Rubin and R. A. Graves, “Cubic spline approximation for problems in fluid mechanics,”
*TR R-436*, Nasa, Washington, DC, USA, 1975. View at Google Scholar - S. B. G. Karakoc and T. Geyikli, “Petrov-Galerkin finite element method for solving the MRLW equation,”
*Mathematical Sciences*, vol. 7, article 25, 2013. View at Publisher · View at Google Scholar · View at MathSciNet - Y. Khan, R. Taghipour, M. Falahian, and A. Nikkar, “A new approach to modified regularized long wave equation,”
*Neural Computing and Applications*, vol. 23, pp. 1335–1341, 2013. View at Publisher · View at Google Scholar · View at Scopus - P. M. Prenter,
*Splines and Variational Methods*, John Wiley & Sons, New York, NY. USA, 1975. View at MathSciNet - P. J. Olver, “Euler operators and conservation laws of the BBM equation,”
*Mathematical Proceedings of the Cambridge Philosophical Society*, vol. 85, no. 1, pp. 143–160, 1979. View at Publisher · View at Google Scholar · View at MathSciNet