$\mathtt{Entity}$ -- Hardware-agnostic Particle-in-Cell Code for Plasma Astrophysics. II: General Relativistic Module
Alisa Galishnikova, Hayk Hakobyan, Alexander Philippov, Benjamin Crinquand
TL;DR
This work develops a general-relativistic particle-in-cell module within the open-source Entity framework to simulate collisionless, relativistic plasmas around black holes. It implements a $3+1$ GR PIC scheme in Kerr–Schild coordinates with a coordinate-agnostic, performance-portable design, including a tetrad-based Boris pusher and a curved-spacetime field solver on a Yee grid. The authors validate the GRPIC module with tests in vacuum (Wald solution), axisymmetric magnetospheres, and Blandford–Znajek monopole configurations, demonstrating stable energy and charge conservation and agreement with analytic solutions. The GR module enables axisymmetric 2.5D explorations of particle acceleration and jet/corona dynamics in strong gravity on GPUs and CPUs, with planned 3D extensions using cubed-sphere grids.
Abstract
Black hole environments often host plasmas that are fully collisionless or contain intrinsically collisionless regions, including relativistic jets and coronae where particle energization is ubiquitous. Capturing the physics of these systems requires numerical methods capable of modeling relativistic, magnetized, collisionless plasmas in strong gravitational fields. In this work, we introduce the general-relativistic module for the Entity -- the first open-source, coordinate-agnostic performance-portable particle-in-cell code. The code enables fast axisymmetric simulations of collisionless plasmas around black holes on any modern high-performance computing architecture (both GPUs and CPUs).
