arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1903.10134physics.comp-ph
收藏

基于GPU加速的多体耗散粒子动力学模拟纳米多孔烃源岩流动

A GPU-accelerated package for simulation of flow in nanoporous source rocks with many-body dissipative particle dynamics

Yidong Xia, Ansel Blumers, Zhen Li, Lixiang Luo, Yu-Hang Tang, Joshua Kane, Hai Huang, Matthew Andrew, Milind Deo, Jan Goral

摘要:

烃类在源页岩中流动的介观模拟是具有挑战性的,部分原因是尺寸范围从几纳米到几微米的非均质页岩孔隙。此外,必须捕获纳米至微米级页岩孔隙中的物理和化学复杂的亚连续流体-流体和流体-固体相互作用。为了解决这些挑战,我们提出了一个GPU加速包的多体耗散粒子动力学(mDPD)介观尺度模型模拟纳米到微孔网络中的流动。基于完全分布式的并行模式,代码将所有密集型工作负载卸载到GPU上。其他的进步,如智能颗粒包装和无滑移边界条件,在复杂的孔隙几何形状,也实现了从三维纳米分辨率堆栈图像的真实页岩孔隙的构建和模拟。我们的代码的准确性进行了验证,并与CPU对应的加速。在我们的基准测试中,代码在橡树岭国家实验室(ORNL)Titan超级计算机上的512个K20 X GPU上提供了近乎完美的强缩放和弱缩放(多达5.12亿个粒子)。此外,ORNL的SummitDev和IBM的AC 922上的单GPU基准测试表明,主机到设备NVLink可以将PCIe的性能提高40%。最后,我们证明,通过在现实的页岩孔隙中的流动模拟,CPU对应需要840个Power 9内核,以媲美我们的包与四个V100 GPU在ORNL的峰会架构上提供的性能。该模拟软件包可实现快速周转和高通量介观数值模拟,用于研究具有真实孔隙几何形状的纳米至微孔岩石中的复杂流动现象。

英文摘要:

Mesoscopic simulations of hydrocarbon flow in source shales are challenging, in part due to the heterogeneous shale pores with sizes ranging from a few nanometers to a few micrometers. Additionally, the sub-continuum fluid-fluid and fluid-solid interactions in nano- to micro-scale shale pores, which are physically and chemically sophisticated, must be captured. To address those challenges, we present a GPU-accelerated package for simulation of flow in nano- to micro-pore networks with a many-body dissipative particle dynamics (mDPD) mesoscale model. Based on a fully distributed parallel paradigm, the code offloads all intensive workloads on GPUs. Other advancements, such as smart particle packing and no-slip boundary condition in complex pore geometries, are also implemented for the construction and the simulation of the realistic shale pores from 3D nanometer-resolution stack images. Our code is validated for accuracy and compared against the CPU counterpart for speedup. In our benchmark tests, the code delivers nearly perfect strong scaling and weak scaling (with up to 512 million particles) on up to 512 K20X GPUs on Oak Ridge National Laboratory's (ORNL) Titan supercomputer. Moreover, a single-GPU benchmark on ORNL's SummitDev and IBM's AC922 suggests that the host-to-device NVLink can boost performance over PCIe by a remarkable 40\%. Lastly, we demonstrate, through a flow simulation in realistic shale pores, that the CPU counterpart requires 840 Power9 cores to rival the performance delivered by our package with four V100 GPUs on ORNL's Summit architecture. This simulation package enables quick-turnaround and high-throughput mesoscopic numerical simulations for investigating complex flow phenomena in nano- to micro-porous rocks with realistic pore geometries.

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

↑