.ThermofluidStream.Processes.Internal.FlowResistance.linearQuadraticPressureLoss

Information

This pressure loss is linear-quadratic in the massflow with the linear factor k and the quadratic factor k2:

dp := k*m_flow + k2*m_flow*abs(m_flow);

For a pure linear pressure loss choose k2 = 0; for a pure quadratic loss choose k=0.

Interface

function linearQuadraticPressureLoss
  extends Internal.FlowResistance.partialPressureLoss;
  input Real k(unit = "Pa.s/kg") = 0 "Linear resistance coefficient" annotation(
    Dialog(enable = true));
  input Real k2(unit = "(Pa.s.s)/(kg.kg)") = 0 "Quadratic resistance coefficient" annotation(
    Dialog(enable = true));
end linearQuadraticPressureLoss;

Generated at 2024-10-30T19:25:41Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos