functiondp_idealGas_DP

Generic pressure loss | calculate pressure loss | 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 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. On the other hand the function dp_idealGas_MFLOW 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. See more information.

Inputs

TypeNameDefaultDescription
Modelica.Fluid.Dissipation.PressureLoss.General.dp_idealGas_IN_conIN_conInput record for function dp_idealGas_DP
Modelica.Fluid.Dissipation.PressureLoss.General.dp_idealGas_IN_varIN_varInput record for function dp_idealGas_DP
SI.MassFlowRatem_flowMass flow rate

Outputs

TypeNameDefaultDescription
SI.PressureDPOutput for function dp_idealGas_DP