Calculation of the mean convective heat transfer coefficient kc for a helical pipe in the laminar flow regime. 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_laminar extends Modelica.Icons.Function; input Modelica.Fluid.Dissipation.HeatTransfer.HelicalPipe.kc_laminar_IN_con IN_con "Input record for function kc_laminar" annotation( Dialog(group = "Constant inputs")); input Modelica.Fluid.Dissipation.HeatTransfer.HelicalPipe.kc_laminar_IN_var IN_var "Input record for function kc_laminar" 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_laminar;
2016-04-11 Stefan Wischhusen: Removed singularity for Re at zero mass flow rate.