Abstract

During the last two decades, there has been a considerable interest in developing efficient radial basis functions (RBFs) algorithms for solving partial differential equations (PDEs). In this paper, we introduce the Petrov-Galerkin method for the numerical solution of the one-dimensional nonlinear Burger equation. In this method, the trial space is generated by the multiquadric (MQ) RBF and the test space is generated by the compactly supported RBF. In the time discretization of the equation, the Taylor series expansion is used. This method is applied on some test experiments, and the numerical results have been compared with the exact solutions. The 𝐿2, 𝐿, and root-mean-square (RMS) errors in the solutions show the efficiency and the accuracy of the method.

1. Introduction

Burger's equation serves as a useful model for many interesting problems in applied mathematics and related sciences. It is in the models of effectively certain problems of a fluid flow nature, wherein either shocks or viscous dissipation is a significant factor.

The first steady-state solution of Burger's equation were given by Bateman [1] in 1915. However, the equation gets its name from the extensive research of Burgers [2] beginning in 1939. This equation has a large variety of applications in modeling of water in unsaturated soil, dynamics of soil water, statistics of flow problems, mixing and turbulent diffusion, cosmology, and seismology [35].

In one-dimension case, Burger's equation is given by𝑢𝑡+𝑢𝑢𝑥𝜇𝑢𝑥𝑥[]=0,𝑥Ω=𝑎,𝑏,𝑡𝑡0,(1.1) where 𝜇>0 is a viscosity constant and the subscripts 𝑥 and 𝑡 denote the space and time differentiations, respectively. The initial condition and the boundary conditions are given by𝑢𝑥,𝑡0=𝑢0(𝑥),(1.2)𝑢(𝑎,𝑡)=𝑔1(𝑡),𝑢(𝑏,𝑡)=𝑔2(𝑡).(1.3)

Various numerical methods have been introduced to solve Burger's equation, such as cubic splines and finite differences [6], compact differencing method [7, 8], finite element method (FEM) [9], the Tau method [10], and the method of lines [11].

Many of these methods need the mesh generation and provide the solution of the problem on mesh points. But in recent years, other methods, namely, meshless methods, have been provided, which do not need to generate the mesh. In a meshless method, a set of scattered nodes is used instead of meshing the domain of the problem. A powerful tool for the scattered data interpolation problem is the RBFs. In the last two decades, the development of the RBFs as a truly meshless method for approximating the solutions of PDEs has drown the attention of many researchers in science and engineering. The initial development was due to the pioneering work of Kansa [12, 13] who directly collocated the RBFs for the approximated solution of the equations.

To date, useful meshless methods have been provided for the nonlinear PDEs, wherein the RBFs are used, such as the collocation method for solving Burger's equation [14], Korteweg-de Vries equation [15, 16], and sine-Gordon equation [17].

In this paper, we present the other meshless method, which is called the meshless local Petrov-Galerkin (MLPG) method. This method was first introduced by Atluri and Zhu [18]. The MLPG method is very general, can be based on the symmetric or unsymmetric local weak forms of the PDEs, and uses a variety of interpolation method for test and trial functions. Hence, we use the local unsymmetric weak form of the problem, and the MQ RBF and the compactly supported RBF are chosen as the trial and the test functions, respectively.

In classical methods, using low order time integration for transient problems may cause loss in the accuracy of the numerical schemes. On the other hand, increasing the order of time discretization can yield better results. The main idea behind the present time integration is to use more time derivatives in the Taylor series expansion. Recently, Daĝ et al. [19] have developed the Taylor-Galerkin and the Taylor-collocation methods for the numerical solution of Burger's equation by B-splines. The objective of the present paper is to obtain the numerical solution of Burger's equation by combining the MLPG method with the aforesaid time discretization of the Taylor series expansion that according to the best of our knowledge, this is the first demonstration of the application of it.

The paper is organized as follows. A brief knowledge of the RBFs interpolation is given in Section 2. In Section 3, the time discretization of Burger's equation is introduced, and in Section 4, the MLPG method is presented. In Section 5, we give several numerical experiments to demonstrate the accuracy and efficiency of our meshless numerical scheme, and Section 6 contains some conclusion.

2. Radial Basis Function Interpolation

In order to explain multivariate scattered data interpolation by RBFs, suppose a data vector 𝑓𝑋=(𝑓(𝑥1),,𝑓(𝑥𝑁))𝑇𝑑 of function values, sampled from an unknown function 𝑓𝑑 at a scattered finite point set 𝑋={𝑥1,,𝑥𝑁}𝑑,𝑑1, is given. Scattered data interpolation requires computing a suitable interpolant 𝑆𝑑 satisfying 𝑆𝑋=𝑓𝑋, that is,𝑆𝑥𝑗𝑥=𝑓𝑗,𝑗=1,,𝑁.(2.1)

To this end, the RBF interpolation scheme works with a fixed radial function 𝜑[0,), and the interpolant 𝑆 in (2.1) is assumed to have the form𝑆(𝑥)=𝑁𝑗=1𝜆𝑗𝜑𝑥𝑥𝑗+𝑀𝑖=1𝑐𝑖𝑝𝑖(𝑥),𝑥𝑑,(2.2) where denotes the Euclidean distances and 𝑝1,,𝑝𝑀 form a basis for the 𝑀=𝑚1+𝑑𝑚1-dimensional linear space Π𝑑𝑚1 of polynomials of total degree less than or equal to 𝑚1 in 𝑑 variables.

Since enforcing the interpolation conditions in (2.1) leads to a system of 𝑁 linear equations in the 𝑁+𝑀 unknowns 𝜆𝑗 and 𝑐𝑖, one usually adds the 𝑀 additional conditions𝑁𝑗=1𝜆𝑗𝑝𝑖𝑥𝑗=0,𝑖=1,,𝑀.(2.3)

In general, solving the interpolation problem based on the extended expansion (2.2), now amounts of solving a system to linear equations of the form: 𝑃𝐴𝑃𝑇0Λ𝐶=𝑓𝑋0,(2.4) where the pieces are given by 𝐴𝑖𝑗=𝜑(𝑥𝑖𝑥𝑗),𝑖,𝑗=1,,𝑁, 𝑃𝑖𝑘=𝑝𝑘(𝑥𝑖),𝑖=1,,𝑁,𝑘=1,,𝑀, Λ=[𝜆1,,𝜆𝑁]𝑇,𝐶=[𝑐1,,𝑐𝑀]𝑇,  and 0 is a zero vector of length 𝑀.

From [20, 21], we know that we have a unique interpolant 𝑆(𝑥) of 𝑓 if 𝜑(𝑟) is a conditional positive definite RBF of order 𝑚. The commonly used RBFs are MQ, Gaussian, and compactly supported RBFs, see Table 1. The MQ has been found to provide the most accurate approximation in most of the applications of the RBFs [22]. For the MQ RBF, 𝜑(𝑟)=𝑟2+𝑐2, we have 𝑚=1. In this case and for the one-dimensional space, the linear basis function is given by 𝑝(𝑥)=1. Therefore, in one-dimensional and for the MQ approximation scheme, (2.2) yields the following expansion:𝑆(𝑥)=𝑁𝑗=1𝜆𝑗𝜑𝑥𝑥𝑗+𝑐1,𝑥,(2.5) and (2.3) yields𝑁𝑗=1𝜆𝑗=0.(2.6) From this equation, we obtain𝜆1=𝑁𝑗=2𝜆𝑗.(2.7) Substituting (2.7) into (2.5) yields𝑆(𝑥)=𝑁𝑗=2𝜆𝑗𝜑𝑥𝑥𝑗𝜑𝑥𝑥1+𝑐1,𝑥,(2.8) or in the compact form, we obtain𝑆(𝑥)=𝑁𝑗=1𝜆𝑗𝑔𝑗(𝑥),𝑥,(2.9) where the basis functions 𝑔𝑗(𝑥) are given by𝑔1(𝑥)=1,𝑔𝑗(𝑥)=𝜑𝑥𝑥𝑗𝜑𝑥𝑥1,𝑗=2,,𝑁.(2.10)

For more details about RBFs, see [23].

The variable 𝜀 in the MQ RBF, 𝜑(𝑟)=1+(𝜀𝑟)2, wherein 𝑐 is replaced by 1/𝜀, is known as the shape parameter controls the shape of the functions. The shape parameter 𝜀 influences the solution profoundly. Since the exact value of 𝜀 cannot be calculated, empirical studies have been made by researchers in the past to obtain a suitable value for the shape parameter 𝜀. There are many methods for choosing the optimal value of 𝜀, such as the brute force method [24] and the leave-one-out cross-validation (LOOCV) algorithm [25]. Some other methods for finding the optimal shape parameter were produced by Kansa and Hon [26], Hardy [27], and Franke [28].

In this paper, we use the value of the shape parameter that is suggested by Hardy [27]. Hardy suggested the value 𝑐=0.815𝑑,𝑑=𝑁𝑖=1𝑑𝑖𝑁,(2.11) where 𝑑𝑖 is the distance from the 𝑖th center to the nearest neighbor and 𝑁 is the number of centers.

3. Time Discretization

For the time discretization of (1.1), we use the Taylor series expansion. In this approach, the term 𝑢𝑛𝑡=𝑢𝑡(𝑥,𝑡𝑛), 𝑡𝑛+1=𝑡𝑛+Δ𝑡, is arranged with the help of the Taylor series expansion as𝑢𝑛𝑡=𝑢𝑛+1𝑢𝑛Δ𝑡Δ𝑡2𝑢𝑛𝑡𝑡+𝑂Δ𝑡2.(3.1) Differentiating (1.1) with respect to time, 𝑢𝑛𝑡𝑡 may be written by𝑢𝑛𝑡𝑡=𝑢𝑛𝑢𝑛𝑥+𝜇𝑢𝑛𝑥𝑥𝑡=𝑢𝑛𝑢𝑛𝑡𝑥𝑢𝑛𝑥𝑢𝑛𝑡𝑢+𝜇𝑛𝑡𝑥𝑥.(3.2) For the time derivative 𝑢𝑛𝑡 in (3.2), using forward difference formula, 𝑢𝑛𝑡𝑡 can be rewritten asΔ𝑡𝑢𝑛𝑡𝑡=𝑢𝑛𝑢𝑥𝑛+1𝑢𝑛𝑥𝑢𝑛𝑥𝑢𝑛+1𝑢𝑛𝑢+𝜇𝑛+1𝑥𝑥𝑢𝑛𝑥𝑥.(3.3) Substituting (3.3) into (3.1) and using the resulting expression in (1.1) yield the following time-discretized form of Burger's equation:2𝑢𝑛+1+Δ𝑡𝑢𝑛𝑢𝑥𝑛+1+Δ𝑡𝑢𝑛𝑥𝑢𝑛+1𝜇Δ𝑡𝑢𝑛+1𝑥𝑥=2𝑢𝑛+𝜇Δ𝑡𝑢𝑛𝑥𝑥.(3.4)

4. The Meshless Local Petrov-Galerkin Method

The MLPG approach was first proposed by Atluri and Zhu [18] for solving linear potential problems, by using domain discretization technique. The MLPG approach uses either a local symmetric weak form, or an unsymmetric weak form of the governing equation over the local subdomain.

In the application of a local Petrov-Galerkin scheme to the Burger's equation, (3.4) is multiplied with the weight function 𝑤 and the resulting equation is integrated over the local subdomain such as Ω𝑠, which is a small region taken for each node in the global domain Ω. Therefore, the local weak form,Ω𝑖𝑠2𝑢𝑛+1+Δ𝑡𝑢𝑛𝑢𝑥𝑛+1+Δ𝑡𝑢𝑛𝑥𝑢𝑛+1𝜇Δ𝑡𝑢𝑛+1𝑥𝑥𝑤𝑑𝑥=Ω𝑖𝑠2𝑢𝑛+𝜇Δ𝑡𝑢𝑛𝑥𝑥𝑤𝑑𝑥,(4.1) is obtained which requires 𝑢 to be twice differentiable and 𝑢𝑥 to be continuous. If not, 𝑢𝑥𝑥 will be infinity where 𝑢𝑥 is discontinuous and (4.1) makes no sense. On the other hand, there is no continuity requirement on the weight function 𝑤 in (4.1). Thus, the requirements on 𝑢 and 𝑤 are unsymmetric, in order to be admissible in (4.1). Hence, we denote (4.1) as a local unsymmetric weak form (LUWF). The weight function 𝑤 is often referred to as the test function. In (4.1), Ω𝑖𝑠 is a local subdomain associated with the point 𝑖.

In this paper, the compactly supported RBFs are chosen as the test functions. In this case, Ω𝑖𝑠 is support of the compactly supported RBFs. The compactly supported RBFs are generally expressed in the form 𝜓(𝑟)=(1𝑟)𝑛+𝑝(𝑟) (Wu [29] and Wendland [30]), and (1𝑟)𝑛+=(1𝑟)𝑛,0𝑟<1,0,𝑟1,(4.2) where 𝑝(𝑟) is a prescribed polynomial. By replacing 𝑟 with 𝑟/𝛿 for 𝛿>0, the basis function has support on [0,𝛿]. In the numerical results for compactly supported RBF, the Wendland function is used as follow: 𝜓(𝑟)=(1𝑟)8+32𝑟3+25𝑟2.+8𝑟+1(4.3)

In LUWF (4.1), the collocation approach is used to impose both the essential as well as natural boundary conditions. The 10-point Gauss quadrature rule [31] is used for the numerical integration of (4.1).

5. Numerical Experiments

Three test experiments are studied to investigate the robustness and the accuracy of the proposed method. The 𝐿2, 𝐿, and RMS errors, which are defined by 𝐿2=𝑢𝑁𝑢2=𝑁𝑖=1𝑢𝑁𝑗𝑢𝑗2,𝐿=𝑢𝑁𝑢=max𝑗||𝑢𝑁𝑗𝑢𝑗||,RMS=𝑁𝑖=1𝑢𝑁𝑗𝑢𝑗2𝑁,(5.1) are used to measure the accuracy wherein 𝑢𝑁 is the approximate solution and 𝑢 is the exact solution of (1.1).

The computations associated with the experiments discussed above were performed in Maple 13 on a PC with a CPU of 2.4 GHZ.

Experiment 1. In this experiment, we consider the shock propagation solution of Burger's equation [19] as a numerical experiment. This solution is given by 𝑥𝑢(𝑥,𝑡)=𝑡1+𝑡/𝑡𝑥exp2/4𝜇𝑡,𝑡1,𝑡1=exp.8𝜇(5.2) Initial condition of the problem is obtained from (5.2) at time 𝑡=1, and boundary conditions in (1.3) can be obtained from the exact solution. Propagation of the shock is studied with the parameters 𝜇=0.005 and Δ𝑡=0.01 over the solution domain [0,1.2]. The computational results are listed in Tables 2, 3, and 4. We also plot the profiles of the solutions at 𝑡=1.3,1.6,2.1, and 2.4 in Figure 1. Figure 2 represents the percentage absolute error at different time levels. Figure 3 represents the percentage absolute error for various values of 𝑁 at the time 𝑡=1.7 of Experiment 1.
According to Table 3, we observe that first the value of errors decrease, but for 𝑁=40 these values increase. When we add center points in order to improve the accuracy, the condition number of the interpolation matrix grows and then the problem becomes ill-conditioned. The ill-conditioning grows due to the decrease in the distance between points, and not to the increase in the number of center points [32].

Experiment 2. In this experiment, we consider Burger's equation (1.1) with exact solution [33], 𝑢(𝑥,𝑡)=𝛼+𝛽+(𝛽𝛼)exp(𝛼/𝛽(𝑥𝛽𝑡𝜆))1+exp(𝛼/𝛽(𝑥𝛽𝑡𝜆)),0𝑥1,𝑡0,(5.3) where the parameters 𝛼,𝛽, and 𝜆 are arbitrary constants. Initial condition of the problem is obtained from (5.3) at time 𝑡=0, and boundary conditions in (1.3) can be obtained from the exact solution. We study this experiment with parameters 𝛼=0.4,𝛽=0.6,𝜆=0.125, and 𝜇=1. The computational results are listed in Tables 5, 6, and 7. We also plot profiles of the percentage absolute error at different time levels in Figure 4.

Experiment 3. In this experiment, we study (1.1) with the exact solution [34], 𝑢(𝑥,𝑡)=0.1𝑒𝐴+0.5𝑒𝐵+𝑒𝐶𝑒𝐴+𝑒𝐵+𝑒𝐶,0𝑥1,𝑡0,(5.4) with 𝐴=0.05𝜇(𝑥0.5+4.95𝑡),𝐵=0.25𝜇(𝑥0.5+0.75𝑡),𝐶=0.5𝜇(𝑥0.5+0.375𝑡).(5.5) The initial function 𝑢0(𝑥) in (1.2) is obtained from (5.4) at time 𝑡=0. The boundary functions 𝑔1(𝑡) and 𝑔2(𝑡) in (1.3) can be obtained from the exact solution. The computational results are listed in Tables 8, 9, and 10. Figure 5 represents the 𝐿2 and 𝐿 norm errors for 𝑡=0.7 with various values of 𝜇 in Experiment 3.

6. Conclusion

In this paper, we present a new meshless method, the MLPG method, for solving Burger's equation. The Wendland compactly supported RBF is used as the test function in the local weak form, and in time discretization, the Taylor series expansion is used. Results of numerical experiments indicate that it is an accurate and efficient numerical scheme. The proposed method is a truly meshless method, which does not require domain elements in the interpolation. In the weak form, integrals are evaluated over the local subdomain instead of the global domain. This method can be extended to solve Burger's equation in the higher-order dimensions because the MQ RBF can easily be extended to higher dimensions. Also, because of the infinite differentiability of the RBFs, we can use the MLPG method for the PDEs with higher-order derivatives with respect to 𝑥, for example, the Korteweg-de Vries equation.