.IDEAS.Fluid.BaseClasses.FlowModels.basicFlowFunction_dp_der2

Information

Function that implements the second order derivative of IDEAS.Fluid.BaseClasses.FlowModels.basicFlowFunction_dp with respect to the mass flow rate.

Interface

function basicFlowFunction_dp_der2
  extends Modelica.Icons.Function;
  input Modelica.Units.SI.PressureDifference dp(displayUnit = "Pa") "Pressure difference between port_a and port_b (= port_a.p - port_b.p)";
  input Real k(min = 0, unit = "") "Flow coefficient, k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)";
  input Modelica.Units.SI.MassFlowRate m_flow_turbulent(min = 0) "Mass flow rate where transition to turbulent flow occurs";
  input Real dp_der "1st derivative of pressure difference between port_a and port_b (= port_a.p - port_b.p)";
  input Real dp_der2 "2nd derivative of pressure difference between port_a and port_b (= port_a.p - port_b.p)";
  output Real m_flow_der2 "2nd derivative of mass flow rate in design flow direction";
end basicFlowFunction_dp_der2;

Revisions


Generated at 2024-12-04T19:25:49Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos