Skip to content

Improve velocity with use of GPU instead of cpu with tools like OGL  #586

@stefano2734

Description

@stefano2734

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://www.esi-group.com/sites/default/files/resource/other/1806/8th_OpenFOAM_Conference_Cineca_Spisso_2_0.pdf

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions