eqtk.water_density¶
- eqtk.water_density(T, units='M')¶
Calculate the number density of pure water at atmospheric pressure in specified units.
- Parameters
T (float) – Temperature in Kelvin.
units (string, default = 'M') – The units in which the density is to be calculated. Valid values are: ‘M’, ‘mM’, ‘uM’, ‘µM’, ‘nM’, ‘pM’.
- Returns
water_density – Number density of water in units.
- Return type
float
Notes
Uses pre-calculated values of water density from the IAPWS-95 standards as calculated from the iapws Python package (https://iapws.readthedocs.io/), as np.array([iapws.IAPWS95(T=T+273.15, P=0.101325).rho
for T in np.linspace(0.1, 99.9, 999)]) / 18.01528
References
Wagner, W, Pruß, A, 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. https://doi.org/10.1063/1.1461829