A FFT-accelerated multi-block finite-difference solver for massively parallel simulations of incompressible flows

Pedro Costa
6/7/2021
physics.comp-phphysics.flu-dyn

Official code: p-costa/SNaC (44 stars, Python, MIT, last commit 2026-10-25).

Abstract

We present a multi-block finite-difference solver for massively parallel Direct Numerical Simulations (DNS) of incompressible flows. The algorithm combines the versatility of a multi-block solver with the method of eigenfunctions expansions, to speedup the solution of the pressure Poisson equation.

Show full abstract

This is achieved by employing FFT-based transforms along one homogeneous direction, which effectively reduce the problem complexity at a low cost. These FFT-based expansions are implemented in a framework that unifies all valid combinations of boundary conditions for this type of method. Subsequently, a geometric multigrid solver is employed to solve the reduced Poisson equation in a multi-block geometry. Particular care was taken here, to guarantee the parallel performance of the multigrid solver when solving the reduced linear systems equations. We have validated the overall numerical algorithm and assessed its performance in a massively parallel setting. The results show that 2- to 8-fold reductions in computational cost may be easily achieved when exploiting FFT acceleration for the solution of the Poisson equation. The solver, SNaC, has been made freely available and open-source under the terms of an MIT license.

View on arXivView PDF

Code Implementations(1)

p-costa/SNaCOfficial100%
MIT

A multi-block solver for massively parallel direct numerical simulations (DNS) of fluid flows

4411Python, FortranMay 27, 20201 months agoMIT
cfdcomputational-fluid-dynamicsfluid-dynamicsfluid-simulationfortran+2 more

Similar Papers

Cite this paper

@article{costa2021fftaccelerated,
  title  = {A FFT-accelerated multi-block finite-difference solver for massively parallel simulations of incompressible flows},
  author = {Pedro Costa},
  year   = {2021},
  eprint = {2106.03583},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.03583}
}

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/2106.03583.svg)](https://codeofpaper.com/paper/2106.03583)

Discussion