English

Quokka: A code for two-moment AMR radiation hydrodynamics on GPUs

Instrumentation and Methods for Astrophysics 2022-03-02 v2

Abstract

We present Quokka, a new subcycling-in-time, block-structured adaptive mesh refinement (AMR) radiation hydrodynamics code optimised for graphics processing units (GPUs). Quokka solves the equations of hydrodynamics with the piecewise parabolic method (PPM) in a method-of-lines formulation, and handles radiative transfer via the variable Eddington tensor (VET) radiation moment equations with a local closure. We use the AMReX library to handle the adaptive mesh management. In order to maximise GPU performance, we combine explicit-in-time evolution of the radiation moment equations with the reduced speed-of-light approximation. We show results for a wide range of test problems for hydrodynamics, radiation, and coupled radiation hydrodynamics. On uniform grids in 3D on a single GPU, our code achieves > 250 million hydrodynamic updates per second and almost 40 million radiation hydrodynamic updates per second. For radiation hydrodynamics problems on uniform grids in 3D, our code scales from 4 GPUs to 256 GPUs with an efficiency of 76 per cent. The code is publicly released under an open-source license on GitHub.

Keywords

Cite

@article{arxiv.2110.01792,
  title  = {Quokka: A code for two-moment AMR radiation hydrodynamics on GPUs},
  author = {Benjamin D. Wibking and Mark R. Krumholz},
  journal= {arXiv preprint arXiv:2110.01792},
  year   = {2022}
}

Comments

Revised version re-submitted to MNRAS, added new performance measurements with A100 GPUs

R2 v1 2026-06-24T06:37:26.144Z