Journal of Guangxi Normal University(Natural Science Edition) ›› 2012, Vol. 30 ›› Issue (4): 18-24.

Previous Articles     Next Articles

Implementation of the Acceleration Simulation with Lattice Boltzmann Method Based on CUDA

QIN Zhang-rong1, ZHANG Chao-ying1, QIU Bin2, LI Yuan-yuan1, MO Liu-liu1   

  1. 1.College of Computer Science and Information Engineering,Guangxi Normal University,Guilin Guangxi 541004,China;
    2.Guangxi College of Water Resources and Electic Power,Nanning Guangxi 530023,China
  • Received:2012-07-16 Published:2018-11-27

Abstract: In recent years,there are more and more research on implementing LBM accelerating computation on the GPU of a PC's graphics card with CUDA technology is getting more attention.But the detailed algorithm and the analysis of computational performance which compute parallelly on a GPU with different memory are rarely studied.In thispaper,by using different memory on a GPU,the parallel computing of LBM was implemented and the detailed algorithms are provided.Taking the plane Poiseuilleflow as a test example,the parallel computation of the LBM is implemented on a NVIDIA GeForce GTS 450 GPU and an Intel Core i5-760 quad-core CPU on a PC respectively.Both computing results have good agreement and the highest speedup of GPU is about 107 times faster than that of CPU.The result indicates parallel computation of the LBM on GPU is completely feasible and the accelerating performance is very significant,which provides a very effective way to solve the complex problem of the modern computational fluid dynamics in a low cost computer.

Key words: GPU, CUDA, lattice Boltzmann method, plane Poiseuille flow

CLC Number: 

  • O357
[1] CHEN Shi-yi,DOOLEN G D.Lattice Boltzmann method for fluid flows[J].Ann Rev Fluid Mech,1998,30:329-364.
[2] 闻炳海,张超英,刘海燕,等.大血管中血液流动的LBM模拟[J].广西师范大学学报:自然科学版,2008,26(4):22-25.
[3] 邱冰,王立龙,薛泽,等.用晶格Boltzmann方法研究微血管脉动流中悬浮颗粒运动特征的转变[J].广西师范大学学报:自然科学版,2011,29(4):7-11.
[4] 郑彦奎,刘沙,熊生伟,等.Lattice Boltzmann方腔模型的CUDA加速实现[J].科学技术与工程,2010,10(7):1684-1688.
[5] 张云,王小伟,葛蔚,等.多松弛时间格子Boltzmann方法在GPU上的实现[J].计算机与应用化学,2011,28(3):265-269.
[6] TO¨LKE J,KRAFCZYK M.TeraFLOP computing on a desktop PC with GPUs for 3D CFD[J].International Journal of Computational Fluid Dynamics,2008,22(7):443-456.
[7] 李博,李曦鹏,张云,等.耦合Nvidia/AMD两类GPU的格子玻尔兹曼模拟[J].科学通报,2009,54(20):3177-3184.
[8] NVIDIA Corporation.NVIDIA CUDA C Programming Guide,version 4.2[EB/OL].(2012-5-10)[2012-7-16].http://developer.download.nvidia.com/compute/DevZone/docs/html/C/doc/CUDACProgrammingGuide.pdf.
[9] CHEN Shi-yi,CHEN Hu-dong,MARTINE D O,et al.Lattice Boltzmann model for simulation of magnetohydrodyna-mics[J].Phys Rev Lett,1991,67(27):3776-3781.
[10] FILIPPOVA O,HANEL D.Lattice Boltzmann simulation of gas-particleflow in filters[J].Comput Flui,1997,26(7):697-712.
[1] LING Fengru, ZHANG Chaoying, CHEN Yanyan, QIN Zhangrong. A Unified Boundary Condition Based on the Halfway Bounce-back Scheme in Lattice Boltzmann Method [J]. Journal of Guangxi Normal University(Natural Science Edition), 2020, 38(1): 70-78.
[2] ZHOU Ronglong,LUO Yuling,BI Jinjie,CEN Mingcan,QIU Senhui,LIAO Zhixian. Applications of Image Parallel Encryption Algorithm in Handheld Devices [J]. Journal of Guangxi Normal University(Natural Science Edition), 2019, 37(3): 60-70.
[3] ZHANG Lisheng, ZHANG Zhiyong, MA Kaihua, LI Guofang. Studying Oscillations in Convection Cahn-Hilliard System with Improved Lattice Boltzmann Model [J]. Journal of Guangxi Normal University(Natural Science Edition), 2019, 37(2): 15-26.
[4] QIU Wen, YE Yong, ZHOU Sihao, WEN Binghai. Contact Angle in Micro Droplet Deformation Based on Lattice Boltzmann Method [J]. Journal of Guangxi Normal University(Natural Science Edition), 2019, 37(2): 27-37.
[5] HUANG Bingfang,WEN Binghai,QIU Wen,ZHAO Wanling,CHEN Yanyan. Research on Real Time Measurement of Contact Angle Based on Lattice Boltzmann Method [J]. Journal of Guangxi Normal University(Natural Science Edition), 2018, 36(1): 34-43.
[6] ZHANG Chao-ying, LI Bing-hua, QIN Zhang-rong. Designing of Comprehensive Optimization Parallel Algorithm for Lattice Boltzmann Method Based on CUDA [J]. Journal of Guangxi Normal University(Natural Science Edition), 2012, 30(3): 142-148.
[7] QIU Bing, WANG Li-long, XUE Ze, LI Hua-bing. Kinetics Characteristic Transitionof Suspended Particle in a Pulsating Flow in Microvessel by Lattice Boltzmann Simulation [J]. Journal of Guangxi Normal University(Natural Science Edition), 2011, 29(4): 7-11.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!