Optimal finite-differences discretization for the diffusion equation from the perspective of large-deviation theory

Research output: Contribution to journalArticlepeer-review

Abstract

When applying the finite-differences method to numerically solve the one-dimensional diffusion equation, one must choose discretization steps Δx, Δt in space and time, respectively. By applying large-deviation theory on the discretized dynamics, we analyze the numerical errors due to the discretization, and find that the (relative) errors are especially large in regions of space where the concentration of particles is very small. We find that the choice Δ t = Δ x 2 / ( 6 D ) , where D is the diffusion coefficient, gives optimal accuracy compared to any other choice (including, in particular, the limit Δ t → 0 ), thus reproducing the known result that may be obtained using truncation error analysis. In addition, we give quantitative estimates for the dynamical lengthscale that describes the size of the spatial region in which the numerical solution is accurate, and study its dependence on the discretization parameters. We then turn to study the advection-diffusion equation, and obtain explicit expressions for the optimal Δt and other parameters of the finite-differences scheme, in terms of Δx, D and the advection velocity. We apply these results to study large deviations of the area swept by a diffusing particle in one dimension, trapped by an external potential ∼ | x | . We extend our analysis to higher dimensions by combining our results from the one dimensional case with the locally one-dimension method.

Original languageEnglish
Article number043201
JournalJournal of Statistical Mechanics: Theory and Experiment
Volume2024
Issue number4
DOIs
StatePublished - 26 Apr 2024

Keywords

  • diffusion
  • large deviations in non-equilibrium systems
  • numerical simulations

ASJC Scopus subject areas

  • Statistical and Nonlinear Physics
  • Statistics and Probability
  • Statistics, Probability and Uncertainty

Fingerprint

Dive into the research topics of 'Optimal finite-differences discretization for the diffusion equation from the perspective of large-deviation theory'. Together they form a unique fingerprint.

Cite this