Search arXivSearch

arXiv · 2511.17710

Entity -- Hardware-agnostic Particle-in-Cell Code for Plasma Astrophysics. I: Curvilinear Special Relativistic Module

Abstract

Entity is a new-generation, fully open-source particle-in-cell (PIC) code developed to overcome key limitations in astrophysical plasma modeling, particularly the extreme separation of scales and the performance challenges associated with evolving, GPU-centric computing infrastructures. It achieves hardware-agnostic performance portability across various GPU and CPU architectures using the Kokkos library. Crucially, Entity maintains a high standard for usability, clarity, and customizability, offering a robust and easy-to-use framework for developing new algorithms and grid geometries, which allows extensive control without requiring edits to the core source code. This paper details the core general-coordinate special-relativistic module. Entity is the first PIC code designed to solve the Vlasov-Maxwell system in general coordinates, enabling a coordinate-agnostic framework that provides the foundational structure for straightforward extension to arbitrary coordinate geometries. The core methodology achieves numerical stability by solving particle equations of motion in the global orthonormal Cartesian basis, despite using generalized coordinates like Cartesian, axisymmetric spherical, and quasi-spherical grids. Charge conservation is ensured via a specialized current deposition technique using conformal currents. The code exhibits robust scalability and performance portability on major GPU platforms (AMD MI250X, NVIDIA A100, and Intel Max Series), with the 3D particle pusher and the current deposition operating efficiently at about 2 nanoseconds per particle per timestep. Functionality is validated through a comprehensive suite of standard Cartesian plasma tests and the accurate modeling of relativistic magnetospheres in curvilinear axisymmetric geometries.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Hayk Hakobyan, Ludwig M. Böss, Yangyang Cai, Alexander Chernoglazov, Alisa Galishnikova, Evgeny A. Gorbunov, Jens F. Mahlmann, Alexander Philippov, Siddhant Solanki, Arno Vanthieghem, Muni Zhou. 2025-12-10. Entity -- Hardware-agnostic Particle-in-Cell Code for Plasma Astrophysics. I: Curvilinear Special Relativistic Module. https://arxiv.org/abs/2511.17710

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Deciphering the Physical Origin of GRB 240825A: A Long GRB Lacking a Bright Supernova

We present a comprehensive multiwavelength analysis of GRB 240825A, a bright gamma-ray burst (GRB) detected by Fermi and Swift, with a prompt duration ($T_{\rm 90}$ $\sim$ 4 sec in 50-300 keV in GBM) near the boundary separating short and long GRBs, prompting a detailed investigation into its classification and progenitor. We use classical prompt metrics (duration, minimum variability timescale (MVT), lag, and spectral hardness) and modern classification techniques (machine-learning (ML) based t-SNE, support vector machine, energy-hardness-duration, and $\varepsilon \equiv E_{γ,\mathrm{iso},52} / E_{p,z,2}^{5/3}$) and find most properties (prompt energetics, placement on the Amati relation, and spectral lag) of GRB 240825A consistent with a collapsar origin. However, extensive late-time optical and NIR follow-up with the 10.4m GTC and 8.4m binocular LBT telescopes reveals no bright supernova (like SN 1998bw) is detected down to stringent limits (e.g., $m_r > 25.0$ mag at 17.59 days), despite a redshift of $z = 0.659$ measured from GTC spectroscopy. Host galaxy SED modeling with Prospector indicates a massive, and star-forming galaxy-typical of collapsar GRB hosts, though with a large offset. We compare these findings with hybrid events like GRB 211211A, GRB 230307A, GRB 200826A, including SNe-GRBs, and conclude that GRB 240825A most likely originated from a massive star collapse, possibly with the associated SN heavily obscured or intrinsically faint. This study emphasizes the need for multiwavelength follow-up and a multi-layered classification to determine GRB progenitors.

astro-ph.HE

The impact of flickering variability and magnetisation on the dynamics, stability and morphology of radio-loud AGN jets

The physics governing the morphology of radio-loud AGN jets is not fully understood. We investigate how magnetization, flickering jet power and their interplay affects the morphology of radio galaxies. We present a grid of relativistic magnetohydrodynamic simulations using the PLUTO code covering constant and variable jets with two levels of magnetisation. We find that the constant high magnetisation jets can lead to highly asymmetrical cocoon morphologies, whilst the variable high magnetisation jet can exhibit a broken morphology, caused by a discontinuous jet beam. Our work highlights the importance of magnetisation and variability on the stability and resulting morphology of radio-loud AGN jets, suggesting both are significant factors in addition to jet power or environment. Furthermore, we show that the interaction between magnetisation and variability can lead to the development of localised kink instabilities along the jet beam. Finally, we discuss the effects of hydrodynamic mixing in low magnetisation jets and the role of viewing angle dependence in comparisons between our simulations and observed sources. To facilitate this comparison we present a library of simulated radio images at different times in the simulations and from various viewing angles, which highlight a diverse set of complex morphologies.

astro-ph.HE

Magnetic Eruption and Nucleosynthesis in GRνMHD Simulations of Spinning Neutron Star Mergers

We present three-dimensional general relativistic magnetohydrodynamics simulations of equal-mass binary neutron star mergers with varied neutron star spin configurations and second-moment neutrino transport, following the formation and early evolution of long-lived remnants. We compare a fiducial irrotational binary with binaries having spins that are aligned or antialigned with the orbital angular momentum, and examime how spin affects the merger dynamics, magnetic field evolution, outflows, and nucleosynthesis. Compared to the fiducial case, the aligned spin configuration releases more cold, neutron-rich tidal ejecta in the equatorial plane, which enables the development of a more tightly collimated polar outflow erupting from the remnant and inner accretion disk. Conversely, the case with spins antialigned with the orbit experiences a more violent collision at merger, disrupting magnetic amplification, loading the environment with debris, and impeding the propagation of magnetically driven winds. Strong neutrino reprocessing of the polar outflow in the irrotational and aligned spin cases produces $2.4\times 10^{-3}\,M_\odot$ of proton-rich ($Y_e \geq 0.49$) material, resulting in the synthesis of light r-process elements, whose subsequent decay potentially sends a unique electromagnetic signal from long-lived remnants. However, the outflows remain too dense and slow to be consistent with typical short gamma-ray bursts.

astro-ph.HE