The Athena++ Adaptive Mesh Refinement Framework: Design and Magnetohydrodynamic Solvers
Preprint
Abstract
The design and implementation of a new framework for adaptive mesh refinement (AMR) calculations is described. It is intended primarily for applications in astrophysical fluid dynamics, but its flexible and modular design enables its use for a wide variety of physics. The framework works with both uniform and nonuniform grids in Cartesian and curvilinear coordinate systems. It adopts a dynamic execution model based on a simple design called a "task list" that improves parallel performance by overlapping communication and computation, simplifies the inclusion of a diverse range of physics, and even enables multiphysics models involving different physics in different regions of the calculation. We describe physics modules implemented in this framework for both non-relativistic and relativistic magnetohydrodynamics (MHD). These modules adopt mature and robust algorithms originally developed for the Athena MHD code and incorporate new extensions: support for curvilinear coordinates, higher-order time integrators, more realistic physics such as a general equation of state, and diffusion terms that can be integrated with super-time-stepping algorithms. The modules show excellent performance and scaling, with well over 80% parallel efficiency on over half a million threads. The source code has been made publicly available.Keywords
All Related Versions
This publication has 88 references indexed in Scilit:
- High Order Strong Stability Preserving Time DiscretizationsJournal of Scientific Computing, 2008
- Divergence- and Curl-Preserving Prolongation and Restriction FormulasJournal of Computational Physics, 2002
- Adaptive Mesh and Algorithm Refinement Using Direct Simulation Monte CarloJournal of Computational Physics, 1999
- A Unified Coordinate System for Solving the Two-Dimensional Euler EquationsJournal of Computational Physics, 1999
- An upwind differencing scheme for the equations of ideal magnetohydrodynamicsJournal of Computational Physics, 1988
- The Piecewise Parabolic Method (PPM) for gas-dynamical simulationsJournal of Computational Physics, 1984
- The numerical simulation of two-dimensional fluid flow with strong shocksJournal of Computational Physics, 1984
- Adaptive mesh refinement for hyperbolic partial differential equationsJournal of Computational Physics, 1984
- A survey of several finite difference methods for systems of nonlinear hyperbolic conservation lawsJournal of Computational Physics, 1978
- Towards the ultimate conservative difference scheme. II. Monotonicity and conservation combined in a second-order schemeJournal of Computational Physics, 1974