Function viscosity

Source
pub fn viscosity(temperature: f64, x_nacl: f64) -> Result<f64, String>
Expand description

Viscosity calculation

Viscosity, Pa*s, is calculated from:

Mostafa H. Sharqawy, John H. Lienhard V, Syed M. Zubair, Desalination and Water Treatment, doi 10.5004/dwt.2010.1079

It is pressure indepedendent, valid in the range of [273.15-453.15] K and x[NaCl]=[0,0.05159128949] mol/mol

#Arguments

  • temperature - temperature, K
  • x_nacl - mole fraction of NaCl, mol/mol

ยงReturns

Viscosity, Pa*s, or an error