航空学报 > 2015, Vol. 36 Issue (10): 3218-3227   doi: 10.7527/S1000-6893.2015.0035

CFD数学模型的线性化方法及其应用

屈崑, 李记超, 蔡晋生   

  1. 西北工业大学 翼型叶栅空气动力学国家重点实验室, 西安 710072
  • 收稿日期:2014-11-17 修回日期:2015-01-30 出版日期:2015-10-15 发布日期:2015-03-20
  • 通讯作者: 屈崑, Tel.: 029-88495381 E-mail: kunqu@nwpu.edu.cn E-mail:kunqu@nwpu.edu.cn
  • 作者简介:屈崑 男, 博士, 副教授。主要研究方向: 计算流体力学数值方法。 Tel: 029-88495381 E-mail: kunqu@nwpu.edu.cn;李记超 男, 博士研究生。主要研究方向: 流动控制与气动优化设计。 Tel: 029-88495381 E-mail: jc@mail.nwpu.edu.cn
  • 基金资助:

    国家“973”计划 (6132400101)

Method of linearizing computational fluid dynamics model and its applications

QU Kun, LI Jichao, CAI Jinsheng   

  1. National Key Laboratory of Science and Technology on Aerodynamic Design and Research, Northwestern Polytechnical University, Xi'an 710072, China
  • Received:2014-11-17 Revised:2015-01-30 Online:2015-10-15 Published:2015-03-20
  • Supported by:

    National Basic Research Program of China (6132400101)

摘要:

计算流体力学(CFD)方法不仅仅起到数值模拟的作用,它本身是一个复杂的非线性系统。在流动稳定性分析、气动弹性分析、优化设计以及流动控制等领域,从系统的角度出发,对CFD数学模型线性化后,可以对模型的系统矩阵进行定量分析获得更多的系统特性。但是CFD数学模型往往非常复杂且阶数很高,因此其线性化系统矩阵的获得比较困难。鉴于此,采用人工编程和自动微分相结合,构造有限体积法并行CFD模型的线性化系统矩阵。其中自动微分只被用来得到每个界面通量的局部雅可比矩阵,而采用人工编程方法来实现并行环境下的稀疏雅可比矩阵的组装。线性化系统的并行求解采用了块雅可比预处理的广义最小残量法,每个并行进程内部则采用零填充不完全LU分解预处理。为了验证这种线性化方法,上述方法被用于:① NACA 0012翼型的非定常绕流线性系统构造与求解;② NACA 0012翼型稳态流动的伴随方程构造与求解;③ AGARD wing 445.6机翼颤振问题降阶建模。上述三个算例的结果与CFD模拟的吻合一致。

关键词: 计算流体力学, 线性化模型, 伴随方程, 自动微分, 降阶模型

Abstract:

Computational fluid dynamics (CFD) is not just a simulation method, but a kind of complicated mathematical model for fluid flows. In the fields like flow stability analysis, aeroelastic analysis, aerodynamic optimization and flow control, from the viewpoint of dynamics system, the system matrix of a CFD model can be constructed for quantitative analysis, obtaining more systematic information about the CFD model. However, CFD model is a complicated high order nonlinear system. It is difficult to construct the system matrix directly. In this paper, automatic differential method is cooperated with manual coding to construct the Jacobian of a parallel finite volume CFD solver based on multiblock structured grid. Automatic differential is applied to obtaining the local Jacobian of the flux across each interface. And by means of manual coding, each local Jacobian is assembled into the global distributed sparse Jacobian. In order to solve the linearized system, preconditioned GMRES method is adopted. In the parallel environment, the block Jacobi preconditioner is used while ILU(0) preconditioner is applied to each parallel thread. In the numerical tests, this procedure is applied to ① constructing and solving the linear system of an unsteady flow around NACA0012 airfoil; ② sensitivity analysis based on the adjoint equation for a steady flow of NACA0012 airfoil; ③ reduced order modeling for the aeroelastic problem of AGARD wing 445.6. The results agree excellently with the data of CFD simulations.

Key words: computational fluid dynamics, linearized model, adjoint equation, automatic differentiation, reduced order model

中图分类号: