An automated approach for developing discrete adjoint solvers

  • Joaquim R.R.A. Martins*
  • , Juan J. Alonso
  • , Edwin van der Weide
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

5 Citations (Scopus)

Abstract

An automatic differentiation tool, Tapenade, is used to develop the adjoint node for a three-dimensional computational fluid dynamics (CFD) solver. Rather than using automatic differentiation to differentiate the complete source code of the CFD solver (including the iterative loop), we have applied it selectively to produce code that computes both the flux Jacobian matrix that is present iti the discrete adjoint matrix and the terms in the gradient computation that ore necessary for this type of formulation. The resulting linear discrete adjoint system is then solved using the toolkit for parallel scientific computations, PETSc. This approach to deriving and implementing the discrete adjoint equations has the advantages that it is applicable to arbitrary sets of governing equations and cost functions, it is exactly consistent with the gradients that would be computed by an infinitely-accurate finite difference of the original solver, and it is automatic, thus avoiding the lengthy development times required to develop discrete adjoint solvers for complex governing equations. All of these significant advantages corne at the cost of increased memory requirements for the discrete adjoint solver. However, given typical use patterns for today's parallel computers, this disadvantage is rather small when compared with the very significant advantages that are obtained. The approach is outlined in this paper together with some preliminary results of the implementation of these ideas.

Original languageEnglish
Title of host publicationCollection of Technical Papers - 47th AIAA/ASME/ASCE/AHS/ASC Structures, Structural Dynamics and Materials Conference
Place of PublicationReston, VA
PublisherAmerican Institute of Aeronautics and Astronautics
Pages85-94
Number of pages10
ISBN (Print)9781563478086
DOIs
Publication statusPublished - 1 Dec 2006
Externally publishedYes
Event47th AIAA/ASME/ASCE/AHS/ASC Structures, Structural Dynamics and Materials Conference 2006 - Newport, United States
Duration: 1 May 20064 May 2006
Conference number: 47

Conference

Conference47th AIAA/ASME/ASCE/AHS/ASC Structures, Structural Dynamics and Materials Conference 2006
Country/TerritoryUnited States
CityNewport
Period1/05/064/05/06

Fingerprint

Dive into the research topics of 'An automated approach for developing discrete adjoint solvers'. Together they form a unique fingerprint.

Cite this