This function provides two similar methods for estimating the
thermal conductivity of polyatomic gases. The Eucken method (input
method == 1) gives good results for low temperatures, but it tends
to give an underestimated value of the thermal conductivity
(lambda) at higher temperatures.
The Modified Eucken method (input method == 2) gives good results
for high-temperatures, but it tends to give an overestimated value
of the thermal conductivity (lambda) at low temperatures.
function thermalConductivityEstimate extends Modelica.Icons.Function; input Modelica.Media.Interfaces.Types.SpecificHeatCapacity Cp "Constant pressure heat capacity"; input Modelica.Media.Interfaces.Types.DynamicViscosity eta "Dynamic viscosity"; input Integer method(min = 1, max = 2) = 1 "1: Eucken Method, 2: Modified Eucken Method"; input IdealGases.Common.DataRecord data "Ideal gas data"; output Modelica.Media.Interfaces.Types.ThermalConductivity lambda "Thermal conductivity [W/(m.k)]"; end thermalConductivityEstimate;