对于流体和其他物体的交互,提出了一种基于Lattice Boltzmann的建模和绘制方法。针对固、液交互提出了外力叠加机制,考虑了障碍物对流体的单向作用;在液、液交互时考虑了两种液体的相互作用力。采用GPU硬件加速技术对LBM算法进行了加速,并采用基于屏幕空间的绘制技术对流体表面进行了绘制。实现了两种不相溶液体交互,以及液体与固体交互场景的模拟。
This paper presented a method of Lattice Boltzmann based fluid simulation in computer animation. It adopted exter- nal stack mechanism with considering the force exerted by the obstacle and the cohesion force between particles, respectively for the interaction between fluid and solid obstacle, and one fluid interaction with the other fluid. Then, it accelerated the al- gorithm with graphics process unit and rendered the fluid based the screen space method. Finally, it simulated the scene of flu- id interaction with some other thing.