salinity#

salinity(target, temperature='pore.temperature', concentration='pore.concentration')[source]#

Calculates the salinity in g salt per kg of solution from concentration

Parameters
  • target (OpenPNM Base object) – Object with which this model is associated. This controls the length of the calculated array, and also provides access to other necessary properties.

  • temperature (str) – Name of the dictionary key on target where the array containing temperature values is stored

  • concentration (str) – The dictionary key containing the concentration values, in SI units of mol/m3.

Returns

salinity – The salinity in g of solute per kg of solution.

Return type

ndarray

Notes

This model is useful for converting known concentration values (e.g. calculated by a transport algorithm) into salinity values, which can then be used for finding other physical properties of water which are available as a function of salinity.

The salinity correlations are valid for salinity up to 160 g/kg, which corresponds to a concentration of 0.05 mol/L (assuming NaCl is the only solute)