摘要
烟雾模拟是计算机动画模拟的重要组成部分。在模拟过程中保证实时性和稳定性是烟雾动画模拟的一个重要方面。该文的目的是在计算机上模拟出真实感的烟雾。文中采用无粘不可压欧拉方程作为烟雾的基本物理模型,对这种简化的流体方程求解可以加快计算的速度,使模拟的速度加快。数值上,引入了CIP方法的一种改进形式USCIP方法来求解N-S方程的对流项,该方法是无条件稳定的。求解方法的稳定实现了大时间步长模拟,保证了模拟实时性和稳定性,最后模拟得到二维的烟雾效果。实验证明本方法能实时稳定地模拟出具有真实感的二维烟雾效果。
The smoke simulation plays an important role in computer animation. During the smoke simulation, stability to ensure realtime simulation is an important aspect. The purpose of this paper is to simulate realistic smoke on the computer. Use the inviscid and incompressible Euler equations as a basic physical model of smoke, solving the simplified fluid equation can accelerate the speed of calculation, then speed up the speed of the simulation. Numerically, the USCIP method which is a modified form the CIP method, is proposed to solve the advection item of Navier-Stokes. The method is unconditionally stable. The big time step can be taken to ensure real-time simulation. Finally, get the simulation results of 2D smoke. The experiment shows that the algorithm is simple and stable to achieve photorealistic 2D smoke simulation in real time.
出处
《计算机技术与发展》
2011年第5期91-94,共4页
Computer Technology and Development
基金
安徽省自然科学基金(090412045)