STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_closure_keeps_cd Namespace Reference

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

Detailed Description

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.

Function Documentation

◆ _evaluate()

test_closure_keeps_cd._evaluate ( factor)
protected

◆ _python_physics()

test_closure_keeps_cd._python_physics ( )
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_a_violated_spray_constraint_does_not_shrink_cd()

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_the_ignored_factor_is_recorded()

test_closure_keeps_cd.test_the_ignored_factor_is_recorded ( )

Definition at line 56 of file test_closure_keeps_cd.py.

References _evaluate().

Variable Documentation

◆ PSI

float test_closure_keeps_cd.PSI = 6894.757

Definition at line 18 of file test_closure_keeps_cd.py.

◆ ROOT

test_closure_keeps_cd.ROOT = Path(__file__).resolve().parents[1]

Definition at line 17 of file test_closure_keeps_cd.py.