Colebrook
fullflow.Colebrook
Colebrook-White Darcy friction factor correlation.
Colebrook computes a Darcy friction factor from mass flow, viscosity, hydraulic diameter, flow area, and roughness. Laminar flow uses a Poiseuille-number fallback, while turbulent flow uses an explicit Colebrook-White solution.
Parameters
| Name | Type | Description |
|---|---|---|
name | str | Component name |
network | Network | Network that owns this component |
mass_ | State | Fluid mass flow rate. The absolute value is used |
friction_ | State | Output Darcy friction factor |
hydraulic_ | State or float | Hydraulic diameter |
dynamic_ | State | Fluid dynamic viscosity |
cross_ | State or float | Flow cross-sectional area |
poiseuille_ | float, optional | Poiseuille number used for laminar flow |
roughness | State or float, optional | Absolute wall roughness |
reynolds_ | State or float, optional | Output Reynolds number |
reynolds_ | State or float, optional | Reynolds number threshold for laminar fallback |
Outputs
| Name | Type | Description |
|---|---|---|
friction_ | State | Darcy friction factor |
reynolds_ | State or float, optional | Reynolds number |