Abstract
Burgers’ equation is a nonlinear partial differential equation that appears in various areas of physics and engineering. Finding accurate and efficient numerical methods to solve this equation is crucial for understanding complex fluid flow phenomena. In this study, we propose a spline-based numerical technique for the numerical solution of Burgers’ equation. The space derivative is discretized using cubic B-splines with new approximations for the second order. Typical finite differences are used to estimate the time derivative. Additionally, the scheme undergoes a stability study to ensure minimal error accumulation, and its convergence is investigated. The primary advantage of this scheme is that it generates an approximate solution as a smooth piecewise continuous function, enabling approximation at any point within the domain. The scheme is subjected to a numerical study, and the obtained results are compared to those previously reported in the literature to demonstrate the effectiveness of the proposed approach. Overall, this study aims to contribute to the development of efficient and accurate numerical methods for solving Burgers’ equation. The spline-based approach presented herein has the potential to advance our understanding of complex fluid flow phenomena and facilitate more reliable predictions in a range of practical applications.
Keywords:
Burgers’ equation; cubic B-spline; new cubic B-spline approximation; stability; convergence MSC:
65M70; 65Z05; 65D05; 65D07; 35B35
1. Introduction
We consider Burgers’ equation (BE) in this study:
subject to the IC,
and the BCs,
where and and are given.
Burgers’ equation was first introduced by Bateman [1] and is a well-known and important model used in various scientific and engineering fields. Fay [2] came up with an interesting series solution for BE, and JM Burgers [3] extensively studied this equation back in 1940, especially in the context of turbulence problems in fluid mechanics. Cole [4] and Hopf [5] made transformations to turn BE into a linear heat equation, which can be applied with different initial conditions. Additionally, Kreiss and Kreiss [6] delved into the effects of abrupt changes in velocity on how steady-state solutions behave in the Navier–Stokes equation. Miller [7] utilized a predictor-corrector method to model turbulent flow in Burgers’ equation. Tian and colleagues [8] presented an intriguing numerical scheme for solving the modified Burgers model with nonlocal dynamic properties. One of the notable features of this work is the use of graded meshes, which are mesh structures that are adaptively refined in regions where the solution exhibits rapid changes or steep gradients. Jiang and his co-authors [9] introduced a predictor-corrector compact difference scheme designed to solve nonlinear fractional differential equations. The proposed scheme addressed the challenges associated with solving nonlinear fractional differential equations efficiently. Rodin [10] discovered several numerical and exact solutions to boundary value problems for BE. Platzman and Benton [11] successfully identified approximately 35 distinct solutions for BE. Graves and Rubin [12] employed quasi-linearization and spline function models to develop numerical techniques for approximating BE. Caldwell et al. [13] introduced a finite element technique for solving BE numerically, and Caldwell and Smith [14] discussed various numerical methods for the computational approximation of BE, generalizing the finite element method for n elements. Kadalbajoo and Awasthi [15] presented a numerical method based on the Crank–Nicolson scheme for solving BE. Rubin and Khosla [16] obtained higher-order numerical solutions of BE using spline and B-spline functions. Caldwell [17] employed cubic splines for the numerical approximation of BE, while [18,19,20] discussed implicit finite difference schemes based on cubic splines for BE. Ali et al. [21] proposed a B-spline Galerkin technique for numerically approximating BE, and Ali et al. [22] introduced a B-spline collocation method to find the numerical solution to BE. Kutluay et al. [23] investigated BE by using explicit and exact-explicit finite difference methods. Dağ et al. [24,25] presented a numerical solution to BE based on cubic B-spline approximation. Abbasbandy and Darvishi [26] explored the numerical solution of BE using the Adomian decomposition method. Sarboland and Aminataei [27] employed Taylor’s meshless Petrov-Galerkin method, utilizing radial basis functions for BE. The choice between B-spline and finite element methods in fluid mechanics applications depends on factors like the complexity of the geometry, desired accuracy, ease of implementation, and specific problem requirements. B-spline methods excel in handling complex geometries and smooth solutions, while finite element methods offer a well-established and versatile approach that is widely adopted in the field. In order to explore further research on Burgers’ equation and the related nonlinear phenomenon, please consult [28,29,30,31,32,33,34,35,36,37,38] and the sources cited within.
The primary motivation behind this work is to utilize a novel cubic B-spline approximation for the spatial derivative, leading to an approximate solution of BE with improved accuracy. Another advantage of this approach is that the approximation results in a smooth, piecewise continuous function, enabling approximation at any point within the specified domain.
The rest of the paper is ordered as follows. Section 2 introduces the spline-based numerical technique with a new approximation [39]. In Section 2, the stability of the presented scheme is discussed. Section 4 investigates a convergence analysis of the scheme. Section 5 discusses a comparison of our numerical results with those of some of the other numerical procedures in the literature. Section 6 presents the conclusion of this study.
2. The Derivation of the Scheme
The time and space step sizes are initially defined as and with T and N being positive integers. Let , . Now, partition the domain into N equal subintervals , by choosing the knots, , where . The approximation to the exact solution of (1) is given as
where are unknowns to be determined, and the cubic B-Splines (CuBS) basis functions, , are defined as
The local support property of CuBS ensures that only and are nonzero at , , and , respectively. Consequently, we obtain the approximate solution at the grid point as
The unknowns are determined by utilizing the initial, boundary, and collocation conditions applied to . Through this process, it becomes evident that the approximations and their requisite derivatives are given by
where
- The recently derived estimation for the second derivative of is presented in [31] as follows:
Equation (1) can be represented in discretized form by discretizing the time derivative by finite differences as
Note that the term is approximated as
so that (9) becomes
Subtituting (7) and (8) in (11) at knot yields
where
By subtituting (7) and (8) in (11) at knots , we obtain
where
Subtituting (7) and (8) in (11) at the knot yields
where
Note that from (12), (13), and (14), a system of linear equations in unknowns is obtained. Two additional equations are derived from the stated boundary conditions for a consistent system. As a result, a consistent system of dimensions is obtained, which can be uniquely solved using any Gaussian elimination-based numerical approach in a unique manner.
Initial state: The initial vector can be obtained from the initial condition and boundary values of the derivatives of the initial conditions as follows:
The arrangement (15) results in a matrix system of dimensions , taking the following structure:
where
and .
3. Stability Analysis
The stability of the suggested method (12)–(14) is demonstrated to be unconditionally stable in this section for the entire domain. Following the von Neumann method, the nonlinear term is linearized by taking as a constant d. Consequently, the scheme can be linearized as
By substituting (7) and (8) in (17), we obtain
where, and
- .
Now, by inserting the Fourier mode, into (18), where and are the harmonics amplitude, growth factor, and the mode number, respectively, and , we obtain
This implies that
so that we obtain
By ysing the identity in (20) and simplifying it, we obtain
Note that . Without loosing generality, choose so that the last equation reduces to s
which confirms the unconditional stability of the proposed scheme.
4. Convergence Analysis
Within this section, we provide an exposition of the convergence analysis for the presented scheme. In order to proceed, it is necessary to refer to the following theorem [29,30].
Theorem 1.
Firstly, we start by considering the computed B-spline approximation to Equation (4), which is expressed as follows:Let belong to the class of , and let us consider a partition of the interval . Additionally, let be the unique B-spline function that interpolates the function v and let denote the order derivative. Under these conditions, there exist constants , which are not dependent on the interval size h, satisfying
By substituting with in equation (21), the resulting equation can be expressed in matrix form as follows:
By subtracting (24) from (23), we obtain
Now, by using (21) and (22), we obtain
From (26) and theorem (1), we have
where The matrix M is clearly diagonally dominant and so it is nonsingular, implying that
By utilizing (27), we obtain
Let be the elements of the matrix M and be the sum of the matrix M’s row; then, we have
Based on the principles of matrix theory, we have
where are the elements of . Therefore,
By substituting (31) into (29), we see that
where is constant.
Theorem 2.
The cubic B-splines specified in relationship (5) satisfy
Proof.
Now, consider
Consider
Now, for , we have
Subsequently, we obtain
as required. □
Theorem 3.
Suppose represents the exact solution, and is the cubic collocation approximation to . In such a scenario, the proposed approach demonstrates second-order spatial convergence and
5. Results and Discussions
This section aims to validate the reliability of the present scheme through various test problems. The accuracy is assessed using two discrete error norms, namely and , which are calculated as follows:
and
The numerical order of convergence (OC) can be ascertained by utilizing the subsequent formula:
where and denote the errors acquired using a partition count of N and , correspondingly.
Example 1.
Let us consider Equation (1) with boundary conditions:
and the initial condition:
The exact solution for this problem is given by
where .
The given procedure is employed to solve the aforementioned problem. Figure 1 and Figure 2 display the approximate and exact solutions, showcasing different values of at various time instances. Figure 3 presents the 2D and 3D absolute error profiles at . In Table 1, a comparison is made between the numerical solutions obtained in this work and those presented in [24]. Furthermore, Table 2 and Table 3 compare the error norms with those reported in [21,22,25]. Table 4 provide the rate of convergence. The approximate solution for Example 1 obtained when , , , and is given as
Figure 1.
The computed numerical solutions (depicted as diamonds, triangles, circles, and stars) and the exact solutions (illustrated as solid lines) are displayed with a step size of , a time increment of , and the parameters (in the left figure) and (in the right figure) for different time points in Example 1.
Figure 2.
The solutions obtained through numerical computation and the exact solutions for Example 1 are presented while considering the parameter values: and , along with two different values for , namely and .
Figure 3.
The error distributions in both two-dimensional (2D) and three-dimensional (3D) settings at time are displayed for Example 1, where the step size is set to and the time increment is .
Table 1.
The computed numerical solutions for Example 1 are shown at various time instances with the parameter , an interval of , a step size of , and a time increment of .
Table 2.
The error magnitudes for Example 1 were computed with the parameter , a step size of , and a time increment of at various time instances.
Table 3.
The error magnitudes for Example 1 were calculated for different time points using the parameter , a step size of , and a time increment of .
Table 4.
The convergence rate assessment was conducted for various values of N in Example 1 by considering the following parameters: , , and .
Example 2.
Let us examine equation (1) with the subsequent boundary conditions:
The precise solution for this scenario is expressed as , where α, μ, and γ denote arbitrary constants, and . The initial condition corresponds to in the exact solution.
Figure 4 depicts the implementation of the presented scheme, as well as approximations to the exact solution at various times. The approximate and exact solutions are depicted in superb 3D contrast in Figure 5. The 2D and 3D error graphs are displayed in Figure 6. Table 5 compares the obtained numerical solutions with the ones reported in [22,37]. The approximate solutions in Table 6 are compared to those found in [20,24,28]. The convergence rate assessment is given in Table 7.
Figure 4.
The computed approximate solutions (depicted as triangles, circles, and stars) and the corresponding exact solutions (illustrated as solid lines) for Example 2 are displayed across various time instances, considering the following parameter values: , , and .
Figure 5.
The estimated solution (depicted on the left) and the precise solution (displayed on the right) are presented with the following parameter values: , , , and for Example 2.
Figure 6.
The error distributions in both two-dimensional (2D) and three-dimensional (3D) contexts for Example 2 are shown, employing the parameters and .
Table 5.
The computed numerical solutions for Example 2 are obtained with the given parameter values: , , and .
Table 6.
The computed numerical solutions for Example 2 were derived by considering the following parameters: , time , and interval .
Table 7.
The convergence rate assessment for Example 2 was conducted at time , considering the various values of N while maintaining .
The estimated solution for Example 2 under the conditions of , , , and is given by
Example 3.
Let us consider Equation (1) with the initial condition
and the boundary conditions
The exact solution for this problem is given by
Here, represents the modified Bessel function of the first kind.
We employ the current scheme to obtain approximate solutions to this problem. Figure 7 presents the numerical and exact solutions at various time instances. A 3D comparison between the numerical and exact solutions is depicted in Figure 8. Furthermore, Table 8 and Table 9 provide evidence of the superiority of our approach by comparing the numerical solutions with those presented in [24].
Figure 7.
The computed numerical solutions (indicated by triangles, circles, and stars) and the corresponding exact solutions (shown as solid lines) are presented for Example 3. These are displayed for two cases: one with and (in the left figure), and another with (in the right figure), across various time points.
Figure 8.
The estimated solution (on the left) and the precise solution (on the right) for Example 3 are presented with parameter values of , , and .
Table 8.
A contrast of the solutions at different positions was performed for Example 3 at time , utilizing parameters and .
Table 9.
The estimated solutions for Example 3 were computed by using a step size of and a time increment of , considering various values of .
The computed approximate solution for Example 3, which was obtained by using the following parameter values: , , , and , is given by
Example 4.
Let us examine equation 1 with the provided initial condition:
and the following boundary conditions
The precise solution for this scenario is expressed as
By utilizing the current method, numerical outcomes are acquired for this particular problem. The exact and computed solutions are exhibited at different time instances in Figure 9. A three-dimensional comparison between the precise and estimated solutions at is depicted in Figure 10. Furthermore, Figure 11 visualizes the two-dimensional and three-dimensional error profiles at . In Table 10, a comparison of error norms is presented, which is in line with the findings reported in [39]. The estimated solution for Example 4 with parameters , , , and is as follows:
Figure 9.
The computed numerical solutions (indicated by triangles, circles, and stars) and the corresponding exact solutions (depicted as solid lines) for Example 4 are presented across various time points, considering the following parameters: and .
Figure 10.
The estimated solution (on the left) and the accurate solution (on the right) for Example 4 are presented with parameter values of , , and .
Figure 11.
The error distributions in both two-dimensional (2D) and three-dimensional (3D) contexts for Example 4 are displayed under the conditions of , , and .
Table 10.
Error magnitudes for Example 4 at time are evaluated across various values of N while maintaining .
6. Concluding Remarks
In conclusion, this paper presents a novel numerical technique for solving Burgers’ equation using new cubic B-spline approximations. The proposed method offers several advantages over existing approaches, including improved accuracy and stability. Through a series of numerical experiments, we have demonstrated the reliability and efficiency of our scheme in capturing the behavior of Burgers’ equation. The comparison between the approximate and exact solutions reveals the high accuracy achieved by our method, even with relatively coarse grid sizes. Moreover, the analysis of error norms confirms the superior performance of our approach compared to previous methods, showcasing its ability to yield highly accurate results. In summary, this paper presents a significant advancement in numerical techniques for solving Burgers’ equation. The presented technique is more effective in comparison with the previous work of authors on various splines. The proposed method’s high accuracy, stability, and convergence properties make it a promising tool for a wide range of applications in fluid dynamics and other related fields. Future research may focus on extending this approach to other partial differential equations and exploring its applicability in different physical scenarios.
Author Contributions
I.A., M.Y. and F.B.M.B.; methodology, M.A. and S.K.; software, M.Y., M.A. and S.K.; validation, I.A., M.Y. and F.B.M.B.; formal analysis, M.Y., M.A. and S.K.; investigation, I.A., M.Y., M.A., S.K. and F.B.M.B.; resources, I.A.; writing—original draft preparation, M.Y., M.A. and S.K.; writing—review and editing, I.A., M.Y., M.A., S.K. and F.B.M.B.; supervision, M.Y.; project administration, I.A., M.Y., M.A., S.K. and F.B.M.B.; funding acquisition, I.A. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by the Deanship of Scientific Research, Vice Presidency for Graduate Studies and Scientific Research, King Faisal University, Saudi Arabia [GRANT No. 4011].
Data Availability Statement
Not applicable.
Acknowledgments
The authors extend their appreciation to the Deanship of Scientific Research, Vice Presidency for Graduate Studies and Scientific Research, King Faisal University, Saudi Arabia [GRANT No. 4011].
Conflicts of Interest
The authors declare no conflict of interest.
References
- Bateman, H. Some recent researches on the motion of fluids. Mon. Weather. Rev. 1915, 43, 163–170. [Google Scholar] [CrossRef]
- Fay, R.D. Plane sound waves of finite amplitude. J. Acoust. Soc. Am. 1931, 3, 222–241. [Google Scholar] [CrossRef]
- Burger, J.M. A Mathematical Model Illustrating the Theory of Turbulence, Advances in Applied Mechanics 1; Academic Press: New York, NY, USA, 1948; pp. 171–199. [Google Scholar]
- Cole, J.D. On a quasi-linear parabolic equations occurring in aerodynamics. Q. Appl. Math. 1951, 9, 225–236. [Google Scholar] [CrossRef]
- Hopf, E. The partial differential equation Ut+UUx=μUxx. Commun. Pure Appl. Math. 1950, 3, 201–230. [Google Scholar] [CrossRef]
- Kreiss, G.; Kreiss, H.O. Convergence to steady state solutions of Burgers’ equation. Appl. Numer. Math. 1986, 2, 161–179. [Google Scholar] [CrossRef]
- Miller, E.L. Predictor–Corrector Studies of Burger’s Model of Turbulent Flow. Mastere’s Thesis, University of Delaware, Newark, DE, USA, 1966. [Google Scholar]
- Tian, Q.; Yang, X.; Zhang, X.; Xu, D. An implicit robust numerical scheme with graded meshes for the modified Burgers model with nonlocal dynamic properties. Comput. Appl. Math. 2023, 42, 26. [Google Scholar] [CrossRef]
- Jiang, X.; Wang, J.; Wang, W.; Zhang, H. A Predictor–Corrector Compact Difference Scheme for a Nonlinear Fractional Differential Equation. Fractal Fract. 2023, 7, 13. [Google Scholar] [CrossRef]
- Rodin, E.Y. On some approximate and exact solutions of boundary value problems for Burgers’ equation. J. Math. Anal. Appl. 1970, 30, 401–414. [Google Scholar] [CrossRef]
- Benton, E.; Platzman, G.W. A table of solutions of the one-dimensional Burgers’ equations. Q. Appl. Math. 1972, 30, 195–212. [Google Scholar] [CrossRef]
- Rubin, S.G.; Graves, R.A. Cubic Spline Approximation for Problems in Fluid Mechanics; National Aeronautics and Space Administration, TR R-436: Washington, DC, USA, 1975. [Google Scholar]
- Caldwell, J.; Wanless, P.; Cook, A.E. A finite element approach to Burgers’ equation. Appl. Math. Model. 1981, 5, 189–193. [Google Scholar] [CrossRef]
- Caldwell, J.; Smith, P. Solution of Burger’s equation with large Reynold’s number. Appl. Math. Model. 1982, 6, 381–385. [Google Scholar] [CrossRef]
- Kadalbajoo, M.K.; Awasthi, A. A numerical method based on Crank-Nicolson scheme for Burgers’ equation. Appl. Math. Comput. 2006, 182, 1430–1442. [Google Scholar] [CrossRef]
- Rubin, S.G.; Khosla, P.K. Higher-order numerical solutions using cubic splines. Am. Inst. Aeronaut. Astronaut. 1976, 14, 851–858. [Google Scholar] [CrossRef]
- Caldwell, J. Application of cubic splines to the nonlinear Burgers’ equation. Numer. Methods Nonlinear Probl. 1987, 3, 253–261. [Google Scholar]
- Nguyen, H.; Reynen, J. A space-time finite element approach to Burgers’ equation. Numer. Methods Nonlinear Probl. 1987, 3, 718–728. [Google Scholar]
- Jain, P.C.; Lohar, B.L. Cubic spline technique for coupled non-linear parabolic equations. Comput. Math. Appl. 1979, 5, 179–185. [Google Scholar] [CrossRef]
- Lohar, B.L.; Jain, P.C. Variable mesh cubic spline technique for N-wave solution of Burgers’ equation. J. Comput. Phys. 1981, 39, 433–442. [Google Scholar] [CrossRef]
- Ali, A.H.A.; Gardner, L.R.T.; Gardner, G.A. A Galerkin Approach to the Solution of Burgers’ Equation; University College of North Wales, School of Mathematics: Bangor, UK, 1990. [Google Scholar]
- Ali, A.H.A.; Gardner, L.R.T.; Gardner, G.A. A collocation method for Burgers’ equation using cubic splines. Comput. Methods Appl. Mech. Eng. 1992, 100, 325–337. [Google Scholar] [CrossRef]
- Kutluay, S.; Bahadir, A.R.; Ozdes, A. Numerical solution of one-dimensional Burgers’ equation: Explicit and exact-explicit finite difference methods. J. Comput. Appl. Math. 1999, 103, 251–261. [Google Scholar] [CrossRef]
- Dağ, İ.; Irk, D.; Saka, B. A numerical solution of the Burgers’ equation using cubic B-splines. Appl. Math. Comput. 2005, 163, 199–211. [Google Scholar]
- Dağ, İ.; Irk, D.; Sahin, A. B-spline collocation methods for numerical solutions of the Burgers’ equation. Math. Probl. Eng. 2005, 5, 521–538. [Google Scholar]
- Abbasbandy, S.; Darvishi, M. A numerical solution of Burgers’ equation by time discretization of Adomian’s Decomposition Method. Appl. Math. Comput. 2005, 170, 95–102. [Google Scholar] [CrossRef]
- Sarboland, M.; Aminataei, A. Taylor’s meshless petrov–galerkin method for the numerical solution of Burgers’ equation by radial basis functions. Isrn Appl. Math. 2012, 15, 254086. [Google Scholar]
- Christie, I.; Griffiths, D.F.; Mitchell, A.R.; Sanz-Serna, J.M. Product approximation for non-linear problems in the finite element method. Ima J. Numer. Anal. 1981, 1, 253–266. [Google Scholar] [CrossRef]
- Boor, C.D. On the convergence of odd degree spline interpolation. J. Approx. Theory 1 1968, 452–463. [Google Scholar] [CrossRef]
- Hall, C.A. On error bounds for spline interpolation. J. Approx. Theory 1 1968, 209–218. [Google Scholar] [CrossRef]
- Abdullah, M.; Yaseen, M.; de la Sen, M. Numerical simulation of the coupled viscous Burgers equation using the Hermite formula and cubic B-spline basis functions. Phys. Scripta 2020, 95, 115216. [Google Scholar] [CrossRef]
- Yang, X.; Zhang, H. The uniform l1 long-time behavior of time discretization for time-fractional partial differential equations with nonsmooth data. Appl. Math. Lett. 2022, 124, 107644. [Google Scholar] [CrossRef]
- Wei, L.; Yang, Y. Optimal order finite difference/local discontinuous Galerkin method for variable-order time-fractional diffusion equation. J. Comput. Appl. Math. 2021, 383, 113129. [Google Scholar]
- Yang, X.; Wu, L.; Zhang, H. A space-time spectral order sinc-collocation method for the fourth-order nonlocal heat model arising in viscoelasticity. Appl. Math. Comput. 2023, 457, 128192. [Google Scholar]
- Smaoui, N.; Belgacem, F. Connections between the convective diffusion and the forced Burgers Equation. Appl. Math. Stoch. Anal. 2002, 15, 53–69. [Google Scholar] [CrossRef]
- Belgacem, F.; Smaoui, N. Interactions of parabolic convective diffusion equations and Navier-Stokes equations connected with population dispersal. Commun. Appl. Nonlinear Anal. 2001, 8, 47–67. [Google Scholar]
- Herbst, B.M.; Schoombie, S.W.; Mitchell, A.R. A moving Petrov-Galerkin method for transport equations. Int. J. Numer. Methods Eng. 1982, 18, 1321–1336. [Google Scholar] [CrossRef]
- Iqbal, M.K.; Abba, M.; Wasim, I. New cubic B-spline approximation for solving third order Emden-Flower type equations. Appl. Math. Comput. 2018, 331, 319–333. [Google Scholar] [CrossRef]
- Yaseen, M.; Abbas, M. An efficient computational technique based on cubic trigonometric B-splines for time fractional Burgers’ equation. Int. J. Comput. Math. 2020, 97, 725–738. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).