## Journal of Applied Mathematics

- J. Appl. Math.
- Volume 2013 (2013), Article ID 734374, 14 pages.

### Numerical Solution of the 1D Advection-Diffusion Equation Using Standard and Nonstandard Finite Difference Schemes

#### Abstract

Three numerical methods have been used to solve the one-dimensional advection-diffusion equation with constant coefficients. This partial differential equation is dissipative but not dispersive. We consider the Lax-Wendroff scheme which is explicit, the Crank-Nicolson scheme which is implicit, and a nonstandard finite difference scheme (Mickens 1991). We solve a 1D numerical experiment with specified initial and boundary conditions, for which the exact solution is known using all these three schemes using some different values for the space and time step sizes denoted by $h$ and $k$, respectively, for which the Reynolds number is 2 or 4. Some errors are computed, namely, the error rate with respect to the ${L}_{1}$ norm, dispersion, and dissipation errors. We have both dissipative and dispersive errors, and this indicates that the methods generate artificial dispersion, though the partial differential considered is not dispersive. It is seen that the Lax-Wendroff and NSFD are quite good methods to approximate the 1D advection-diffusion equation at some values of $k$ and $h$. Two optimisation techniques are then implemented to find the optimal values of $k$ when $h=0.02$ for the Lax-Wendroff and NSFD schemes, and this is validated by numerical experiments.

#### Article information

**Source**

J. Appl. Math., Volume 2013 (2013), Article ID 734374, 14 pages.

**Dates**

First available in Project Euclid: 14 March 2014

**Permanent link to this document**

https://projecteuclid.org/euclid.jam/1394807874

**Digital Object Identifier**

doi:10.1155/2013/734374

**Mathematical Reviews number (MathSciNet)**

MR3033565

**Zentralblatt MATH identifier**

1266.65140

#### Citation

Appadu, A. R. Numerical Solution of the 1D Advection-Diffusion Equation Using Standard and Nonstandard Finite Difference Schemes. J. Appl. Math. 2013 (2013), Article ID 734374, 14 pages. doi:10.1155/2013/734374. https://projecteuclid.org/euclid.jam/1394807874