Automatic differentiation of codes in nuclear engineering applications.
We discuss our experience in applying automatic differentiation (AD) to calculations in nuclear reactor applications. The document is intended as a guideline on how to apply AD to Fortran codes with significant legacy components; it is also a part of a larger research effort in uncertainty quantification using sampling methods augmented with derivative information. We provide a brief theoretical description of the concept of AD, explain the necessary changes in the code structure, and remark on possible ways to deal with non-differentiability. Numerical experiments were carried out where the derivative of a functional subset of the SAS4A/SASSYS code was computed in forward mode with several AD tools. The results are in good agreement with both the real and complex finite-difference approximations of the derivative.
- Research Organization:
- Argonne National Lab. (ANL), Argonne, IL (United States)
- Sponsoring Organization:
- USDOE Office of Science (SC)
- DOE Contract Number:
- DE-AC02-06CH11357
- OSTI ID:
- 971984
- Report Number(s):
- ANL/MCS-TM-310; TRN: US1001937
- Country of Publication:
- United States
- Language:
- ENGLISH
Similar Records
Experiences with the application of the ADIC automatic differentiation tool for to the CSCMDO 3-D volume grid generation code
Efficient derivative codes through automatic differentiation and interface contraction: An application in biostatistics