Short NoteA domain decomposition method for pseudo-spectral electromagnetic simulations of plasmas
Introduction
Particle-In-Cell (PIC) has been the method of choice for the last fifty years for modeling plasmas that include kinetic effects. The most popular electromagnetic formulation uses finite difference discretization of Maxwell’s equations in both space and time (FDTD), which produces fast solvers that scale well in parallel, but suffers from various anomalous numerical effects resulting from discretization, field staggering, and numerical dispersion. Aliasing and numerical dispersion lead to an unphysical numerical Cherenkov instability when relativistic particles interact with their gridded self-field [1]. An example is a strong instability that appears in simulations of Laser-Plasma Acceleration (LPA) in Lorentz boosted frames [2], [3] or astrophysical shocks [4]. In addition, the staggering of electric and magnetic fields leads to inexact cancelation of relativistic beams’ self electric and magnetic components in the calculation of the Lorentz force [5].
Pseudo-spectral methods, which advance the fields in Fourier space [6], offer a number of advantages over standard FDTD solvers. An analytical solution for Maxwell’s equations on a grid was given by Haber et al. [7] for a periodic system, leading to a solver that is accurate to machine precision for the modes resolved by the calculation grid, that has no Courant time step limit in vacuum and that has no numerical dispersion. Furthermore, pseudo-spectral methods naturally represent all field values at the nodes of a grid, eliminating staggering errors.
Due to global communications associated with the use of Fast Fourier Transforms (FFTs) that span the entire domain, pseudo-spectral electromagnetic solvers have not scaled beyond a few thousands of cores. In contrast, the FDTD solvers allow parallelization requiring only local communications between neighboring subdomains, and thus excellent scaling to hundreds of thousand of CPU cores.
In this communication, we report on a domain decomposition method that enables parallelization of pseudo-spectral solvers and requires only local FFTs and communications between neighboring subdomains. This is similar to FDTD decomposition, potentially allowing more accurate pseudo-spectral methods to be scaled to the same level as FDTD. Although this decomposition requires a small approximation, as discussed below, test results show that the error introduced is sufficiently small in practice for the cases that have been tested.
We first present several variations of pseudo-spectral solvers, followed by the new method for domain decomposition, and its application to pseudo-spectral PIC simulations. An example of the application of the method is given on the modeling of the wakefield formation in a laser plasma accelerator [8].
Section snippets
Pseudo-spectral electromagnetic solvers
Maxwell’s equations in Fourier space are given bywhere is the Fourier Transform of the quantity a. Provided that the continuity equation is satisfied, then the last two equations will automatically be satisfied at any time if satisfied initially and do not need to be explicitly integrated.
Decomposing the electric field and current between longitudinal and transverse components and
Parallelization using domain decomposition
In this section, the properties of the Discrete Fourier Transform (DFT), as well as the linearity of Maxwell’s equations and the finite speed of light are exploited to enable parallelization of electromagnetic pseudo-spectral solvers using local FFTs, with domain decomposition and communications via guard cells.
The method is based on the three following premises:
- 1.
the properties of DFTs ensure that at any given time step, each electromagnetic field component discretized on a regular orthogonal
Conclusion
Pseudo-spectral electromagnetic solvers (i.e. representing the fields in Fourier space) have a number of advantages over standard FDTD solvers. Yet, they have not been widely used, due in part to the difficulty for efficient parallelization owing to global communications associated with global FFTs.
A method for the parallelization of electromagnetic pseudo-spectral solvers has been presented that requires only local FFTs and exchange of local guard cell data between neighboring regions. It has
Acknowledgments
We are thankful to C.G.R. Geddes, D.P. Grote and A. Friedman for valuable comments. Work was supported in part by US-DOE Contracts DE-AC02-05CH11231 and US-DOE SciDAC program ComPASS.
This document was prepared as an account of work sponsored in part by the United States Government. While this document is believed to contain correct information, neither the United States Government nor any agency thereof, nor The Regents of the University of California, nor any of their employees, makes any
References (18)
Numerical Cherenkov instabilities in electromagnetic particle codes
Journal of Computational Physics
(1974)- et al.
Rigorous charge conservation for local electromagnetic-field solvers
Computer Physics Communications
(1992) Exact charge conservation scheme for particle-in-cell simulation with an arbitrary form-factor
Computer Physics Communications
(2001)- et al.
Divergence correction techniques for Maxwell solvers based on a hyperbolic model
Journal of Computational Physics
(2000) - et al.
Numerical methods for instability mitigation in the modeling of laser wakefield accelerators in a Lorentz-boosted frame
Journal Of Computational Physics
(2011) Noninvariance of space- and time-scale ranges under a Lorentz transformation and the implications for the study of relativistic interactions
Physical Review Letters
(2007)- J.L. Vay, C.G.R. Geddes, E. Esarey, C.B. Schroeder, W.P. Leemans, E. Cormier-Michel, D.P. Grote, Modeling of 10Gev–1Tev...
- L. Sironi, A. Spitkovsky, Private Communication,...
Simulation of beams or plasmas crossing at relativistic velocity
Physics of Plasmas
(2008)
Cited by (125)
Explicit energy-conserving modification of relativistic PIC method
2024, Journal of Computational PhysicsA pseudospectral implicit particle-in-cell method with exact energy and charge conservation
2023, Computer Physics CommunicationsA hybrid nodal-staggered pseudo-spectral electromagnetic particle-in-cell method with finite-order centering
2022, Computer Physics CommunicationsCitation Excerpt :These are: the standard PSATD PIC algorithm [25,29,47]; the standard Galilean PSATD PIC algorithm [34–36];
Numerical dispersion free in longitudinal axis for particle-in-cell simulation
2022, Journal of Computational PhysicsEffect of pulse group velocity on charge loading in laser wakefield acceleration
2022, Physics Letters, Section A: General, Atomic and Solid State PhysicsUndulator design for a laser-plasma-based free-electron-laser
2021, Physics Reports