Physical Review Accelerators and Beams (Oct 2022)
Accelerated three-dimensional quasistatic particle-in-cell code
Abstract
We introduce a quasistatic particle-in-cell (PIC) code—wand-pic—which does not suffer from some of the common limitations of many quasistatic PICs, such as the need for a predictor-corrector method in solving electromagnetic fields. We derive the field equations under quasistatic (QS) approximation and find the explicit form of the “time” derivative of the transverse plasma current. After that, equations for the magnetic fields can be solved exactly without using the predictor-corrector method. Algorithm design and code structure are thus greatly simplified. With the help of explicit quasistatic equations and our adaptive step size, plasma bubbles driven by the large beam charges can be simulated efficiently without suffering from the numerical instabilities associated with the predictor-corrector method. In addition, wand-pic is able to simulate the sophisticated interactions between high-frequency laser fields and beam particles through the method of subcycling. Comparisons between the wand-pic and a first-principle full PIC code (vlpl) are presented. wand-pic is open-source, fully three-dimensional, and parallelized with the in-house multigrid solver. Scalability, time complexity, and parallelization efficiency up to thousands of cores are also discussed in this work.