Journal of Applied Mathematics and Physics, 2014, 2, 981-986 Published Online October 2014 in SciRes. http://www.scirp.org/journal/jamp http://dx.doi.org/10.4236/jamp.2014.211111 How to cite this paper: Xing, Z.Q., Duan, Y. and Wu, H.Y. (2014) A Particle Method for the b-Equation. Journal of Applied Mathematics and Physics, 2, 981-986. h ttp://dx. doi.org/10.4236/jamp. 2014. 211111 A Particle Method for the b-Equation Zhiqiang Xing*, Yong Duan*, Huiyuan Wu School of Mathematical Sciences, University of Electronic Science and Technology of China, Chengdu, China Email: *m1803046 5450@16 3.com, *duanyong72@aliyun.com Received June 2014 Abstract In this paper, we apply the particle method to solve the numerical solution of a family of non-li- near Evolutionary Partial Differential Equations. It is called b-equation because of its bi-Hamilto- nian structure. We introduce the particle method as an approximation of these equations in La- grangian representation for simulating collisions between wave fronts. Several numerical exam- ples will be set to illustrate the feasibility of the particle method. Keywords Particle Method, b-Equation, Peakon Solution, Lagrangian Representation 1. Introduction In the past decades, the particle method has become one of the most important techniques to solve the particle differential equation (PDEs). Most researches have focused on the development of the application on the ma- thematics and physical fields [1] [2]. In these methods, a solution of a given equation is represented by a collec- tion of particles, which are located in points and carry masses . Equation of evolution in time is written to describe the dynamics of the location of the particles and these weights. Because of the Lagrangian dynamic for the method, small scale that might develop in a solution can be easily described with a relatively small num- ber of particles. In our work, we present the particle method for approximating solution of our equations. Now we investigate the Cauchy problems of the b-equation in one-dimensional cases. For () () 10 tt x mumbm u∂ +∂+−∂ = (1) where and the momentum and velocity are functions of the time variable and the variables . They are related by the second-order Helmholtz operator, with length scale The velocity function can also be expressed as a convolution of with the kernel , ()() () , ,d R uxtGmGxy myty=∗= − ∫ (2 ) It is well-known that the Equation (2) has solitary wave solutions of the form with *
Z. Q. Xing et al. speed , which is proportional to the amplitude of the solution. To our knowledge, a solution is represented by a collection of particles, which are located in points and carry masses . So, denoting the time derivative of , by and regarding (we call it Lagrangian label) as a parameter, the Lagrangian dynamics of the b-equation is given by, ( )( )( ) ( ) ( ) ( )()( )( )( ) ( ) ( ) ,,,,d, ,1,,,, d. L L L L x tGxtxtpt p tbptGxtxtpt ξξη ηη ξξξη ηη − − ′= − ′′ =−− − ∫ ∫ (3) with initial data ()( ) ( ) ( ) 00 ,0 ,pmx tm ξ ξξ = = . The solution is then found by following the time evolution of the locations and the weights of these particles according to a system of ODEs obtained by consi- dering a weak formulation of the problem. In this paper, we take (4) where, is the length scale of kernel and is the fundamental solution for Helmholtz operator , i.e. with representing the Dirac distribution. The purpose of this paper is to present the particle method in Lagrangian representation for simulating colli- sions and to study of the dynamic of points governed by the equation. Several numerical examples will be set to illustrate the feasibility of the particle method. Besides above, we present a brief overview of the particle method and some of its main properties which are necessary for the study of numerical collisions among peakon solutions in Section 2. Then, we apply lots of nu- merical examples to verify our particle method in Section 3. According to the numerical results, a conclusion is given in the last section. 2. Description of the Particle Method for the b-Equation In this section, we consider the b-equation (1). As mentioned above, Equation (1) coincides with the dispersion- less C-H equation in [3] and D-P equation in [4]. It was first derived by using asymptotic expansions directly in the Hamiltonian for Euler’s equations in the shallow water regime. The equation is completely integrable and possesses solitary solutions [5]. We briefly describe a particle method for the equation. For the specific descrip- tion on the particle method for Equation (1), we refer the reader to [1] [2] [6]. We begin with searching for a weak solution in the form of a linear collection of Dirac delta distributions. In particular, we look for a solution of the form, ( )( )( ) ( ) 1 ,. N Nii i mxtptxx t δ = = − ∑ (5) Here, and represent the location of the i-th particle and its weight, and denote the total number of particles. The solution is then found by following the time evolution of the locations and the weights of the particles according to the following system of ODEs, ( )( ) ( ) ( )( ) ( ) ( ) d,, d d, 0. d ii ixi i xt uxtt t pt uxt tpt t = += (6) Here, The velocity in Equation (5) is obtained by convolution with the Green’s function, (7) for the 1-D Helmholtz operator that relates and . Consequently, the velocity and its derivative corres- ponding to the solution (5) are given by
Z. Q. Xing et al. ()( ) ( ) 1 1 , e, 2 i Nxxt i i u xtpt α −− = = ∑ (8) and ()( )( ) ( ) ( ) 1 1 ,sgne . 2 i Nxxt x ii i uxtp txxt α −− = =−− ∑ (9) In order to initiate the time integration, we should choose the initial positions and weights in such a way that for any test , we have that ( )( )()()( ) () 00 1 , d0 N Nii Ri mmx xxpx φφ φ = ⋅ ⋅=≈ ∑ ∫ , (10) where ()()( ) () 01 00 N Nii i m xpxx δ = = − ∑ (11) One way of solving the last equation can be, e.g. to cover the computational domain with a uniform mesh of spacing and denote by the interval { } 12 121212 ,, iiii i Cxxxxx x −+− + == ≤≤ Here, and in the center . For example, a midpoint quadrature is then given by set- ting . In practice, except for very special cases, the functions and have to be determined numerically and the system (8) - (9) must be integrated by an appropriate ODE solver. For our nu- merical experiments, we consider a strong-stability preserving Runge-Kutta method to solve the ODEs. Obviously we can obtain the solution , the numerical approximation of . Furthermore, if the initial data assumes the form of a peakon, then the peakon solution generated is exact. Then any errors emanate solely from the ODE solver. Properties of the Particle System Now, we present some general properties of the particle system which are pertinent to our paper to research on the investigation of collisions of peakons. • One can verify that the function and in (6) satisfy that canonical Hamiltonian equations dd , , 1,2,. dd NN ii ii xp HH iN tp tx ∂∂ == = ∂∂ (12 ) where is the Hamiltonian function defined as ()( )( ) ( )() 11 1 ;, e 4 ij NN xtx t Nij ij Htxppt pt α α −− = = = ∑∑ (13) • Another important conservation law is that the total momentum of the particle system is conserved as fol- lows (14 ) • Finally, if the initial moment given in Equation (5) are positive, i.e. for all , then for all . In addition, if , then the particles never cross, i.e. for any , and for all . This important property was proved in [7] by using a Lax-Pair formulation. It can also be proved by using a conservation law,
Z. Q. Xing et al. ( )( )()( )() ( ) 1 1 11 dd0 0. dd NN Nk kk kk Pt p tGGxtxt tt − + = = =−− = ∏∏ as it has been in [6]. 3. Numerical Example In this section, we present several numerical simulations of application of the particle method to the numerical solution of Equation (1). These examples below test the method on a travelling wave solution for the dispersive case . We aim to illustrate the efficiency and the particle method. Smooth Travelling Wave Solution An explicit exact solution of Equation (1) is [8], where , and is given by ( )() () 3 36sin2 112cos223cos23cos42sin2sin4 z us czzz zz + = − +− ++ (1 5 ) with The initial condition yields the initial data for the particle algorithm ( ) 00 0 , ii i xixpk m x=∆=+ , where ( )( ) () 2 02 1 c mxk cUx = − − (16) With the initial condition, we compare the numerical solution computed by the particle method with the exact travelling wave solution to illustrate the order of convergence of the method. We remark that a fixed ratio (step-size ) is used for all calculations throughout this paper. This fixed ratio is for the pur- pose of numerical convergence tests. We chose the temporal discretization to be compliant with the choice of used in the Riemann sum for the ODE system (6). Based on our experiments, we found that would suffice for all simulations in this paper to prevent the onset of numerical instability. For the travelling wave si- mulation we take the constant The time integration proceeds through an explicit fourth-order R-K method. As indicated in Equation (8), using the and obtained from the ODE system, the numerical so- lution for the PDE is then set on the physical domain. We study the numerical error between exact and com- puted solutions with -norm ( )() 22 11 ,, NN h ii xujtujtx ε εε = = =∆−=∆ ∑∑ (17 ) where is the grid size for the mesh on the physical domain, defined as , with the length of the physical domain and is the number of grid points. This is independent of the increment used in the Riemann sum for the ODE system, which is defined as In the mesh-refinement study, for a fixed domain, we vary the size of , hence conventionally we choose to be the same size as so that for simplicity the number of grid points is the same as the number of particles. Example 1: Figure 1 is a plot for the computed travelling wave solution at time on a domain , confirming that the particle method is second-order accurate in space and there is no discrepancy between the numerical solutions or the particle method. On a fixed domain , at time , the errors are listed in Table 1. Example 2: Figure 2 is another plot for the computed travelling wave solution at time on a domain , confirming that the particle method is second-order accurate in space and there is no discrepancy between the numerical solutions and the particle method. On a fixed domain , at time , the errors are listed in Table 2. As the two tables show, the particle method is second-order accurate in space, consistently with our theory.
Z. Q. Xing et al. Figure 1. Numerical simulations of the travelling wave solution (15) with when , . Figure 2. Numerical simulations of the travelling wave solution (15) with when , . Table 1. When ; , Convergence rate for the particle method. 0.1 0.05 0.025 0.0125 0.00625 6.80e−03 1.70e−03 4.22e−04 1.06e−04 2.62e−05 Rate 2.00 2.01 1.96 2.01 Table 2. When ; , Convergence rate for the particle method. 0.1 0.05 0.025 0.0125 0.00625 0.0306 7.60e−03 1.90e−03 4.76e−04 1.19e−04 Rate 2.01 2.00 2.01 2.00
Z. Q. Xing et al. 4. Conclusion In this paper, we established the mathematical theory of the Lagrangian dynamics for the b-equation with a spe- cial choice of the convolution kernel and under a suitable class of initial data. To a numerical implementa- tion of the method, it can be approximated by uniformly distributing particles. In the end, we obtained the nu- merical solution though examples and specific data. Acknowledgements This work was supported by NSFC11171054. References [1] Camassa, R., Huang, J. and Lee, L. (2006) Integral and Integrable Algorithms for a Nonlinear Shallow-Water Wave Equation. Journal of Computational Physics, 216, 547-572. http://dx.doi.org/10.1016/j.jcp.2005.12.013 [2] Chertock, A., Du Toit, P. and Marsden, J. (2012) Integration of the EPDiff Equation by Particle Methods. ESAIM: Mathematical Modelling and Numerical Analysis, 46, 515-534. http://dx.doi.org/10.1051/m2an/2011054 [3] Chertock, A., L iu, J.G. and Pendleton, T. (2014) Elastic Collisions among Peakon Solutions for the Camassa-Holm Equation. Applied Numerical Mathematics, in press. http://dx.doi.org/10.1016/j.apnum.2014.01.001 [4] Matsuo, T. and Miyatake, Y. (2012) Conservative Finite Difference Schemes for Degasperis-Procesi Equation. Journal of Computational and Applied Mathematics, 236, 3728-3740. http://dx.doi.org/10.1016/j.cam.2011.09.004 [5] Camassa, R. and Lee, L. (2007) A Completely Integrable Particle Method for a Nonlinear Shallow-Water Wave Equa- tion in Periodic Domains. Syst. Ser. A Math. Anal, 14, 1-5. [6] Chertock, A., L iu, J. G. and Pendleton, T. (2012) Convergence of a Particle Method and Global Weak Solutions of a Family of Evolutionary PDEs. SIAM Journal on Numerical Analysis, 50, 1-21. http://dx.doi.org/10.1137/110831386 [7] Camassa, R., Huang, J. and Lee, L. (2005) On a Completely Integrable Numerical Scheme for a Nonlinear Shallow- Water Wave Equation. Journal of Nonlinear Mathematical Physics, 12, 146-162. http://dx.doi.org/10.2991/jnmp.2005.12.s1.13 [8] Holden, H. and Raynaud, X. (2006) Convergence of a Finite Difference Scheme for the Camassa-Holm Equation. SIAM Journal on Numerical Analysis, 44, 1655-1680. http://dx.doi.org/10.1137/040611975
|