|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| _injector () | |
| test_returned_flow_is_the_bernoulli_flow_at_the_returned_head (pc_psi) | |
| test_a_tank_at_or_below_pc_does_not_flow_and_does_not_iterate (caplog) | |
Variables | |
| float | PSI = 6894.757 |
The injector's feed-loss / orifice closure is a root per stream, not a relaxed fixed point. At a fixed Pc the two streams do not interact. The old loop relaxed both together at w = 0.35 with a 1e-6 step test: it stopped ~2e-6 short of the root, and whenever the chamber solver probed a Pc above one tank it ran all 150 steps (that stream's flow shrinking by 0.65 a step, never "converging") and logged a warning each time -- ~12,000 lines in one Layer 1 run.
|
protected |
Definition at line 15 of file test_injector_stream_flow.py.
Referenced by test_a_tank_at_or_below_pc_does_not_flow_and_does_not_iterate(), and test_returned_flow_is_the_bernoulli_flow_at_the_returned_head().
| test_injector_stream_flow.test_a_tank_at_or_below_pc_does_not_flow_and_does_not_iterate | ( | caplog | ) |
Definition at line 36 of file test_injector_stream_flow.py.
References _injector().
| test_injector_stream_flow.test_returned_flow_is_the_bernoulli_flow_at_the_returned_head | ( | pc_psi | ) |
Definition at line 26 of file test_injector_stream_flow.py.
References _injector().
| float test_injector_stream_flow.PSI = 6894.757 |
Definition at line 12 of file test_injector_stream_flow.py.