- About this Journal
- Abstracting and Indexing
- Aims and Scope
- Annual Issues
- Article Processing Charges
- Articles in Press
- Author Guidelines
- Bibliographic Information
- Citations to this Journal
- Contact Information
- Editorial Board
- Editorial Workflow
- Free eTOC Alerts
- Publication Ethics
- Reviewers Acknowledgment
- Submit a Manuscript
- Subscription Information
- Table of Contents
Abstract and Applied Analysis
Volume 2012 (2012), Article ID 527467, 15 pages
A Galerkin Solution for Burgers' Equation Using Cubic B-Spline Finite Elements
Department of Mathematics, Faculty of Education, Suez Canal University, Al-Arish 45111, Egypt
Received 13 May 2012; Accepted 24 July 2012
Academic Editor: Benchawan Wiwatanapataphee
Copyright © 2012 A. A. Soliman. 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.
Numerical solutions for Burgers’ equation based on the Galerkins’ method using cubic B-splines as both weight and interpolation functions are set up. It is shown that this method is capable of solving Burgers’ equation accurately for values of viscosity ranging from very small to large. Three standard problems are used to validate the proposed algorithm. A linear stability analysis shows that a numerical scheme based on a Cranck-Nicolson approximation in time is unconditionally stable.
A study of Burgers’ equation is important since it arises in the approximate theory of flow through a shock wave propagating in a viscous fluid  and in the modeling of turbulence . Burgers’ equation and the Navier-Stokes equation are similar in the form of their nonlinear terms and in the occurrence of higher order derivatives with small coefficients in both . The applications have been found in field as diverse as number theory, gas dynamics, heat conduction, elasticity, and so forth . The exact solutions of the one-dimensional Burgers’ equation have been surveyed by Benton and Platzman . However, difficulties arise in the numerical solution of Burgers’ equation for small values of the viscosity coefficient, that is large Reynolds numbers, which correspond to steep wave fronts . In these cases, numerical methods are likely to produce results which include large nonphysical oscillations unless the size of the elements in unrealistically small. Many studies have been done on the numerical solutions of Burgers’ equation to deal with solutions for the large Reynolds number values. Some of the earlier numerical studies are documented as follows: a finite element method has been given by Caldwell et al.  to solve Burgers’ equation by altering the size of the element at each stage using information from three previous steps. Galerkin and Petrov-Galerkin finite element methods involving a time dependent grid [8, 9], and product approximation methods , have been used successfully to obtain accurate numerical solutions even for small viscosity coefficients.
Rubin and Graves Jr.  have used the spline function technique and quasilinearization for the numerical solution of Burgers’ equation in one space variable. A cubic spline collocation procedures were developed for Burgers’ equation in the papers [12–15]. Soliman [16, 17] has solved Burgers’ equation numerically using a new similarity technique, and analytically using the modified extended tanh-function method. Raslan  has solved Burgers’ equation using collocation method based on quadratic B-spline finite element method. In this paper we set up the finite element method using Galerkins’ method with cubic splines as shape functions to obtain a numerical solution for Burgers’ equation. The resulting system will be a system of ordinary differential equations which can be solved using a Crank-Nicolson approximation in time.
2. The Governing Equation
Consider Burgers’ equation in the form where and are positive parameters and the subscripts and denote temporal and spatial differentiation, respectively. Appropriate boundary conditions will be chosen from
Applying the Galerkin approach [19–21] to (2.1) with weight function , integrating by parts, and choosing the boundary conditions from (2.2) lead to the weak form where the right-hand side of (2.3) is evaluated only at the boundaries. The conditions on the interpolation functions are now simply that only the functions and their first derivative need to be continuous throughout the region. However, we have chosen to use, as trial functions, the very adaptable cubic splines with their well-known advantages.
3. The B-Spline Finite Element Solution
The region is partitioned into finite elements of equal length by knots such that , and let be the cubic B-splines with knots at the points . The set of splines form a basis for functions defined over . We seek the approximation to the solution , which uses these splines as trial functions where the are time-dependent quantities to be determined from (2.3).
Defining a local coordinate system for the finite element with nodes at and , each cubic B-spline covers four elements ; consequently each element is covered by four splines which are given in terms of a local coordinate system , where and , by It is the representation of cubic B-spline over a single element which is most appropriate for the finite element approach where all other splines are zero over this element.
The spline and its two principle derivatives vanish outside the interval . In Table 1 we list for convenience the values of and its derivatives , at the relevant knots.
We now identify the finite elements for the problem with the intervals , and the element nodes with the knots .
In addition, we have the valuable property that determine also the first and second derivatives at the nodes (element boundaries), and these are also continuous
The finite element equations we will set up will not be expressed in terms of the nodal parameters but in terms of element parameters , so we shall not directly determine the nodal values as is the case with the usual finite element formulations, but these can always be recovered using (3.3) and (3.5).
We will now set up the element matrices relevant to (2.3). For a typical element , we have the contribution
The element matrices are given by the integrals where take only the values , for this typical element . The matrices are therefore and the matrix is . An associated matrix is given by which also depends on the parameters and will be used in the following theoretical discussions.
The element matrices , and can be determined algebraically from (3.2). Then, we obtain
Combining contributions from all elements leads to the matrix equation where and assembled from the element matrices in the usual way, are septadiagonal in form. We have assumed homogeneous boundary conditions on or and so the term on the right-hand side of (2.3) is zero. The general row for each matrix has the following form: where , for row . The matrices and are symmetric while the form of the matrix has a somewhat more complex structure.
We will time centre on and write where the are the parameters at time , and is the timestep. Then (3.14), can be written as
The matrices , are independent of the time; so, they will remain constant throughout the calculations. While the matrix is dependent on the time, it must therefore be recalculated at each step. Apply the boundary conditions and eliminate from (3.18) which then becomes septadiagonal system and can be solved using septadiagonal algorithm.
The time evolution of the approximate solution is determined by the time evolution of the vector . This is found by repeatedly solving the system (3.18), once the initial vector has been computed from the initial conditions. The system (3.18) is septadiagonal and so can be solved using the septadiagonal algorithm, but an inner iteration is needed at each timestep to scope with the nonlinear terms in which the matrix depends on . The following solution procedure is followed.(i)At time , for the initial step of the inner iteration, we approximate by calculated from only and obtain a first approximation to from (3.18). We then iterate, using (3.18) with matrix calculated from , for up to 10-times to refine the approximation to .(ii)At the other timesteps we use for the matrix , at the first step of inner iteration, derived from , to obtain a first approximation to , by solving (3.18). We then iterate, using (3.18) with matrix calculated from , two- or three-times to refine the approximation to .
4. The Stability Analysis
An investigation into the stability of the numerical scheme (3.18) is based on the Von Neumann theory in which the growth factor of a typical Fourier mode defined as where is the mode number, and is the element size, is determined for a linearization of the numerical scheme (3.18).
In this linearization, we assume that the quantity in the nonlinear term is locally constant. This is equivalent to assuming that the corresponding values of are also constant and equal to .
Let and substitute in (4.4) to give where is the growth factor for the mode. Then, the modulus of the growth factor is Therefore the linearized scheme is unconditionally stable.
5. The Initial State
From the initial condition on the function , we must determine the initial vector so that the time evolution of , using (3.18), can be started.
First rewrite (3.1) for the initial condition as where are unknown parameters to be determined. To do this we require to satisfy the following constraints:(a)it must agree with the initial condition at the knots; (3.3) leads to conditions, that is, ,(b)the first or second derivatives of the approximate initial condition shall agree with those of the exact initial condition at both ends of the range; (3.5) or (3.6) produces two further equations, that is, .
6. The Test Problems
Numerical solutions of Burgers’ equation for three test problems will now be considered. To measure the accuracy of the numerical algorithm, we compute the difference between the analytic and numerical solutions at each mesh point after specified timesteps and use these to calculate the discrete and error norms.(a) Burgers’ equation has the analytic solution  where . With (6.1), at time as initial condition, numerical solutions are determined up to a time of , and use as boundary conditions . We discuss the three cases.(i)Figures 1 and 2 shows us the behavior of the numerical solutions for viscosity coefficients and at times from to and from to , respectively. It is seen that for the smaller viscosity value the propagation front is steeper. These graphs agree with those reported by Nguyen and Reynen  to within plotting accuracy. In both cases, if the exact solutions are plotted on the same diagram, the curves are indistinguishable. The and error norms are compared with results presented in the papers [9, 14], which are given in Tables 1, 2, and 3. From these tables, we find that the errors obtained by the present algorithm are smaller than the errors calculated by [9, 14].(ii)The case with , , , at different times , and , respectively. The numerical and the analytical solutions computed by the present approach are given in Table 4, with corresponding previous results . From Table 4, we deduce that the numerical solutions computed by the present algorithm are more accurate than those evaluated by , at different times.(iii)In this case, we take , , and viscosity coefficients , . The results given in Tables 5 and 6 show us that the computed errors using the present algorithm are smaller than the corresponding errors obtained by Raslan , even, when we chose large timestep.(b) A second analytic solution is 
We take as initial condition (6.2), at , over the range , with boundary conditions
For , a very weak shock wave develops, when , we obtain a moderate shock wave and when , a strong shock wave is produced. As the value of is decreased the propagation front becomes steeper. The and error norms for these simulations with the corresponding errors obtained by , are given in Tables 7 and 8. For large values of the errors are small and as the value of is decreased the errors tend to increase, but for the values of used here, the errors are still acceptable. From Tables 7 and 8, we deduce that the errors computed by the present algorithm are more accurate than those evaluated by  at different times. Figure 3 shows us the behavior of the numerical solutions for viscosity coefficients , at different times from to .(c) A third test example, consider the particular analytic solution of Burgers’ equation [8, 10] where , and are constants.
From Figure 4, it can be seen that the solution represents a travelling wave, initially situated at , moving to the right with speed . The present method behaves very well until the wave encounters the right-hand boundary. The numerical results at are compared with the analytic solution, and the results presented in papers [8–10, 14, 15], known as methods of method of lines (ML), standard Galerkin approach (SGA), product approximation Galerkin method (PAG), cubic B-spline collocation method (CSCM), and a numerical solution of Burgers’ equation using cubic B-spline (CSCM), are given in Table 9. It is seen from Table 9 that the agreement between the numerical and the exact solution appears very satisfactorily.
We have seen that the algorithm proposed here using Galerkins’ method with cubic spline shape functions compares well in the accuracy with the other published methods, such as methods of lines, standard Galerkin approach, product approximation Galerkin method, and cubic B-spline collocation method. The and error norms are satisfactorily small during the simulations. A linear stability analysis based on the Von Neumann theory shows that the numerical scheme is unconditionally stable. We conclude that a finite element approach based on Galerkins’ method with cubic spline shape functions is eminently suitable for the computation of solutions to Burgers’ equation. We believe that the approach should be suitable for other applications where the continuity of derivatives is essential.
- J. D. Cole, “On a quasi-linear parabolic equation occurring in aerodynamics,” Quarterly of Applied Mathematics, vol. 9, pp. 225–236, 1951.
- J. M. Burgers, “A mathematical model illustrating the theory of turbulence,” in Advances in Applied Mechanics, pp. 171–199, Academic Press, New York, NY, USA, 1948.
- E. Varo\=glu and W. D. L. Finn, “Space-time finite elements incorporating characteristics for the Burgers equation,” International Journal for Numerical Methods in Engineering, vol. 16, pp. 171–184, 1980.
- E. Hopf, “The partial differential equation ,” Communications on Pure and Applied Mathematics, vol. 3, pp. 201–230, 1950.
- E. R. Benton and G. W. Platzman, “A table of solutions of the one-dimensional Burgers equation,” Quarterly of Applied Mathematics, vol. 30, pp. 195–212, 1972.
- D. U. Rosenberg, Methods for Solution of Partial Differntial Equations, vol. 113, American Elsevier, New York, NY, USA, 1969.
- J. Caldwell, P. Wanless, and A. E. Cook, “A finite element approach to Burgers' equation,” Applied Mathematical Modelling, vol. 5, no. 3, pp. 189–193, 1981.
- B. M. Herbst, S. W. Schoombie, and A. R. Mitchell, “A moving Petrov-Galerkin method for transport equations,” International Journal for Numerical Methods in Engineering, vol. 18, no. 9, pp. 1321–1336, 1982.
- L. R. T. Gardner, G. A. Gardner, and A. H. A. Ali, “A method of lines solutions for Burgers’ equation,” in Computer Mech, Y. K. Cheung, et al., Ed., pp. 1555–1561, Balkema, Rotterdam, 1991.
- I. Christie, D. F. Griffiths, A. R. Mitchell, and J. M. Sanz-Serna, “Product approximation for nonlinear problems in the finite element method,” Journal of Numerical Analysis, vol. 1, no. 3, pp. 253–266, 1981.
- S. G. Rubin and R. A. Graves, Jr., “Viscous flow solutions with a cubic spline approximation,” Computers & Fluids, vol. 3, pp. 1–36, 1975.
- S. G. Rubin and P. K. Khosla, “Higher-order numerical solutions using cubic splines,” American Institute of Aeronautics and Astronautics, vol. 14, no. 7, pp. 851–858, 1976.
- J. Caldwell, “Application of cubic splines to the nonlinear Burgers' equation,” in Numerical Methods for Nonlinear Problems, vol. 3, pp. 253–261, Pineridge Press, 1986.
- A. H. A. Ali, G. A. Gardner, and L. R. T. Gardner, “A collocation solution for Burgers' equation using cubic Cubic-spline finite elements,” Computer Methods in Applied Mechanics and Engineering, vol. 100, no. 3, pp. 325–337, 1992.
- İ. Dağ, D. Irk, and B. Saka, “A numerical solution of the Burgers' equation using cubic B-splines,” Applied Mathematics and Computation, vol. 163, no. 1, pp. 199–211, 2005.
- A. A. Soliman, “Numerical technique for Burgers’ equation based on similarity reductions,” in International Conference on Applied Computational Fluid Dynamics, pp. 559–566., Bejing, China, October 2000.
- A. A. Soliman, “The modified extended tanh-function method for solving Burgers-type equations,” Physica A, vol. 361, no. 2, pp. 394–404, 2006.
- K. R. Raslan, “A collocation solution for Burgers equation using quadratic B-spline finite elements,” International Journal of Computer Mathematics, vol. 80, no. 7, pp. 931–938, 2003.
- G. A. Gardner, A. H. A. Ali, and L. R. T. Gardner, “A finite element solution for the korteweg-de vries equation using cubic B-spline shape function,” in Proceedings of the Information Security Policy Made Easy (ISNME '89), R. Gruber, J. Periaux, and R. P. Shaw, Eds., vol. 2, pp. 565–570, Springer, 1989.
- 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.
- O. C. Zienkiewicz, The Finite Elment Method, McGraw Hill, London, UK, 3th edition, 1977.
- P. M. Prenter, Splines and Variational Methods, John Wiley & Sons, New York, NY, USA, 1989.
- H. Nguyen and J. Reynen, “A space-time finite element approach to Burgers' equation,” in Numerical Methods for Nonlinear Problems, E. Hinton, Ed., vol. 2, pp. 718–728, Pineridge Press, 1984.