Abstract:In view of the low efficiency and lack of real details in the process of the fluid interaction simulation based on SPH (Smoothed Particle Hydrodynamics), an interactive simulation method based on position-based fluid is proposed to simulate rigid body tool and fluid. This method is improved on the basis of the traditional SPH algorithm, and the interactive process is simulated in real time based on CUDA parallel computing platform. Then, the real-time output interaction force is combined with force interaction device. The experimental results show that the interaction force in the simulation process is in accordance with the expectation, and the continuity and stability of the interaction force are verified under the premise of ensuring the accuracy of the fluid simulation.