TY - JOUR
T1 - The Athena++ Adaptive Mesh Refinement Framework
T2 - Multigrid Solvers for Self-gravity
AU - Tomida, Kengo
AU - Stone, James M.
N1 - Publisher Copyright:
© 2023. The Author(s). Published by the American Astronomical Society.
PY - 2023/5/1
Y1 - 2023/5/1
N2 - We describe the implementation of multigrid solvers in the Athena++ adaptive mesh refinement (AMR) framework and their application to the solution of the Poisson equation for self-gravity. The new solvers are built on top of the AMR hierarchy and TaskList framework of Athena++ for efficient parallelization. We adopt a conservative formulation for the Laplacian operator that avoids artificial accelerations at level boundaries. Periodic, fixed, and zero-gradient boundary conditions are implemented, as well as open boundary conditions based on a multipole expansion. Hybrid parallelization using both Message Passing Interface and OpenMP is adopted, and we present results of tests demonstrating the accuracy and scaling of the methods. On a uniform grid, we show that multigrid significantly outperforms methods based on fast Fourier transforms, and requires only a small fraction of the computing time required by the (highly optimized) magnetohydrodynamic solver in Athena++. As a demonstration of the capabilities of the methods, we present the results of a test calculation of magnetized protostellar collapse on an adaptive mesh.
AB - We describe the implementation of multigrid solvers in the Athena++ adaptive mesh refinement (AMR) framework and their application to the solution of the Poisson equation for self-gravity. The new solvers are built on top of the AMR hierarchy and TaskList framework of Athena++ for efficient parallelization. We adopt a conservative formulation for the Laplacian operator that avoids artificial accelerations at level boundaries. Periodic, fixed, and zero-gradient boundary conditions are implemented, as well as open boundary conditions based on a multipole expansion. Hybrid parallelization using both Message Passing Interface and OpenMP is adopted, and we present results of tests demonstrating the accuracy and scaling of the methods. On a uniform grid, we show that multigrid significantly outperforms methods based on fast Fourier transforms, and requires only a small fraction of the computing time required by the (highly optimized) magnetohydrodynamic solver in Athena++. As a demonstration of the capabilities of the methods, we present the results of a test calculation of magnetized protostellar collapse on an adaptive mesh.
UR - http://www.scopus.com/inward/record.url?scp=85154608172&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85154608172&partnerID=8YFLogxK
U2 - 10.3847/1538-4365/acc2c0
DO - 10.3847/1538-4365/acc2c0
M3 - Article
AN - SCOPUS:85154608172
SN - 0067-0049
VL - 266
JO - Astrophysical Journal, Supplement Series
JF - Astrophysical Journal, Supplement Series
IS - 1
M1 - 7
ER -