|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| _python_physics (monkeypatch) | |
| _evaluate (mutate=None, silent=True) | |
| _abl (res) | |
| _mach_sub (ar, g) | |
| _hand_bartz (res, Tw, area_ratio) | |
| test_barrel_convection_is_bartz_on_the_real_bore () | |
| test_disabled_regen_block_does_not_reach_the_liner () | |
| test_no_turbulence_multiplier () | |
| test_gas_radiation_uses_a_gas_emissivity () | |
| test_radiation_grows_with_bore () | |
| test_leckner_anchors_hottel () | |
| test_surface_runs_at_the_ablation_temperature_without_a_sink () | |
| test_displayed_profile_is_bartz_along_the_contour () | |
| test_regen_march_radiates_the_gas_not_a_blackbody () | |
Variables | |
| ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
| CFG = os.path.join(ROOT, "configs", "ethalox_6500N.yaml") | |
| float | PSI = 6894.757293168361 |
| float | P_TANK = 584.27 * PSI |
| float | SIGMA = 5.670374419e-8 |
| CEA_MU | |
| CEA_CP | |
| CEA_PR | |
The chamber wall's gas-side load: Bartz convection, H2O/CO2 gas radiation, the real bore. Findings TH-3, TH-4, TH-5, TH-10 and TH-11 of the 2026-09-25 overnight review. The old model took its bore, k, Pr, recovery factor, emissivity and turbulence from the DISABLED regen block, radiated the gas as a blackbody at the wall's emissivity 0.85, tripled the convection with an unsourced turbulence factor, pinned the surface at a 1200 K "limit" and then subtracted the wall's own emission a second time toward a 600 K sink. Expected numbers are computed here by hand: Bartz (Huzel & Huang eq. 4-13), the exact isentropic area-Mach relation, and CEA frozen transport for LOX/ethanol at O/F 1.50, 430 psia (rocketcea get_Chamber_Transport, frozen: cp 0.534 BTU/lbm R = 2236 J/(kg K), mu 1.041 mP, Pr 0.664; these move < 1 % over O/F 1.45-1.55 and 400-450 psia).
|
protected |
Definition at line 48 of file test_hot_gas_wall_flux.py.
Referenced by test_barrel_convection_is_bartz_on_the_real_bore(), test_disabled_regen_block_does_not_reach_the_liner(), test_displayed_profile_is_bartz_along_the_contour(), test_gas_radiation_uses_a_gas_emissivity(), test_no_turbulence_multiplier(), and test_surface_runs_at_the_ablation_temperature_without_a_sink().
|
protected |
Definition at line 41 of file test_hot_gas_wall_flux.py.
Referenced by test_barrel_convection_is_bartz_on_the_real_bore(), test_disabled_regen_block_does_not_reach_the_liner(), test_displayed_profile_is_bartz_along_the_contour(), test_gas_radiation_uses_a_gas_emissivity(), test_no_turbulence_multiplier(), test_regen_march_radiates_the_gas_not_a_blackbody(), and test_surface_runs_at_the_ablation_temperature_without_a_sink().
|
protected |
H&H eq. 4-13 with the stagnation state of the solve; r_c the mean of the drawn contour's 1.5 Rt / 0.382 Rt throat radii.
Definition at line 57 of file test_hot_gas_wall_flux.py.
References _mach_sub().
Referenced by test_barrel_convection_is_bartz_on_the_real_bore(), and test_displayed_profile_is_bartz_along_the_contour().
|
protected |
Definition at line 52 of file test_hot_gas_wall_flux.py.
Referenced by _hand_bartz().
|
protected |
Definition at line 36 of file test_hot_gas_wall_flux.py.
| test_hot_gas_wall_flux.test_barrel_convection_is_bartz_on_the_real_bore | ( | ) |
Definition at line 76 of file test_hot_gas_wall_flux.py.
References _abl(), _evaluate(), and _hand_bartz().
| test_hot_gas_wall_flux.test_disabled_regen_block_does_not_reach_the_liner | ( | ) |
Definition at line 88 of file test_hot_gas_wall_flux.py.
References _abl(), and _evaluate().
| test_hot_gas_wall_flux.test_displayed_profile_is_bartz_along_the_contour | ( | ) |
Definition at line 175 of file test_hot_gas_wall_flux.py.
References _abl(), _evaluate(), _hand_bartz(), max, and min.
| test_hot_gas_wall_flux.test_gas_radiation_uses_a_gas_emissivity | ( | ) |
H2O 45 % / CO2 14 % at ~29 bar over an 8-12 cm beam: Leckner eps_g 0.15-0.30, i.e. 0.8-2 MW/m^2 onto a 1200 K wall -- not 0.85 sigma Tc^4 = 5.1 MW/m^2.
Definition at line 116 of file test_hot_gas_wall_flux.py.
References _abl(), and _evaluate().
| test_hot_gas_wall_flux.test_leckner_anchors_hottel | ( | ) |
Zero-pressure H2O emissivity at 1000 K and 1 bar cm is 0.034 (Hottel/Leckner).
Definition at line 147 of file test_hot_gas_wall_flux.py.
| test_hot_gas_wall_flux.test_no_turbulence_multiplier | ( | ) |
Definition at line 107 of file test_hot_gas_wall_flux.py.
References _abl(), and _evaluate().
| test_hot_gas_wall_flux.test_radiation_grows_with_bore | ( | ) |
Definition at line 133 of file test_hot_gas_wall_flux.py.
| test_hot_gas_wall_flux.test_regen_march_radiates_the_gas_not_a_blackbody | ( | ) |
With regen on, radiation_emissivity_hot is the WALL's emissivity: the gas term is Leckner's, 1-2 MW/m^2 here, not 0.85 sigma Tc^4 (~5-6 MW/m^2).
Definition at line 195 of file test_hot_gas_wall_flux.py.
References _evaluate().
| test_hot_gas_wall_flux.test_surface_runs_at_the_ablation_temperature_without_a_sink | ( | ) |
The hot face sits at the material's ablation temperature (a config property), and the net flux is exactly blown convection plus gas radiation: no second wall-emission term.
Definition at line 153 of file test_hot_gas_wall_flux.py.
References _abl(), and _evaluate().
| test_hot_gas_wall_flux.CEA_CP |
Definition at line 32 of file test_hot_gas_wall_flux.py.
| test_hot_gas_wall_flux.CEA_MU |
Definition at line 32 of file test_hot_gas_wall_flux.py.
| test_hot_gas_wall_flux.CEA_PR |
Definition at line 32 of file test_hot_gas_wall_flux.py.
| test_hot_gas_wall_flux.CFG = os.path.join(ROOT, "configs", "ethalox_6500N.yaml") |
Definition at line 28 of file test_hot_gas_wall_flux.py.
| float test_hot_gas_wall_flux.P_TANK = 584.27 * PSI |
Definition at line 30 of file test_hot_gas_wall_flux.py.
| float test_hot_gas_wall_flux.PSI = 6894.757293168361 |
Definition at line 29 of file test_hot_gas_wall_flux.py.
| test_hot_gas_wall_flux.ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
Definition at line 27 of file test_hot_gas_wall_flux.py.
| float test_hot_gas_wall_flux.SIGMA = 5.670374419e-8 |
Definition at line 31 of file test_hot_gas_wall_flux.py.