swMATH ID: 41098
Software Authors: He, P.; Mader, C. A.; Martins, J. R.R. A.; Maki, K. J.
Description: DAFoam: An Open-Source Adjoint Framework for Multidisciplinary Design Optimization with OpenFOAM. The adjoint method is an efficient approach for computing derivatives that allow gradient-based optimization to handle systems parameterized with a large number of design variables. Despite this advantage, implementing the adjoint method for a partial-differential-equation-based primal solver is a time-consuming task. To lower the barrier for adjoint implementations, an object-oriented framework (DAFoam) is proposed to rapidly implement the discrete adjoint method for any steady-state OpenFOAM primal solver by adding or modifying only a few hundred lines of source code. In this paper, the DAFoam framework is introduced and the proposed object-oriented adjoint development process is illustrated. Using this strategy, the adjoint method is implemented for eight primal solvers, five turbulence models, and one radiation model in OpenFOAM. Excellent adjoint speed and scalability, with up to 10 million cells and 1536 CPU cores, and an average error in the adjoint derivatives of less than 0.1
Homepage: https://arc.aiaa.org/doi/10.2514/1.J058853
Source Code: https://github.com/mdolab/dafoam
Related Software: OpenFOAM; ADflow; pyOptSparse; STAMPS; OpenMDAO; SU2; Vehicle sketch pad; SNOPT; Spalart-Allmaras; AMPI; PyFR; elsA
Cited in: 3 Publications

Citations by Year