functionpressureLoss_m_flow_WallFriction
Return pressure drop from constant loss factor, mass flow rate and Re (dp = f(m_flow))
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow | Mass flow rate from port_a to port_b | |
| SI.Density | d_a | Density at port_a | |
| SI.Density | d_b | Density at port_b | |
| SI.DynamicViscosity | eta_a | Dynamic viscosity at port_a (dummy if use_eta = false) | |
| SI.DynamicViscosity | eta_b | Dynamic viscosity at port_b (dummy if use_eta = false) | |
| SI.Length | length | Length of pipe | |
| SI.Diameter | diameter | Inner (hydraulic) diameter of pipe | |
| SI.Length | roughness | 2.5e-5 | Absolute roughness of pipe, with a default for a smooth steel pipe |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | dp | Pressure drop (dp = port_a.p - port_b.p) |
Contents
| Name | Description |
|---|---|
| interpolateInRegion2protected |