Journal of System Simulation ›› 2016, Vol. 28 ›› Issue (10): 2467-2475.

Previous Articles     Next Articles

Real Time Fluid Simulation Framework Based on DirectCompute

Liu Lu1, Liu Zhen1, He Gaoqi2, Chen Tian3, Liu Tingting1, Liu Cuijuan1   

  1. 1. Faculty of Electrical Engineering and Computer Science of Ningbo University, Ningbo 315211, China;
    2. Department of Computer Science and Engineering, East China University of Science and Technology, Shanghai 200237, China;
    3. Shanghai Dianji University, Shanghai 200000, China
  • Received:2016-05-31 Revised:2016-07-09 Online:2016-10-08 Published:2020-08-13

Abstract: A real time fluid simulation framework based on DirectCompute acceleration was proposed to solve problems of low simulation efficiency that caused by the increasing fluid particle size and long processing time that caused by the complex solid-liquid boundary. In the simulation, a grid local collision detection method was adopted to speed up the search for the solid-liquid boundary. Fluid calculation, collision detection and surface reconstruction were computed parallel in the GPU with DirectCompute technology to accelerate the SPH fluid simulation. It could optimize the storage structure of fluid simulation, and save the storage space. Experimental results show that the framework can effectively improve the fluid simulation speed with more complex static scene, and can show the details of the fluid spray.

Key words: fluid simulation, smoothed particle hydrodynamics, collision detection, GPU acceleration

CLC Number: