Sensitivity computations by automatic differentiation of a CFD code based on spectral differences - Université Toulouse III - Paul Sabatier - Toulouse INP Accéder directement au contenu
Communication Dans Un Congrès Année : 2019

Sensitivity computations by automatic differentiation of a CFD code based on spectral differences

Résumé

We compute flow sensitivities by modifying a CFD code which is spatially-discretized with spectral differences. Our discrete approach relies on algorithmic differentiation. We obtain two transformed codes, one for each differentiation mode : tangent and adjoint. Both codes compute sensitivities in an unsteady test case of two-dimensional incompressible flow inside a periodic cube with an initial double-shear profile. The sensitivities from both codes agree to within machine accuracy, and compare well with those approximated by finite difference computations. We discuss execution times and describe our strategy to automatically differentiate in adjoint mode a parallel code containing MPI instructions.
Fichier principal
Vignette du fichier
Cardesa_25699.pdf (849.09 Ko) Télécharger le fichier
Origine : Fichiers éditeurs autorisés sur une archive ouverte
Loading...

Dates et versions

hal-02617161 , version 1 (25-05-2020)

Identifiants

  • HAL Id : hal-02617161 , version 1
  • OATAO : 25699

Citer

José I. Cardesa, Christophe Airiau. Sensitivity computations by automatic differentiation of a CFD code based on spectral differences. EUCASS 2019, Jul 2019, Madrid, Spain. pp.1-7. ⟨hal-02617161⟩
18 Consultations
28 Téléchargements

Partager

Gmail Facebook X LinkedIn More