An HLLD Implementation for General Relativistic Magnetohydrodynamics in AthenaK
Jacob Fields, George N. Wong, James M. Stone
Key points
From the paper's conclusion- We present an implementation of an HLLD approximate Riemann solver for the AthenaK astrophysics code with support for full general relativistic magnetohydrodynamics via a tetrad frame transformation.
Abstract
We present an implementation of an HLLD approximate Riemann solver for the AthenaK astrophysics code with support for full general relativistic magnetohydrodynamics via a tetrad frame transformation. Our implementation uses an initial guess for the HLLD iterative solve which eliminates the need for an additional conserved-to-primitive inversion, which greatly accelerates performance without affecting accuracy. Additionally, by coupling the method with a first-order flux correction, we are able to use the method reliably even when the magnetization exceeds $10^4$, which we achieve in a SANE accretion disk. Our SANE disk shows that HLLD leads to a more strongly magnetized funnel and more accurate horizon fluxes when compared with HLLE. We further apply the new HLLD implementation to an equal-mass binary neutron star merger. For our long-lived remnant, HLLD enhances the magnetic shear stresses in the outer layers and leads to weaker differential rotation. However, due to weaker gravitational wave emissions in the post-merger phase, the remnant is consistently less compact while producing more dynamical ejecta and a more massive disk. The cost of this new solver is relatively modest thanks to the improved initial guess: our accretion disk tests are only ${\sim}10-25\%$ slower than HLLE, and for our binary neutron star runs with a microphysical equation of state, we find that HLLD is only ${\sim}3\%$ slower than HLLE across all runs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- FUGUE: A New GPU-accelerated General Relativistic Magnetohydrodynamics Code with Weak-Field Multipole Self-Gravity and Quasi-Stationary Kerr Black Hole EvolutionarXiv · 2026
- Nonlinearly Causal General-Relativistic Two-Fluid Dissipative MagnetohydrodynamicsarXiv · 2026
- PANGU I: A Parthenon-Based Framework for Fixed-Spacetime GRMHDarXiv · 2026
- Jet energetics and remnant magnetism in short gamma-ray bursts from binary neutron-star mergers: A statistical study via broadband afterglow modelingarXiv · 2026
- Adding slow magnetoacoustic mode to the HLL-type multi-state approximate Riemann solutionarXiv · 2026
- AthenaK : A Performance-portable Version of the Athena++ Adaptive Mesh Refinement FrameworkThe Astrophysical Journal Supplement Series · 2026