Numerical Solution of the 1D Advection-Diffusion Equation Using Standard and Nonstandard Finite Difference Schemes
[摘要] 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 withspecified 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 byhandk, respectively,for which the Reynolds number is 2 or 4. Some errors are computed, namely, the error rate with respect to theL1norm, 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 ofkandh. Two optimisation techniques are then implemented to find the optimal values ofkwhenh=0.02for the Lax-Wendroff and NSFD schemes, and this is validated by numerical experiments.
[发布日期] [发布机构]
[效力级别] [学科分类] 应用数学
[关键词] [时效性]