Skip to Main content Skip to Navigation
Conference papers

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

Abstract : 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.
Document type :
Conference papers
Complete list of metadata

Cited literature [16 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-02617161
Contributor : Open Archive Toulouse Archive Ouverte (oatao) Connect in order to contact the contributor
Submitted on : Monday, May 25, 2020 - 10:53:13 AM
Last modification on : Wednesday, November 3, 2021 - 6:42:49 AM

File

Cardesa_25699.pdf
Publisher files allowed on an open archive

Identifiers

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

Collections

Citation

José 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⟩

Share

Metrics

Les métriques sont temporairement indisponibles