functionmassFlowRate_dp_WallFriction
Return mass flow rate from constant loss factor data, pressure drop and Re (m_flow = f(dp))
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | dp | Pressure drop (dp = port_a.p - port_b.p) | |
| 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.MassFlowRate | m_flow | Mass flow rate from port_a to port_b |
Contents
| Name | Description |
|---|---|
| interpolateInRegion2protected |