Applied Mathematics
Vol.06 No.09(2015), Article ID:58952,10 pages
10.4236/am.2015.69141
Discontinuous Legendre Wavelet Galerkin Method for One-Dimensional Advection-Diffusion Equation
Xiaoyang Zheng, Zhengyuan Wei
College of Mathematics and Statistics, Chongqing University of Technology, Chongqing, China
Email: zhengxiaoyang@cqut.edu.cn
Copyright © 2015 by authors and Scientific Research Publishing Inc.
This work is licensed under the Creative Commons Attribution International License (CC BY).
http://creativecommons.org/licenses/by/4.0/



Received 29 July 2015; accepted 18 August 2015; published 21 August 2015
ABSTRACT
This paper presents discontinuous Legendre wavelet Galerkin (DLWG) approach for solving one- dimensional advection-diffusion equation (ADE). Variational formulation of this type equation and corresponding numerical fluxes are devised by utilizing the advantages of both the Legendre wavelet bases and discontinuous Galerkin (DG) method. The distinctive features of the proposed method are its simple applicability for a variety of boundary conditions and able to effectively approximate the solution of PDEs with less storage space and execution. The results of a numerical experiment are provided to verify the efficiency of the designed new technique.
Keywords:
Advection-Diffusion Equation, Legendre Wavelet, Discontinuous Galerkin Method, Discontinuous Legendre Wavelet Galerkin Method

1. Introduction
The advection-diffusion equation arises in many important applications, such as fluid dynamics, heat transfer and mass transfer etc. [1] -[9] . In this paper, we shall consider the one-dimensional convection-diffusion equation, which takes the form
, (1.1)
where
and
are the speed of advection and diffusion coefficients respectively, and the function
is unknown. The initial and boundary conditions are
, (1.2)
and the boundary conditions satisfy
, (1.3)
where
, g and h are known functions.
There has been little progress in obtaining analytical solution to the advection-diffusion equation when initial and boundary conditions are complicated, even with constant coefficients a and ν [7] . This is the reason why numerical solution of Equation (1.1) is very important. It is pointed out that a lot of numerical techniques for Equation (1.1) are by now well developed such as finite differences, finite elements, spectral procedures, Wavelet-Galerkin (WG) methods, DG methods and Graphical methods etc. [9] - [25] . Among these approaches, we need to emphasize on Wavelet Galerkin method, especially, Legendre Wavelet Galerkin technique and DG approach for solving partial differential equations (PDEs) because these methods are applied to constructing the DLWG approach proposed in this article.
Firstly, the DG method has emerged as an attractive tool for simulating the convection-diffusion problem [9] -[14] . The main advantage of the DG method lies in its accuracy and flexibility thanks to its high degree of locality. Secondly, the reason for such fast development of the WG approach may be the fact that many nonlinear PDEs have solutions containing local phenomena and interactions among several scales, which can be well-represented in wavelet bases owing to their nice properties, such as compact support and vanishing moment [15] -[22] . However, their main limitations are the difficulties to adapt them to non-periodic geometries and to append specific boundary conditions. Thirdly, what most interests us is that the Legendre wavelet approach is widely implemented to solve PDEs because of its rich properties, for example, expressions in closed form, orthogonality, compact support and vanishing moments [14] -[25] .
In this paper, the DLWG technique is constructed by borrowing the idea of the DG method. The DLWG approach is based on the variational formulation for the solution of Equation (1.1) and takes advantage of an elementwise discontinuous Legendre wavelet approximation, where numerical information only communicates locally via numerical fluxes, to cope with complicated geometries and to represent the dynamics and structure of highly complex solutions. Especially, compared with the LWG method, the discontinuity of Legendre wavelet functions at interfaces of element to element and the boundary conditions are easy to be solved by using the numerical fluxes. Furthermore, the rich properties of Legendre wavelet bases and the use of the discontinuous elements can produce block-diagonal, sparse and lower dimensional mass matrices, which can be easily inverted by hand and stored efficiently in computer-memory compared with the WG method. Of course, the stability and approximate error of the DLWG approach are also addressed in this article. Finally, the DLWG approach utilizes the discontinuous feature at nodes of the Legendre wavelet bases combined with discontinuous finite elements to discretize the space variable and the spacial derivatives to produce a system of first-order ODEs in time for Equation (1.1). We solve this system by using the TVD Runge-Kutta method [11] , and obtain good numerical results, illustrating that this scheme is very simple and computationally efficient.
This paper is organized as follows: in Section 2, descriptions of the Legendre wavelet and its rich properties are given. Section 3 obtains the variational form of Equation (1.1) by the DLWG method. Section 4 derives the computations of the derivative operator and the numerical fluxes. Through these calculations, Equation (1.1) is transformed into an ODE system with time. Section 5 addresses the stability analysis of the DLWG approach. In Section 6, the results of a numerical experiment are presented to demonstrate the efficiency of the DLWG method. Conclusions of the proposed method and some suggestions for future research are given at the end of Section 7.
2. Legendre Wavelet
In this section, we briefly review the Legendre wavelet bases, and introduce our notations and some auxiliary results that will be used later [22] -[24] . Let
denote the Legendre polynomial of degree k, which is inductively defined as follows:
(2.1)
Let
denote the Legendre scale function defined as
(2.2)
For
, and
, define the interval
. For
, define
as a subspace of piecewise polynomial functions, 

The whole set 





which forms an orthonormal basis and

In order to intuitively understand the Legendre scale functions, we let the scale level 

The approximation of a function 


where 


which demonstrates the approximation error exponentially convergences with the level n of resolution and the order p of the Legendre wavelet bases [22] . The above nice properties demonstrate that the Legendre wavelet bases can be very efficiently applied to the numerical solution of Equation (1).
3. Discontinuous Legendre Wavelet Galerkin Variational Form
In this section, we derive the weak formulation of Equation (1.1) by the DLWG technique in detail. The computational domain 


Figure 1. Legendre scale functions with 

so the size of each element is





where 
is the vector of the Legendre wavelet bases at the finest decomposition level n.
Now we utilize 




We also let the usual notations 



In order to determine the approximate solution




where

for each element







There are two types of numerical fluxes: one is the convection numerical flux



In addition, the diffusion flux 

We note that the choice of numerical fluxes follows the same principle as those for the LDG method. However, numerical experience suggests that as the degree k of the approximate solution increases, the choice of the numerical fluxes does not have significant impact on the quality of the approximations [11] .
4. Computation of the Variational Form
In this section, we concretely evaluate each term of Equation (3.4) obtained in Section 3 by taking advantage of the characteristics of the Legendre wavelet bases.
4.1. Calculating the Matrix of Derivatives
Since the Legendre basis functions are discontinuous at nodes 




We now let D denote the derivative operator and consider 





Our goal is to find the 



Then the coefficient 

where
is the representation of D on the coarsest scale



which again is a formal expression at this point, where 




We now return to how to provide explicit calculation for each element of the matrix in (4.4) for the Legendre scale bases. Using a relation for the Legendre polynomials

we obtain for the first derivative

Substituting (4.8) into (4.4), we find that the (i + 1, j + 1)-th element of the matrix 

where 

For example, let p = 3, we can obtain

The transition matrix 
4.2. Transformation PDE into ODE and Time Discretization
In this subsection, we use the matrix of differential operator and the fluxes proposed in above subsections to transform Equation (1.1) into a system of ODEs in time.
For any test function


Secondly, taking advantage of the result of (4.6), we obtain the concrete calculation of the second term in (3.4) satisfying

where 



Up to present, we need to compute the convection and diffusion fluxes, i.e., the third and fourth terms in (3.4). According to the definitions of the fluxes (3.5) and (3.6), we must first evaluate the approximate values of 



and obtain the corresponding results of the Legendre basis functions such that

Thus, for

where we let

Additionally, for 

Using (4.16) and (4.17), we have


Now, using (3.5) and (3.6), we can obtain the computations of the fluxes satisfying


With (4.20) and (4.21), we obtain

Finally, we use (4.12), (4.13) and (4.22) to obtain the ODE systems from the DLWG space discretization. For each k and l, 

In addition, the initial condition (1.2) is represented as

where 


where 


In the current work, the ODE system (4.25) is discretized over time by using the total variation diminishing (TVD) high-order Runge-Kutta method as follows [11]



where 

Solving (4.25) by the above time discretization approach, we can obtain the finest resolution scale coefficients 




5. Stability Analysis
In this section, we shall address the stability property of the DLWG scheme we just proposed. For simplicity of discussion, we shall only consider the case of 
Theorem 1. The numerical scheme (3.4) with the fluxes choices (3.5) and (3.6), respectively, is 

Proof. According to the Equation (1.1), we let 



where


easy to show that 
fact that 

Choosing suitable parameters



Thus, we can obtain in (5.2)

which finishes the proof.
6. Numerical Experiment
In this section, we provide numerical experiment for numerically solving Equation (1.1) to illustrate the performance of the DLWG approach.
The values of various used parameters are


defined on


The corresponding initial and boundary conditions are decided by (6.1). Because the exact solution of the Equation (6.2) is known, we can compute the error between numerical solution and exact solution.
We calculate the solution up to





In the tables, Column 1 indicates the spatial order k, Column 2 shows the finest scale n used, and Column 3 contains the size of time steps



As shown in the numerical experiment, the numerical solution from the DLWG method is in good agreement with the exact one and illustrates the accuracy and capacity of the DLWG approach proposed in this article.
7. Conclusion
In this paper, the numerical method has been used to solve the advection-diffusion equation with specified initial and boundary conditions. The numerical experiment is presented to demonstrate the high order accuracy and validity of this technique. In particular, this method can be generalized to multi-dimensional cases and be applied to other kinds of PDEs and integro-differential equations.
Table 1. Results with different parameters at time t = 0.5.
Table 2. Results with different parameters at time t = 0.9.
Figure 2. The numerical solution of Equation (6.1).
Acknowledgements
This work is supported by Technological Research Program of Chongqing Municipal Education Commission (Grant No. KJ130818 and KJ130810) and is funded by Fundamental and Advanced Research Project of Chongqing CSTC of China, the project No. are CSTC2013JCYJA00022 and cstc2012jjA00018.
Cite this paper
XiaoyangZheng,ZhengyuanWei, (2015) Discontinuous Legendre Wavelet Galerkin Method for One-Dimensional Advection-Diffusion Equation. Applied Mathematics,06,1581-1591. doi: 10.4236/am.2015.69141
References
- 1. Murray, J.D. (2002) Mathematical Biology I: An Introduction. Vol. 17 of Interdisciplinary Applied Mathematics, 3rd Edition, Springer, New York.
- 2. Wang, X.Y., Zhu, Z.S. and Lu, Y.K. (1990) Solitary Wave Solutions of the Generalised Burgers-Huxley Equation, Journal of Physics A, 23, 271-274.
http://dx.doi.org/10.1088/0305-4470/23/3/011 - 3. Isenberg, J. and Gutfinger, C. (1973) Heat Transfer to a Draining Film. International Journal of Heat and Mass Transfer, 16, 505-512.
http://dx.doi.org/10.1016/0017-9310(73)90075-6 - 4. Dehghan, M. (2004) Weighted Finite Difference Techniques for One Dimensional Advection-Difffusion Equation. Applied Mathematics and Computation, 147, 307-319.
http://dx.doi.org/10.1016/S0096-3003(02)00667-7 - 5. Karahan, H. (2007) Unconditional Stable Explicit Finite Difference Technique for the Advection-Diffusion Equation Using Spreadsheets. Advances in Engineering Software, 38, 80-84.
http://dx.doi.org/10.1016/j.advengsoft.2006.08.001 - 6. Liang, D. and Zhao, W. (1997) A High-Order Upwind Method for the Convection-Diffusion Problem. Computer Methods in Applied Mechanics and Engineering, 147, 105-115.
http://dx.doi.org/10.1016/S0045-7825(97)00004-2 - 7. Dehghan, M. (2005) On the Numerical Solution of the One Dimensional Convection-Diffusion Equation. Mathematical Problems in Engineering, 1, 61-74.
http://dx.doi.org/10.1155/MPE.2005.61 - 8. Golbabai, A. and Javidi, M. (2009) A Spectral Domain Decomposition Approach for the Generalized Burger’s-Fisher Equation. Chaos, Solitons & Fractals, 39, 385-392.
http://dx.doi.org/10.1016/j.chaos.2007.04.013 - 9. Mohammadi, A., Manteghian, M. and Mohammadi, A. (2011) Numerical Solution of the One-Dimensional Advection-Diffusion Equation Using Simultaneously Temporal and Spatial Weighted Parameters. Australian Journal of Basic and Applied Sciences, 5, 1536-1543.
- 10. Kumar, A., Jaiswal, D.K. and Kumar, N. (2010) Analytical Solutions to One-Dimensional Advection-Diffusion Equation with Variable Coefficients in Semi-Infinite Media. Journal of Hydrology, 380, 330-337.
http://dx.doi.org/10.1016/j.jhydrol.2009.11.008 - 11. Liu, H. and Yan, J. (2009) The Direct Discontinuous Galerkin (DDG) Methods for Diffusion Problems. SIAM Journal on Numerical Analysis, 47, 475-694.
http://dx.doi.org/10.1137/080720255 - 12. Kumar, A., Jaiswal, D.K. and Kumar, N. (2009) Analytical Solutions of One-Dimensional Advection-Diffusion Equation with Variable Coefficients in a Finite Domain. Journal of Earth System Science, 118, 539-549.
http://dx.doi.org/10.1007/s12040-009-0049-y - 13. Liu, H. and Yan, J. (2010) The Direct Discontinuous Galerkin (DDG) Method for Diffusion with Interface Corrections. Communications in Computational Physics, 8, 541-564.
http://dx.doi.org/10.4208/cicp.010909.011209a - 14. Zhang, R.-P. and Zhang, L.-W. (2012) Direct Discontinuous Galerkin Method for the Generalized Burgers Fisher Equation. Chinese Physics B, 9, Article ID: 090206.
http://dx.doi.org/10.1088/1674-1056/21/9/090206 - 15. Dahmen, W., Kurdila, J. and Oswald, P. (1997) Multiscale Wavelet Methods for Partial Differential Equations. Academic Press, San Diego.
- 16. Razzaghi, M. and Yousefi, S. (2001) The Legendre Wavelets Operational Matrix of Integration. International Journal of Systems Science, 32, 495-502.
http://dx.doi.org/10.1080/00207720120227 - 17. Yousefi, S. (2010) Legendre Multiwavelet Galerkin Method for Solving the Hyperbolic Telegraph Equation. Numerical Methods for Partial Differential Equations, 26, 539-543.
- 18. Gantumur, T. and Stevenson, R.P. (2006) Computation of Differential Operators in Wavelet Coordinates. Mathematics of Computation, 75, 697-710.
http://dx.doi.org/10.1090/S0025-5718-05-01807-7 - 19. Aziz, I., Siraj-ul-Islam and Sarler, B. (2013) Wavelets Collocation Method for Numerical Solution of Elliptic Problems. Applied Mathematical Modelling, 37, 676-694.
http://dx.doi.org/10.1016/j.apm.2012.02.046 - 20. Liandrat, J., Perrier, V. and Tchmitchian, Ph. (1992) Numerical Resolution of Nonlinear Partial Differential Equations Using Wavelet Approach. In: Ruskai, M., Beylkin, G., Coifman, R., Daubechies, I., Mallat, S., Meyer, Y. and Raphael, L., Eds., Wavelets and Their Applications, Jones and Bartlett, Boston, 227-238.
- 21. Kumar, R.B.V. and Mehra, M. (2006) A Three-Step Wavelet Galerkin Method for Parabolic and Hyperbolic Partial Differential Equations. International Journal of Computer Mathematics, 83, 143-157.
http://dx.doi.org/10.1080/00207160500112985 - 22. Alpert, B., Beylkin, G., Gines, D. and Vozovoi, L. (2002) Adaptive Solution Partial Differential Equations in Multiwavelet Bases. Journal of Computational Physics, 182, 149-190.
http://dx.doi.org/10.1006/jcph.2002.7160 - 23. Berlkin, G. (1992) On the Representation of Operators in Bases of Compactly Supported Wavelets. SIAM Journal on Numerical Analysis, 6, 1716-1739.
http://dx.doi.org/10.1137/0729097 - 24. Zheng, X., Yang, X., Su, H. and Qiu, L. (2011) Discontinuous Legendre Wavelet Element Method for Elliptic Partial Differential Equations. Applied Mathematics and Computation, 218, 3002-3018.
http://dx.doi.org/10.1016/j.amc.2011.08.045 - 25. Kima, M.-Y. and Wheelerb, M.F. (2014) A Multiscale Discontinuous Galerkin Method for Convection-Diffusion-Reaction Problems. Computers and Mathematics with Applications, 68, 2251-2261.
http://dx.doi.org/10.1016/j.camwa.2014.08.007






