.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-12-04T19:25:49Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos