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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.