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

被引:1
|
作者
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 条
  • [1] An efficient unified iterative scheme for moving boundaries in lattice Boltzmann method
    Hu, Junjie
    Tao, Shi
    Guo, Zhaoli
    COMPUTERS & FLUIDS, 2017, 144 : 34 - 43
  • [2] An improved bounce-back scheme for complex boundary conditions in lattice Boltzmann method
    Yin, Xuewen
    Zhang, Junfeng
    JOURNAL OF COMPUTATIONAL PHYSICS, 2012, 231 (11) : 4295 - 4303
  • [3] Particle sedimentation using hybrid Lattice Boltzmann-immersed boundary method scheme
    Habte, Mussie A.
    Wu, ChuiJie
    POWDER TECHNOLOGY, 2017, 315 : 486 - 498
  • [4] An Efficient GPU Algorithm for Lattice Boltzmann Method on Sparse Complex Geometries
    Qin, Zhangrong
    Lu, Xusheng
    Lv, Long
    Tang, Zhongxiang
    Wen, Binghai
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2025, 36 (02) : 239 - 252
  • [5] A simple and efficient curved boundary scheme of the lattice Boltzmann method for Robin boundary conditions of convection-diffusion equations
    Xie, Xinyuan
    Zhao, Weifeng
    Lin, Ping
    APPLIED MATHEMATICS LETTERS, 2021, 122
  • [6] GPU implementation of lattice Boltzmann method for flows with curved boundaries
    Zhou, Hao
    Mo, Guiyuan
    Wu, Feng
    Zhao, Jiapei
    Rui, Miao
    Cen, Kefa
    COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 2012, 225 : 65 - 73
  • [7] Analysis and comparison of boundary condition variants in the free-surface lattice Boltzmann method
    Schwarzmeier, Christoph
    Ruede, Ulrich
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, 2023, 95 (05) : 820 - 850
  • [8] An exact non-equilibrium extrapolation scheme for pressure and velocity boundary conditions with large gradients in the lattice Boltzmann method
    Ju, Long
    Shan, Baochao
    Yang, Zhou
    Guo, Zhaoli
    COMPUTERS & FLUIDS, 2021, 231
  • [9] GPU acceleration of FSI simulations by the immersed boundary-lattice Boltzmann coupling scheme
    Wu, Jiayang
    Cheng, Yongguang
    Zhou, Wei
    Zhang, Chunze
    Diao, Wei
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2019, 78 (04) : 1194 - 1205
  • [10] Boundary conditions for free interfaces with the lattice Boltzmann method
    Bogner, Simon
    Ammer, Regina
    Ruede, Ulrich
    JOURNAL OF COMPUTATIONAL PHYSICS, 2015, 297 : 1 - 12