A self-gravity module for the PLUTO code
arXiv:2306.05332 · doi:10.3847/1538-4365/aced0a
Abstract
We present a novel implementation of an iterative solver for the solution of the Poisson equation in the PLUTO code for astrophysical fluid dynamics. Our solver relies on a relaxation method in which convergence is sought as the steady-state solution of a parabolic equation, whose time-discretization is governed by the \textit{Runge-Kutta-Legendre} (RKL) method. Our findings indicate that the RKL-based Poisson solver, which is both fully parallel and rapidly convergent, has the potential to serve as a practical alternative to conventional iterative solvers such as the \textit{Gauss-Seidel} (GS) and \textit{successive over-relaxation} (SOR) methods. Additionally, it can mitigate some of the drawbacks of these traditional techniques. We incorporate our algorithm into a multigrid solver to provide a simple and efficient gravity solver that can be used to obtain the gravitational potentials in self-gravitational hydrodynamics. We test our implementation against a broad range of standard self-gravitating astrophysical problems designed to examine different aspects of the code. We demonstrate that the results match excellently with the analytical predictions (when available), and the findings of similar previous studies.
Published in ApJS
References in corpus (11)
- Array Programming with NumPy
- Theory of Star Formation
- PLUTO: a Numerical Code for Computational Astrophysics
- CMasher: Scientific colormaps for making accessible, informative and 'cmashing' plots
- A simple multigrid scheme for solving the Poisson equation with arbitrary domain boundaries
- A Direct Multigrid Poisson Solver for Oct-Tree Adaptive Meshes
- GANDALF - Graphical Astrophysics code for N-body Dynamics And Lagrangian Fluids
- Impact of relativistic jets on the star formation rate: a turbulence-regulated framework
- A New Way to Conserve Total Energy for Eulerian Hydrodynamic Simulations with Self-Gravity
- An Extension of the Athena++ Framework for Fully Conservative Self-Gravitating Hydrodynamics
- Self-gravitational Force Calculation of Second Order Accuracy Using Multigrid Method on Nested Grids