modelColebrook_ph
Colebrook's equation
Extends from ThermoPower.Friction.Interfaces.FrictionBase1DFV (Friction base model for 1DFV components).
Information
This friction model can be used with the Fow1DFV model in the FluidPh package.
Fanning friction factor is computed by Colebrook's equation (assuming Re > 2100, e.g. turbulent flow).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Length | Dhyd (from FrictionBase1DFV) | Hydraulic Diameter (single element in parallel) | |
| SI.PerUnit | Kfc (from FrictionBase1DFV) | Friction factor correction coefficient | |
| Integer | Nt (from FrictionBase1DFV) | 1 | Number of tubes in parallel |
| Integer | N (from FrictionBase1DFV) | 2 | Number of nodes for thermal variables |
| SI.Length | L (from FrictionBase1DFV) | Tube length | |
| SI.Area | A (from FrictionBase1DFV) | Cross-sectional area (single element in parallel) | |
| SI.PerUnit | wnf (from FrictionBase1DFV) | Fraction of nominal flow rate at which linear friction equals turbulent friction | |
| Medium.MassFlowRate | wnom (from FrictionBase1DFV) | Nominal mass flowrate (total) | |
| SI.PressureDifference | dpnom (from FrictionBase1DFV) | Nominal pressure drop | |
| SI.Length | omega_hyd (from FrictionBase1DFV) | 4*A/Dhyd | Wet perimeter (single tube) |
| SI.PerUnit | e | 0 | Relative roughness (ratio roughness/diameter) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | fluidState (from FrictionBase1DFV) | Thermodynamic state of the fluid at the nodes | |
| Medium.MassFlowRate | w (from FrictionBase1DFV) | Mass flowrate (single tube) | |
| Real | Kf (from FrictionBase1DFV) | Hydraulic friction coefficient | |
| Real | Kfl (from FrictionBase1DFV) | Linear friction factor | |
| SI.PerUnit | Cf (from FrictionBase1DFV) | Fanning friction factor | |
| Boolean | NoFriction (from FrictionBase1DFV) | =true, if no friction is used |
Revisions
- 12 Mar 2026
by Andrea Bartolini:
First release.