.TRANSFORM.Fluid.ClosureRelations.PressureLoss.Functions.TubesAndConduits.SinglePhase.LaminarAndQuadraticTurbulent_MSL.dp_DP_staticHead

Return pressure loss dp as function of mass flow rate m_flow, i.e., dp = f(m_flow), due to wall friction and static head

Information

Interface

function dp_DP_staticHead
  input dp_IN_con IN_con "Input record for function dp_overall_DP" annotation(
    Dialog(group = "Constant inputs"));
  input dp_IN_var IN_var "Input record for function dp_overall_DP" annotation(
    Dialog(group = "Variable inputs"));
  input SI.MassFlowRate m_flow "Mass flow rate" annotation(
    Dialog(group = "Input"));
  input SI.MassFlowRate m_flow_small = 0.01 "Regularization of zero flow if |m_flow| < m_flow_small (dummy if use_m_flow_small = false)";
  input Real g_times_height_ab "Gravity times (Height(port_b) - Height(port_a))";
  output SI.Pressure DP "Output for function dp_overall_DP";
end dp_DP_staticHead;

Generated at 2025-04-27T18:20:39Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos