Octo-Tiger: A new, 3D hydrodynamic code for stellar mergers that uses HPX parallelization

Dominic C. Marcello*, Sagiv Shiber, Orsola De Marco, Juhan Frank, Geoffrey C Clayton, Patrick Motl, Patrick Diehl, Hartmut Kaiser

*Corresponding author for this work

    Research output: Contribution to journalArticlepeer-review

    17 Citations (Scopus)
    56 Downloads (Pure)


    octo-tiger is an astrophysics code to simulate the evolution of self-gravitating and rotating systems of arbitrary geometry based on the fast multipole method, using adaptive mesh refinement. octo-tiger is currently optimized to simulate the merger of well-resolved stars that can be approximated by barotropic structures, such as white dwarfs (WDs) or main-sequence stars. The gravity solver conserves angular momentum to machine precision, thanks to a 'correction' algorithm. This code uses hpx parallelization, allowing the overlap of work and communication and leading to excellent scaling properties, allowing for the computation of large problems in reasonable wall-clock times. In this paper, we investigate the code performance and precision by running benchmarking tests. These include simple problems, such as the Sod shock tube, as well as sophisticated, full, WD binary simulations. Results are compared to analytical solutions, when known, and to other grid-based codes such as flash. We also compute the interaction between two WDs from the early mass transfer through to the merger and compare with past simulations of similar systems. We measure octo-tiger's scaling properties up to a core count of ∼80 000, showing excellent performance for large problems. Finally, we outline the current and planned areas of development aimed at tackling a number of physical phenomena connected to observations of transients.

    Original languageEnglish
    Pages (from-to)5345-5382
    Number of pages38
    JournalMonthly Notices of the Royal Astronomical Society
    Issue number4
    Publication statusPublished - 1 Jul 2021

    Bibliographical note

    This article has been accepted for publication in Monthly Notices of the Royal Astronomical Society, Volume 504, Issue 4, July 2021, Pages 5345–5382, https://doi.org/10.1093/mnras/stab937. Copyright 2021 The Author(s). Published by Oxford University Press on behalf of the Royal Astronomical Society. All rights reserved.


    • Binaries: close
    • Hydrodynamics
    • Methods: analytical
    • Methods: numerical
    • Stars: evolution
    • White dwarfs


    Dive into the research topics of 'Octo-Tiger: A new, 3D hydrodynamic code for stellar mergers that uses HPX parallelization'. Together they form a unique fingerprint.

    Cite this