massFlowRate_dp_staticHead

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

Inputs (12)

dp

Type: Pressure (Pa)

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

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)

dp_small

Default Value: 1

Type: AbsolutePressure (Pa)

Description: Regularization of zero flow if |dp| < dp_small (dummy if use_dp_small = false)

Re_turbulent

Default Value: 4000

Type: ReynoldsNumber

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

Outputs (1)

m_flow

Type: MassFlowRate (kg/s)

Description: Mass flow rate from port_a to port_b

Extended by (5)

massFlowRate_dp_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.Detailed

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

massFlowRate_dp_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.LaminarAndQuadraticTurbulent

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

massFlowRate_dp_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.QuadraticTurbulent

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

massFlowRate_dp_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.Laminar

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

massFlowRate_dp_staticHead

Modelica.Fluid.Pipes.BaseClasses.WallFriction.NoFriction

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