viscosity_of_water¶
lumicks.pylake.viscosity_of_water
- viscosity_of_water(temperature, molarity_nacl=None, pressure=None)¶
Computes the viscosity of water in [Pa*s] at a particular temperature, molality of NaCl and pressure.
These equations come from section 3.7 from [1]. When pressure and/or molality of NaCl are provided, equations from [2] are used. Note that the latter model has a slightly smaller valid temperature range.
- Parameters:
- Returns:
Viscosity of water [Pa*s]
- Return type:
array_like
- Raises:
ValueError – If no molality or pressure is provided and the requested temperature is outside the valid range of -20°C <= T < 110°C.
ValueError – When molality and/or pressure are also provided and the provided values are outside the valid range of this model. The valid ranges are: Temperature (20°C <= T < 150°C), pressure <= 35 MPa and molality <= 6 mol/kg.
References