engineeringkit.fluid_engineering#
Fluid statics, pipe flows, similarity, flow measurement and pumps.
Fluid statics, internal flows, dimensional analysis, pumps and measurement.
- engineeringkit.fluid_engineering.bernoulli_pressure(p1, rho, v1, v2, z1=0, z2=0, g=9.80665)[source]#
Bernoulli pressure.
- Parameters:
p1 (Pa) – Input in the units stated above.
rho (kg/m^3) – Input in the units stated above.
v1 (m/s) – Input in the units stated above.
v2 (m/s) – Input in the units stated above.
z1 (m) – Input in the units stated above.
z2 (m) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
Pa.
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.buoyancy_force(rho, displaced_volume, g=9.80665)[source]#
Buoyancy force.
- Parameters:
rho (kg/m^3) – Input in the units stated above.
displaced_volume (m^3) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.cavitation_number(p, p_vapor, rho, v)[source]#
Cavitation number.
- Parameters:
p (Pa) – Input in the units stated above.
p_vapor (Pa) – Input in the units stated above.
rho (kg/m^3) – Input in the units stated above.
v (m/s) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.colebrook_friction_factor(Re, relative_roughness)[source]#
Colebrook friction factor.
- Parameters:
Re (1) – Input in the units stated above.
relative_roughness (1) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.continuity_velocity(A1, v1, A2)[source]#
Continuity velocity.
- Parameters:
A1 (m^2) – Input in the units stated above.
v1 (m/s) – Input in the units stated above.
A2 (m^2) – Input in the units stated above.
- Returns:
m/s.
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.darcy_head_loss(f, L, D, v, g=9.80665)[source]#
Darcy head loss.
- Parameters:
f (1) – Input in the units stated above.
L (m) – Input in the units stated above.
D (m) – Input in the units stated above.
v (m/s) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.dynamic_pressure(rho, v)[source]#
Dynamic pressure.
- Parameters:
rho (kg/m^3) – Input in the units stated above.
v (m/s) – Input in the units stated above.
- Returns:
Pa.
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.euler_number(delta_p, rho, v)[source]#
Euler number.
- Parameters:
delta_p (Pa) – Input in the units stated above.
rho (kg/m^3) – Input in the units stated above.
v (m/s) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.froude_number(v, length, g=9.80665)[source]#
Froude number.
- Parameters:
v (m/s) – Input in the units stated above.
length (m) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.hydraulic_diameter(area, wetted_perimeter)[source]#
Hydraulic diameter.
- Parameters:
area (m^2) – Input in the units stated above.
wetted_perimeter (m) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.hydrostatic_pressure(rho, h, g=9.80665)[source]#
Hydrostatic pressure.
- Parameters:
rho (kg/m^3) – Input in the units stated above.
h (m) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
Pa.
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.laminar_friction_factor(Re)[source]#
Laminar friction factor.
- Parameters:
Re (1) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.mach_number(v, speed_of_sound)[source]#
Mach number.
- Parameters:
v (m/s) – Input in the units stated above.
speed_of_sound (m/s) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.minor_head_loss(K, v, g=9.80665)[source]#
Minor head loss.
- Parameters:
K (1) – Input in the units stated above.
v (m/s) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.pitot_velocity(delta_p, rho)[source]#
Pitot velocity.
- Parameters:
delta_p (Pa) – Input in the units stated above.
rho (kg/m^3) – Input in the units stated above.
- Returns:
m/s.
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.poiseuille_flow(delta_p, radius, length, mu)[source]#
Poiseuille flow.
- Parameters:
delta_p (Pa) – Input in the units stated above.
radius (m) – Input in the units stated above.
length (m) – Input in the units stated above.
mu (Pa s) – Input in the units stated above.
- Returns:
m^3/s.
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.pressure_head(p, rho, g=9.80665)[source]#
Pressure head.
- Parameters:
p (Pa) – Input in the units stated above.
rho (kg/m^3) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.pump_hydraulic_power(rho, Q, head, g=9.80665)[source]#
Pump hydraulic power.
- Parameters:
rho (kg/m^3) – Input in the units stated above.
Q (m^3/s) – Input in the units stated above.
head (m) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.pump_input_power(rho, Q, head, efficiency, g=9.80665)[source]#
Pump input power.
- Parameters:
rho (kg/m^3) – Input in the units stated above.
Q (m^3/s) – Input in the units stated above.
head (m) – Input in the units stated above.
efficiency (1) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.pump_specific_speed(omega, Q, head, g=9.80665)[source]#
Pump specific speed.
- Parameters:
omega (rad/s) – Input in the units stated above.
Q (m^3/s) – Input in the units stated above.
head (m) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.reynolds_number(rho, v, D, mu)[source]#
Reynolds number.
- Parameters:
rho (kg/m^3) – Input in the units stated above.
v (m/s) – Input in the units stated above.
D (m) – Input in the units stated above.
mu (Pa s) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.swamee_jain_friction_factor(Re, relative_roughness)[source]#
Swamee jain friction factor.
- Parameters:
Re (1) – Input in the units stated above.
relative_roughness (1) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.velocity_head(v, g=9.80665)[source]#
Velocity head.
- Parameters:
v (m/s) – Input in the units stated above.
g (m/s^2) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.venturi_flow(delta_p, rho, A1, A2)[source]#
Venturi flow.
- Parameters:
delta_p (Pa) – Input in the units stated above.
rho (kg/m^3) – Input in the units stated above.
A1 (m^2) – Input in the units stated above.
A2 (m^2) – Input in the units stated above.
- Returns:
m^3/s.
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.water_hammer_pressure(rho, wave_speed, delta_v)[source]#
Water hammer pressure.
- Parameters:
rho (kg/m^3) – Input in the units stated above.
wave_speed (m/s) – Input in the units stated above.
delta_v (m/s) – Input in the units stated above.
- Returns:
Pa.
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.
- engineeringkit.fluid_engineering.weber_number(rho, v, length, surface_tension)[source]#
Weber number.
- Parameters:
rho (kg/m^3) – Input in the units stated above.
v (m/s) – Input in the units stated above.
length (m) – Input in the units stated above.
surface_tension (N/m) – Input in the units stated above.
- Returns:
- Return type:
result
Notes
Assumptions, governing equations and validity limits are discussed in Fluid engineering: flow regimes and signed quantities. SI inputs are required; raw numbers carry no dimensional metadata.