WCWilliam Cook

William Cook

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


William Cook has a total of 35 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Magnetic field configurations in binary neutron star mergers. II. Inspiral, merger and ejecta

    by William Cook, Eduardo M. Gutiérrez, Sebastiano Bernuzzi, David Radice, Boris Daszuta, Jacob Fields, Peter Hammond, Harshraj Bandyopadhyay, Maximilian Jacobi

    We perform a series of simulations of magnetized binary neutron star mergers, with different initial magnetic field topologies, as well as varying equations of state, and mass ratios. In this paper, a companion paper to E. M. Gutiérrez, W. Cook, D. Radice, S. Bernuzzi, J. Fields, P. Hammond, B. Daszuta, H. Bandyopadhyay, and M. Jacobi, companion paper, , 063049 (2026)., we analyze the impact of the initial field configuration on the emitted gravitational wave signal, the global amplification of the magnetic field, and the nature of the ejected material from the binary. We investigate the dependence of the phase evolution of the gravitational wave signal in the postmerger on the initial magnetic field, finding that dephasing effects between the dominant ( ℓ = 2 , m = 2 ) mode of the gravitational wave signal and leading subdominant modes (2, 1),(3, 3) may be strongly impacted by the choice of numerical reconstruction scheme. The magnetic field amplification at merger may be considerably enhanced during the Kelvin-Helmholtz instability dominated phase by the presence of antialigned fields between the stars, or suppressed by the presence of toroidal fields, while the postmerger amplification of the field due to winding may also be suppressed by toroidal fields, and may be enhanced by asymmetries or mixtures of poloidal and toroidal fields. The magnetic field strength in the ejecta may also be strongly impacted by the nature of the initial magnetic field configuration, with initial data configurations which lead to large amplifications and those with mixtures of poloidal and toroidal fields preferentially emitting highly magnetized material in the polar regions, while we find that the magnetic field strength in the ejecta for these configurations shows a weaker dependence on the density of the material than in those cases that amplify the magnetic field less. We investigate the orientation of the field in the ejecta, and find that the magnetic field is largely randomly oriented in the ejected material, providing supporting evidence for such models used to estimate thermalization timescales of ejected material. Further we find that configurations which begin with an initial bitant symmetry break this symmetry in a uniform manner, independent of the initial magnetic field configuration, when evolved without an enforced symmetry. This behavior suggests the presence of a spontaneous symmetry breaking bifurcation in the solution.


  • Open Access

    Subgrid modeling for relativistic magnetohydrodynamics with machine learning

    by William Cook, Sebastiano Bernuzzi

    Resolving the impact of magnetic field instabilities in triggering small scale turbulent flow and the associated rearrangement of the field is of critical importance in understanding multimessenger observables in binary neutron star mergers and angular momentum transport in neutron stars and accretion disks. Direct simulation of these instabilities are unfeasible, however large-eddy simulations can incorporate the impact of this turbulence with a subgrid model. We present the first machine-learning-based subgrid model for special relativistic magnetohydrodynamics, trained using a neural network. We demonstrate its performance in online simulations of the 3D Kelvin-Helmholtz instability through both and tests. Evaluated in a low resolution simulation, our model captures magnetic field amplification of a simulation at 4 times the resolution with a speedup factor of 44. This demonstrates the applicability of such methods in general relativistic simulations of neutron star mergers and other scenarios.


  • Open Access

    Covariant and gauge-invariant metric-based gravitational-waves extraction in numerical relativity

    by Joan Fontbuté, Sebastiano Bernuzzi, Simone Albanesi, David Radice, Alireza Rashti, William Cook, Boris Daszuta, Alessandro Nagar

    We revisit the problem of gravitational-wave extraction in numerical relativity with gauge-invariant metric perturbation theory of spherical spacetimes. Our extraction algorithm allows the computation of even-parity (Zerilli-Moncrief) and odd-parity (Regge-Wheeler) multipoles of the strain from a ( 3 + 1 ) metric without the assumption that the spherical background is in Schwarzschild coordinates. The algorithm is validated with a comprehensive suite of three-dimensional problems including fluid ( f -modes) and spacetime ( w -modes) perturbations of neutron stars, gravitational collapse of rotating neutron stars, circular binary black holes mergers and black hole dynamical captures, and binary neutron star mergers. We find that metric extraction is robust in all the considered scenarios and delivers waveforms of overall quality similar to curvature (Weyl) extraction. Metric extraction is particularly valuable in identifying waveform systematics for problems in which the reconstruction of the strain from the Weyl multipoles is ambiguous. Direct comparison of different choices for the gauge-invariant master functions show very good agreement in the even-parity sector. Instead, in the odd-parity sector, assuming the background in Schwarzschild coordinates can minimize gauge effects related to the use of the Γ -driver shift. Moreover, for optimal choices of the extraction radius, a simple extrapolation to null infinity can deliver waveforms compatible to Cauchy-characteristic extrapolated waveforms.


  • Open Access

    GR-Athena++: Binary Neutron Star Merger Simulations with Neutrino Transport

    by Boris Daszuta, Sebastiano Bernuzzi, Maximilian Jacobi, Eduardo M. Gutiérrez, Peter Hammond, William Cook, David Radice

    We present general-relativistic radiation magnetohydrodynamics simulations of binary neutron star mergers performed with GR-Athena++. Neutrino transport is treated using a moment-based, energy-integrated scheme (M1), augmented by neutrino number density evolution (N0). Our implementation is validated through an extensive suite of standard tests and demonstrated to perform robustly under adaptive mesh refinement. As a first application, we simulate the gravitational collapse of a uniformly rotating, magnetized neutron star, demonstrating stable radiation evolution through apparent-horizon formation using a novel excision technique based on the tapering of state vector evolution inside the horizon. To further test robustness in highly dynamic environments, we apply our code to two demanding binary neutron star merger scenarios. We investigate a long-lived remnant with the DD2 equation of state, evolved with full general-relativistic magnetohydrodynamics and M1 neutrino transport. Following this, a gravitational collapse scenario with the SFHo equation of state is explored. We showcase long-term stable evolution on neutrino cooling time-scales, demonstrating robust handling of excision and stable evolution of the post-collapse accretion phase in three-dimensional mergers with magnetic fields and neutrino radiation.

  • Open Access

    Turbulence in magnetized neutron stars

    by William Cook, Raj Kishor Joshi, Sebastiano Bernuzzi, Brynmor Haskell, Jacob Fields

    The magnetic field configuration in the interior of neutron stars and its stability are open problems and may be impacted by the influence of a turbulent cascade within the star. Assessing the impact of turbulent flow with numerical simulations requires incredibly high resolution as well as long-lived simulations covering multiple Alfven times. We present a series of simulations of magnetized neutron stars with resolutions up to 29 m and lasting at their longest 1.2 s to assess this issue, the longest lasting and highest resolution such simulations to date. At the highest resolution, we find evidence for a turbulent cascade absent in an unmagnetized star, which cannot be captured with lower resolution simulations, consistent with Kolmogorov power-law scaling. The presence of turbulence triggers an inverse cascade of helicity, while at late times the net helicity appears to vanish, suggesting that a twisted torus is not formed in the magnetic field. We find that the presence of the magnetic field excites a characteristic quadrupolar oscillation of the density profile at 145 Hz, consistent with Alfvenic modes proposed as the source of quasi-periodic oscillations observed in magnetars.


  • Open Access

    Covariant and Gauge-invariant Metric-based Gravitational-waves Extraction in Numerical Relativity

    by Joan Fontbuté, Sebastiano Bernuzzi, Simone Albanesi, David Radice, Alireza Rashti, William Cook, Boris Daszuta, Alessandro Nagar

    We revisit the problem of gravitational-wave extraction in numerical relativity with gauge-invariant metric perturbation theory of spherical spacetimes. Our extraction algorithm allows the computation of even-parity (Zerilli-Moncrief) and odd-parity (Regge-Wheeler) multipoles of the strain from a (3+1) metric without the assumption that the spherical background is in Schwarzschild coordinates. The algorithm is validated with a comprehensive suite of 3D problems including fluid ($f$-modes) and spacetime ($w$-modes) perturbations of neutron stars, gravitational collapse of rotating neutron stars, circular binary black holes mergers and black hole dynamical captures and binary neutron star mergers. We find that metric extraction is robust in all the considered scenarios and delivers waveforms of overall quality similar to curvature (Weyl) extraction. Metric extraction is particularly valuable in identifying waveform systematics for problems in which the reconstruction of the strain from the Weyl multipoles is ambiguous. Direct comparison of different choices for the gauge-invariant master functions show very good agreement in the even-parity sector. Instead, in the odd-parity sector, assuming the background in Schwarzschild coordinates can minimize gauge effects related to the use of the $Γ$-driver shift. Moreover, for optimal choices of the extraction radius, a simple extrapolation to null infinity can deliver waveforms compatible to Cauchy-characteristic extrapolated waveforms.

  • Open Access

    Performance-portable Numerical Relativity with AthenaK

    by Hengrui恒锐Zhu朱, Jacob Fields, Francesco Zappa, David Radice, James M. Stone, Alireza Rashti, William Cook, Sebastiano Bernuzzi, Boris Daszuta

    We present the numerical relativity module within AthenaK, an open-source performance-portable astrophysics code designed for exascale computing applications. This module employs the Z4c formulation to solve the Einstein equations. We demonstrate its accuracy through a series of standard numerical relativity tests, including convergence of the gravitational waveform from binary black hole coalescence. Furthermore, we conduct scaling tests on OLCF Frontier, NERSC Perlmutter, and ALCF Aurora, where AthenaK exhibits excellent weak-scaling efficiency of 80% on up to 65,536 AMD MI250X GPUs on Frontier (relative to four GPUs) and 67% on Aurora up to 24,576 Intel Data Center Max Series GPUs (relative to 12 GPUs) and strong-scaling efficiencies of 84% and 77% on AMD MI250X and NVIDIA A100 GPUs on Frontier and Perlmutter, respectively. Additionally, we observe a significant performance boost, with 2 orders of magnitude speedup (≳200×) on a GPU compared to a single CPU core, affirming that AthenaK is well suited for exascale computing, and thereby expanding the potential for breakthroughs in numerical relativity research.


  • Binary black hole waveforms from high-resolution gr-athena++ simulations

    by Alireza Rashti, Rossella Gamba, Koustav Chandra, David Radice, Boris Daszuta, William Cook, Sebastiano Bernuzzi


  • Open Access

    GR-Athena++: General-relativistic Magnetohydrodynamics Simulations of Neutron Star Spacetimes

    by William Cook, Boris Daszuta, Jacob Fields, Peter Hammond, Simone Albanesi, Francesco Zappa, Sebastiano Bernuzzi, David Radice

    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 nonrotating 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 105 CPU cores and excellent weak scaling is shown up to ∼5 × 105 CPU cores in a realistic production setup. GR-Athena++ allows for the robust simulation of GRMHD flows in strong and dynamical gravity with exa-scale computers.