functionkinematicViscosity

Return the kinematic viscosity

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function computes the kinematic viscosity as a function of temperature.

Implementation

The function is based on the IDA implementation in therpro.nmf. The original equation is

kinVis :=1E-6*Modelica.Math.exp(0.577449 - 3.253945e-2*T_degC + 2.17369e-4*
      T_degC^2 - 7.22111e-7*T_degC^3);
      

This has been converted to Kelvin, which resulted in the above expression. In addition, at 5 °C the kinematic viscosity is linearly extrapolated to avoid a large gradient at very low temperatures. We selected the same point for the linearization as we used for the density, as the density and the kinematic viscosity are combined in Buildings.Media.Specialized.Water.TemperatureDependentDensity.dynamicViscosity.

Inputs

TypeNameDefaultDescription
Modelica.Units.SI.TemperatureTTemperature

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.KinematicViscositykinVisKinematic viscosity

Revisions

  • April 11, 2016 by Michael Wetter:
    Corrected wrong hyperlink in documentation for issue 450.
  • December 18, 2013, by Michael Wetter:
    First implementation, based on the IDA implementation in therpro.nmf, but converted from Celsius to Kelvin.