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
| Type | Name | Default | Description |
|---|---|---|---|
| ThermodynamicState | state | Thermodynamic state record |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| DynamicViscosity | eta | Dynamic viscosity |