pressureLoss_m_flow_totalPressure

Return pressure drop from constant loss factor and mass flow rate (dp = f(m_flow))

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Compute pressure drop from constant loss factor and mass flow rate (dp = f(m_flow)). For small mass flow rates(|m_flow| < m_flow_small), the characteristic is approximated by a polynomial in order to have a finite derivative at zero mass flow rate.

Syntax

dp = pressureLoss_m_flow_totalPressure(m_flow, rho_a_des, rho_b_des, rho_b_nondes, rho_a_nondes, data, m_flow_small)

Inputs (7)

m_flow

Type: MassFlowRate (kg/s)

Description: Mass flow rate from port_a to port_b

rho_a_des

Type: Density (kg/m³)

Description: Density at port_a, mass flow in design direction a -> b

rho_b_des

Type: Density (kg/m³)

Description: Density at port_b, mass flow in design direction a -> b

rho_b_nondes

Type: Density (kg/m³)

Description: Density at port_b, mass flow against design direction a <- b

rho_a_nondes

Type: Density (kg/m³)

Description: Density at port_a, mass flow against design direction a <- b

data

Type: LossFactorData

Description: Constant loss factors for both flow directions

m_flow_small

Default Value: 0.01

Type: MassFlowRate (kg/s)

Description: Turbulent flow if |m_flow| >= m_flow_small

Outputs (1)

dp

Type: Pressure (Pa)

Description: Pressure drop (dp = port_a.p - port_b.p)