Steam Table, A complete IAPWS IF97 standard

10072015, 01:27 PM
Post: #1




Steam Table, A complete IAPWS IF97 standard
Hi all,
Please find my implementation of the Steam Table for the HPPrime It is based on the version of : X Steam, Thermodynamic properties of water and steam. by Magnus Holmgren 30 Jan 2006 (Updated 01 Aug 2007) Water properties A complete IAPWS IF97 standard. It is still in progress! Next step is to make a nice App. All functions are implemented, except he transport functions! Small help: Water and steam properties according to IAPWS IF97. This Steam Table provides accurate steam and water properties from 0  1000 bar and from 0  2000 deg C according to the standard IAPWS IF97. For accuracy of the functions in different regions see IF97 (http://www.iapws.org) Nomenclature T Temperature (K) t Temperature (C) p Pressure (bar) h Enthalpy (kJ/kg) v Specific volume (m3/kg) rho Density (kg/m3) s Specific entropy (kJ/kgK) u Specific internal energy (kJ/kgK) Cp Specific isobaric heat capacity (kJ/kgK) Cv Specific isochoric heat capacity (kJ/kgK) w Speed of sound () x Vapour fraction () vx Vapour Volume Fraction () Valid Steam table functions. ******* Temperature of these functions is T [K] ************* Temperature Tsat_p Saturation temperature T_ph Temperture as a function of pressure and enthalpy T_ps Temperture as a function of pressure and entropy T_hs Temperture as a function of enthalpy and entropy Pressure psat_T Saturation pressure p_hs Pressure as a function of h and s. p_hrho Pressure as a function of h and rho Enthalpy hV_p Saturated vapour enthalpy hL_p Saturated liquid enthalpy hV_T Saturated vapour enthalpy hL_T Saturated liquid enthalpy h_pT Entalpy as a function of pressure and temperature. h_ps Entalpy as a function of pressure and entropy. h_px Entalpy as a function of pressure and vapour fraction. h_prho Entalpy as a function of pressure and density. h_Tx Entalpy as a function of temperature and vapour fraction Specific volume vV_p Saturated vapour volume vL_p Saturated liquid volume vV_T Saturated vapour volume vL_T Saturated liquid volume v_pT Specific volume as a function of pressure and temperature. v_ph Specific volume as a function of pressure and enthalpy v_ps Specific volume as a function of pressure and entropy. Density rhoV_p Saturated vapour density rhoL_p Saturated liquid density rhoV_T Saturated vapour density rhoL_T Saturated liquid density rho_pT Density as a function of pressure and temperature. rho_ph Density as a function of pressure and enthalpy rho_ps Density as a function of pressure and entropy. Specific entropy sV_p Saturated vapour entropy sL_p Saturated liquid entropy sV_T Saturated vapour entropy sL_T Saturated liquid entropy s_pT Specific entropy as a function of pressure and temperature s_ph Specific entropy as a function of pressure and enthalpy Specific internal energy uV_p Saturated vapour internal energy uL_p Saturated liquid internal energy uV_T Saturated vapour internal energy uL_T Saturated liquid internal energy u_pT Specific internal energy as a function of pressure and temperature. u_ph Specific internal energy as a function of pressure and enthalpy u_ps Specific internal energy as a function of pressure and entropy. Specific isobaric heat capacity CpV_p Saturated vapour heat capacity CpL_p Saturated liquid heat capacity CpV_T Saturated vapour heat capacity CpL_T Saturated liquid heat capacity Cp_pT Specific isobaric heat capacity as a function of pressure and temperature. Cp_ph Specific isobaric heat capacity as a function of pressure and enthalpy Cp_ps Specific isobaric heat capacity as a function of pressure and entropy. Specific isochoric heat capacity CvV_p Saturated vapour isochoric heat capacity CvL_p Saturated liquid isochoric heat capacity CvV_T Saturated vapour isochoric heat capacity CvL_T Saturated liquid isochoric heat capacity Cv_pT Specific isochoric heat capacity as a function of pressure and temperature. Cv_ph Specific isochoric heat capacity as a function of pressure and enthalpy Cv_ps Specific isochoric heat capacity as a function of pressure and entropy. Speed of sound wV_p Saturated vapour speed of sound wL_p Saturated liquid speed of sound wV_T Saturated vapour speed of sound wL_T Saturated liquid speed of sound w_pT Speed of sound as a function of pressure and temperature. w_ph Speed of sound as a function of pressure and enthalpy w_ps Speed of sound as a function of pressure and entropy. Vapour volume fraction vx_ph Vapour volume fraction as a function of pressure and enthalpy vx_ps Vapour volume fraction as a function of pressure and entropy Composit Functions Ask for two paramters and return this list: pt (pressure,temperature) out:=> Enthalpy [kJ/kg] Volume [m3/kg] Entropy [kJ/kgK] Speed of sound [m/s] Cp [kJ/kgK] Cv[kJ/kgK] ph (pressure,enthalpy) out:=> Temperature [c] Volume [m3/kg] Entropy [kJ/kgK] Speed of sound [m/s] Cp [kJ/kgK] Cv [kJ/kgK] ps (pressure,entropy) out: => Temperature [c] Enthalpy [kJ/kg] Volume [m3/kg] Entropy [kJ/kgK] Speed of sound Cp [kJ/kgK] Cv [kJ/kgK] Transport propperties will follow soon. Have fun with this, and look forwards to your comments. Cheers, Jan [NL] 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)