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 条
[31]   An alternative second order scheme for curved boundary condition in lattice Boltzmann method [J].
Zhang, Liangqi ;
Zeng, Zhong ;
Xie, Haiqiong ;
Tao, Xutang ;
Zhang, Yongxiang ;
Lu, Yiyu ;
Yoshikawa, Akira ;
Kawazoe, Yoshiyuki .
COMPUTERS & FLUIDS, 2015, 114 :193-202
[32]   An improved curved boundary scheme for pseudopotential lattice Boltzmann method with different wettability [J].
Zhang, Ying ;
Hu, Heng ;
Zhao, Wandong ;
Li, Qing ;
Tian, Yuan .
PHYSICS OF FLUIDS, 2025, 37 (05)
[33]   A discrete reactive collision scheme for the lattice Boltzmann method [J].
Pribec, Ivan ;
Hubman, Anze ;
Urbic, Tomaz ;
Plazl, Igor .
JOURNAL OF MOLECULAR LIQUIDS, 2021, 332
[34]   A New Approach to Reduce Memory Consumption in Lattice Boltzmann Method on GPU [J].
Sheida, M. ;
Taeibi-Rahni, M. ;
Esfahanian, V. .
JOURNAL OF APPLIED FLUID MECHANICS, 2017, 10 (01) :55-67
[35]   Sailfish: A flexible multi-GPU implementation of the lattice Boltzmann method [J].
Januszewski, M. ;
Kostur, M. .
COMPUTER PHYSICS COMMUNICATIONS, 2014, 185 (09) :2350-2368
[36]   Physically based visual simulation of the Lattice Boltzmann method on the GPU: a survey [J].
Navarro-Hinojosa, Octavio ;
Ruiz-Loza, Sergio ;
Alencastre-Miranda, Moises .
JOURNAL OF SUPERCOMPUTING, 2018, 74 (07) :3441-3467
[37]   Boundary Treatments in Lattice Boltzmann Method [J].
Wang, Z. D. ;
Yang, J. F. ;
Wei, Y. K. ;
Qian, Y. H. .
SIXTH INTERNATIONAL CONFERENCE ON NONLINEAR MECHANICS (ICNM-VI), 2013, :257-260
[38]   GPU Accelerated Blood Flow Computation using the Lattice Boltzmann Method [J].
Nita, Cosmin ;
Itu, Lucian Mihai ;
Suciu, Constantin ;
Suciu, Constantin .
2013 IEEE CONFERENCE ON HIGH PERFORMANCE EXTREME COMPUTING (HPEC), 2013,
[39]   The TheLMA project: Multi-GPU implementation of the lattice Boltzmann method [J].
Obrecht, Christian ;
Kuznik, Frederic ;
Tourancheau, Bernard ;
Roux, Jean-Jacques .
INTERNATIONAL JOURNAL OF HIGH PERFORMANCE COMPUTING APPLICATIONS, 2011, 25 (03) :295-303
[40]   A Scalable Moving Boundary Treatment in the Lattice Boltzmann Method [J].
He, Peng ;
Xie, Jiang ;
Wang, Liangjun ;
Zhang, Wu .
APPLIED SCIENCES-BASEL, 2021, 11 (20)