• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (07): 1231-1237.

• 论文 • Previous Articles     Next Articles

Fluid simulation method based on CPU-GPU hybrid acceleration                

HU Pengfei,YUAN Zhiyong,LIAO Xiangyun,ZHENG Qi,CHEN Erhu   

  1. (School of Computer,Wuhan University,Wuhan 430072,China)
  • Received:2013-07-15 Revised:2013-11-20 Online:2014-07-25 Published:2014-07-25

Abstract:

Fluid simulation based on the Smoothed Particle Hydrodynamics (SPH) plays an important role in the virtual reality, but it requires a lot of computing resources. The general methods are difficult to achieve the realtime requirement of fluid simulation based on SPH. The simulation of fluid consists of physical computing, collision detection and rendering and so on. The parallel computing based on GPU can speed up the computing and collision of particles and simulate the motion of fluid in real-time. In order to satisfy the realistic and real-time requirements, a novel fluid simulation method based on CPU-GPU hybrid acceleration is proposed, which consists of computing and rendering. The computing part of fluid simulation is accelerated by GPU, and the rendering part is accelerated by OpenMP running on CPU. The experiments show that the proposed hybrid acceleration method can significantly reduce the computing time in a fluid time step and complete rendering tasks more quickly.

Key words: fluid simulation;SPH;realtime simulation;OpenMP;CPU-GPU hybrid acceleration