Research Article | Open Access
Edson Pindza, Eben Maré, "Solving the Generalized Regularized Long Wave Equation Using a Distributed Approximating Functional Method", International Journal of Computational Mathematics, vol. 2014, Article ID 178024, 12 pages, 2014. https://doi.org/10.1155/2014/178024
Solving the Generalized Regularized Long Wave Equation Using a Distributed Approximating Functional Method
The generalized regularized long wave (GRLW) equation is solved numerically by using a distributed approximating functional (DAF) method realized by the regularized Hermite local spectral kernel. Test problems including propagation of single solitons, interaction of two and three solitons, and conservation properties of mass, energy, and momentum of the GRLW equation are discussed to test the efficiency and accuracy of the method. Furthermore, using the Maxwellian initial condition, we show that the number of solitons which are generated can be approximately determined. Comparisons are made between the results of the proposed method, analytical solutions, and numerical methods. It is found that the method under consideration is a viable alternative to existing numerical methods.
Nonlinear partial differential equations (NPDEs) are widely used to describe complex phenomena in various fields of sciences, such as physics, biology, and chemistry. Various methods have been devised to find the exact and approximate solutions of nonlinear partial differential equations [1, 2] in order to provide more information for understanding physical phenomena arising in numerous scientific and engineering fields.
In this paper, we consider an important nonlinear wave equation, the generalized regularized long wave (GRLW) equation of the form where is a positive integer and and are positive constants. The boundary conditions are given by as . This equation has strong connections to the generalized Korteweg-de Vries (GKdV) equation and has solitary solutions . The GRLW equation was proposed many years ago by Peregrine [4, 5] as a model for small-amplitude long waves on the surface of water in a channel. The study of the GRLW equation gives the opportunity of investigating the creation of secondary solitary waves to obtain insight into the corresponding processes of particle physics .
For , this equation is reduced to the regularized long wave equation as an important equation in physics media, describing phenomena with weak nonlinearity and dispersive waves . The existence and uniqueness of the solution of the RLW equation are given in . Its analytical solutions were obtained under restrictive initial and boundary conditions ; therefore, the use of numerical methods has been advocated. Several numerical methods for the solution of the RLW equation have been introduced in the literature. These include finite- difference methods , Fourier pseudospectral methods , and finite-element methods based on Galerkin and collocation principles .
Another special case of the GRLW is obtained when . This corresponds to the modified regularized long wave (MRLW) equation. The MRLW was solved numerically by explicit finite-difference methods , Galerkin methods using cubic B-spline finite elements , Galerkin and Petrov-Galerkin methods using quadratic B-spline finite elements , spectral method based on Chebyshev polynomials , a least square technique using linear space-time finite elements and Petrov-Galerkin finite-element scheme with shape functions taken as quadratic B-spline functions , and the collocation method with quintic B-spline . Recently, Mokhtari and Mohammadi  proposed a meshfree technique based on a global Sinc-collocation approximation to solve the GRLW equation.
In this paper, we propose a Hermite distributed approximating functional (DAF) method for solving the GRLW equation. The DAF was originally introduced by Hoffman et al.  and Hoffman and Kouri  as a computational tool for treating a variety of problems in physics and chemistry, with particular focus on both time-dependent and time-independent Schrödinger equations. Later, the DAF was also used to solve the Fokker-Planck equation [21, 22]. The study of the DAFs indicates that these methods deliver spectral accuracy when used to solve the Fokker-Planck equation with nonlinear drift and diffusion coefficients included. DAFs are able to provide an analytical representation of a function and its derivatives in terms of a discrete set of values of this function. This is central to its successful use in various computational applications.
The layout of this paper is as follows. We describe the formulation of the DAF formalism and illustrate the choice of an optimal bandwidth in Section 2. Numerical results illustrating the merits of the new scheme are given in Section 3. Finally, we present a brief conclusion in Section 4.
2. Distributed Approximating Functionals
Distributed approximating functionals (DAFs) are defined as a mapping that approximates a certain set of continuous functions onto itself within a specified accuracy . Their main success in various computational practices is derived from their inherent ability to furnish analytical representation of a function and its derivatives at collocation points. These DAFs have different kernels depending on the application of interest. Here, we limit our study to the DAF of Hermite type.
DAF methods are a general framework for constructing local spectral methods. They provide discrete approximations to the singular convolution: where is a singular kernel. In this paper, will designate the delta distribution . The basic equation associated with the Dirac delta function is where is any function that is continuous at . The delta function has the following properties: As the delta distribution is singular, it is necessary to approximate it so that it can be digitized in a computer. There are many functions that provide accurate approximations of the delta kernel and its derivatives.
Some of the approximations, such as the Shannon (Sinc) kernel and the Dirichlet kernel, give rise to classical Fourier spectral methods in essence. In recent work, the so-called delta regularized kernel  was proposed to solve some applied mechanics problems. Shannon’s kernel is regularized as Dirichlet’s regularized kernel  is given by where is a parameter and is the grid spacing. In comparison to Shannon’s kernel, the Dirichlet kernel has one more parameter, namely, . This parameter can be optimized to achieve a better accuracy. In practice, we choose sufficiently large to obtain accurate results. Clearly, at the limit , the Dirichlet kernel converts to Shannon’s kernel.
More recently, a new class of DAF approaches, the so-called Hermite DAF (HDAF) , was introduced for spectrally accurate numerical solutions of first- and second-order partial differential equations. In this paper, we confine our attention to the HDAF.
We first define the regularized Hermite function given by where is the classic Hermite polynomial . The HDAF uses even Hermite polynomials to construct as where is the highest polynomial degree involved in the construction of the HDAF and is its bandwidth. Note that both parameters control the accuracy of the approximation. For instance, if we fix , the HDAF becomes identical to the function when the degree of the polynomial tends to infinity. We write Similarly, if we keep fixed, the HDAF becomes identical to the function when tends to zero; that is, The HDAF mapping can be used to sample an arbitrary function at discrete points. If these nodes form an equispaced grid, (2) can be approximated by quadrature as where is the grid spacing. Consider the definition of the th derivative of the defined in (2) as Usually, this is a purely formal expression because the derivative of the function is not defined and the operation has to be rolled over to the test function by partial integration. However, the derivative can be evaluated immediately, when using the HDAF approximation. The integral in (13) is computed very accurately using Gauss quadrature rule . Therefore, (13) becomes where , the th derivative of HDAF, is given by We note that the operator matrices (15) can be computed most efficiently, because the differentiating DAF matrices have Toeplitz structure. Equations (2) and (14) are the most useful forms for solving ordinary differential equations and partial differential equations. A significant advantage of the Hermite DAF is that it transforms ordinary and partial differentiations into a matrix vector multiplication that involves highly banded matrix representations of derivatives of local methods such as finite-difference and finite-element methods while preserving exponential accuracy of global methods such as spectral methods. Therefore, the Hermite DAF has sufficient flexibility to handle complicated boundary conditions and geometries, like finite-difference and finite-element methods, but with an accuracy of the same order as spectral methods.
Note that (15) assumes that the derivative of and approaches zero as ; this is convenient for approximating soliton solutions of the RLW equation, as they tend to zero as . However, in general this is not the case and the complete numerical approximation must provide a way to handle boundary conditions.
In (15), if the kernel, , is fixed to be symmetric (or antisymmetric) and invariant by translation, there must be cases where are located outside of the computational domain, , and their values are undefined there. In the present algorithm, such are to be obtained by boundary conditions. To handle Dirichlet boundary conditions, such are taken to be or . For periodic boundary conditions, such are replaced by their corresponding values inside the domain . For Neumann boundary conditions, values are determined by and or ( and ). If is antisymmetric around the boundary point then values of outside the domain are replaced by their corresponding inside the domain . Similarly, if is symmetric around the boundary point, then values of outside the domain are replaced by their corresponding inside the domain .
Another significant advantage of the DAF methods over Sinc methods is that their matrices are banded (see Figure 1(b)). Therefore, they are more efficient than Sinc methods.
2.1. Choosing the Optimal Bandwidth
The limit relations (10) and (11) imply that there exists a connection between the number of expansion terms and the bandwidth of the Hermite DAF. It is natural to think of the expansion order as a measure of predefined accuracy so one might ask how to choose optimally with respect to a given . One possible approach is to make the approximation as accurate as possible on the discrete grid. Equation (9) is exact, if where represents the Kronecker- function. Therefore, for , using relations (16) and (9), one obtains In the remainder of the paper, the bandwidth is chosen according to (17).
In this section, we develop a space discretization of the GRLW equation using the HDAF. This equation was proposed by Peregrine [4, 5] as a model for small-amplitude long waves on the surface of water in a channel and is represented mathematically as To apply the HDAF for solving the GRLW equation, firstly, we present the following notations: We substitute (19) into (18) at collocation point and we obtain
In order to write (20) in matrix form, we introduce the following matrix and vector notations: Consequently, we have where , with the identity matrix, .
Commonly used time-stepping schemes, either explicit or implicit, can be easily used along with the HDAF algorithm. In the present study, we consider the classical fourth-order Runge-Kutta method computed as where
3. Numerical Results
The analytical one-soliton solution of the GRLW equation is given by where Equation (25) represents a solitary wave of amplitude , speed , and width and initially centered at . In this section, we examine the proposed algorithm using different test problems related to the propagation of one soliton and interaction of two soliton solutions for the RLW () and the MRLW (). The accuracy of the scheme is measured using the following error norms: where and represent the exact and approximate solutions, respectively, and is the minimum distance between any two consecutive points for which the errors are evaluated. In our computational work, we use the collocation points The RLW equation possesses infinite conservation laws ; the first three are given as follows: related to the mass, momentum, and energy. The quantities , , and are applied to measure the conservation properties of the collocation scheme, calculated by Similarly, the first three conservation laws of the MRLW equation are given by related to the mass, momentum, and energy. The discrete approximation of the quantities , , and is obtained by quadrature rule
3.1. Propagation of Single Solitons
In this experiment, we consider the propagation of single solitons of the RLW and the MRLW equations. The initial and boundary conditions are extracted from (25) at initial profile, that is, at . The values of the parameters used in the numerical experiments are and , the number of collocation points , the time step , and the HDAF bandwidth . The soliton whose initial condition is extracted from (25) moves to the right across the space interval and for and , respectively, when the time interval is . We perform various numerical tests and compare our results with those obtained using Sinc numerical methods.
3.1.1. RLW Equation
To illustrate the validity of our scheme, we first consider the case of a single soliton solution for the RLW equation. The analytical values of conservation quantities can be found as where is defined in (26). For , the analytical values of the invariants are , , and , while for and , the analytical values of the invariants become , , and .
In Figure 2, we plot numerical solutions of the RLW equation at different time levels (a) and the absolute error (b) at time . The propagation of one-soliton solution of the RLW equation is in very good agreement with the analytical solution.
In the next experiment, we investigate the error norms and together with numerical conservation quantities , , and obtained with the HDAF method and compare the results with those obtained using the Sinc numerical method (see Tables 1 and 2).
In the case of the HDAF method, for , one can see clearly that the error norms and are of the magnitude throughout the time interval . Numerical invariants , , and , at a given time , are very satisfactorily conserved (see Table 1). For , the soliton has a higher amplitude and a faster speed compared to the latter case where . The error norms and are of magnitude throughout the time interval . Numerical invariants are satisfactorily conserved (see Table 2).
In the case of the Sinc method , the error is as accurate as using the HDAF method, and we have conserved the three invariants. However, one can see clearly from Table 2 that our scheme is faster than the Sinc method proposed in . The main reason is that the Sinc method is a global method, while the HDAF is local. In the present numerical experiment, the Sinc method solves systems of nonlinear ODEs while the HDAF method solves systems, locally.
In the next experiment, we vary , the highest polynomial degree involved in the construction of the HDAF, and then investigate the convergence of our approach in terms of the number of grid points at time with , , and on the interval . To ensure that the error is mostly dominated by the space discretization, we choose the time step as .
Figure 3 shows that as the number of grid points increases, if is small, for instance, , the HDAF method shows a poor convergence. For , the convergence of the HDAF method is moderate. When , the convergence of the HDAF and the Sinc numerical methods is very comparable. The error norms and converge exponentially for the propagation of one-soliton solutions for large values of . In fact, there are two approximations involved in computing the matrix representation of the differential operator. First, the delta function is approximated by an even Hermite-series with leading Gaussian term (15), which is sufficiently smooth everywhere. Second, the integral in (13) is evaluated by Gauss quadrature approximation (14). Therefore, it is important to choose a good combination between and to ensure a fast convergence of the HDAF methodology. The accuracy can be improved by increasing the degree of the basis functions for an increasing number of grid points as shown in Figure 3.
3.1.2. MRLW Equation
We model the motion of one-soliton solution of the MRLW equation with , , and ; the number of collocation points ; the time step ; and the HDAF bandwidth . The soliton whose initial condition is extracted from (25) moves to the right across the space interval . The analytical computation of the invariants can be written as For , , and , the analytical values of the invariants are , , and .
In Figure 4, we plot numerical solutions of the MRLW equation at different time levels (a) and the absolute error (b) at time . The propagation of the one-soliton solution of the MRLW equation is in very good agreement with the analytical solution.
The error norms and and numerical conservation quantities , , and are shown in Table 3. In the case of the HDAF method, it is observed that, throughout the simulation, the error norms remain less than and remains less than . Numerical invariants , , and at a given time duplicate analytical values. In the case of Sinc method, we obtain the same order of accuracy and one can see that the HDAF method is more efficient than the Sinc method. In the present numerical experiment, the Sinc method solves systems of nonlinear ODEs while the HDAF method solves locally systems. This is more problematic for higher dimension PDEs. For instance, for a two-dimensional RLW equation, we need to solve systems of nonlinear ODEs with the Sinc numerical method while only systems are required to be solved with the HDAF method.
3.2. Interaction of Two Solitons
In our second experiment, we study the interaction of two soliton solutions of the RLW and MRLW equations having different amplitudes and traveling in the same direction. The analytical two soliton solutions of the GRLW equation are given by where The analytical computations of conservation quantities of the RLW and MRLW equations can be found as respectively. The initial conditions of the RLW and MRLW are extracted from (35).
We choose , , , , , and with interval . Figure 5 shows the plot of these solitary waves’ interaction at different time levels. In both cases, we observe that the faster pulse interacts with and emerges ahead of the lower pulse with the shape and velocity of each soliton retained. Analytical values of the invariants for the RLW and MRLW equations are given by , , and and , , and , respectively. In Table 4 we report the three invariants for both RLW and MRLW equations and the two errors. Numerical checks on the conservation mass , momentum , and energy show that the three quantities remain reasonably constant as the solitary waves evolve in time. We also obtain very accurate errors over longer time periods.
Propagation of the single solitary wave and two-soliton interaction are simulated well with the proposed algorithms and conservation invariants do not change much during the computer run. Thus, HDAF functions can be used to construct accurate and efficient numerical solutions of the RLW and MRLW equations.
3.3. Maxwellian Initial Condition
In final series of numerical experiments, we examined the development of the Maxwellian initial condition into multiple solitary waves. We apply it to the problem for different cases: , 0.01, 0.004.
For the Maxwellian initial condition develops into a single solitary wave plus a small developed oscillating tail as shown in Figure 6(b) at time . A bit of radiation is observed between the upstream boundary and the main peak wave. The values of the quantities , , and are given in Table 5. These three quantities remain relatively constant. The maximum changes are less than for each quantity.
For the Maxwellian pulse breaks up into a train of at least three solitary waves as shown in Figure 6(c) at time . A bit of radiation is observed between the upstream boundary and the main peak wave. In Table 5, we report the values of the quantities , , and . Clearly, these quantities are satisfactorily constant. The maximum changes are less than .
Finally, for the Maxwellian initial condition has decayed into at least four stable solitary waves as shown in Figure 6(d). The peaks of the well developed wave lie on a straight line so that their velocities are linearly dependent on their amplitudes and we observe a small oscillating tail appearing behind the last wave as shown in Figure 6. Moreover, the total number of the solitary waves which are generated from the Maxwellian initial condition according to the results obtained from the numerical scheme in test problem follows from a relationship between the number of solitary waves generated and the parameter . We notice that the smaller becomes, the higher the number of solitons generated is. Raslan  showed that this relationship is approximately for the RLW equation and for the MRLW equation. However, there is no proof available on these relationships.
A numerical technique based on the Hermite distributed approximating functional method has been presented for the numerical solution of the GRLW equation. The efficiency of the method is tested on the problems of propagation of the single soliton and the interaction of two solitons for the RLW and MRLW equations. The accuracy is examined in terms of the and error norms. Numerical results have illustrated the high accuracy, efficiency, and exponential convergence of the HDAF method. We also investigate the conservation quantities , , and which were satisfactorily maintained. Furthermore, a Maxwellian initial condition has been used and a relation between and the number of waves was explored; results show the interaction of three and four solitons, with conservation laws adhered to satisfactorily.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
This paper was supported by Brad Welch, RidgeCape Capital, Tokai, Cape Town.
- P. D. Ariel, “On a second parameter in the solution of the flow near a rotating disk by homotopy analysis method,” Communications in Numerical Analysis, vol. 2012, Article ID 00111, 13 pages, 2012.
- H. Panahipour, “Application of extended tanh method to generalized Burgers-type equations,” Communications in Numerical Analysis, vol. 2012, Article ID 00058, pp. 1–14, 2012.
- L. R. T. Gardner, G. A. Gardner, and T. Geyikli, “The boundary forced MKdV equation,” Journal of Computational Physics, vol. 113, no. 1, pp. 5–12, 1994.
- D. H. Peregrine, “Calculations of the development of an undular bore,” Journal of Fluid Mechanics, vol. 25, pp. 321–330, 1966.
- D. H. Peregrine, “Long waves on a beach,” Journal of Fluid Mechanics, vol. 27, pp. 815–827, 1967.
- J. C. Lewis and J. A. Tjon, “Resonant production of solitons in the RLW equation,” Physics Letters. A, vol. 73, no. 4, pp. 275–279, 1979.
- T. B. Benjamin, “Internal waves of permanent form in fluids of great depth,” Journal of Fluid Mechanics, vol. 29, pp. 559–592, 1967.
- J. L. Bona, W. G. Pritchard, and L. R. Scott, “A comparison of solutions of two model equations for long waves,” Lectures in Applied Mathematics, vol. 20, pp. 235–267, 1983.
- D. Bhardwaj and R. Shankar, “Computational method for regularized long wave equation,” Computers & Mathematics with Applications, vol. 40, no. 12, pp. 1397–1404, 2000.
- 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.
- B. Saka and I. Dag, “A collocation method for the numerical solution of the RLW equation using cubic B-spline basis,” The Arabian Journal for Science and Engineering, vol. 30, no. 1, pp. 39–50, 2005.
- J. I. Ramos, “Explicit finite difference metho ds for the EWand RLW equations,” Applied Mathematics and Computation, vol. 179, no. 2, pp. 622–638, 2006.
- L. R. T. Gardner and G. A. Gardner, “Solitary waves of the equal width wave equation,” Journal of Computational Physics, vol. 101, no. 1, pp. 218–223, 1992.
- B. Saka, “A finite element method for equal width equation,” Applied Mathematics and Computation, vol. 175, no. 1, pp. 730–747, 2006.
- A. H. A. Ali, “Spectral method for solving the equal width equation based on Chebyshev polynomials,” Nonlinear Dynamics, vol. 51, no. 1-2, pp. 59–70, 2008.
- S. I. Zaki, “A least-squares finite element scheme for the EW equation,” Computer Methods in Applied Mechanics and Engineering, vol. 189, no. 2, pp. 587–594, 2000.
- K. R. Raslan, “A computational method for the equal width equation,” International Journal of Computer Mathematics, vol. 81, no. 1, pp. 63–72, 2004.
- 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.
- D. K. Hoffman, N. Nayar, O. A. Sharafeddin, and D. J. Kouri, “Analytic banded approximation for the discretized free propagator,” The Journal of Physical Chemistry, vol. 95, no. 21, pp. 8299–8305, 1991.
- D. K. Hoffman and D. J. Kouri, “Distributed approximating function theory: A general, fully quantal approach to wave propagation,” Journal of Physical Chemistry, vol. 96, no. 3, pp. 1179–1184, 1992.
- G. W. Wei, D. S. Zhang, D. J. Kouri, and D. K. Hoffman, “Distributed approximating functional approach to the Fokker-Planck equation: time propagation,” Journal of Chemical Physics, vol. 107, no. 8, pp. 3239–3246, 1997.
- D. S. Zhang, G. W. Wei, D. J. Kouri, and D. K. Hoffman, “Distributed approximating functional approach to the Fokker-Planck equation: eigenfunction expansion,” The Journal of Chemical Physics, vol. 106, no. 12, pp. 5216–5224, 1997.
- G. W. Wei, “A new algorithm for solving some mechanical problems,” Computer Methods in Applied Mechanics and Engineering, vol. 190, no. 15–17, pp. 2017–2030, 2001.
- G. W. Wei, “Discrete singular convolution for the sine-Gordon equation,” Physica D. Nonlinear Phenomena, vol. 137, no. 3-4, pp. 247–259, 2000.
- G. W. Wei, D. S. Zhang, D. J. Kouri, and D. K. Hoffman, “Lagrange distributed approximating functionals,” Physical Review Letters, vol. 79, no. 5, pp. 775–778, 1997.
- B. Fornberg, A Practical Guide to Pseudos pectral Methods, vol. 1 of Cambridge Monographs on Applied and Computational Mathematics, Cambridge University Press, 1996.
- S. Yu, S. Zhao, and G. W. Wei, “Local spectral time splitting method for first- and second-order partial differential equations,” Journal of Computational Physics, vol. 206, no. 2, pp. 727–780, 2005.
- J. Shen, T. Tang, and L. L. Wang, Spectral Methods: Algorithms, Analysis and Applications, Springer, Berlin, Germany, 2011.
- L. N. Trefethen, “Is Gauss quadrature better than Clenshaw-Curtis?” SIAM Review, vol. 50, no. 1, pp. 67–87, 2008.
- 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.
- F. Stenger, Numerical Methods Based on Sinc and Analitic Functions, Springer, New York, NY, USA, 1993.
Copyright © 2014 Edson Pindza and Eben Maré. 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.