modelColebrook_ph
Colebrook's equation
Extends from ThermoPower.Friction.Interfaces.FrictionBase1DFEM (Friction base model for 1DFEM components).
Information
This friction model can be used with the Fow1DFEM 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 FrictionBase1DFEM) | Hydraulic Diameter (single element in parallel) | |
| SI.PerUnit | Kfc (from FrictionBase1DFEM) | Friction factor correction coefficient | |
| Integer | Nt (from FrictionBase1DFEM) | 1 | Number of tubes in parallel |
| Integer | N (from FrictionBase1DFEM) | 2 | Number of nodes for thermal variables |
| SI.Length | L (from FrictionBase1DFEM) | Tube length | |
| SI.Area | A (from FrictionBase1DFEM) | Cross-sectional area (single element in parallel) | |
| Medium.MassFlowRate | wnom (from FrictionBase1DFEM) | Nominal mass flowrate (total) | |
| SI.PressureDifference | dpnom (from FrictionBase1DFEM) | Nominal pressure drop | |
| SI.Length | omega_hyd (from FrictionBase1DFEM) | 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 FrictionBase1DFEM) | Thermodynamic state of the fluid at the nodes | |
| Medium.MassFlowRate[N] | w (from FrictionBase1DFEM) | Mass flowrate (single tube) | |
| Real[N] | Kf (from FrictionBase1DFEM) | Friction coefficient | |
| Real[N] | Cf (from FrictionBase1DFEM) | Fanning friction factor | |
| Boolean | NoFriction (from FrictionBase1DFEM) | =true, if no friction is used |
Revisions
- 18 Mar 2026
by Andrea Bartolini:
First release.