Skip to content

Data for water.

Reference 1: W. Wagner and A. Pruß. The IAPWS Formulation 1995 for the Thermodynamic Properties of Ordinary Water Substance for General and Scientific Use. J. Phys. Chem. Ref. Data, 31:387–535, 2002. doi:10.1063/1.1461829. Reference 2: M. L. Huber, R. A. Perkins, D. G. Friend, J. V. Sengers, M. J. Assael, I. N. Metaxa, K. Miyagawa, R. Hellmann, and E. Vogel. New International Formulation for the Thermal Conductivity of H2O. J. Phys. Chem. Ref. Data, 41(3):033102–1:23, 2012. doi:10.1063/1.4738955. Reference 3: M. L. Huber, R. A. Perkins, A. Laesecke, D. G. Friend, J. V. Sengers, M. J Assael, I. M. Metaxa, E. Vogel, R. Mareš, and K. Miyagawa. New International Formulation for the Viscosity of H2O. J. Phys. Chem. Ref. Data, 38(2):101–125, 2009. doi:10.1063/1.3088050.

Pr(h, p=None)

Prandtl number as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

Parameters:

Name Type Description Default
h float

Specific enthalpy in J/kg

required
p float

Pressure in Pa

None

Returns:

Type Description
float

Prandtl number

Source code in openterrace/fluid_substances/water.py
def Pr(h:float, p:float=None) -> float:
    """Prandtl number as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

    Args:
        h (float): Specific enthalpy in J/kg
        p (float): Pressure in Pa

    Returns:
        Prandtl number
    """
    return 2.76464299e-10*h**2 - 9.03954950e-05*h + 1.30070174e+01

T(h, p=None)

Temperature as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

Parameters:

Name Type Description Default
h float

Specific enthalpy in J/kg

required
p float

Pressure in Pa

None

Returns:

Type Description
float

Temperature in kelvin

Source code in openterrace/fluid_substances/water.py
def T(h:float, p:float=None) -> float:
    """Temperature as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

    Args:
        h (float): Specific enthalpy in J/kg
        p (float): Pressure in Pa

    Returns:
        Temperature in kelvin
    """
    return 2.38859172e-04*h + 2.73107340e+02

cp(h, p=None)

Specific heat capacity as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

Parameters:

Name Type Description Default
h float

Specific enthalpy in J/kg

required
p float

Pressure in Pa

None

Returns:

Type Description
float

Specific heat capacity in J/(kg K)

Source code in openterrace/fluid_substances/water.py
def cp(h:float, p:float=None) -> float:
    """Specific heat capacity as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

    Args:
        h (float): Specific enthalpy in J/kg
        p (float): Pressure in Pa

    Returns:
        Specific heat capacity in J/(kg K)
    """
    return -1.91167239e-15*h**3 + 1.96122501e-09*h**2 - 4.90430569e-04*h**1 + 4.21421348e+03    

h(T)

Mass specific enthalpy as function of temperature at 1 atm (fit valid between 273 K to 373 K).

Parameters:

Name Type Description Default
T float

Temperature in K

required

Returns:

Type Description
float

Specific enthalpy in J/kg

Source code in openterrace/fluid_substances/water.py
def h(T:float) -> float:
    """Mass specific enthalpy as function of temperature at 1 atm (fit valid between 273 K to 373 K).

    Args:
        T (float): Temperature in K

    Returns:
        Specific enthalpy in J/kg
    """
    return 4186.56437769*T - 1143381.31556279

k(h, p=None)

Thermal conductivity as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

Parameters:

Name Type Description Default
h float

Specific enthalpy in J/kg

required
p float

Pressure in Pa

None

Returns:

Type Description
float

Thermal conductivity in W/(m K)

Source code in openterrace/fluid_substances/water.py
def k(h:float, p:float=None) -> float:
    """Thermal conductivity as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

    Args:
        h (float): Specific enthalpy in J/kg
        p (float): Pressure in Pa

    Returns:
        Thermal conductivity in W/(m K)
    """
    return -5.45934292e-13*h**2 + 5.09161571e-07*h + 5.58152818e-01

mu(h, p=None)

Dynamic viscosity as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

Parameters:

Name Type Description Default
h float

Specific enthalpy in J/kg

required
p float

Pressure in Pa

None

Returns:

Type Description
float

Dynamic viscosity in kg/(m*s)

Source code in openterrace/fluid_substances/water.py
def mu(h:float, p:float=None) -> float:
    """Dynamic viscosity as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

    Args:
        h (float): Specific enthalpy in J/kg
        p (float): Pressure in Pa

    Returns:
        Dynamic viscosity in kg/(m*s)
    """
    return 1.05996810e-14*h**2 - 7.39076316e-09*h + 1.61251851e-03

rho(h, p=None)

Density as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

Parameters:

Name Type Description Default
h float

Specific enthalpy in J/kg

required
p float

Pressure in Pa

None

Returns:

Type Description
float

Density in kg/m^3

Source code in openterrace/fluid_substances/water.py
def rho(h:float, p:float=None) -> float:
    """Density as function of mass specific enthalpy at 1 atm (fit valid between 273 K to 373 K).

    Args:
        h (float): Specific enthalpy in J/kg
        p (float): Pressure in Pa

    Returns:
        Density in kg/m^3
    """
    return -2.01577822e-10*h**2 - 1.84350638e-05*h + 1.00080945e+03