|
计算机应用 2009
CPU-GPU parallel computed fire simulation
|
Abstract:
The Smoothed Particle Hydrodynamics (SPH) method based on the particle interpolation was used to simulate the fire fluid. The Graphic Processing Unit (GPU) was utilized to accelerate the simulation, and the CPU was utilized to parallel search the neighbourhoods of each particle and control the particles' birth rate. Moreover, the vorticity field was added to the SPH model efficiently, which improved the details of particles' movement. In the final rendering period, the color field, directional point splatting and color refining technologies were applied to obtain a smoothed image of fire from discrete locations of particles. As the method belongs to Lagrangian method for simulating fluid, the fire is almost real in physical. And as the architecture is the GPU computation with auxiliary CPU, the simulation can be implemented in real-time.