A highly-efficient locally encoded boundary scheme for lattice Boltzmann method on GPU

被引:2
作者
Zhang, Zehua [1 ]
Peng, Cheng [2 ]
Li, Chengxiang [1 ,3 ]
Zhang, Hua [1 ,4 ]
Xian, Tao [1 ]
Wang, Lian-Ping [1 ]
机构
[1] Southern Univ Sci & Technol, Dept Mech & Aerosp Engn, Ctr Complex Flows & Soft Matter Res, Guangdong Prov Key Lab Turbulence Res & Applicat, Shenzhen 518055, Peoples R China
[2] Shandong Univ, Minist Educ, Sch Mech Engn, Key Lab High Efficiency & Clean Mech Manufacture, Jinan 250061, Peoples R China
[3] Hong Kong Univ Sci & Technol, Dept Mech & Aerosp Engn, Hong Kong, Hong Kong, Peoples R China
[4] Natl Univ Singapore, Dept Mech Engn, 10 Kent Ridge Crescent, Singapore 119260, Singapore
基金
中国国家自然科学基金;
关键词
Lattice Boltzmann method; Graphics processing unit; CUDA; Boundary scheme; PARTICULATE SUSPENSIONS; NUMERICAL SIMULATIONS; IMPLEMENTATION; EQUATION; FLUID;
D O I
10.1016/j.cpc.2024.109119
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The lattice Boltzmann method (LBM) is an algorithm to simulate fluid flows with the advantage of locality and simplicity, which is suitable for GPU acceleration and simulation of complex flows. However, LBM simulations involving complex solid boundaries require each boundary node to be aware of the types of all its neighbor nodes, i.e., fluid or solid, during the execution of boundary conditions, which involves tremendous data transfer between global and local memory on GPU. Such data transfer operations constitute a large portion of consumed time and can significantly affect simulation efficiency. This article proposes a novel boundary processing scheme that encodes the neighbor nodes' information into a single integer and stores it on the local node. We choose two- and three-dimensional porous -medium flows to test the performance of the proposed scheme on complex boundary geometries and compare it with the usual schemes that retrieve information redundantly from neighbors. The comparison shows that our proposed scheme can improve the overall computing efficiency by up to 40% for 3D flow simulations through porous media. Such improvement is achieved by reducing time consumption on data transfer.
引用
收藏
页数:11
相关论文
共 50 条
[41]   A comparative study of immersed boundary method and interpolated bounce-back scheme for no-slip boundary treatment in the lattice Boltzmann method: Part I, laminar flows [J].
Peng, Cheng ;
Ayala, Orlando M. ;
Wang, Lian-Ping .
COMPUTERS & FLUIDS, 2019, 192
[42]   A curved lattice Boltzmann boundary scheme for thermal convective flows with Neumann boundary condition [J].
Tao, Shi ;
Xu, Ao ;
He, Qing ;
Chen, Baiman ;
Qin, Frank G. F. .
INTERNATIONAL JOURNAL OF HEAT AND MASS TRANSFER, 2020, 150
[43]   A simple and efficient parallel immersed boundary-lattice Boltzmann method for fully resolved simulations of incompressible settling suspensions [J].
Jiang, Maoqiang ;
Li, Jing ;
Liu, Zhaohui .
COMPUTERS & FLUIDS, 2022, 237
[44]   GPU accelerated lattice Boltzmann method in neutron kinetics problems II: Neutron transport calculation [J].
Wang, Yahui ;
Ma, Yu ;
Xie, Ming .
ANNALS OF NUCLEAR ENERGY, 2019, 134 :305-317
[45]   An out-of-core method for physical simulations on a multi-GPU architecture using Lattice Boltzmann method [J].
Duchateau, Julien ;
Rousselle, Francois ;
Maquignon, Nicolas ;
Roussel, Gilles ;
Renaud, Christophe .
2016 INT IEEE CONFERENCES ON UBIQUITOUS INTELLIGENCE & COMPUTING, ADVANCED & TRUSTED COMPUTING, SCALABLE COMPUTING AND COMMUNICATIONS, CLOUD AND BIG DATA COMPUTING, INTERNET OF PEOPLE, AND SMART WORLD CONGRESS (UIC/ATC/SCALCOM/CBDCOM/IOP/SMARTWORLD), 2016, :581-588
[46]   Second-order curved boundary treatments of the lattice Boltzmann method for convection-diffusion equations [J].
Huang, Juntao ;
Hu, Zexi ;
Yong, Wen-An .
JOURNAL OF COMPUTATIONAL PHYSICS, 2016, 310 :26-44
[47]   VECTOR-TYPE BOUNDARY SCHEMES FOR THE LATTICE BOLTZMANN METHOD BASED ON VECTOR-BGK MODELS [J].
Zhao, Jin ;
Zhang, Zhimin ;
Yong, Wen-An .
SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2020, 42 (05) :B1250-B1270
[48]   Dirichlet and Neumann boundary conditions for a lattice Boltzmann scheme for linear elastic solids on arbitrary domains [J].
Boolakee, Oliver ;
Geier, Martin ;
De Lorenzis, Laura .
COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 2023, 415
[49]   Vectorial finite-difference-based lattice Boltzmann method: Consistency, boundary schemes and stability analysis [J].
Zhao, Jin ;
Yong, Wen-An .
JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 2024, 441
[50]   Characterization of Nanoparticle Dispersion in Red Blood Cell Suspension by the Lattice Boltzmann-Immersed Boundary Method [J].
Tan, Jifu ;
Keller, Wesley ;
Sohrabi, Salman ;
Yang, Jie ;
Liu, Yaling .
NANOMATERIALS, 2016, 6 (02)