为模拟不互溶液体之间的交互现象,提出了一种基于粒子的模拟方法.通过建立一个简单有效的液体间界面张力计算模型,并利用光滑粒子流体动力学的基本方法进行求解,实现了对多种不互溶液体间交互的快速模拟.通过2组实验分别模拟2种液体间和3种液体间的交互,并与传统SPH方法和Müller等人的方法进行了对比,验证了算法的优越性.计算界面张力所需的计算量非常小,能够快速真实地模拟多种液体交互的不互溶现象,可适用于多种图形、动画的具体应用.
The interactions between immiscible liquids,such as water and oil,are common in everyday life.In this paper,a particle-based method is proposed to simulate the phenomena emerging from multiple immiscible liquids interaction.Through establishing a simple and effective interfacial tension model for multiple liquids and using the essential method of the smoothed particle hydrodynamics,the realistic and fast interaction simulation for multiple immiscible liquids can be achieved.In experiments,the interaction process of one kind and two kinds of liquid droplets dropping into a tank of liquid are simulated respectively,and the proposed method is proven to be effective.In terms of the CPU times and simulation effects,the proposed method is compared with the regular SPH method and Müller et al.method,and it can be concluded that the proposed method is more suitable for immiscible simulation.The experimental results show that the overhead owing to the interfacial tension is trivial,and the proposed method is suitable for achieving the realistic and fast immiscible interactions simulation of multiple liquids and can be applied to a variety of applications of graphics.Further,the proposed interfacial tension model can be integrated easily into the existing fluid solvers;thus the cost of implementation is very low.