cuHARM: A New GPU-accelerated GRMHD Code and Its Application to ADAF Disks

D. Bégué, A. Pe’er, G. Q. Zhang, B. B. Zhang, B. Pevzner

Research output: Contribution to journalArticlepeer-review

5 Scopus citations

Abstract

We introduce a new GPU-accelerated general relativistic magnetohydrodynamic code based on HARM, which we call cuHARM. The code is written in CUDA-C and uses OpenMP to parallelize multi-GPU setups. Our code allows us to run high-resolution simulations of accretion disks and the formation and structure of jets without a need for multinode supercomputer infrastructure. A 2563 simulation is well within the reach of an Nvidia DGX-V100 server, with the computation being about 10 times faster than if only the CPU is used. We use this code to examine several disk structures all in the SANE state. We find that (i) increasing the magnetic field in the SANE state does not affect the mass accretion rate; (ii) simultaneously increasing the disk size and the magnetic field, while keeping the ratio of energies fixed, leads to the destruction of the jet once the magnetic flux through the horizon decreases below a certain limit (this demonstrates that the existence of a jet is a function of the initial mass distribution, and not of the initial intensity of the magnetic field, since the magnetorotational instability dictates the evolution of the magnetic field); and (iii) the structure of the jet is a weak function of the adiabatic index of the gas, with relativistic gas tending to have a wider jet.

Original languageEnglish
Number of pages25
JournalAstrophysical Journal, Supplement Series
Volume264
Issue number2
DOIs
StatePublished - 1 Feb 2023

Bibliographical note

Publisher Copyright:
© 2023. The Author(s). Published by the American Astronomical Society.

Funding

We thank Oliver Porth for helpful discussions. D.B. and A.P. acknowledge support from the European Research Council via ERC consolidating grant No. 773062 (acronym O.M.J.). B.-B.Z. acknowledges support from the National Key Research and Development Programs of China (2018YFA0404204), the National Natural Science Foundation of China (grant Nos. 11833003, U2038105, 12121003, 11922301, 12041306, and 12103089), science research grants from the China Manned Space Project with No. CMS-CSST-2021-B11, the Natural Science Foundation of Jiangsu Province (grant No. BK20211000), and the Program for Innovative Talents, Jiangsu. This work was performed on an HPC server equipped with eight Nvidia DGX-V100 GPU modules at Nanjing University. We acknowledge IT support from the computer lab of the School of Astronomy and Space Science at Nanjing University. G.-Q.Z. also acknowledges support from the China Scholarship Council for a one-year study in Bar-Ilan University.

FundersFunder number
Program for Innovative Talents, Jiangsu
European Commission773062
National Natural Science Foundation of China12041306, 12121003, U2038105, 12103089, CMS-CSST-2021-B11, 11833003, 11922301
China Scholarship Council
Natural Science Foundation of Jiangsu ProvinceBK20211000
Nanjing University
National Key Research and Development Program of China2018YFA0404204

    Fingerprint

    Dive into the research topics of 'cuHARM: A New GPU-accelerated GRMHD Code and Its Application to ADAF Disks'. Together they form a unique fingerprint.

    Cite this