IAPWS的C++源代码提供了国际应用水蒸气约定标准的计算方法,适用于热力学分析与工程设计。
IAPWS_IF97(FUN,IN1,IN2) includes 104 functions related to water properties and their derivatives, based on the International Association on Properties of Water and Steam. Thermodynamic, hydrodynamic modeling often requires thermodynamic derivatives; thus, IAPWS_IF97 can calculate most property derivates as functions of pressure and enthalpy, such as dT/dp_ph, cp_ph, dv/dp_ph, and dv/dh_ph. Since modeling typically involves multiple dimensions that are discretized or meshed to form a set of either finite-difference or finite-element equations, IAPWS_IF97 is vectorized even across different regions (subcooled/compressed-liquid, saturated, superheated, and supercritical).