Issue |
A&A
Volume 696, April 2025
|
|
---|---|---|
Article Number | A201 | |
Number of page(s) | 19 | |
Section | Numerical methods and codes | |
DOI | https://doi.org/10.1051/0004-6361/202453566 | |
Published online | 25 April 2025 |
HERACLES++: A multidimensional Eulerian code for exascale computing
1
Université Paris-Saclay, UVSQ, CNRS, CEA, Maison de la Simulation,
91191
Gif-sur-Yvette,
France
2
Institut d’Astrophysique de Paris, CNRS-Sorbonne université,
98 bis boulevard Arago,
75014
Paris,
France
★ Corresponding author; lou.roussel-hard@cea.fr
Received:
20
December
2024
Accepted:
1
March
2025
Numerical simulations of multidimensional astrophysical fluids present considerable challenges. However, the development of exascale computing has significantly enhanced computational capabilities, motivating the development of new codes that can take full advantage of these resources. In this article, we introduce HERACLES++, a new hydrodynamics code with high portability, optimized for exascale machines with different architectures and running efficiently both on CPUs and GPUs. The code is Eulerian and employs a Godunov finite-volume method to solve the hydrodynamics equations, which ensures accuracy in capturing shocks and discontinuities. It includes different Riemann solvers, equations of state, and gravity solvers. It works in Cartesian and spherical coordinates, either in 1D, 2D, or 3D, and uses passive scalars to handle gases with several species. The code accepts a user-supplied heating or cooling term to treat a variety of astrophysical contexts. In addition to the usual series of benchmarking tests, we use HERACLES++ to simulate the propagation of a supernova shock in a red-supergiant star envelope, from minutes after core collapse until shock emergence. In 1D, the results from HERACLES++ are in agreement with those of V1D for the same configuration. In 3D, the Rayleigh-Taylor instability develops and modifies the 1D picture by introducing density and composition fluctuations as well as turbulence. The focus on a wedge, rather than the full solid angle, and the ability to run HERACLES++ with a large number of GPUs allow for long-term simulations of 3D supernova ejecta with a sub-degree resolution. Future developments will extend HERACLES++ to a radiation-hydrodynamics code.
Key words: hydrodynamics / instabilities / shock waves
© The Authors 2025
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.