摘要
烟雾作为大规模虚拟战场和复杂环境仿真中的重要组成部分,对其进行模拟具有重要的意义.针对基于物理方法烟雾模拟中Navier-Stokes方程求解复杂、影响实时性的问题,提出用MacCormack求解Navier-Stokes方程对流项的方法.首先利用前向对流算子求解前向烟雾速度,然后利用后向对流算子求解后向烟雾速度,最后通过误差评估来修正已经计算的前向对流速度,得到下一时刻的烟雾速度.该方法简化了进退误差补偿修正方法对直接影响烟雾模拟实时性和真实性的对流项的求解步骤,从而减少计算时间.实验结果表明,采用文中方法模拟出的效果比较真实,且使基于物理方法的烟雾模拟达到了实时性的要求.
The smoke simulation plays an important role in the virtual simulation of a large-scale complicated environment such as a battlefield, where real-time simulation is hardly achieved due to the complication and intensive computation in solving the Navier Stokes equation. The MacCormack method is proposed to solving the advection item of Navier-Stokes. By the method, first, the forward advection operator is applied to get the forward smoke velocity, and then, the backward advection operator is applied to get the backward smoke velocity. Finally, the calculated forward advection data is corrected according to the estimated error. By the new method, the processing steps in the method of back and forth error compensation and correction during solving the advection item can be substantially reduced. Experimental results show that the optimization can be applied to obtain better visual effects, and achieve real time simulation through reduction of the computing time in the simulation.
出处
《计算机辅助设计与图形学学报》
EI
CSCD
北大核心
2010年第4期724-728,共5页
Journal of Computer-Aided Design & Computer Graphics
基金
国家"八六三"高技术研究发展计划
国家自然科学基金(60970073)