Calculation of the mean convective heat transfer coefficient kc for a laminar 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_evenGapLaminar extends Modelica.Icons.Function; input Modelica.Fluid.Dissipation.HeatTransfer.Channel.kc_evenGapLaminar_IN_con IN_con "Input record for function kc_evenGapLaminar" annotation( Dialog(group = "Constant inputs")); input Modelica.Fluid.Dissipation.HeatTransfer.Channel.kc_evenGapLaminar_IN_var IN_var "Input record for function kc_evenGapLaminar" 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_evenGapLaminar;