|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| _python_physics () | |
| _evaluate (factor) | |
| test_a_violated_spray_constraint_does_not_shrink_cd () | |
| test_the_ignored_factor_is_recorded () | |
Variables | |
| ROOT = Path(__file__).resolve().parents[1] | |
| float | PSI = 6894.757 |
The impinging closure never touches Cd, whatever solver.closure.Cd_reduction_factor says. configs/default.yaml (the template every new session loads) and 13 other configs still carry Cd_reduction_factor 0.95. With the spray constraints violated -- the 6500N's x* is 54 mm against its 50 mm limit -- the closure multiplied Cd by 0.95 up to six times: Cd_O 0.80 -> 0.62, F -12 %, and x* got WORSE (lower Cd, slower jets, bigger drops). Cd is orifice geometry and Reynolds number (Lichtarowicz 1965; SP-8089); an x* or We violation is reported, not "fixed". The expected Cd is the published sharp-inlet short-tube fit at the hole's L/d, less the Re term.
|
protected |
Definition at line 35 of file test_closure_keeps_cd.py.
Referenced by test_a_violated_spray_constraint_does_not_shrink_cd(), and test_the_ignored_factor_is_recorded().
|
protected |
The authoritative Python path; engine/accel mirrors it and test_numba_ab_parity holds the two together.
Definition at line 22 of file test_closure_keeps_cd.py.
| test_closure_keeps_cd.test_a_violated_spray_constraint_does_not_shrink_cd | ( | ) |
Definition at line 46 of file test_closure_keeps_cd.py.
References _evaluate().
| test_closure_keeps_cd.test_the_ignored_factor_is_recorded | ( | ) |
Definition at line 56 of file test_closure_keeps_cd.py.
References _evaluate().
| float test_closure_keeps_cd.PSI = 6894.757 |
Definition at line 18 of file test_closure_keeps_cd.py.
| test_closure_keeps_cd.ROOT = Path(__file__).resolve().parents[1] |
Definition at line 17 of file test_closure_keeps_cd.py.