English

An FFT-based Solution Method for the Poisson Equation on 3D Spherical Polar Grids

Instrumentation and Methods for Astrophysics 2019-01-16 v2 High Energy Astrophysical Phenomena Solar and Stellar Astrophysics Computational Physics

Abstract

The solution of the Poisson equation is a ubiquitous problem in computational astrophysics. Most notably, the treatment of self-gravitating flows involves the Poisson equation for the gravitational field. In hydrodynamics codes using spherical polar grids, one often resorts to a truncated spherical harmonics expansion for an approximate solution. Here we present a non-iterative method that is similar in spirit, but uses the full set of eigenfunctions of the discretized Laplacian to obtain an exact solution of the discretized Poisson equation. This allows the solver to handle density distributions for which the truncated multipole expansion fails, such as off-center point masses. In three dimensions, the operation count of the new method is competitive with a naive implementation of the truncated spherical harmonics expansion with N15N_\ell \approx 15 multipoles. We also discuss the parallel implementation of the algorithm. The serial code and a template for the parallel solver are made publicly available.

Keywords

Cite

@article{arxiv.1806.06623,
  title  = {An FFT-based Solution Method for the Poisson Equation on 3D Spherical Polar Grids},
  author = {Bernhard Müller and Conrad Chan},
  journal= {arXiv preprint arXiv:1806.06623},
  year   = {2019}
}

Comments

9 pages, 4 figures, accepted for publication in ApJ. Added convergence tests and included some other minor revisions

R2 v1 2026-06-23T02:33:01.753Z