Fitting adapters against the ``fluids`` functions they adapt.
The module docstring of :mod:`feedtwin.comps.correlations` says every fitting is
an adapter onto ``fluids`` and computes nothing of its own. These hold it to
that: the K a fitting component prices must be the K ``fluids`` gives for the
same geometry, in the units ``fluids`` documents.
| None test_fittings_against_fluids.test_a_bend_fitting_reads_its_angle_in_degrees |
( |
float | degrees | ) |
|
``fluids.bend_rounded`` takes its angle in degrees.
The fitting's ``angle`` parameter is an *angle* dimension, so the model
layer hands it over in radians; passed straight through, a 90-degree bend
priced as a 1.57-degree one (K 0.018 against 0.229).
Definition at line 43 of file test_fittings_against_fluids.py.
References _ethanol(), _fitting(), and _K().
| None test_fittings_against_fluids.test_a_crane_multiple_is_of_the_fully_turbulent_f_T |
( |
str | kind, |
|
|
float | n, |
|
|
float
| mdot ) |
Crane TP-410 gives these as ``K = n . f_T``, f_T the fully turbulent
friction factor of the pipe size (fluids' ``ft_Crane``) -- not the line's
friction factor at its own Reynolds number, which put a 30 f_T elbow
anywhere from 0.55 to 1.09 against Crane's 0.885 in 9.5 mm.
Definition at line 66 of file test_fittings_against_fluids.py.
References _ethanol(), _fitting(), and _K().
| None test_fittings_against_fluids.test_an_unsplit_tee_is_cranes_f_T_multiple |
( |
str | kind, |
|
|
float | n ) |
A segment's tee carries one flow and does not know the other leg's, so
it is Crane's unsplit tee: through the run 20 f_T, turning through the
branch 60 f_T. It used to read fluids' converging-tee correlations at a
split of 0.5/0.5 -- which is *all* the flow from the branch -- giving
0.41 for the branch (Crane 1.77) and 0.525 for a run carrying nothing.
Definition at line 80 of file test_fittings_against_fluids.py.
References _ethanol(), _fitting(), and _K().