An adaptive mesh, GPU-accelerated, and error minimized special relativistic hydrodynamics code

Po-Hsun Tseng, Hsi-Yu Schive, Tzihong Chiueh
12/21/2020
astro-ph.HE

Official code: gamer-project/gamer (109 stars, C++, last commit 2026-10-12).

Abstract

We present a new special relativistic hydrodynamics (SRHD) code capable of handling coexisting ultra-relativistically hot and non-relativistically cold gases. We achieve this by designing a new algorithm for conversion between primitive and conserved variables in the SRHD solver, which incorporates a realistic ideal-gas equation of state covering both the relativistic and non-relativistic regimes.

Show full abstract

The code can handle problems involving a Lorentz factor as high as $10^6$ and optimally avoid the catastrophic cancellation. In addition, we have integrated this new SRHD solver into the code GAMER (https://github.com/gamer-project/gamer) to support adaptive mesh refinement and hybrid OpenMP/MPI/GPU parallelization. It achieves a peak performance of $7\times 10^{7}$ cell updates per second on a single Tesla P100 GPU and scales well to 2048 GPUs. We apply this code to two interesting astrophysical applications: (a) an asymmetric explosion source on the relativistic blast wave and (b) the flow acceleration and limb-brightening of relativistic jets.

View on arXivView PDF

Code Implementations(1)

Main GAMER repository

10986C++, CDec 13, 20171 months agoNOASSERTION

Similar Papers

Cite this paper

@article{tseng2020adaptive,
  title  = {An adaptive mesh, GPU-accelerated, and error minimized special relativistic hydrodynamics code},
  author = {Po-Hsun Tseng and Hsi-Yu Schive and Tzihong Chiueh},
  year   = {2020},
  eprint = {2012.11130},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.11130}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.11130.svg)](https://codeofpaper.com/paper/2012.11130)

Discussion