Implementation of a direct-addressing based lattice Boltzmann GPU solver for multiphase flow in porous media

被引:14
作者
Yang, Guang [1 ]
Chen, Yu [2 ]
Chen, Simeng [2 ]
Wang, Moran [1 ]
机构
[1] Tsinghua Univ, Dept Engn Mech, Beijing 100084, Peoples R China
[2] Southern Univ Sci & Technol, Dept Mech & Aerosp Engn, Shenzhen 518055, Peoples R China
关键词
Lattice Boltzmann; Multiphase flow; GPU computing; Direct addressing; IMMISCIBLE 2-PHASE FLOW; COLOR-GRADIENT; RELATIVE PERMEABILITY; DENSITY RATIOS; MODELS;
D O I
10.1016/j.cpc.2023.108828
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
GPU accelerated lattice Boltzmann (LB) simulations of multiphase flow in porous media have become a powerful tool to study fluid displacement process in porous media. For porous structures with a very low porosity, indirect-addressing memory access methods are preferred due to significantly reduction of the memory footprint despite that those methods are more difficult to implement and the resulting performance may be more sensible to the computing architectures, such as cache hierarchy and size. The direct-addressing methods are straightforward to implement and are able to archive high throughput when the porosity is large, while the methods become less efficient when the structures are too sparse. Nevertheless, the direct-addressing methods combined with multi-block grid technique are promising for many applications. In this work, we present a hybrid-way to tackle multiphase flow simulations in porous media, where the direct-addressing method is employed for the main LB evolution while the indirect-addressing method is employed for the complex boundary conditions. The CSF-based LB color -gradient multiphase model and the geometry-based wetting model are employed to increase accuracy and stability. Thanks to the utilization of AA-pattern streaming scheme, non-slip boundary condition of arbitrary orientation can be enforced without extra cost. We perform comprehensive analysis of the computational performance of the present solver on NVIDIA GPUs. For typical sandstones, our results show that the present implementation is able to achieve over 1.5 speedup compared with other direct -addressing schemes on V100 and A100, respectively and, particularly, the computational performance of the boundary kernels is greatly increased thanks to the increased L2 cache size of the latest GPUs.& COPY; 2023 Elsevier B.V. All rights reserved.
引用
收藏
页数:13
相关论文
共 70 条
[1]   Geological Carbon Sequestration in the Context of Two-Phase Flow in Porous Media: A Review [J].
Abidoye, Luqman K. ;
Khudaida, Kamal J. ;
Das, Diganta B. .
CRITICAL REVIEWS IN ENVIRONMENTAL SCIENCE AND TECHNOLOGY, 2015, 45 (11) :1105-1147
[2]   Wetting boundary condition for the color-gradient lattice Boltzmann method: Validation with analytical and experimental data [J].
Akai, Takashi ;
Bijeljic, Branko ;
Blunt, Martin J. .
ADVANCES IN WATER RESOURCES, 2018, 116 :56-66
[3]  
AMD, 2022, AMD CDNA 2 architecture White Paper
[4]   Evaluating the Performance of NVIDIA's A100 Ampere GPU for Sparse and Batched Computations [J].
Anzt, Hartwig ;
Tsai, Yuhsiang M. ;
Abdelfattah, Ahmad ;
Cojean, Terry ;
Dongarra, Jack .
PROCEEDINGS OF 2020 IEEE/ACM PERFORMANCE MODELING, BENCHMARKING AND SIMULATION OF HIGH PERFORMANCE COMPUTER SYSTEMS (PMBS 2020), 2020, :26-38
[5]   Beyond Darcy's law: The role of phase topology and ganglion dynamics for two-fluid flow [J].
Armstrong, Ryan T. ;
McClure, James E. ;
Berrill, Mark A. ;
Rucker, Maja ;
Schlueter, Steffen ;
Berg, Steffen .
PHYSICAL REVIEW E, 2016, 94 (04)
[6]  
Bailey Peter, 2009, Proceedings of the 2009 International Conference on Parallel Processing (ICPP 2009), P550, DOI 10.1109/ICPP.2009.38
[7]   WALBERLA: A block-structured high-performance framework for multiphysics simulations [J].
Bauer, Martin ;
Eibl, Sebastian ;
Godenschwager, Christian ;
Kohl, Nils ;
Kuron, Michael ;
Rettinger, Christoph ;
Schornbaum, Florian ;
Schwarzmeier, Christoph ;
Thoennes, Dominik ;
Koestler, Harald ;
Ruede, Ulrich .
COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2021, 81 :478-501
[8]   A CONTINUUM METHOD FOR MODELING SURFACE-TENSION [J].
BRACKBILL, JU ;
KOTHE, DB ;
ZEMACH, C .
JOURNAL OF COMPUTATIONAL PHYSICS, 1992, 100 (02) :335-354
[9]   Permeability prediction of shale matrix reconstructed using the elementary building block model [J].
Chen, Li ;
Kang, Qinjun ;
Dai, Zhenxue ;
Viswanathan, Hari S. ;
Tao, Wenquan .
FUEL, 2015, 160 :346-356
[10]   A critical review of the pseudopotential multiphase lattice Boltzmann model: Methods and applications [J].
Chen, Li ;
Kang, Qinjun ;
Mu, Yutong ;
He, Ya-Ling ;
Tao, Wen-Quan .
INTERNATIONAL JOURNAL OF HEAT AND MASS TRANSFER, 2014, 76 :210-236