Aerospace (Sep 2023)

GPU Acceleration of CFD Simulations in OpenFOAM

  • Federico Piscaglia,
  • Federico Ghioldi

DOI
https://doi.org/10.3390/aerospace10090792
Journal volume & issue
Vol. 10, no. 9
p. 792

Abstract

Read online

We introduce algorithmic advancements designed to expedite simulations in OpenFOAM using GPUs. These developments include the following. (a) The amgx4Foam library, which connects the open-source AmgX library from NVIDIA to OpenFOAM. Matrix generation, involving tasks such numerical integration and assembly, is performed on CPUs. Subsequently, the assembled matrix is processed on the CPU. This approach accelerates the computationally intensive linear solver phase of simulations on GPUs. (b) Enhancements to code performance in reactive flow simulations, by relocating the solution of finite-rate chemistry to GPUs, which serve as co-processors. We present code verification and validation along with performance metrics targeting two distinct application sets, namely, aerodynamics calculations and supersonic combustion with finite-rate chemistry.

Keywords