Computation (Aug 2021)

Stable, Explicit, Leapfrog-Hopscotch Algorithms for the Diffusion Equation

  • Ádám Nagy,
  • Issa Omle,
  • Humam Kareem,
  • Endre Kovács,
  • Imre Ferenc Barna,
  • Gabriella Bognar

DOI
https://doi.org/10.3390/computation9080092
Journal volume & issue
Vol. 9, no. 8
p. 92

Abstract

Read online

In this paper, we construct novel numerical algorithms to solve the heat or diffusion equation. We start with 105 different leapfrog-hopscotch algorithm combinations and narrow this selection down to five during subsequent tests. We demonstrate the performance of these top five methods in the case of large systems with random parameters and discontinuous initial conditions, by comparing them with other methods. We verify the methods by reproducing an analytical solution using a non-equidistant mesh. Then, we construct a new nontrivial analytical solution containing the Kummer functions for the heat equation with time-dependent coefficients, and also reproduce this solution. The new methods are then applied to the nonlinear Fisher equation. Finally, we analytically prove that the order of accuracy of the methods is two, and present evidence that they are unconditionally stable.

Keywords