This component defines the quadratic turbulent regime of wall friction: dp = k*m_flow*|m_flow|, where "k" depends on density and the roughness of the pipe and is no longer a function of the Reynolds number. This relationship is only valid for large Reynolds numbers. At Re=4000, a polynomial is constructed that approaches the constant λ (for large Reynolds-numbers) at Re=4000 smoothly and has a derivative at zero mass flow rate that is identical to laminar wall friction.
Extends from Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction
(Partial wall friction characteristic (base package of all wall friction characteristics)).
Name | Description |
---|---|
Internal … | Functions to calculate mass flow rate from friction pressure drop and vice versa |
massFlowRate_dp | Return mass flow rate m_flow as function of pressure loss dp, i.e., m_flow = f(dp), due to wall friction |
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 |
pressureLoss_m_flow | Return pressure loss dp as function of mass flow rate m_flow, i.e., dp = f(m_flow), due to wall friction |
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 |
Type | Name | Value | Description |
---|---|---|---|
Boolean | dp_is_zero | false | = true, if no wall friction is present, i.e., dp = 0 (function massFlowRate_dp() cannot be used) |
final Boolean | use_dp_small | true | = true, if dp_small is used in function, otherwise value is not used |
final Boolean | use_m_flow_small | true | = true, if m_flow_small is used in function, otherwise value is not used |
final Boolean | use_mu | true | = true, if mu_a/mu_b are used in function, otherwise value is not used |
final Boolean | use_Re_turbulent | true | = true, if Re_turbulent input is used in function, otherwise value is not used |
final Boolean | use_roughness | true | = true, if roughness is used in function, otherwise value is not used |
Extends from Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.massFlowRate_dp
(Return mass flow rate m_flow as function of pressure loss dp, i.e., m_flow = f(dp), due to wall friction).
Type | Name | Description |
---|---|---|
Pressure | dp | Pressure loss (dp = port_a.p - port_b.p) |
Density | rho_a | Density at port_a |
Density | rho_b | Density at port_b |
DynamicViscosity | mu_a | Dynamic viscosity at port_a (dummy if use_mu = false) |
DynamicViscosity | mu_b | Dynamic viscosity at port_b (dummy if use_mu = false) |
Length | length | Length of pipe |
Diameter | diameter | Inner (hydraulic) diameter of pipe |
Area | crossArea | Inner cross section area |
Length | roughness | Absolute roughness of pipe, with a default for a smooth steel pipe (dummy if use_roughness = false) |
AbsolutePressure | dp_small | Regularization of zero flow if |dp| < dp_small (dummy if use_dp_small = false) |
ReynoldsNumber | Re_turbulent | Turbulent flow if Re >= Re_turbulent (dummy if use_Re_turbulent = false) |
Type | Name | Description |
---|---|---|
MassFlowRate | m_flow | Mass flow rate from port_a to port_b |
Extends from Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.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).
Type | Name | Description |
---|---|---|
Pressure | dp | Pressure loss (dp = port_a.p - port_b.p) |
Density | rho_a | Density at port_a |
Density | rho_b | Density at port_b |
DynamicViscosity | mu_a | Dynamic viscosity at port_a (dummy if use_mu = false) |
DynamicViscosity | mu_b | Dynamic viscosity at port_b (dummy if use_mu = false) |
Length | length | Length of pipe |
Diameter | diameter | Inner (hydraulic) diameter of pipe |
Real | g_times_height_ab | Gravity times (Height(port_b) - Height(port_a)) |
Area | crossArea | Inner cross section area |
Length | roughness | Absolute roughness of pipe, with a default for a smooth steel pipe (dummy if use_roughness = false) |
AbsolutePressure | dp_small | Regularization of zero flow if |dp| < dp_small (dummy if use_dp_small = false) |
ReynoldsNumber | Re_turbulent | Turbulent flow if Re >= Re_turbulent (dummy if use_Re_turbulent = false) |
Type | Name | Description |
---|---|---|
MassFlowRate | m_flow | Mass flow rate from port_a to port_b |
Extends from Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.pressureLoss_m_flow
(Return pressure loss dp as function of mass flow rate m_flow, i.e., dp = f(m_flow), due to wall friction).
Type | Name | Description |
---|---|---|
MassFlowRate | m_flow | Mass flow rate from port_a to port_b |
Density | rho_a | Density at port_a |
Density | rho_b | Density at port_b |
DynamicViscosity | mu_a | Dynamic viscosity at port_a (dummy if use_mu = false) |
DynamicViscosity | mu_b | Dynamic viscosity at port_b (dummy if use_mu = false) |
Length | length | Length of pipe |
Diameter | diameter | Inner (hydraulic) diameter of pipe |
Area | crossArea | Inner cross section area |
Length | roughness | Absolute roughness of pipe, with a default for a smooth steel pipe (dummy if use_roughness = false) |
MassFlowRate | m_flow_small | Regularization of zero flow if |m_flow| < m_flow_small (dummy if use_m_flow_small = false) |
ReynoldsNumber | Re_turbulent | Turbulent flow if Re >= Re_turbulent (dummy if use_Re_turbulent = false) |
Type | Name | Description |
---|---|---|
Pressure | dp | Pressure loss (dp = port_a.p - port_b.p) |
Extends from Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.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).
Type | Name | Description |
---|---|---|
MassFlowRate | m_flow | Mass flow rate from port_a to port_b |
Density | rho_a | Density at port_a |
Density | rho_b | Density at port_b |
DynamicViscosity | mu_a | Dynamic viscosity at port_a (dummy if use_mu = false) |
DynamicViscosity | mu_b | Dynamic viscosity at port_b (dummy if use_mu = false) |
Length | length | Length of pipe |
Diameter | diameter | Inner (hydraulic) diameter of pipe |
Real | g_times_height_ab | Gravity times (Height(port_b) - Height(port_a)) |
Area | crossArea | Inner cross section area |
Length | roughness | Absolute roughness of pipe, with a default for a smooth steel pipe (dummy if use_roughness = false) |
MassFlowRate | m_flow_small | Regularization of zero flow if |m_flow| < m_flow_small (dummy if use_m_flow_small = false) |
ReynoldsNumber | Re_turbulent | Turbulent flow if Re >= Re_turbulent (dummy if use_Re_turbulent = false) |
Type | Name | Description |
---|---|---|
Pressure | dp | Pressure loss (dp = port_a.p - port_b.p) |
Generated 2018-12-12 12:13:24 EST by MapleSim.