AD Tools and Prospects for Optimal AD in CFD Flux Jacobian
Calculations
Mohamed Tadjouddine, Shaun A Forth
& John D Pryce
Published in
Automatic Differentiation of Algorithms: From
Simulation to Optimization,
George Corliss, Christele Faure, Andreas Griewank, Laurent Hascoet, and Uwe
Naumann (eds.)
Springer-Verlag, New York, 2002, pp255-261
Presented at AD 2000 The 3rd International Conference/Workshop on Automatic
Differentiation:
From Simulation to Optimization
Abstract
We consider the problem of linearising the short (approximately 100
lines of) code that defines the numerical fluxes of mass, energy and momentum
across a cell face in a finite volume compressible flow calculation. Typical of
such formulations is the numerical flux due to Roe, widely used in the
numerical approximation of flow fields containing moderate to strong shocks.
Roe's flux takes as input 10 variables describing the flow either side of a
cell face and returns as output the 5 variables for the numerical flux. We
present results concerning the efficiency of derivative calculations for Roe's
flux using several currently available AD tools. We also present preliminary
work on deriving near optimal differentiated code using the node elimination
approach. We show that such techniques, within a source transformation
approach, will yield substantial gains for application code such as the Roe
flux.
Download
PDF: mt_ad2000.pdf