-
Notifications
You must be signed in to change notification settings - Fork 99
Description
Description of feature
GPU with using OpenCL, HIP and CUDA can accelerate about 4 to 100 times against cpu solution.
Potential solution
OGL Openfoam Ginkgo Layer with CUDA can do this with Nvidia Hardware.
See https://github.com/hpsim/OGL
minimum openfoam version is here 2106. so an update is here necessary in openfoam base.
and a solution with OpenCL is also possible with openfoam 1912 with solver petsc4foam
https://wiki.openfoam.com/images/c/cd/OpenFOAM_2020_KAUST_Zampini.pdf
third is OpenMP 5.0 and higher (actual 5.2, 6.0 wip) with possible offloading to GPU with newer adapted openfoam
https://arxiv.org/pdf/2205.05681.pdf
https://www.openmp.org/wp-content/uploads/OpenMP_ECP_Sollve_May2023_AMDtalk.pdf
https://www.openmp.org/resources/refguides/
So two ways: external layer or internal in openfoam with newer Version of openfoam.
actual installation nextfoam with actual openfoam 23.06 and petsc4foam
https://blog.nextfoam.co.kr/2024/01/10/gpu-accelerated-openfoam-with-petsc4foam/