arXiv Open Access 2025

Building an Accelerated OpenFOAM Proof-of-Concept Application using Modern C++

Giulio Malenza Giovanni Stabile Filippo Spiga Robert Birke Marco Aldinucci
Lihat Sumber

Abstrak

The modern trend in High-Performance Computing (HPC) involves the use of accelerators such as Graphics Processing Units (GPUs) alongside Central Processing Units (CPUs) to speed up numerical operations in various applications. Leading manufacturers such as NVIDIA, Intel, and AMD are constantly advancing these architectures, augmenting them with features such as mixed precision, enhanced memory hierarchies, and specialised accelerator silicon blocks (e.g., Tensor Cores on GPU or AMX/SME engines on CPU) to enhance compute performance. At the same time, significant efforts in software development are aimed at optimizing the use of these innovations, seeking to improve usability and accessibility. This work contributes to the state-of-the-art of OpenFOAM development by presenting a working Proof-Of-Concept application built using modern ISO C++ parallel constructs. This approach, combined with an appropriate compiler runtime stack, like the one provided by the NVIDIA HPC SDK, makes it possible to accelerate well-defined kernels, allowing multi-core execution and GPU offloading using a single codebase. The study demonstrates that it is possible to increase the performance of the OpenFOAM laplacianFoam application by offloading the computations on NVIDIA GPUs using the C++ parallel construct.

Topik & Kata Kunci

Penulis (5)

G

Giulio Malenza

G

Giovanni Stabile

F

Filippo Spiga

R

Robert Birke

M

Marco Aldinucci

Format Sitasi

Malenza, G., Stabile, G., Spiga, F., Birke, R., Aldinucci, M. (2025). Building an Accelerated OpenFOAM Proof-of-Concept Application using Modern C++. https://arxiv.org/abs/2507.18268

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2025
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓