arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.10288physics.flu-dyn
收藏

uniGasFoam:一种用于多尺度稀薄气体流动的基于粒子的OpenFOAM求解器

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

AI总结:

本研究在OpenFOAM框架下开发了基于粒子的多尺度稀薄气体流动求解器uniGasFoam,采用粒子-粒子耦合解决传统混合方法的耦合难题,集成多种自适应算法,经基准验证精度可靠且计算效率显著优于纯DSMC模拟。

摘要:

本文提出了uniGasFoam,这是一款用于多尺度稀薄气体流动模拟的开源基于粒子的求解器,它在成熟的OpenFOAM框架内开发,是直接模拟蒙特卡洛(Direct Simulation Monte Carlo, DSMC)求解器dsmcFoam+的扩展。该求解器解决了混合连续介质-粒子方法中固有的耦合难题,这类难题源于计算流体动力学(Computational Fluid Dynamics, CFD)软件中的有限体积(finite-volume, FV)求解器与DSMC粒子求解器的本质差异。实现方式是采用类DSMC的替代随机粒子方法来处理连续介质极限问题。与传统的连续介质-粒子耦合相比,uniGasFoam的粒子-粒子耦合实现的数值方案更简单、更稳健,在许多稳态流动中速度更快,且对瞬态流动具有更好的可扩展性。所提出的框架具有统一性和通用性,既可以将DSMC与随机粒子(stochastic particle, SP)方法、统一随机粒子(unified stochastic particle, USP)方法耦合,也可用于纯DSMC、SP和USP气体模拟。为提升用户体验、优化计算资源并减少用户错误,uniGasFoam集成了瞬态自适应子单元、非均匀单元加权、自适应全局时间步长等先进自适应算法。本文通过多个基准算例对uniGasFoam的USP-DSMC混合模块进行了严格验证,结果始终与纯DSMC、混合CFD-DSMC及文献结果高度吻合。值得注意的是,与纯dsmcFoam+模拟相比,uniGasFoam实现了显著的计算效率提升,使其成为一款稳健的计算工具,非常适合解决具有工程重要性的多尺度稀薄气体流动问题。

英文摘要:

This paper presents uniGasFoam, an open-source particle-based solver for multiscale rarefied gas flow simulations, which has been developed within the well-established OpenFOAM 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 numerical 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 particle (SP) and unified stochastic particle (USP) methods, or be employed for pure DSMC, SP, and USP gas simulations. To enhance user experience, optimise 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 significant computational gains compared to pure dsmcFoam+ simulations, rendering it a robust computational tool well-suited for addressing multiscale rarefied gas flows of engineering importance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑