AD tools and prospects for optimal AD in CFD flux Jacobian calculations

  • Authors:
  • Mohamed Tadjouddine;Shaun A. Forth;John D. Pryce

  • Affiliations:
  • Cranfield Univ., Swindon, Wiltshire, UK;Cranfield Univ., Swindon, Wiltshire, UK;Cranfield Univ., Swindon, Wiltshire, UK

  • Venue:
  • Automatic differentiation of algorithms
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

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.