Implementation of a five-wave approximate Riemann solver for general relativistic magnetohydrodynamics in AthenaK
summary
The gist
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…
In short
This work implements an HLLD approximate Riemann solver for AthenaK's general relativistic magnetohydrodynamics code using a tetrad frame transformation. The method is shown to produce more strongly magnetized funnels and more accurate horizon fluxes compared to the HLLE solver, offering improved accuracy in simulations like SANE accretion disks and binary neutron star mergers.
Key concepts
- HLLD Approximate Riemann Solver
- This is a numerical technique used to solve complex fluid dynamics problems by approximating the solution across a characteristic fan. It considers both contact and Alfvén waves, allowing it to capture wave physics more accurately than simpler solvers.
- Tetrad Frame Transformation
- A mathematical transformation used in general relativity that changes the coordinate system from standard spacetime coordinates into a frame aligned with the fluid's motion. This is necessary for correctly handling full general relativistic magnetohydrodynamics.
- SANE Accretion Disk
- This refers to a specific type of accretion disk simulation where magnetic fields are present but not strong enough to fully dominate the plasma dynamics. The paper uses this setup to test how the HLLD solver performs in realistic, magnetized astrophysical environments.
Terminology used across episodes
This episode discusses
- Implementation of a five-wave approximate Riemann solver for general relativistic magnetohydrodynamics in AthenaK · Paper Radio
- Super-critically accreting stellar-mass black holes as ultraluminous X-ray sources
- Foundations of Black Hole Accretion Disk Theory
- First M87 Event Horizon Telescope Results. I. The Shadow of the Supermassive Black Hole
- First M87 Event Horizon Telescope Results. V. Physical Origin of the Asymmetric Ring
- First M87 Event Horizon Telescope Results. VI. The Shadow and Mass of the Central Black Hole
- First Sagittarius A* Event Horizon Telescope Results. I. The Shadow of the Supermassive Black Hole in the Center of the Milky Way
- First Sagittarius A* Event Horizon Telescope Results. IV. Variability, Morphology, and Black Hole Mass
- First Sagittarius A* Event Horizon Telescope Results. V. Testing Astrophysical Models of the Galactic Center Black Hole
- Transient Events from Neutron Star Mergers
- Multi-messenger Observations of a Binary Neutron Star Merger
- A Unified Model of Kilonovae and GRBs in Binary Mergers Establishes Neutron Stars as the Central Engines of Short GRBs
- GW170817: Observation of Gravitational Waves from a Binary Neutron Star Inspiral
- GW190425: Observation of a Compact Binary Coalescence with Total Mass about 3.4 M
- Observation of gravitational waves from two neutron star-black hole coalescences
- Observation of Gravitational Waves from the Coalescence of a 2.5-4.5 M Compact Object and a Neutron Star · Paper Radio
- New Horizons for Fundamental Physics with LISA
- Waveform Modelling for the Laser Interferometer Space Antenna
- Radiative, two-temperature simulations of low luminosity black hole accretion flows in general relativity
- H-AMR: A New GPU-accelerated GRMHD Code for Exascale Computing With 3D Adaptive Mesh Refinement and Local Adaptive Time-stepping
- Beyond second-order convergence in simulations of magnetised binary neutron stars with realistic microphysics
The paper
Implementation of a five-wave approximate Riemann solver for general relativistic magnetohydrodynamics in AthenaK · Read on arXiv
School of Natural Sciences, Institute for Advanced Study · Princeton Gravity Initiative, Princeton University
Transcript
Introduction to the show: ident: Astrophysics Radio. Generated commentary on the latest astrophysics papers.
Vera: We're looking at the paper: "Implementation of a five-wave approximate Riemann solver for general relativistic magnetohydrodynamics in AthenaK".
Jocelyn: Here's the gist of the paper. 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 The SANE disk shows that HLLD leads to a more strongly magnetized funnel and more accurate horizon fluxes when compared to HLLE The implementation introduces 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 By coupling the method with a first-order flux correction, we are able to use the method reliably even when the magnetization exceeds 104, which we achieve in a SANE accretion disk The HLLD solver relaxes the first approximation by considering the effects of both contact and Alfvén waves, which have speeds λc and λaL/aR, respectively The computation of the interior characteristic speeds and corresponding intermediate states involves several steps including transforming primitive variables into the tetrad frame An initial guess for the total pressure is proposed using a weighted average instead of computing the HLL-averaged conservative state, UHLL Performance and Robustness The cost of this new solver is relatively modest thanks to the improved initial guess: our accretion disk tests are only ∼10 − 25% slower than HLLE, and for our binary neutron star runs with a microphysical equation of state, we find that HLLD is only ∼3% slower than HLLE across all runs The HLLD iterative solve is very robust; across a small but representative set of test problems, the solver reverts to HLLE at rates exceeding 1% only for the most difficult problems, such as the strongly magnetized blast wave of Ref.
57: By coupling our HLLD implementation with the first-order flux correction (FOFC) in AthenaK, the code automatically switches to a more diffusive scheme wherever HLLD leads to an unphysical result, substantially improving the reliability of the method, particularly in the strongly magnetized regime Validation and Test Cases The solver was validated on a set of Riemann problems designed to highlight improved resolution of waves not included in the HLLE solver, such as a moving contact discontinuity, the generic Alfvén wave problem from Ref.
65: , and the relativistic generalization of the Brio-Wu shocktube problem (hereafter called “Balsara#1”) Tests showed that HLLD resolves both contact discontinuities and Alfvén waves more accurately than HLLE In the Kelvin-Helmholtz instability test, the less-diffusive HLLD solution develops secondary vortices near x = 0 which are absent in the HLLE solution Physical Results and Conclusions In SANE accretion disk simulations, HLLD produces a more strongly magnetized jet consistent with reduced diffusion For the equal-mass binary neutron star merger, HLLD suppresses gravitational waves in the post-merger phase while simultaneously more efficiently reducing differential rotation, which leads to a less compact remnant with appreciably more ejecta and a more massive disk The HLLD runs have reduced gravitational wave emissions in the post-merger compared to HLLE, leading to a less compact, less bound remnant We conclude that HLLD is a viable way to improve accuracy in many GRMHD simulations Pruning redundant reasoning tokens The paper presents 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 The SANE disk shows that HLLD leads to a more strongly magnetized funnel and more accurate horizon fluxes when compared to HLLE How the training signal is built The 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 The cost of this new solver is relatively modest thanks to the improved initial guess: our accretion disk tests are only ∼10 − 25% slower than HLLE, and for our binary neutron star runs with a microphysical equation of state, we find that HLLD is only ∼3% slower than HLLE across all runs Where the gains come from The gains are most significant for a tabulated EOS, where the cost of the iterative solve for the interior of the Riemann fan is relatively small compared to the cost of a single conserved-to-primitive inversion; in isolated experiments directly comparing both methods, HLLD is no more than 6% more expensive than HLLE, compared to as much as 38% before Furthermore, by coupling HLLD to AthenaK’s FOFC scheme, we find that the method remains robust even when σ ≫ 1; despite having σ ≳ 104, we successfully evolve a SANE accretion disk with HLLD with no stability issues The HLLD runs have reduced gravitational wave emissions in the post-merger compared to HLLE, leading to a less compact, less bound remnant Where the gains come from The gains are most significant for a tabulated EOS, where the cost of the iterative solve for the interior of the Riemann fan is relatively small compared to the cost of a single conserved-to-primitive inversion; in isolated experiments directly comparing both methods, HLLD is no more than 6% more expensive than HLLE, compared to as much as 38% before Furthermore, by coupling HLLD to AthenaK’s FOFC scheme, we find that the method remains robust even when σ ≫ 1; despite having σ ≳ 104, we successfully evolve a SANE accretion disk with HLLD with no stability issues Pruning redundant reasoning tokens
Title and authors: Vera: The paper’s title itself points to a "five-wave approximate Riemann solver," which tells us they are looking at a richer set of waves than just the basic acoustic or Alfvén waves. It’s about handling something more complex in the fluid dynamics.
Jocelyn: And it lists Jacob Fields, George N. Wong, and James M. Stone as the authors who developed this implementation for AthenaK, which is important because AthenaK is a key code we use for these kinds of simulations right now.
Subrahmanyan: The implication here is that they are trying to improve the accuracy of how shocks and waves propagate through these relativistic magnetic fluids, moving beyond simpler approximations. If this five-wave approach works well in practice, it could give us much better snapshots of what happens during a merger.
The paper's summary: Vera: The summary says they introduced an initial guess for the HLLD iterative solve that cuts out the need for another step involving converting conserved quantities into primitive variables. That should make things run much faster without losing any accuracy we care about.
Jocelyn: And they also coupled this HLLD method with a first-order flux correction scheme, which acts like a safety net. This means even when the magnetic field strength gets really high, say over ten to the power of four the code stays stable and reliable.
Subrahmanyan: That coupling is key because they found that HLLD on its own can be less stable in problems with high magnetization, so this correction scheme makes it usable in those challenging regimes. It’s a practical fix for a theoretical limitation.
The paper's improvements: Vera: The authors detail the specific improvements they made to the existing HLLD algorithm, focusing on how they handle the interior characteristic speeds and transforming those primitive variables into the tetrad frame. That’s where they spend a lot of their time making sure the math is physically sound in general relativity.
Jocelyn: They relaxed the first approximation by explicitly considering both contact waves and Alfvén waves, which have specific speeds lambda c and lambda L over R respectively. This gives a much more detailed picture of how information moves through the fluid interface.
Subrahmanyan: The paper shows that by doing this, they can resolve contact discontinuities and Alfvén waves more accurately than the previous HLLE solver did in their tests. That’s a direct improvement in resolving physical structures that matter for structure formation in the early universe or accretion disk dynamics.
Conclusion: Vera: So, to wrap up, this paper about the "Implementation of a five-wave approximate Riemann solver for general relativistic magnetohydrodynamics in AthenaK" shows that by adding an initial guess and a flux correction, they get a solver that’s both faster and much more robust for high magnetization cases.
Jocelyn: It means we can use this method reliably even when the magnetic fields are extremely strong, which is crucial for modeling things like SANE accretion disks or binary neutron star mergers where those fields are intense.
Subrahmanyan: For the big picture, these results suggest that HLLD, when implemented this way, offers a viable path toward more accurate simulations of compact object mergers by reducing gravitational wave emissions in the post-merger phase and modeling differential rotation more efficiently.
Vera: It’s definitely a solid step forward for getting better data from complex GRMHD runs. We’ll keep an eye on how this performs when we run our next set of simulations.
Jocelyn: Right, and we'll see if those results translate into cleaner signals for the time-domain data coming from these events.
More episodes
- 2607.28919-Strongly Magnetized Super-Eddington Accretion: How Spin and Accretion Rate Regulate Energy Output and Mass Loss
- 2607.08835-Hybrid Simulations of Proton Acceleration at Oblique High- beta Shocks
- 2606.29552-Improving the Precision of Line-by-Line Radial Velocities: A Data-Driven Iterative Algorithm for Spectral Line Selection
- 2609.05312-Evidence for LP 890-9d via Transit Timing Variations
- 2609.10319-Extending the Little Red Dot population at intermediate redshift with VIPERS
- 2611.14233-Probing for anisotropies at different angular scales in the arrival directions of the cosmic rays detected at the Pierre Auger Observatory
- 2610.21722-Hydrostatic Equilibrium Estimate of the Fuzzy Dark Matter Mass from Dwarf Spheroidals: Method and Systematics
- 2610.40550-An Empirically Calibrated [C II] Luminosity-Halo Mass Relation for Line Intensity Mapping
- 2607.27328-PANTERA. I. Hunting for the Most Metal-Rich Stars in the Solar Neighborhood with High-Resolution Spectroscopy
- 2607.09850-Low-hard to high-soft spectral state transitions in the faintest early-X-ray-detected optical tidal disruption event TDE 2025aarm