Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

AUTOMATIC DIFFERENTIATION OF AN EULERIAN HYDROCODE

Conference ·
OSTI ID:767469
Automatic differentiation (AD) is applied to a two-dimensional Eulerian hydrodynamics computer code (hydrocode) to provide gradients that will be used for design optimization and uncertainty analysis. We examine AD in both the forward and adjoint (reverse) mode using Automatic Differentiation of Fortran (ADIFOR, version 3.0). Setup time, accuracy, and run times are described for three problems. The test set consists of a one-dimensional shock-propagation problem, a two-dimensional metal-jet-formation problem and a two-dimensional shell-collapse problem. Setup time for ADIFOR was approximately one month starting from a simplified, fixed-dimension version of the original code. ADIFOR produced accurate (as compared to finite difference) gradients in both modes for all of the problems. These test problems had 17 independent variables. We find that the forward mode is up to 39% slower and the adjoint mode is at least 11% faster than finding the gradient by means of finite differences. Problems of real interest will certainly have more independent variables. The adjoint mode is thus favored since the computational time increases only slightly for additional independent variables.
Research Organization:
Los Alamos National Lab., NM (US)
Sponsoring Organization:
US Department of Energy (US)
DOE Contract Number:
W-7405-ENG-36
OSTI ID:
767469
Report Number(s):
LA-UR-00-5453
Country of Publication:
United States
Language:
English

Similar Records

HYDROCODE SENSITIVITIES BY MEANS OF AUTOMATIC DIFFERENTIATION
Conference · Sun Dec 31 23:00:00 EST 2000 · OSTI ID:774349

Automatic differentiation, tangent linear models, and (pseudo) adjoints
Conference · Thu Dec 30 23:00:00 EST 1993 · OSTI ID:93547

Hypercomplex Automatic Differentiation in the Eulerian Hydrocode PAGOSA
Technical Report · Wed Apr 30 00:00:00 EDT 2025 · OSTI ID:2566412