uniGasFoam: a particle-based OpenFOAM solver for multiscale rarefied gas flows

Nikos Vasileiadis, Giorgos Tatsios, Craig White, Duncan A. Lockerby, Matthew K. Borg, Livio Gibelli

Research output: Contribution to journalArticlepeer-review

Abstract

This paper presents uniGasFoam, an open-source particle-based solver for multiscale rarefied gas flow simulations, which has been developed within the well-established Open-FOAM framework, and is an extension of the direct simulation Monte Carlo (DSMC) solver dsmcFoam+. The developed solver addresses the coupling challenges inherent in hybrid continuum-particle methods, originating from the disparate nature of finite-volume (FV) solvers found in computational fluid dynamics (CFD) software and DSMC particle solvers. This is achieved by employing alternative stochastic particle methods, resembling DSMC, to tackle the continuum limit. The uniGasFoam particle-particle coupling produces a nu-merical implementation that is simpler and more robust, faster in many steady-state flows, and more scalable for transient flows compared to conventional continuum-particle coupling. The presented framework is unified and generic, and can couple DSMC with stochastic par-ticle (SP) and unified stochastic particle (USP) methods, or be employed for pure DSMC, SP, and USP gas simulations. To enhance user experience, reduce required computational resources and minimise user error, advanced adaptive algorithms such as transient adaptive sub-cells, non-uniform cell weighting, and adaptive global time stepping have been integrated into uniGasFoam. In this paper, the hybrid USP-DSMC module of uniGasFoam is rigorously validated through multiple benchmark cases, consistently showing excellent agreement with pure DSMC, hybrid CFD-DSMC, and literature results. Notably, uniGasFoam achieves sig-nificant computational gains compared to pure dsmcFoam+ simulations, rendering it a robust computational tool well-suited for addressing multiscale rarefied gas flows of engineering im-portance.
Original languageEnglish
Article number109532
JournalComputer Physics Communications
Volume310
Early online date5 Feb 2025
DOIs
Publication statusPublished - May 2025

Fingerprint

Dive into the research topics of 'uniGasFoam: a particle-based OpenFOAM solver for multiscale rarefied gas flows'. Together they form a unique fingerprint.

Cite this