Optimal finite-differences discretization for the diffusion equation from the perspective of large-deviation theory
arXiv:2311.18374 · doi:10.1088/1742-5468/ad363f
Abstract
When applying the finite-differences method to numerically solve the one-dimensional diffusion equation, one must choose discretization steps , 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 , where is the diffusion coefficient, gives optimal accuracy compared to any other choice (including, in particular, the limit ), 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 and other parameters of the finite-differences scheme, in terms of , 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 . We extend our analysis to higher dimensions by combining our results from the one dimensional case with the locally one-dimension method.
arXiv comment12 pages, 5 figures
References in corpus (22)
- The large deviation approach to statistical mechanics
- Preserving Monotonicity in Anisotropic Diffusion
- Ergodicity and large deviations in physical systems with stochastic dynamics
- Spontaneous Symmetry Breaking at the Fluctuating Level
- Numerical computation of rare events via large deviation theory
- Sampling rare events: statistics of local sequence alignments
- Brownian motion with dry friction: Fokker-Planck approach
- Anomalous scaling of dynamical large deviations
- The convex hull of the run-and-tumble particle in a plane
- High-precision simulation of the height distribution for the KPZ equation
- Convex Hulls of Random Walks: Large-Deviation Properties
- Anomalous scaling and first-order dynamical phase transition in large deviations of the Ornstein-Uhlenbeck process
- Nonequilibirum steady state for harmonically-confined active particles
- Optimal paths of non-equilibrium stochastic fields: the Kardar-Parisi-Zhang interface as a test case
- Simulation of large deviation functions using population dynamics
- Weak-noise limit of a piecewise-smooth stochastic differential equation
- Optimal sampling of dynamical large deviations in two dimensions via tensor networks
- Large deviations in chaotic systems: exact results and dynamical phase transition
- Observing symmetry-broken optimal paths of stationary Kardar-Parisi-Zhang interface via a large-deviation sampling of directed polymers in random media
- Large deviations of the length of the longest increasing subsequence of random permutations and random walks
- Anomalous scalings of fluctuations of the area swept by a Brownian particle trapped in a potential
- An integral equation method for the advection-diffusion equation on time-dependent domains in the plane