Abstract

The IAPWS-95 formulation for the thermodynamic properties of pure water was implemented as an ActiveX component ( SteamTables) in Visual Basic 6.0. For input parameters as temperature ( T=190–2000 K) and pressure ( P=3.23×10 −8–10,000 MPa) the program SteamTables calculates the following properties: volume ( V), density ( D), compressibility factor ( Z 0), internal energy ( U), enthalpy ( H), Gibbs free energy ( G), Helmholtz free energy ( A), entropy ( S), heat capacity at constant pressure ( C p ), heat capacity at constant volume ( C v ), coefficient of thermal expansion ( CTE), isothermal compressibility ( Z iso ), velocity of sound ( VelS), partial derivative of P with T at constant V (d Pd T), partial derivative of T with V at constant P (d Td V), partial derivative of V with P at constant T (d Vd P), Joule–Thomson coefficient ( JTC), isothermal throttling coefficient ( IJTC), viscosity ( Vis), thermal conductivity ( ThrmCond), surface tension ( SurfTen), Prandtl number ( PrdNum) and dielectric constant ( DielCons) for the liquid and vapor phases of pure water. It also calculates T as a function of P (or P as a function of T) along the sublimation, saturation and critical isochor curves, depending on the values of P (or T). The SteamTables can be incorporated in a program in any computer language, which supports object link embedding (OLE) in the Windows environment. An application of SteamTables is illustrated in a program in Visual Basic 6.0 to tabulate the values of the thermodynamic properties of water and vapor. Similarly, four functions, Temperature(Press), Pressure(Temp), State(Temp, Press) and WtrStmTbls(Temp, Press, Nphs, Nprop), where Temp, Press, Nphs and Nprop are temperature, pressure, phase number and property number, respectively, are written in Visual Basic for Applications (VBA) to use the SteamTables in a workbook in MS-Excel.

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.