Block-based AMR framework with fluid, particle and numerical relativity solvers in Kokkos.
AthenaK is a complete rewrite of the AMR framework and fluid solvers in the Athena++ astrophysical MHD code using the Kokkos programming model.
Using Kokkos enables performance-portability. AthenaK will run on any hardware supported by Kokkos, including CPU, GPUs from various vendors, and ARM processors.
AthenaK is targeting challenging problems that require exascale resources, and as such it does not implement all of the features of Athena++. Current code features are:
- Block-based AMR with dynamical execution via a task list
- Non-relativistic (Newtonian) hydrodynamics and MHD
- Special relativistic (SR) hydrodynamics and MHD
- General relativistic (GR) hydrodynamics and MHD in stationary spacetimes
- Relativistic radiation transport
- Lagrangian tracer particles, and charged test particles
- Numerical relativity solver using the Z4c formalism
- GR hydrodynamics and MHD in dynamical spacetimes
The numerical algorithms implemented in AthenaK are all based on higher-order finite volume methods with a variety of reconstruction algorithms, Riemann solvers, and time integration methods.
The code is designed to be user-friendly with as few external dependencies as possible.
Documention is permanently under construction on the wiki pages.
In particular, see the complete list of requirements, or instructions on how to download and build the code for various devices. Other pages give instructions for running the code.
Since AthenaK is very similar to Athena++, the Athena++ documention may also be helpful.
For more details on the features and algorithms implemented in AthenaK, see the code papers:
- Stone et al (2024): basic framework
- Zhu et al. (2024): numerical relativity solver
- Fields at al. (2024): GR hydro and MHD solver in dynamical spacetimes
Please reference these papers as appropriate for any publications that use AthenaK.