A GPU-accelerated package for simulation of flow in nanoporous source rocks with many-body dissipative particle dynamics
YD Xia and A Blumers and Z Li and LX Luo and YH Tang and J Kane and J Goral and H Huang and M Deo and M Andrew, COMPUTER PHYSICS COMMUNICATIONS, 247, 106874 (2020).
DOI: 10.1016/j.cpc.2019.106874
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 K2OX 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. Program summary Program title: usERMESO 2. 5 Program files doi: http://dx.doi.org/10.17632/zzpv74bz9m.1 Licensing provisions: GNU General Public License 3 Programming language: CUDA C/C++ with MPI and OpenMP Nature of problem: Particle-based simulation of multiphase flow and fluid-solid interaction in nano to micro-scale pore networks of arbitrary pore geometries. Solution method: Fluid particles and solid wall particles are modeled with a many-body dissipative particle dynamics (mDPD) model- a mesoscopic model for coarse-grained fluid and solid molecules. The pore surface wall boundary for arbitrary surface geometries is modeled with a no-slip boundary condition for fluid particles that prevents fluid particles from indefinitely penetrating in the walls. The time evolution of the system is integrated using the Velocity-Verlet algorithm. Restrictions: The code is compatible with NVIDIA GPUs with compute capability 3.0 and above. Unusual features: The code is implemented on GPGPUs with significantly improved speed. Published by Elsevier B.V.
Return to Publications page