English

A FFT-based finite-difference solver for massively-parallel direct numerical simulations of turbulent flows

Fluid Dynamics 2019-09-13 v4

Abstract

We present an efficient solver for massively-parallel direct numerical simulations of incompressible turbulent flows. The method uses a second-order, finite-volume pressure-correction scheme, where the pressure Poisson equation is solved with the method of eigenfunction expansions. This approach allows for very efficient FFT-based solvers in problems with different combinations of homogeneous pressure boundary conditions. Our algorithm explores all combinations of pressure boundary conditions valid for such a solver, in a single, general framework. The method is implemented in a 2D pencil-like domain decomposition, which enables efficient massively-parallel simulations. The implementation was validated against different canonical flows, and its computational performance was examined. Excellent strong scaling performance up to 10410^4 cores is demonstrated for a domain with 10910^9 spatial degrees of freedom, corresponding to a very small wall-clock time/time step. The resulting tool, CaNS, has been made freely available and open-source.

Keywords

Cite

@article{arxiv.1802.10323,
  title  = {A FFT-based finite-difference solver for massively-parallel direct numerical simulations of turbulent flows},
  author = {Pedro Costa},
  journal= {arXiv preprint arXiv:1802.10323},
  year   = {2019}
}

Comments

Corrected axes in figure 2

R2 v1 2026-06-23T00:36:26.905Z