航空学报 > 2020, Vol. 41 Issue (8): 123626-123626   doi: 10.7527/S1000-6893.2019.23626

一种基于聚类分析的二维激波模式识别算法

常思源, 白晓征, 刘君   

  1. 大连理工大学 航空航天学院, 大连 116024
  • 收稿日期:2019-11-04 修回日期:2019-11-19 出版日期:2020-08-15 发布日期:2019-12-19
  • 通讯作者: 刘君 E-mail:liujun65@dlut.edu.cn
  • 基金资助:
    国家数值风洞项目(NNW2018-ZT4B09);国家自然科学基金(11872144)

A two-dimensional shock wave pattern recognition algorithm based on cluster analysis

CHANG Siyuan, BAI Xiaozheng, LIU Jun   

  1. School of Aeronautics and Astronautics, Dalian University of Technology, Dalian 116024, China
  • Received:2019-11-04 Revised:2019-11-19 Online:2020-08-15 Published:2019-12-19
  • Supported by:
    National Numerical Wind Tunnel Project (NNW2018-ZT4B09);National Natural Science Foundation of China (11872144)

摘要: 在激波捕捉求解器计算的可压缩无黏流场基础上,提出了一种探测并识别二维激波干扰模式的新算法,从3个层面详细介绍了该算法的实施流程。首先,采用基于当地流场参数设计的传统激波探测方法,辨识出激波附近的一系列网格单元;其次,通过经典的K-means聚类算法将这些激波单元划分成许多簇,并根据簇的相邻信息定义每个簇的类别;最后,设定相关准则对某些紧邻的簇进行合并,进而确定各个激波干扰点的位置,记录各条激波分支所对应的簇,采用Bézier曲线拟合算法分别对其聚类中心进行拟合以获取更加光滑的激波线。数值试验表明,该算法不受网格类型的限制,不仅可以保证最终拟合的激波线具有较高的位置精度,还可以清晰地识别出流场中多激波干扰的模式,同时对分析非定常流场中激波的运动与演化过程也提供了一种有效的可视化手段。

关键词: 激波捕捉, 激波探测, 聚类分析, 计算流体力学, 激波干扰, 非定常流动

Abstract: Based on compressible and inviscid flow solutions computed by shock-capturing solvers, a new technique for detecting and recognizing two-dimensional shock wave interaction patterns is proposed. The implementation process of this algorithm is illustrated from three aspects. Firstly, using a traditional shock wave detection approach based on local flow parameters, a series of grid-cells near the shock waves are identified. Next, the shock cells are divided into various clusters by means of a classical K-means clustering algorithm, and the category of each cluster is defined according to its adjacent information. Finally, a criterion is introduced to merge related adjacent clusters and to further determine the locations of shock interaction points. The clusters contained in each shock wave are recorded, and then all the fitting shock lines can be obtained by the Bézier curve algorithm. Numerical experiments show that this newly developed technique can be used in different types of mesh, The new technique produces fitted shock lines with high quality and positional accuracy. Meanwhile, the multiple shock wave interaction patterns are clearly recognized and provide a good visualization method for analyzing the motion and evolution of shock waves in complex, unsteady flow.

Key words: shock-capturing, shock wave detection, cluster analysis, computational fluid dynamics, shock interaction, unsteady flow

中图分类号: