Implementation of the two-dimensional electrostatic particle-in-cell method (original) (raw)
American Journal of Physics, 2020
Abstract
We provide a guide to implementing the particle-in-cell algorithm, which is useful for simulating diverse phenomena in plasmas. We focus on two-dimensional systems which have vector fields with three Cartesian components but depend only on two spatial coordinates. We describe the algorithm in detail, including particle-to-grid interpolation, the fast Fourier transform, the Boris algorithm, and the use of dimensionless units. As an example, we discuss a simulation of the two-stream instability, which occurs in a plasma system composed of two counter-streaming electrons and an ion background at rest.We provide a guide to implementing the particle-in-cell algorithm, which is useful for simulating diverse phenomena in plasmas. We focus on two-dimensional systems which have vector fields with three Cartesian components but depend only on two spatial coordinates. We describe the algorithm in detail, including particle-to-grid interpolation, the fast Fourier transform, the Boris algorithm, and the use of dimensionless units. As an example, we discuss a simulation of the two-stream instability, which occurs in a plasma system composed of two counter-streaming electrons and an ion background at rest.
Jaime H Hoyos B hasn't uploaded this paper.
Let Jaime H know you want this paper to be uploaded.
Ask for this paper to be uploaded.