Function to compute the dynamic viscosity for gases
function dynamicViscosity input Buildings.HeatTransfer.Data.Gases.Generic gas "Record of gas data"; input Modelica.Units.SI.Temperature T "Gas temperature"; output Modelica.Units.SI.DynamicViscosity mu "Dynamic viscosity"; end dynamicViscosity;