General purpose graphics process unit (GPGPU) which based on the graphics card has become a hotspot in the area of parallel computing and fast rendering. Lattice Boltzmann method (LBM), a newly introduced method for computer fluid dynamics with high parallelism, is commonly applied to physics-based fluid simulation with expandability to complex boundaries and obstacles model but complex computation. The fluid simulation is accelerated by GPGPU and the framework of fluid simulation based on graphics process unit (GPU) is presented. And the LBM D2Q9 and D3Q15 model used in real-time fluid flow around obstacles simulation is realized.%基于显卡的通用计算(GPGPU)是近年来并行计算和快速绘制的热点.格子Boltzmann方法(LBM)作为流体动力学的新方法,其并行性好,常常用于基于物理的流体模拟,且具有适用于复杂边界障碍的特性,但计算较为复杂.利用GPGPU技术来加速LBM的流体计算模型,构建了基于图形处理器(GPU)的流体计算框架,实现了格子Boltzmann计算的D2Q9和D3Q15模型,并用于实时的障碍绕流模拟.
展开▼