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

Classes

class  Row

Functions

float ambient_pa_from_config (cfg)
None apply_cd_multipliers (cfg, float m_o, float m_f)
float fuel_geometry_for_ratio (float a_o, float ratio_ao_af, int n_f)
None main ()

Variables

 ROOT = Path(__file__).resolve().parents[1]
float PSI_TO_PA = 6894.757293168361
float TARGET_F = 8000.0
float TARGET_MR = 3.5

Detailed Description

Sensitivity sweep: MR, momentum_ratio_R, ΔP/Pc vs AO/AF, tank pressures, Cd_O/Cd_F.

Uses frozen chamber from configs/impinging_lox_ch4_8000N.yaml (no YAML edits).
Filters samples near thrust ~8000 N and R ~ 1; reports MR and ΔP_O/Pc, ΔP_F/Pc.

Run from repo root: PYTHONPATH=. python scripts/sensitivity_mr_r_dp_coupling.py

Function Documentation

◆ ambient_pa_from_config()

float sensitivity_mr_r_dp_coupling.ambient_pa_from_config ( cfg)
The engine solver's site ambient (engine.core.runner, the 1976 standard atmosphere).

Definition at line 32 of file sensitivity_mr_r_dp_coupling.py.

Referenced by main().

◆ apply_cd_multipliers()

None sensitivity_mr_r_dp_coupling.apply_cd_multipliers ( cfg,
float m_o,
float m_f )
Scale Cd_inf and Cd_min for oxidizer/fuel discharge (clamp Cd_inf <= 1).

Definition at line 41 of file sensitivity_mr_r_dp_coupling.py.

References max, and min.

Referenced by main().

◆ fuel_geometry_for_ratio()

float sensitivity_mr_r_dp_coupling.fuel_geometry_for_ratio ( float a_o,
float ratio_ao_af,
int n_f )
Return fuel jet diameter [m] for A_F = A_O / ratio_ao_af with fixed n_F.

Definition at line 52 of file sensitivity_mr_r_dp_coupling.py.

References max.

Referenced by main().

◆ main()

None sensitivity_mr_r_dp_coupling.main ( )

Variable Documentation

◆ PSI_TO_PA

float sensitivity_mr_r_dp_coupling.PSI_TO_PA = 6894.757293168361

Definition at line 27 of file sensitivity_mr_r_dp_coupling.py.

◆ ROOT

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

Definition at line 20 of file sensitivity_mr_r_dp_coupling.py.

◆ TARGET_F

float sensitivity_mr_r_dp_coupling.TARGET_F = 8000.0

Definition at line 28 of file sensitivity_mr_r_dp_coupling.py.

◆ TARGET_MR

float sensitivity_mr_r_dp_coupling.TARGET_MR = 3.5

Definition at line 29 of file sensitivity_mr_r_dp_coupling.py.