Efficient dual-level parallelism solutions for OpenFOAM-based discrete unified gas kinetic scheme

Feifei Zhang, Yunlan Wang, Rui Zhang, Jie Guo, Tianhai Zhao, Sha Liu, Congshan Zhuo, Chengwen Zhong

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

Abstract

The Discrete Unified Gas Kinetic Scheme (DUGKS) is an efficient framework for solving gas kinetic equations, crucial in areas such as aerospace, microfluidics, and vacuum technologies. However, the existing dugksFoam solver (Zhu et al., 2017), developed on OpenFOAM, suffers from low parallel efficiency and high computational costs. This paper focuses on enhancing the efficiency of the dugksFoam solver through optimisations specific for memory access, communication, and computation. Two innovative process-thread hybrid parallel algorithms are proposed, combining dual-level parallelism tailored to the characteristics of the DUGKS algorithm and modern HPC cluster architectures. Algorithm 1 utilises process-level parallelism for physical space partitioning and thread-level parallelism for velocity-space partitioning, while Algorithm 2 swaps these parallel levels. Multiple validation cases were conducted to verify the accuracy of the algorithms. Both algorithms demonstrate significant performance improvements over the existing dugksFoam solver. Algorithm 1 is suitable for small-scale parallelism, and Algorithm 2 achieves linear speedup on 1024 cores, excelling in large-scale parallel scenarios.

Original languageEnglish
Article number103840
JournalAdvances in Engineering Software
Volume201
DOIs
StatePublished - Mar 2025

Keywords

  • DUGKS
  • Dual-level parallel
  • OpenFOAM solver
  • Performance optimisation

Fingerprint

Dive into the research topics of 'Efficient dual-level parallelism solutions for OpenFOAM-based discrete unified gas kinetic scheme'. Together they form a unique fingerprint.

Cite this