functiondp_volumeFlowRate_MFLOW

Generic pressure loss | calculate mass flow rate | quadratic function (dp=a*V_flow^2 + b*V_flow)

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

Information

Calculation of a generic pressure loss with linear or quadratic dependence on volume flow rate. Please note that the sum of a and b has to be greater zero. The function can be used to calculate pressure loss at known mass flow rate or mass flow rate at known pressure loss.

Generally this function is numerically best used for the compressible case if the pressure loss (dp) is known (out of pressures as state variable) and the mass flow rate (M_FLOW) has to be calculated. On the other hand the function dp_volumeFlowRate_DP is numerically best used for the incompressible case, where the mass flow rate (m_flow) is known (as state variable) in the used model and the corresponding pressure loss (DP) has to be calculated. See more information.

Inputs

TypeNameDefaultDescription
Modelica.Fluid.Dissipation.PressureLoss.General.dp_volumeFlowRate_IN_conIN_conInput record for function dp_volumeFlowRate_MFLOW
Modelica.Fluid.Dissipation.PressureLoss.General.dp_volumeFlowRate_IN_varIN_varInput record for function dp_volumeFlowRate_MFLOW
SI.PressuredpPressure loss

Outputs

TypeNameDefaultDescription
SI.MassFlowRateM_FLOWOutput for function dp_volumeFlowRate_MFLOW

Revisions

2018-11-21 Stefan Wischhusen: Fixed problem for linear case (a=0 and b>0) and obsolete regularization for a>0 and b>0.