Calculation of the mean convective heat transfer coefficient kc for an overall fluid flow through an even gap at different fluid flow and heat transfer situations. Note that additionally a failure status is observed in this function to check if the intended boundary conditions are fulfilled. See more information.
function kc_evenGapOverall extends Modelica.Icons.Function; import MIN = Modelica.Constants.eps; input Modelica.Fluid.Dissipation.HeatTransfer.Channel.kc_evenGapOverall_IN_con IN_con "Input record for function kc_evenGapOverall" annotation( Dialog(group = "Constant inputs")); input Modelica.Fluid.Dissipation.HeatTransfer.Channel.kc_evenGapOverall_IN_var IN_var "Input record for function kc_evenGapOverall" annotation( Dialog(group = "Variable inputs")); output SI.CoefficientOfHeatTransfer kc "Convective heat transfer coefficient" annotation( Dialog(group = "Output")); output SI.PrandtlNumber Pr "Prandtl number" annotation( Dialog(group = "Output")); output SI.ReynoldsNumber Re "Reynolds number" annotation( Dialog(group = "Output")); output SI.NusseltNumber Nu "Nusselt number" annotation( Dialog(group = "Output")); output Real failureStatus "0== boundary conditions fulfilled | 1== failure >> check if still meaningful results" annotation( Dialog(group = "Output")); end kc_evenGapOverall;