Abstract

Traditional reactor system analysis tools are confronted with challenging difficulties in model development, low accuracy, and poor convergence. To solve these problems, the automatic differentiation (AD) method that allows the automatic numerical calculation of derivatives of functions was adopted to develop the reactor system code in this paper. For the simulation of single-phase models, the steady and transient responses were presented to investigate the effects of the spatial and temporal discretization schemes on modeling accuracy and efficiency. Meanwhile, the comparison of convergence performance between the automatic differentiation using operator overloading (ADOO) and the traditional hand-coded method was completed. Further, in the case of two-phase flow problems, the high-order discrete schemes were applied in this code. It was demonstrated that the reactor system code with single-phase and five-equation two-phase flow models, which adopted the high-order discretization and the ADOO method, performed very well for one-dimensional flow and heat transfer problems.

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.