Abstract

A new object-oriented approach for designing general property calculation programs using different types of equations of state (EoS) is presented in this work. It helps to ease the programs’ extensibility, reusability, and maintainability and, at the same time, minimize the code redundancy. The approach consists of two parts: (a) the total Helmholtz free energy function is separated into specific terms, based on physical meanings or mathematical expressions, independent of the properties of interest, and the same or similar specific terms used in different equations of state are abstracted to general algorithms; (b) the general relationships between these algorithms and the properties of interest are implemented at the highest level of the program. According to this strategy, a general cubic algorithm can be abstracted for all of the cubic EoS. The general hard-sphere, hard-chain, and association algorithms can be aggregated into different Statistical Associating Fluid Theory (SAFT) family EoS with differ...

Full Text
Paper version not known

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.