functiondp_idealGas_MFLOW

Generic pressure loss | calculate mass flow rate | ideal gas | mean density

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

Information

Calculation of a generic pressure loss for an ideal gas using mean density.

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_idealGas_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_idealGas_IN_conIN_conInput record for function dp_idealGas_MFLOW
Modelica.Fluid.Dissipation.PressureLoss.General.dp_idealGas_IN_varIN_varInput record for function dp_idealGas_MFLOW
SI.PressuredpPressure loss

Outputs

TypeNameDefaultDescription
SI.MassFlowRateM_FLOWOutput for function dp_idealGas_MFLOW