提出一种基于GPU的非牛顿流体自由表面绘制方法。首先,分析了非牛顿流体的物理模型,将流体的运动规律用合理的数学表达式进行描述:其次,针对非牛顿流体的特点设计了合理的可视模型,提出了流体运动及自由表面的绘制方法,并且设计了相应的GPU实现算法:最后的实验证明了算法在合理的时间内能完全逼真的对非牛顿流体的自由表面进行真实的再现。算法充分吸收了以往方法的优点,采用了合理的数学模型,并利用GPU的运算特性实现了非牛顿流体自由表面的绘制,在绘制效果和效率上较以往算法都有较大改进。
A rendering algorithm of non-Newtonian fluid free surface on the GPU is presented in this paper. Firstly,physical model of non-Newtonian fluid is analyzed;the model is expressed by rational mathematic functions. Secondly,one good visualization method of non-Newtonian fluid dynamics simulation on the GPU is presented. Finally,the results of the test prove that the new algorithm can simulate non-Newtonian free surface well in short time.The new algorithm absorb the strong points of several methods,use the rational mathematic functions,realize non-Newtonian free surface on the GPU,the simulation effect is good and efficient.