Optimization of Lattice Boltzmann Simulation With Graphics-Processing-Unit Parallel Computing and the Application in Reservoir Characterization

被引:26
作者
Chen, Cheng [1 ]
Wang, Zheng [2 ]
Majeti, Deepak [3 ]
Vrvilo, Nick
Warburton, Timothy [1 ]
Sarkar, Vivek [2 ]
Li, Gang [4 ]
机构
[1] Virginia Tech, Dept Min & Minerals Engn, Blacksburg, VA 24061 USA
[2] Rice Univ, Computat & Appl Math Dept, Houston, TX 77251 USA
[3] Rice Univ, Dept Comp Sci, Houston, TX 77251 USA
[4] Anadarko Petr, The Woodlands, TX USA
来源
SPE JOURNAL | 2016年 / 21卷 / 04期
关键词
SHALE;
D O I
10.2118/179733-PA
中图分类号
TE [石油、天然气工业];
学科分类号
0820 ;
摘要
Shale permeability is sufficiently low to require an unconventional scale of stimulation treatments, such as very-large-volume, high-rate, multistage hydraulic-fracturing applications. Upscaling of hydrocarbon transport processes in shales is challenging because of the low permeability and strong heterogeneity. Rock characterization with high-resolution imaging [X-ray tomography and scanning electron microscope (SEM)] is usually highly localized and contains significant uncertainties because of the small field of view. Therefore, an effective high-performance computing method is required to collect information over a larger scale to meet the ergodicity requirement in upscaling. The lattice Boltzmann (LB) method has received significant attention in computational fluid dynamics because of its capability in coping with complicated boundary conditions. A combination of high-resolution imaging and LB simulation is a powerful approach for evaluating the transport properties of a porous medium in a timely manner, on the basis of the numerical solution of the NavierStokes equations and Darcy's law. In this work, a graphics-processing-unit (GPU)-enhanced lattice Boltzmann simulator (GELBS) was developed, which was optimized by GPU parallel computing on the basis of the inherent parallelism of the LB method. Specifically, the LB method was used to implement the computational kernel; a sparse data structure was applied to optimize memory allocation; the OCCA (Medina et al. 2014) portability library was used, which enables the GELBS codes to use different application-programming interfaces (APIs) including open computing language (OpenCL), compute unified device architecture (CUDA), and open multiprocessing (OpenMP). OpenCL is an open standard for cross-platform parallel computing, CUDA is supported only by NVIDIA devices, and OpenMP is primarily used on central processing units (CPUs). It was found that the GPU-accelerated code was approximately 1,000 times faster than the unoptimized serial code and 10 times faster than the parallel code run on a standalone CPU. The CUDA code was slightly faster than OpenCL code on the NVIDA GPU because of the extra cost of OpenCL used to adapt to a heterogeneous platform. The GELBS was validated by comparing it with analytical solutions, laboratory measurements, and other independent numerical simulators in previous studies, and it was proved to have a second-order global accuracy. The GELBS was then used to analyze thin cuttings extracted from a sandstone reservoir and a shale-gas reservoir. The sandstone permeabilities were found relatively isotropic, whereas the shale permeabilities were strongly anisotropic because of the horizontal lamination structure. In shale cuttings, the average permeability in the horizontal direction was higher than that in the vertical direction by approximately two orders of magnitude. Correlations between porosity and permeability were observed in both rocks. The combination of GELBS and high-resolution imaging methods makes for a power-ful tool for permeability evaluation when conventional laboratory measurement is impossible because of small cuttings sizes. The constitutive correlations between geometry and transport properties can be used for upscaling in different rock types. The GPUoptimized code significantly accelerates the computing speed; thus, many more samples can be analyzed given the same processing time. Consequently, the ergodicity requirement is met, which leads to a better reservoir characterization.
引用
收藏
页码:1425 / 1435
页数:11
相关论文
共 37 条
[1]  
[Anonymous], INT C PAR PROC VIENN
[2]   THE LATTICE BOLTZMANN-EQUATION - THEORY AND APPLICATIONS [J].
BENZI, R ;
SUCCI, S ;
VERGASSOLA, M .
PHYSICS REPORTS-REVIEW SECTION OF PHYSICS LETTERS, 1992, 222 (03) :145-197
[3]   A flexible high-performance Lattice Boltzmann GPU code for the simulations of fluid flows in complex geometries [J].
Bernaschi, Massimo ;
Fatica, Massimiliano ;
Melchionna, Simone ;
Succi, Sauro ;
Kaxiras, Efthimios .
CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2010, 22 (01) :1-14
[4]   Multiscale Hemodynamics Using GPU Clusters [J].
Bisson, Mauro ;
Bernaschi, Massimo ;
Melchionna, Simone ;
Succi, Sauro ;
Kaxiras, Efthimios .
COMMUNICATIONS IN COMPUTATIONAL PHYSICS, 2012, 11 (01) :48-64
[5]  
Chen C., 2010, WATER RESOURCES RES, V46
[6]   Temporal Evolution of the Geometrical and Transport Properties of a Fracture/Proppant System Under Increasing Effective Stress [J].
Chen, Cheng ;
Martysevich, Vladimir ;
O'Connell, Pete ;
Hu, Dandan ;
Matzar, Luis .
SPE JOURNAL, 2015, 20 (03) :527-535
[7]   Effect of Reservoir Heterogeneity on Primary Recovery and CO2 Huff 'n' Puff Recovery in Shale-Oil Reservoirs [J].
Chen, Cheng ;
Balhoff, Matthew ;
Mohanty, Kishore K. .
SPE RESERVOIR EVALUATION & ENGINEERING, 2014, 17 (03) :404-413
[8]   Nanometer-scale characterization of microscopic pores in shale kerogen by image analysis and pore-scale modeling [J].
Chen, Cheng ;
Hu, Dandan ;
Westacott, Donald ;
Loveless, David .
GEOCHEMISTRY GEOPHYSICS GEOSYSTEMS, 2013, 14 (10) :4066-4075
[9]   Lattice Boltzmann simulation of the rise and dissolution of two-dimensional immiscible droplets [J].
Chen, Cheng ;
Zhang, Dongxiao .
PHYSICS OF FLUIDS, 2009, 21 (10)
[10]   Temporal evolution of pore geometry, fluid flow, and solute transport resulting from colloid deposition [J].
Chen, Cheng ;
Lau, Boris L. T. ;
Gaillard, Jean-Francois ;
Packman, Aaron I. .
WATER RESOURCES RESEARCH, 2009, 45