Modelica.Fluid.Fittings.BaseClasses.GenericResistances.VolumeFlowRate

Pressure loss functions for generic resistances parameterized with the volume flow rate

Information


This package contains utility functions for the VolumeFlowRate fitting component.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
Modelica.Fluid.Fittings.BaseClasses.GenericResistances.VolumeFlowRate.massFlowRate massFlowRate Return mass flow rate m_flow as function of pressure loss dp for a curved bend
Modelica.Fluid.Fittings.BaseClasses.GenericResistances.VolumeFlowRate.pressureLoss pressureLoss Return pressure loss dp as function of mass flow rate m_flow for a curved bend

Modelica.Fluid.Fittings.BaseClasses.GenericResistances.VolumeFlowRate.massFlowRate Modelica.Fluid.Fittings.BaseClasses.GenericResistances.VolumeFlowRate.massFlowRate

Return mass flow rate m_flow as function of pressure loss dp for a curved bend

Information


This function returns the mass flow rate m_flow as function of pressure loss dp for an edged bend. The details of the function are described here.

The bend characteristic is valid for constant density and constant dynamic viscosity. It can be approximately also used for compressible media. This is performed by providing the upstream density and upstream dynamic viscosity. In order to be able to regularize density and dynamic viscosity around zero mass flow rate, the two quantities have to be given if fluid flows from port_a to port_b (d_a, eta_a) and if fluid flows from port_b to port_a (d_b, eta_b).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
dpPressure loss [Pa]
aCoefficient for quadratic term (dp = a*V_flow^2 + b*V_flow) [(Pa.s2)/m6]
bCoefficient for linear term (dp = a*V_flow^2 + b*V_flow) [(Pa.s)/m3]
d_aDensity at port_a when fluid is flowing from port_a to port_b [kg/m3]
d_bDensity at port_b when fluid is flowing from port_b to port_a [kg/m3]
dp_smallSmall pressure drop used for regularization if m_flow=f(...,dp_small,..,dp) [Pa]
m_flow_smallSmall mass flow rate used for regularization if dp=f_inv(...,m_flow_small,m_flow) [kg/s]

Outputs

NameDescription
m_flowMass flow rate (= port_a.m_flow) [kg/s]

Modelica.Fluid.Fittings.BaseClasses.GenericResistances.VolumeFlowRate.pressureLoss Modelica.Fluid.Fittings.BaseClasses.GenericResistances.VolumeFlowRate.pressureLoss

Return pressure loss dp as function of mass flow rate m_flow for a curved bend

Information


This function returns the pressure loss dp as function of mass flow rate m_flow for an edged bend. The details of the function are described here.

The bend characteristic is valid for constant density and constant dynamic viscosity. It can be approximately also used for compressible media. This is performed by providing the upstream density and upstream dynamic viscosity. In order to be able to regularize density and dynamic viscosity around zero mass flow rate, the two quantities have to be given if fluid flows from port_a to port_b (d_a, eta_a) and if fluid flows from port_b to port_a (d_b, eta_b).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
m_flowMass flow rate (= port_a.m_flow) [kg/s]
aCoefficient for quadratic term (dp = a*V_flow^2 + b*V_flow) [(Pa.s2)/m6]
bCoefficient for linear term (dp = a*V_flow^2 + b*V_flow) [(Pa.s)/m3]
d_aDensity at port_a when fluid is flowing from port_a to port_b [kg/m3]
d_bDensity at port_b when fluid is flowing from port_b to port_a [kg/m3]
dp_smallSmall pressure drop used for regularization if m_flow=f(...,dp_small,..,dp) [Pa]
m_flow_smallSmall mass flow rate used for regularization if dp=f_inv(...,m_flow_small,m_flow) [kg/s]

Outputs

NameDescription
dpPressure loss [Pa]

Automatically generated Mon Sep 23 17:20:49 2013.