Research Article
Application of an automatic differentiation tool in the development of a compositional reservoir simulator
Article first published online: 29 JUN 1999
DOI: 10.1002/(SICI)1099-0887(199906/07)15:6<423::AID-CNM256>3.0.CO;2-5
Copyright © 1999 John Wiley & Sons, Ltd.
Issue
1099-0887/asset/cover.gif?v=1&s=8e14cbe972b8cbd6b6bec1956796cfde8e013cd8)
Communications in Numerical Methods in Engineering
Volume 15, Issue 6, pages 423–434, June/July 1999
Additional Information
How to Cite
Abate, J., Wang, P., Sepehrnoori, K. and Dawson, C. (1999), Application of an automatic differentiation tool in the development of a compositional reservoir simulator. Communications in Numerical Methods in Engineering, 15: 423–434. doi: 10.1002/(SICI)1099-0887(199906/07)15:6<423::AID-CNM256>3.0.CO;2-5
Publication History
- Issue published online: 29 JUN 1999
- Article first published online: 29 JUN 1999
- Manuscript Accepted:
- Manuscript Received:
Funded by
- U.S. Department of Energy. Grant Number: W-31-109ENG-38
- U.S. Department of Defense
- Abstract
- References
- Cited By
Keywords:
- automatic differentiation;
- nonlinear equations;
- reservoir simulation
Abstract
Automatic differentiation is an approach to numerically compute derivatives both accurately and efficiently. This can be quite valuable, for example, in the fully implicit solution of compositional reservoir equations. We describe the procedures necessary to apply the ADIFOR (Automatic Differentiation of Fortran) tool to the IPARS (Integrated Parallel Accurate Reservoir Simulator) compositional reservoir simulator and the approaches used to exploit the sparsity in the required Jacobian matrix. Values and execution times of the ADIFOR-generated derivatives are compared with a handwritten code that implements analytically derived expressions for the derivatives. Copyright © 1999 John Wiley & Sons, Ltd.

2040-7947/asset/CNM_left.gif?v=1&s=ab68ae2f89b5ace2cbddfcc321f31fa77784caa2)