Skip to main content
QUICK REVIEW

[Paper Review] GR-Athena++: General-relativistic magnetohydrodynamics simulations of neutron star spacetimes

William M. Cook, Boris Daszuta|arXiv (Cornell University)|Nov 8, 2023
Pulsars and Gravitational Waves ResearchPhysics and Astronomy5 citations
TL;DR

This paper presents GR-Athena++, a new general-relativistic magnetohydrodynamics (GRMHD) code that couples the Athena++ constrained transport scheme to the Z4c formulation of Einstein's equations for simulating neutron star spacetimes with oct-tree adaptive mesh refinement (AMR). It achieves stable, convergent simulations of isolated and binary neutron stars with high constraint preservation (divergence-free magnetic field violation ≤10⁻¹⁶), accurate gravitational waveforms, and strong scaling above 80% on over 10⁵ CPU cores, enabling exascale simulations of magnetized neutron star dynamics in strong gravity.

ABSTRACT

We present the extension of GR-Athena++ to general-relativistic magnetohydrodynamics (GRMHD) for applications to neutron star spacetimes. The new solver couples the constrained transport implementation of Athena++ to the Z4c formulation of the Einstein equations to simulate dynamical spacetimes with GRMHD using oct-tree adaptive mesh refinement. We consider benchmark problems for isolated and binary neutron star spacetimes demonstrating stable and convergent results at relatively low resolutions and without grid symmetries imposed. The code correctly captures magnetic field instabilities in non-rotating stars with total relative violation of the divergence-free constraint of $10^{-16}$. It handles evolutions with a microphysical equation of state and black hole formation in the gravitational collapse of a rapidly rotating star. For binaries, we demonstrate correctness of the evolution under the gravitational radiation reaction and show convergence of gravitational waveforms. We showcase the use of adaptive mesh refinement to resolve the Kelvin-Helmholtz instability at the collisional interface in a merger of magnetised binary neutron stars. GR-Athena++ shows strong scaling efficiencies above $80\%$ in excess of $10^5$ CPU cores and excellent weak scaling is shown up to $\sim 5 imes 10^5$ CPU cores in a realistic production setup. GR-Athena++ allows for the robust simulation of GRMHD flows in strong and dynamical gravity with exascale computers.

Motivation & Objective

  • To develop a robust, scalable GRMHD code for simulating neutron star spacetimes in dynamical, strong-gravity regimes.
  • To enable long-term, high-resolution simulations of isolated and binary neutron stars with realistic microphysics and magnetic field dynamics.
  • To achieve high conservation of physical constraints (e.g., divergence-free magnetic field) and accurate gravitational waveforms in complex, asymmetric spacetimes.
  • To demonstrate strong and weak scaling efficiency on exascale architectures for large-scale GRMHD simulations.
  • To support multimessenger astrophysics by modeling magnetic field amplification, turbulence, and outflows in neutron star mergers.

Proposed method

  • The code extends Athena++ with a constrained transport method to preserve the divergence-free condition of the magnetic field in general relativity.
  • It couples to the Z4c formulation of the Einstein equations to evolve the spacetime dynamically, enabling simulations of strong-field, dynamical gravity.
  • Oct-tree adaptive mesh refinement (AMR) is employed to resolve small-scale features like the Kelvin-Helmholtz instability with high resolution where needed.
  • The code uses cell-centered metric reconstruction and high-order prolongation/restriction operators to improve accuracy and stability.
  • Gravitational waveforms are computed using high-order schemes to ensure convergence and accuracy.
  • The code is optimized for exascale performance, with strong scaling tested up to 10⁵ CPU cores and weak scaling up to ~5×10⁵ cores.

Experimental results

Research questions

  • RQ1Can GR-Athena++ stably simulate isolated neutron stars with initially poloidal magnetic fields over long timescales while preserving the divergence-free constraint of the magnetic field?
  • RQ2How accurately can GR-Athena++ model the growth of toroidal magnetic field components and the resulting magnetic instabilities in dynamical spacetimes?
  • RQ3To what extent does adaptive mesh refinement improve resolution of the Kelvin-Helmholtz instability during binary neutron star mergers?
  • RQ4What are the strong and weak scaling efficiencies of GR-Athena++ on large-scale supercomputers for GRMHD simulations?
  • RQ5Can GR-Athena++ produce convergent gravitational waveforms and accurately model post-merger dynamics with microphysical equations of state and neutrino transport?

Key findings

  • GR-Athena++ achieves a total relative violation of the magnetic field divergence-free constraint at the level of 10⁻¹⁶ in isolated neutron star simulations, indicating exceptional constraint preservation.
  • The code successfully captures the growth of toroidal magnetic field components to ~10% of the total magnetic energy in isolated stars, consistent with MHD instability predictions.
  • Long-term simulations of isolated magnetized neutron stars were stable for up to 68.7 ms, with improved internal energy conservation compared to prior work.
  • In binary neutron star mergers, AMR based on magnetic field magnitude achieved an 8-fold resolution gain with one additional refinement level, reducing MeshBlock count by a factor of ~2 at merger compared to uniform mesh refinement.
  • Strong scaling efficiency exceeds 80% on more than 10⁵ CPU cores, and weak scaling efficiency exceeds 90% up to ~5×10⁴ cores for binary systems and ~5×10⁵ cores for single stars.
  • The code demonstrates convergence of gravitational waveforms and correct evolution under gravitational radiation reaction in binary systems, validating its physical accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.