functionfDarcy
Darcy friction factor
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function for defining the Darcy friction factor using the Reynolds number. Has different equations for laminar (Reynolds number < 2100) and turbulent (Reynolds number > 2300) flows and also for transitional zone (2100 < Reynolds number < 2300).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.ReynoldsNumber | N_Re | Reynolds number | |
| SI.Diameter | D | Pipe diameter | |
| SI.Height | p_eps | Pipe roughness height |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | fD | Darcy friction factor |