lib.fitting module¶
Fitting accesories K
TODO
- lib.fitting.K_contraction_crane(D1, D2, tita=None, L=None)[source]¶
- Returns loss coefficient for a pipe contraction as shown in [1], pag
A-26
If Θ < 45º:
\[K = 0.8 \sin \frac{\theta}{2}\left(1 - \beta^2\right)\]and for Θ > 45º:
\[K = 0.5 \right(1 - \beta^2\left) \sqrt{\sin \frac{\theta}{2}}\]
- Parameters:
- D1float
Pipe diameter of entrance of contraction, [m]
- D2float
Pipe diameter of the exit of contraction, [m]
- titafloat, optional
Angle of contraction, [degrees]
- Lfloat, optional
Length of the contraction, [m]
- Returns:
- Kfloat
Loss coefficient, [-]
Notes
For gradual contraction we can define with the angle of the contraction Θ or with the length of contraction, L.
References
[1] Crane; Flow of Fluids Through Valves, Fittings, and Pipe. Crane CO, 1982
- lib.fitting.K_enlargement_crane(D1, D2, tita=None, L=None)[source]¶
- Returns loss coefficient for a pipe expansion as shown in [1], pag
A-26
If Θ < 45º:
\[K = 2.6 \sin \frac{\theta}{2}\left(1 - \beta^2\right)\]and for Θ > 45º:
\[K = \right(1 - \beta^2\left)^2\]
- Parameters:
- D1float
Pipe diameter of entrance of contraction, [m]
- D2float
Pipe diameter of the exit of contraction, [m]
- titafloat, optional
Angle of contraction, [degrees]
- Lfloat, optional
Length of the contraction, [m]
- Returns:
- Kfloat
Loss coefficient, [-]
Notes
For gradual contraction we can define with the angle of the contraction Θ or with the length of contraction, L.
References
[1] Crane; Flow of Fluids Through Valves, Fittings, and Pipe. Crane CO, 1982
- lib.fitting.Ft(D)[source]¶
Función dependiente del diametro que sirve para definir las K de valvulas y accesorios de tuberías D debe ser introducido en mm