首页> 外文期刊>Journal of Computational Physics >First- and Second-Order Aerodynamic Sensitivity Derivatives via Automatic Differentiation with Incremental Iterative Methods
【24h】

First- and Second-Order Aerodynamic Sensitivity Derivatives via Automatic Differentiation with Incremental Iterative Methods

机译:一阶和二阶气动灵敏度导数通过增量迭代自动微分

获取原文
获取原文并翻译 | 示例

摘要

The straightforward automatic-differentiation and the hand-differentiated incremental iterative methods are interwoven to produce a hybrid scheme that captures some of the strengths of each strategy. With this compromise, discrete aerodynamic sensitivity derivatives are calculated with the efficient incremental iterative solution algorithm of the original flow code. Moreover, the principal advantage of automatic differentiation is retained (i.e., all complicated source code for the derivative calculations is constructed quickly with accuracy). The basic equations for second-order sensitivity derivatives are presented, which results in a comparison of four different meth-ods. Each of these four schemes for second-order derivatives requires that large systems are solved first for the first-order derivatives and, in all but one method, for the first-order adjoint variables. Of these latter three schemes, two require no solutions of large systems thereafter. For the other two for which additional systems are solved, the equations and solution procedures are analogous to those for the first-order derivatives. From a practical viewpoint, implementation of the second-order methods is feasible only with software tools such as automatic differentiation, because of the extreme complexity and large number of terms. First- and second-order sensitivities are calculated accurately for two airfoil problems, including a turbulent-flow example. In each of these two sample problems, three dependent variables (coefficients of lift, drag, and pitching-moment) and six independent variables (three geometric-shape and three flow-condition design variables) are considered. Several different procedures are tested, and results are compared on the basis of accuracy, computational time, and computer memory. For first-order derivatives, the hybrid incremental iterative scheme obtained with automatic differentiation is competitive with the best hand-differentiated method. Furthermore, it is at least two to four times faster than central finite differences, without an overwhelming penalty in computer memory.
机译:直接的自动微分和手动微分增量迭代方法交织在一起,以产生一种混合方案,该方案可以捕获每种策略的某些优势。有了这种折衷,就可以使用原始流代码的有效增量迭代求解算法来计算离散的空气动力学灵敏度导数。此外,保留了自动微分的主要优点(即,用于导数计算的所有复杂源代码都可以快速,准确地构建)。给出了用于二阶灵敏度导数的基本方程,从而比较了四种不同的方法。这两种用于二阶导数的方案都要求首先针对一阶导数求解大系统,对于一阶伴随变量,除一种方法外,所有方法都必须求解。在后三种方案中,有两种方案之后不需要大型系统的解决方案。对于另两个要求解附加系统的方程,方程式和求解过程与一阶导数相似。从实践的角度来看,由于极端的复杂性和大量的术语,仅使用诸如自动微分之类的软件工具才能实施二阶方法。对于两个机翼问题(包括湍流示例),可以精确计算出一阶和二阶灵敏度。在这两个样本问题的每一个中,都考虑了三个因变量(升力,阻力和俯仰力矩的系数)和六个独立变量(三个几何形状和三个流动条件设计变量)。测试了几种不同的过程,并根据准确性,计算时间和计算机内存比较了结果。对于一阶导数,通过自动微分获得的混合增量迭代方案与最佳手工微分方法相比具有竞争力。此外,它至少比中心有限差分快2至4倍,而不会给计算机内存造成太大的损失。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号