Abstract:
In order to realize the collision effect between fluid and cloth,a fast sampling method for cloth boundary is proposed.Firstly,the edges and interior of the cloth triangle are analyzed and sampled during the pretreatment process.Then the forces of sampling particles and fluid particles are calculated,and the forces of the sampled particles are applied to every vertex of the cloth triangle.Finally,the location and velocity of the fluid particles and the cloth particles are updated.To make the animation more realistic,GPU parallel computing is used to speed up the simulation.The experimental results show that the method can realize the bidirectional coupling of fluid and cloth,can simulate the interaction between different state of the cloth and fluid efficiently and steadily,and the method is effective and has strong applicability.