pressureLoss_m_flow_staticHead

Return pressure loss dp as function of mass flow rate m_flow, i.e., dp = f(m_flow), due to wall friction and static head

Inputs (12)

m_flow

Type: MassFlowRate (kg/s)

Description: Mass flow rate from port_a to port_b

rho_a

Type: Density (kg/m³)

Description: Density at port_a

rho_b

Type: Density (kg/m³)

Description: Density at port_b

mu_a

Type: DynamicViscosity (Pa·s)

Description: Dynamic viscosity at port_a (dummy if use_mu = false)

mu_b

Type: DynamicViscosity (Pa·s)

Description: Dynamic viscosity at port_b (dummy if use_mu = false)

length

Type: Length (m)

Description: Length of pipe

diameter

Type: Diameter (m)

Description: Inner (hydraulic) diameter of pipe

g_times_height_ab

Type: Real (m²/s²)

Description: Gravity times (Height(port_b) - Height(port_a))

crossArea

Default Value: pi * diameter ^ 2 / 4

Type: Area (m²)

Description: Inner cross section area

roughness

Default Value: 2.5e-5

Type: Roughness (m)

Description: Absolute roughness of pipe, with a default for a smooth steel pipe (dummy if use_roughness = false)

m_flow_small

Default Value: 0.01

Type: MassFlowRate (kg/s)

Description: Regularization of zero flow if |m_flow| < m_flow_small (dummy if use_m_flow_small = false)

Re_turbulent

Default Value: 4000

Type: ReynoldsNumber

Description: Turbulent flow if Re >= Re_turbulent (dummy if use_Re_turbulent = false)

Outputs (1)

dp

Type: Pressure (Pa)

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

Extended by (5)

pressureLoss_m_flow_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.Detailed

Return pressure loss dp as function of mass flow rate m_flow, i.e., dp = f(m_flow), due to wall friction and static head

pressureLoss_m_flow_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.LaminarAndQuadraticTurbulent

Return pressure loss dp as function of mass flow rate m_flow, i.e., dp = f(m_flow), due to wall friction and static head

pressureLoss_m_flow_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.QuadraticTurbulent

Return pressure loss dp as function of mass flow rate m_flow, i.e., dp = f(m_flow), due to wall friction and static head

pressureLoss_m_flow_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.Laminar

Return pressure loss dp as function of mass flow rate m_flow, i.e., dp = f(m_flow), due to wall friction and static head

pressureLoss_m_flow_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.NoFriction

Return pressure loss dp as function of mass flow rate m_flow, i.e., dp = f(m_flow), due to wall friction and static head