pumping
Engineering models for pumping system analysis.
darcy_friction_haaland(reynolds, roughness_channel, radius_channel)
Calculate Darcy friction factor using the Haaland equation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reynolds
|
float
|
Reynolds number. |
required |
roughness_channel
|
float
|
Roughness of the first wall coolant channel (m). |
required |
radius_channel
|
float
|
Radius of the first wall coolant channel (m). |
required |
Returns:
| Type | Description |
|---|---|
float
|
Darcy friction factor. |
Notes
The Haaland equation is an approximation to the implicit Colebrook-White equation. It is used to calculate the Darcy friction factor for turbulent flow in pipes.
References
- https://en.wikipedia.org/wiki/Darcy_friction_factor_formulae#Haaland_equation
Source code in process/models/engineering/pumping.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | |
gnielinski_heat_transfer_coefficient(mflux_coolant, den_coolant, radius_channel, heatcap_coolant, visc_coolant, thermcond_coolant, roughness_channel)
Calculate heat transfer coefficient using Gnielinski correlation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mflux_coolant
|
float
|
Coolant mass flux in a single channel (kg/m²/s). |
required |
den_coolant
|
float
|
Coolant density (average of inlet and outlet) (kg/m³). |
required |
radius_channel
|
float
|
Coolant pipe radius (m). |
required |
heatcap_coolant
|
float
|
Coolant specific heat capacity (average of inlet and outlet) (J/kg/K). |
required |
visc_coolant
|
float
|
Coolant viscosity (average of inlet and outlet) (Pa.s). |
required |
thermcond_coolant
|
float
|
Thermal conductivity of coolant (average of inlet and outlet) (W/m.K). |
required |
roughness_channel
|
float
|
Roughness of the coolant channel (m). |
required |
Returns:
| Type | Description |
|---|---|
float
|
Heat transfer coefficient (W/m²K). |
Notes
Gnielinski correlation. Ignore the distinction between wall and bulk temperatures. Valid for: 3000 < Re < 5e6, 0.5 < Pr < 2000
References
- https://en.wikipedia.org/wiki/Nusselt_number#Gnielinski_correlation
Source code in process/models/engineering/pumping.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | |
calculate_reynolds_number(den_coolant, vel_coolant, radius_channel, visc_coolant)
Calculate Reynolds number for flow in a pipe.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
den_coolant
|
float
|
Coolant density (average of inlet and outlet) (kg/m³). |
required |
vel_coolant
|
float
|
Coolant velocity in a single channel (m/s). |
required |
radius_channel
|
float
|
Coolant pipe radius (m). |
required |
visc_coolant
|
float
|
Coolant viscosity (average of inlet and outlet) (Pa.s). |
required |
Returns:
| Type | Description |
|---|---|
float
|
Reynolds number. |
Source code in process/models/engineering/pumping.py
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | |