• 中国期刊全文数据库
  • 中国学术期刊综合评价数据库
  • 中国科技论文与引文数据库
  • 中华核心期刊(遴选)数据库
WEI Huajian, ZHANG Qianyi, ZHANG Jingjing, et al. Optimization of LBM computing program based on object-oriented CUDA architecture[J]. Journal of Guilin University of Electronic Technology, 2024, 44(6): 579-584. DOI: 10.16725/j.1673-808X.2021452
Citation: WEI Huajian, ZHANG Qianyi, ZHANG Jingjing, et al. Optimization of LBM computing program based on object-oriented CUDA architecture[J]. Journal of Guilin University of Electronic Technology, 2024, 44(6): 579-584. DOI: 10.16725/j.1673-808X.2021452

Optimization of LBM computing program based on object-oriented CUDA architecture

  • Lattice Boltzmann method (LBM) is a novel and promising computational fluid dynamics method, which has natural advantages. From the perspective of algorithm, the iterative process can be divided into parallel programs with multiple subproblems. In order to obtain extremely fast data processing speed, the iterative process is computed by high-performance graphics processing unit(GPU). At the same time, the efficient implementation of GPU-based LBM method has been widely reported, so it is very suitable for high performance image processor (GPU) calculation to obtain extremely fast data processing speed. The program environment is C++ as the programming language, the CUDA program structure is optimized by object-oriented thinking, the coupling of the program is reduced, and the sustainable development of the program is endowed. Poiseuille flow model is used to verify the stability and accuracy of the optimization program. During the program running, CUDA kernel functions are called to deal with the collision within the model, migration flow and iterative process of calculating macro quantities. Meanwhile, shared memory is used to store GPU runtime data to improve computing efficiency. Analysis of the data show that computing speeds are up to 70 times faster than those of the central processing unit (CPU), thanks to the GPU's high-performance parallel computing capabilities.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return