In this work, we used three finite difference schemes to solve 1D and 2D convective diffusion equations. The three methods are the Kowalic–Murty scheme, Lax–Wendroff scheme, and nonstandard finite difference (NSFD) scheme. We considered a total of four numerical experiments; in all of these cases, the initial conditions consisted of symmetrical profiles. We looked at cases when the advection velocity was much greater than the diffusion of the coefficient and cases when the coefficient of diffusion was much greater than the advection velocity. The dispersion analysis of the three methods was studied for one of the cases and the optimal value of the time step size k, minimizing the dispersion error at a given value of the spatial step size. From our findings, we conclude that Lax–Wendroff is the most efficient scheme for all four cases. We also show that the optimal value of k computed by minimizing the dispersion error at a given value of a spacial step size gave the lowest and errors.
1 June 2019 in Computers & Mathematics with Applications
We solve two numerical experiments described by 2D nonconstant coefficient advection–diffusion equations with specified initial and boundary conditions. Three finite difference methods, namely Lax–Wendroff, Du-Fort–Frankel and a nonstandard finite difference scheme, are derived and used to solve the two problems, whereby only the first problem has an exact solution. Stability analysis is performed to obtain a range of values of the time step size at a fixed spatial step size. We obtain the rate of convergence in space when the three methods are used to solve Problem 1. Computational times of the three algorithms are computed for Problem 1. Results are displayed for the two problems using the three methods at times and . The main novelty is the stability analysis, which is not straightforward as we are working with numerical methods discretising 2D nonconstant coefficient advection–diffusion equation where many parameters are involved. The second highlight is to determine the most efficient scheme from the three methods. Third, there are very few published studies on analysis and use of numerical methods to solve nonconstant coefficient advection–diffusion equations, and this is one of the very few rare articles treating such topics.
21 July 2017 in Revista de la Real Academia de Ciencias Exactas, Fisicas y Naturales. Serie A. Matematicas