上海交通大学学报(自然版) ›› 2014, Vol. 48 ›› Issue (09): 1329-1333.

• 数理科学和化学 • 上一篇    下一篇

桌面计算机上利用格子Boltzmann方法的GPU计算

刘强,谢伟,邱辽原,解学参   

  1. (中国舰船研究设计中心, 湖北 武汉 430064)
  • 收稿日期:2013-09-01
  • 基金资助:

    国家自然科学基金项目(51079032)资助

Graphic Processing Unit Computing of Lattice Boltzmann Method on a Desktop Computer

LIU Qiang,XIE Wei,QIU Liaoyuan,XIE Xueshen   

  1. (China Ship Development and Design Center, Wuhan 430064, China)
  • Received:2013-09-01

摘要:

介绍了在桌面计算机上利用格子Boltzmann方法(LBM)与图形处理器(GPU)计算的发展背景,分析了LBM的标准形式及其天生并行特性的成因,介绍了所采用的CUDA编程模型及Kepler计算架构.为了验证桌面计算机上利用LBM的GPU计算的应用能力,对二维方柱绕流问题进行了数值模拟,并将模拟结果与有限体积法的计算结果进行对比.结果表明:对于方柱绕流问题,GPU计算的模拟计算效率约为CPU计算的3.4倍,桌面计算机上利用LBM的GPU计算具有一定的通用科学计算能力.

关键词: 格子Boltzmann方法, 图形处理器, 计算流体力学, 方柱绕流, 高性能计算

Abstract:

Development background of the combination of lattice Boltzmann method (LBM) and graphic processing unit (GPU) computing on a desktop computer was discussed. A detailed analysis was conducted of the standard LBM form and the reason of its natural parallelism. The CUDA programming model and the Kepler computing architecture used in the computing were expounded. In order to verify the application capacity of GPU computing of LBM on a desktop computer, numerical simulations of two-dimensional flow around a square cylinder were conducted, and simulation results with the finite volume method calculation results were compared. The results show that as for the problem of twodimensional flow around a square cylinder, computational efficiency of GPU computing is approximately 3.4 times of central processing unit (CPU) computing, which proved the computing capacity of GPU computing of LBM on desktop computers to universal scientific computing.

Key words: lattice Boltzmann method (LBM), graphic processing unit (GPU), computational fluid dynamics, flow around a square cylinder, high performance computing

中图分类号: