自然现象的真实感仿真在虚拟现实、影视特效、仿真训练等领域有着广泛的应用.凝结是一种常见的热交换现象,针对传统方法基于几何对于空气的描述模型不够准确,无法恢复细节,也未考虑凝结中动态相变的特点的问题,提出使用光滑粒子流体动力学,基于物理模型进行空气热交换现象的真实感仿真方法.首先基于光滑粒子流体力学模型进行空气和参与热交换物体的离散化;然后使用粒子筛选机制和优化的边界处理方法完善了粒子热交换的机制;最后引入大气压摩擦力和湿度扩散模型,逼真地描述动态的凝结相变过程.实验结果表明,该方法可以真实、高效地反映真实感的现象,绘制速度也较快.
Realistic natural phenomenon has a wide range of applications in virtual reality,video effect,training simulation,etc.Traditional methods based on geometric description of the air model could not restore the details,and the dynamic phase transition in condensation was ignored.In this paper,we adopt smooth particle hydrodynamic to model air flow and simulate the realistic heat exchange of air based on the physics.We discretize the air and objects involved in the heat exchange based on SPH.A particle filtering mechanism and an improved boundary method are used to accelerate the calculation of particle movement.Atmospheric pressure friction and moisture diffusion are introduced to describe the dynamic phase transformation process of condensation vividly.Through experiments and analyzation,our method can simulate the real scene distinctly and efficiently.