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

Functions

 _ship (src=None, model=None, counterbore="keep")
 test_declared_returns_the_block_itself ()
 test_piecewise_default_is_unchanged ()
 test_lichtarowicz_reproduces_the_published_fit_for_a_sharp_inlet (ld)
 test_lichtarowicz_keeps_the_thin_plate_anchor ()
 test_approach_by_independent_energy_balance ()
 test_no_counterbore_means_the_small_drill_runs_the_whole_passage ()
 test_a_counterbore_leaves_the_declared_land ()
 test_a_land_longer_than_the_passage_is_capped ()
 test_ship_without_its_counterbore ()
 _python_only ()
 test_python_and_accelerator_agree_with_plate_ld (counterbore)
 test_contraction_coefficient ()
 test_margin_is_k_over_cd_over_cc_squared ()
 test_ship_is_clear_and_warm_lox_is_not ()
 test_a_cavitating_feed_loses_flow ()

Variables

 ROOT = Path(__file__).resolve().parents[1]
float PSI = 6894.757
str SHIP = ROOT / "configs/ethalox_8kN_SHIP.yaml"

Detailed Description

Orifice L/d from the plate as built, and the Cd it gives (docs/injector_face_and_manifold_plan.md, phase 6).

The discharge block used to take L/d as a typed number while the plate thickness, hole angle
and counterbore that decide it lived elsewhere. On SHIP the declared 4.0 is right only
because a 4 mm counterbore is drilled; skip it and the small drill runs L/d 9.7 (LOX) and
13.2 (fuel), Cd falls to 0.745 / 0.715, and the engine makes 3.1 % less thrust at O/F 1.70.

Function Documentation

◆ _python_only()

test_orifice_ld_from_plate._python_only ( )
protected

◆ _ship()

test_orifice_ld_from_plate._ship ( src = None,
model = None,
counterbore = "keep" )
protected

◆ test_a_cavitating_feed_loses_flow()

test_orifice_ld_from_plate.test_a_cavitating_feed_loses_flow ( )
Cavitation used to be reported only; a vena contracta at vapour pressure now caps Cd at
Cc sqrt(K) (Nurick 1976), so saturated LOX flows less and the engine makes less thrust.

Definition at line 198 of file test_orifice_ld_from_plate.py.

References _ship().

◆ test_a_counterbore_leaves_the_declared_land()

test_orifice_ld_from_plate.test_a_counterbore_leaves_the_declared_land ( )

Definition at line 98 of file test_orifice_ld_from_plate.py.

◆ test_a_land_longer_than_the_passage_is_capped()

test_orifice_ld_from_plate.test_a_land_longer_than_the_passage_is_capped ( )

Definition at line 105 of file test_orifice_ld_from_plate.py.

◆ test_approach_by_independent_energy_balance()

test_orifice_ld_from_plate.test_approach_by_independent_energy_balance ( )
Plenum -> counterbore (entrance K) -> orifice; solve the drops for a mass flow, compare.

Definition at line 76 of file test_orifice_ld_from_plate.py.

◆ test_contraction_coefficient()

test_orifice_ld_from_plate.test_contraction_coefficient ( )

Definition at line 171 of file test_orifice_ld_from_plate.py.

◆ test_declared_returns_the_block_itself()

test_orifice_ld_from_plate.test_declared_returns_the_block_itself ( )

Definition at line 46 of file test_orifice_ld_from_plate.py.

References _ship().

◆ test_lichtarowicz_keeps_the_thin_plate_anchor()

test_orifice_ld_from_plate.test_lichtarowicz_keeps_the_thin_plate_anchor ( )

Definition at line 67 of file test_orifice_ld_from_plate.py.

◆ test_lichtarowicz_reproduces_the_published_fit_for_a_sharp_inlet()

test_orifice_ld_from_plate.test_lichtarowicz_reproduces_the_published_fit_for_a_sharp_inlet ( ld)
Sharp inlet (table 0.80) x factor must equal Cd_u = 0.827 - 0.0085 L/d exactly.

Definition at line 62 of file test_orifice_ld_from_plate.py.

◆ test_margin_is_k_over_cd_over_cc_squared()

test_orifice_ld_from_plate.test_margin_is_k_over_cd_over_cc_squared ( )

Definition at line 177 of file test_orifice_ld_from_plate.py.

◆ test_no_counterbore_means_the_small_drill_runs_the_whole_passage()

test_orifice_ld_from_plate.test_no_counterbore_means_the_small_drill_runs_the_whole_passage ( )

Definition at line 91 of file test_orifice_ld_from_plate.py.

◆ test_piecewise_default_is_unchanged()

test_orifice_ld_from_plate.test_piecewise_default_is_unchanged ( )

Definition at line 51 of file test_orifice_ld_from_plate.py.

◆ test_python_and_accelerator_agree_with_plate_ld()

test_orifice_ld_from_plate.test_python_and_accelerator_agree_with_plate_ld ( counterbore)

Definition at line 134 of file test_orifice_ld_from_plate.py.

References _python_only(), and _ship().

◆ test_ship_is_clear_and_warm_lox_is_not()

test_orifice_ld_from_plate.test_ship_is_clear_and_warm_lox_is_not ( )

Definition at line 184 of file test_orifice_ld_from_plate.py.

References _ship().

◆ test_ship_without_its_counterbore()

test_orifice_ld_from_plate.test_ship_without_its_counterbore ( )

Definition at line 111 of file test_orifice_ld_from_plate.py.

References _ship().

Variable Documentation

◆ PSI

float test_orifice_ld_from_plate.PSI = 6894.757

Definition at line 23 of file test_orifice_ld_from_plate.py.

◆ ROOT

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

Definition at line 22 of file test_orifice_ld_from_plate.py.

◆ SHIP

str test_orifice_ld_from_plate.SHIP = ROOT / "configs/ethalox_8kN_SHIP.yaml"

Definition at line 24 of file test_orifice_ld_from_plate.py.