|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| float | _paper (float Re, float lod) |
| DischargeConfig | _sharp (float lod, **kw) |
| test_matches_paper (Re, lod) | |
| test_audit_magnitudes_ld4 (Re, want) | |
| test_piecewise_keeps_legacy_a_re () | |
| test_no_inlet_keeps_legacy_a_re () | |
Cd(Re) of a drilled orifice follows Lichtarowicz, Duggins & Markland (1965).
J. Mech. Eng. Sci. 7(2):210-219, sharp-inlet long orifice, non-cavitating, 2 <= L/d <= 10:
1/Cd = 1/Cd_u + 20 (1 + 2.25 L/d)/Re - 0.0015 (L/d) / (1 + 7.5 [log10(0.00015 Re)]^2)
Cd_u = 0.827 - 0.0085 L/d
The module anchors Cd_u to its inlet table (sharp 0.80 at the fit's L/d 3.18), which for a sharp
inlet reproduces the published Cd_u exactly; that is what the expected values below use. The old
law, Cd_inf - a_Re / sqrt(Re) with an unsourced a_Re = 0.18, sat ~0.06 high at Re 2e3.
Expected values are computed here from the paper's expression, not from the module.
|
protected |
Definition at line 24 of file test_cd_lichtarowicz_re.py.
Referenced by test_matches_paper().
|
protected |
Definition at line 31 of file test_cd_lichtarowicz_re.py.
Referenced by test_audit_magnitudes_ld4(), test_matches_paper(), and test_piecewise_keeps_legacy_a_re().
| test_cd_lichtarowicz_re.test_audit_magnitudes_ld4 | ( | Re, | |
| want ) |
Definition at line 47 of file test_cd_lichtarowicz_re.py.
References _sharp().
| test_cd_lichtarowicz_re.test_matches_paper | ( | Re, | |
| lod ) |
Definition at line 38 of file test_cd_lichtarowicz_re.py.
| test_cd_lichtarowicz_re.test_no_inlet_keeps_legacy_a_re | ( | ) |
Definition at line 57 of file test_cd_lichtarowicz_re.py.
| test_cd_lichtarowicz_re.test_piecewise_keeps_legacy_a_re | ( | ) |
Definition at line 51 of file test_cd_lichtarowicz_re.py.
References _sharp().