functiondynamicViscosity

Return dynamic viscosity from a ThermodynamicState record

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

Information

Uses the Teja-Rice method for the liquid phase and the Lucas one for the gas phase. The viscosity is set to 0 in biphasic systems.

Inputs

TypeNameDefaultDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDefaultDescription
DynamicViscosityetaDynamic viscosity