Noise and error analysis and optimization in particle-based kinetic plasma simulations
•Numerical noise is studied in a finite particle number system, by kernel density estimation.•Ornstein-Uhlenbeck bridge describes the electric field correlations.•Optimal kernel width minimizes the error by bias-variance optimization.•Particle shapes of arbitrary width are possible, and partition of...
Gespeichert in:
Veröffentlicht in: | Journal of computational physics 2021-09, Vol.440, p.110394, Article 110394 |
---|---|
Hauptverfasser: | , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | •Numerical noise is studied in a finite particle number system, by kernel density estimation.•Ornstein-Uhlenbeck bridge describes the electric field correlations.•Optimal kernel width minimizes the error by bias-variance optimization.•Particle shapes of arbitrary width are possible, and partition of unity gives charge conservation on the grid.•Results apply to particle-in-cell (PIC), delta-f, and hybrid methods.
In this paper we analyze the noise in macro-particle methods used in plasma physics and fluid dynamics, leading to approaches for minimizing the total error, focusing on electrostatic models in one dimension. We begin by describing kernel density estimation for continuous values of the spatial variable x, expressing the kernel in a form in which its shape and width are represented separately. The covariance matrix C(x,y) of the noise in the density is computed, first for uniform true density. The bandwidth of the covariance matrix is related to the width of the kernel. A feature that stands out is the presence of constant negative terms in the elements of the covariance matrix both on and off-diagonal. These negative correlations are related to the fact that the total number of particles is fixed at each time step; they also lead to the property ∫C(x,y)dy=0. We investigate the effect of these negative correlations on the electric field computed by Gauss's law, finding that the noise in the electric field is related to a process called the Ornstein-Uhlenbeck bridge, leading to a covariance matrix of the electric field with variance significantly reduced relative to that of a Brownian process.
For non-constant density, ρ(x), still with continuous x, we analyze the total error in the density estimation and discuss it in terms of bias-variance optimization (BVO). For some characteristic length l, determined by the density and its second derivative, and kernel width h, having too few particles within h leads to too much variance; for h that is large relative to l, there is too much smoothing of the density. The optimum between these two limits is found by BVO. For kernels of the same width, it is shown that this optimum (minimum) is weakly sensitive to the kernel shape.
We repeat the analysis for x discretized on a grid. In this case the charge deposition rule is determined by a particle shape. An important property to be respected in the discrete system is the exact preservation of total charge on the grid; this property is necessary to ensure that the |
---|---|
ISSN: | 0021-9991 1090-2716 |
DOI: | 10.1016/j.jcp.2021.110394 |