functionDarcyFrictionFactor
Computes the Darcy friction factor from mass flow rate
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow | ||
| SI.Area | area | ||
| SI.Density | rho | ||
| SI.DynamicViscosity | mu | ||
| SI.Diameter | diameter | ||
| SI.Length | roughness | ||
| SI.Length | length | ||
| SI.ReynoldsNumber | Re_turbulent | 4000 | Turbulent flow if Re >= Re_turbulent (dummy if use_Re_turbulent = false) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | dp | Pressure loss (dp = port_a.p - port_b.p) |
Contents
| Name | Description |
|---|---|
| interpolateInRegion2protected |