A geometric multigrid library for quadtree/octree AMR grids coupled to MPI-AMRVAC

Jannis Teunissen, Rony Keppens
1/31/2019
physics.comp-ph

Official code: jannisteunissen/octree-mg (27 stars, Fortran, last commit 2025-08-14).

Abstract

We present an efficient MPI-parallel geometric multigrid library for quadtree (2D) or octree (3D) grids with adaptive refinement. Cartesian 2D/3D and cylindrical 2D geometries are supported, with second-order discretizations for the elliptic operators.

Show full abstract

Periodic, Dirichlet, and Neumann boundary conditions can be handled, as well as free-space boundary conditions for 3D Poisson problems, for which we use an FFT-based solver on the coarse grid. Scaling results up to 1792 cores are presented. The library can be used to extend adaptive mesh refinement frameworks with an elliptic solver, which we demonstrate by coupling it to MPI-AMRVAC. Several test cases are presented in which the multigrid routines are used to control the divergence of the magnetic field in magnetohydrodynamic simulations.

View on arXivView PDF

Code Implementations(1)

MPI geometric multigrid solver for quadtree/octree grids

279Fortran, AssemblySep 8, 20171 years ago
mpimultigridoctreepdequadtree

Similar Papers

Cite this paper

@article{teunissen2019geometric,
  title  = {A geometric multigrid library for quadtree/octree AMR grids coupled to MPI-AMRVAC},
  author = {Jannis Teunissen and Rony Keppens},
  year   = {2019},
  eprint = {1901.11370},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.11370}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1901.11370.svg)](https://codeofpaper.com/paper/1901.11370)

Discussion