English

Machine Learning for Conservative-to-Primitive in Relativistic Hydrodynamics

Instrumentation and Methods for Astrophysics 2021-11-15 v2 Computational Physics Fluid Dynamics

Abstract

The numerical solution of relativistic hydrodynamics equations in conservative form requires root-finding algorithms that invert the conservative-to-primitive variables map. These algorithms employ the equation of state of the fluid and can be computationally demanding for applications involving sophisticated microphysics models, such as those required to calculate accurate gravitational wave signals in numerical relativity simulations of binary neutron stars. This work explores the use of machine learning methods to speed up the recovery of primitives in relativistic hydrodynamics. Artificial neural networks are trained to replace either the interpolations of a tabulated equation of state or directly the conservative-to-primitive map. The application of these neural networks to simple benchmark problems shows that both approaches improve over traditional root finders with tabular equation-of-state and multi-dimensional interpolations. In particular, the neural networks for the conservative-to-primitive map accelerate the variable recovery by more than an order of magnitude over standard methods while maintaining accuracy. Neural networks are thus an interesting option to improve the speed and robustness of relativistic hydrodynamics algorithms.

Keywords

Cite

@article{arxiv.2109.02679,
  title  = {Machine Learning for Conservative-to-Primitive in Relativistic Hydrodynamics},
  author = {Tobias Dieselhorst and William Cook and Sebastiano Bernuzzi and David Radice},
  journal= {arXiv preprint arXiv:2109.02679},
  year   = {2021}
}

Comments

17 pages, 12 figures, 2 tables

R2 v1 2026-06-24T05:43:57.046Z