- water_correlation(phase, T='pore.temperature', salinity='pore.salinity')#
Calculates density of pure water or seawater at atmospheric pressure using Eq. (8) given by Sharqawy et. al . Values at temperature higher than the normal boiling temperature are calculated at the saturation pressure.
phase (OpenPNM Phase object) – The phase object to which this model is associated (i.e. attached). This controls the length of the calculated array(s), and also provides access to other necessary properties.
T (str (dict key) or numeric) – Name of the dictionary key on
phasecontaining the ndarray of temperature values, in units of [K]. If a numerical value is passed (i.e. a scalar or ndarray) it gets used directly.
salinity (str) – The dictionary key containing the salinity values in g/kg
Tmust be in K, and
salinityin g of salt per kg of phase, or ppt (parts per thousand) VALIDITY: 273 < T < 453 K; 0 < S < 160 g/kg; ACCURACY: 0.1 pct
-  Sharqawy M. H., Lienhard J. H., and Zubair, S. M., Desalination and
Water Treatment, 2010.