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 条
[21]   Lattice Boltzmann method for heat transfer in transitional flows with unified single-node curved boundary conditions [J].
Xiang, Xing ;
Wang, Limin .
INTERNATIONAL JOURNAL OF HEAT AND MASS TRANSFER, 2023, 210
[22]   A second-order accurate immersed boundary-lattice Boltzmann method for particle-laden flows [J].
Zhou, Qiang ;
Fan, Liang-Shih .
JOURNAL OF COMPUTATIONAL PHYSICS, 2014, 268 :269-301
[23]   A stress tensor discontinuity-based immersed boundary-lattice Boltzmann method [J].
Suzuki, Kosuke ;
Yoshino, Masato .
COMPUTERS & FLUIDS, 2018, 172 :593-608
[24]   A highly accurate GPU Lattice Boltzmann method with directional interpolation for the probability distribution functions [J].
Delgado-Gutierrez, Arturo ;
Marzocca, Pier ;
Cardenas, Diego ;
Probst, Oliver .
INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, 2020, 92 (12) :1778-1797
[25]   PARALLEL ACTIVE CONTOUR WITH LATTICE BOLTZMANN SCHEME ON MODERN GPU [J].
Sun, Xiuyu ;
Wang, Zhiqiang ;
Chen, George .
2012 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP 2012), 2012, :1709-1712
[26]   General bounce-back scheme for concentration boundary condition in the lattice-Boltzmann method [J].
Zhang, Ting ;
Shi, Baochang ;
Guo, Zhaoli ;
Chai, Zhenhua ;
Lu, Jianhua .
PHYSICAL REVIEW E, 2012, 85 (01)
[27]   Instability and treatments of the coupled discrete element and lattice Boltzmann method by the immersed moving boundary scheme [J].
Wang, Min ;
Feng, Y. T. ;
Qu, T. M. ;
Tao, Shi ;
Zhao, T. T. .
INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 2020, 121 (21) :4901-4919
[28]   Comparison of boundary slip for two variants of immersed boundary method in lattice Boltzmann framework [J].
Farnoush, Somayeh ;
Manzari, Mehrdad T. .
PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 2014, 404 :200-216
[29]   Boundary treatment for the lattice Boltzmann method using adaptive relaxation times [J].
Lee, JiSeok ;
Lee, SangHwan .
COMPUTERS & FLUIDS, 2010, 39 (05) :900-909
[30]   Boundary conditions of the lattice Boltzmann method for convection-diffusion equations [J].
Huang, Juntao ;
Yong, Wen-An .
JOURNAL OF COMPUTATIONAL PHYSICS, 2015, 300 :70-91