航空学报 > 2000, Vol. 21 Issue (2): 179-182

CFD计算结果的静态及动态可视化显示方法

范彦斌1, 孟光1, 沈自林1, 杨彭基2   

  1. 1. 佛山大学机电工程学院, 广东佛山 528000;2. 西北工业大学CAD/ CAM 中心, 陕西西安 710072
  • 收稿日期:1999-04-20 修回日期:1999-08-01 出版日期:2000-04-25 发布日期:2000-04-25

VISUALIZATION AND ANIMATION OF CFD RESULTS

FAN Yan-bin1, MENG Guang1, SHEN Zi-lin1, YANG Peng-ji2   

  1. 1. School of Mechatronics Engineering, Foshan University, Foshan\ 528000, China;2. CAD/CAM Research Center, Northwestern Polytechnical University, Xi'an\ 710072, China
  • Received:1999-04-20 Revised:1999-08-01 Online:2000-04-25 Published:2000-04-25

摘要:

针对某翼型设计的 CFD计算结果,采用色调连续变化的图像映射方法,基于划分的计算网格,提出了三角单元结构的抽取和将 Gouraud-Shading与质心坐标插值法相结合的扫描线转换算法,并根据 HSV颜色模型的特点建立了可视化标量与颜色值之间的两种线性对应关系,在此基础上实现了翼型设计的 CFD计算结果中流体流函数和旋涡强度二维标量场的静态和动态可视化显示,实例证明了算法的有效性。

关键词: 科学计算可视化, 计算流体动力学, 计算机图形学

Abstract:

Based on the divided computing nets in computational fluid dynamic(CFD) and by using the continued color shading algorithms, the paper identifies the steps involved in the scientific visualization and animation of CFD results in 2D scalar data fields. The methods of the triangle element division from general rectangle elements and the shading algorithm combined with Gouraud-Shading and barycentric interpolation are described in detail in this paper. According to the characteristics and properties of HSV color model in the computer graphics, the two different kinds of linear interpolations between scalar data and used color value are used to visualize the CFD results in the form of static state and dynamic state. As an example, the procedure to simulate the changes of fluid function and turbulence strength values resulting from CFD for a wing section is presented to demonstrate that the proposed methods are viable.

Key words: visualization in scientific computing, computer graphics, comput ationalfluid dynamic