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

FluTAS:GPU加速的多相流有限差分程序

FluTAS: A GPU-accelerated finite difference code for multiphase flows

Marco Crialesi-Esposito, Nicolo Scapin, Andreas D. Demou, Marco Edoardo Rosti, Pedro Costa, Filippo Spiga, Luca Brandt

摘要:

我们提出了流体传输加速求解器,Flutas,一个可扩展的GPU代码的多相流与热效应。该代码解决了不可压缩的纳维-斯托克斯方程的双流体系统,与直接基于FFT的泊松求解器的压力方程。两种流体之间的界面用流体体积(VoF)方法表示,该方法具有质量守恒性,并且由于其处理拓扑变化的能力而非常适合复杂流动。通过Boussinesq近似,能量方程显式求解并与动量方程耦合。该代码以模块化的方式设计,因此可以独立使用不同的数值方法,可以修改现有的例程,并可以以直接和可持续的方式包含新的例程。Flutas是用现代Fortran编写的,在仅CPU版本中使用混合MPI/OpenMP进行并行化,并在GPU实现中使用OpenACC指令进行加速。我们提出了不同的基准来验证代码,并在湍流多相流的基本利益的两个大规模模拟:在HIT和两层Rayleigh-Bénard对流的等温乳液。FluTAS通过MIT许可证发布,由几位科学家共同努力,旨在成为研究复杂多相流的灵活工具。

英文摘要:

We present the Fluid Transport Accelerated Solver, FluTAS, a scalable GPU code for multiphase flows with thermal effects. The code solves the incompressible Navier-Stokes equation for two-fluid systems, with a direct FFT-based Poisson solver for the pressure equation. The interface between the two fluids is represented with the Volume of Fluid (VoF) method, which is mass conserving and well suited for complex flows thanks to its capacity of handling topological changes. The energy equation is explicitly solved and coupled with the momentum equation through the Boussinesq approximation. The code is conceived in a modular fashion so that different numerical methods can be used independently, the existing routines can be modified, and new ones can be included in a straightforward and sustainable manner. FluTAS is written in modern Fortran and parallelized using hybrid MPI/OpenMP in the CPU-only version and accelerated with OpenACC directives in the GPU implementation. We present different benchmarks to validate the code, and two large-scale simulations of fundamental interest in turbulent multiphase flows: isothermal emulsions in HIT and two-layer Rayleigh-Bénard convection. FluTAS is distributed through a MIT license and arises from a collaborative effort of several scientists, aiming to become a flexible tool to study complex multiphase flows.

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

↑