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

Variables

float T_INJECTION_GUESS = 400.0
float TEMPERATURE_PROFILE_ALPHA = 0.7
float SPALDING_NUMBER_DEFAULT = 0.2
float LOX_PENALTY_CONSTANT = 3.0
int DIFFUSIVITY_REFERENCE = 2e-5
int HOT_GAS_VISCOSITY = 7e-5
float ARRHENIUS_A0_HYDROCARBON = 1.0e7
float ACTIVATION_ENERGY_HYDROCARBON = 80000.0
int REACTION_TIME_REFERENCE = 5e-5
float REFERENCE_PRESSURE = 4.0e6
float REFERENCE_TEMPERATURE = 3500.0
float MIXING_BETA = 8.0
float TURBULENCE_INTENSITY_DEFAULT = 0.08
int TARGET_SMD_DEFAULT = 50e-6
float R_UNIVERSAL = 8.314462618
float R_UNIVERSAL_KMOL = 8314.462618
float CP_GAS_APPROX = 1200.0
float MACH_EXIT_MAX_NUMERICAL = 20.0
int MACH_SOLVER_TOLERANCE = 1e-10
int MACH_SOLVER_MAX_ITERATIONS = 50
float PRANDTL_DEFAULT = 0.8
int D_M_REF = 5e-5
float D_M_T_REF = 1500.0
float D_M_P_REF = 2.5e6
float U_SLIP_CAP = 50.0
int D_MIN_GASIFICATION = 1e-6

Detailed Description

Centralized physics constants for combustion and nozzle calculations.

This module consolidates scattered hardcoded constants to enable:
1. Easy validation against literature
2. Config-driven parameter sweeps
3. Consistent values across modules

Constants are organized by category and include physical units and sources.

Variable Documentation

◆ ACTIVATION_ENERGY_HYDROCARBON

float engine.pipeline.physics_constants.ACTIVATION_ENERGY_HYDROCARBON = 80000.0

Definition at line 58 of file physics_constants.py.

◆ ARRHENIUS_A0_HYDROCARBON

float engine.pipeline.physics_constants.ARRHENIUS_A0_HYDROCARBON = 1.0e7

Definition at line 54 of file physics_constants.py.

◆ CP_GAS_APPROX

float engine.pipeline.physics_constants.CP_GAS_APPROX = 1200.0

Definition at line 94 of file physics_constants.py.

◆ D_M_P_REF

float engine.pipeline.physics_constants.D_M_P_REF = 2.5e6

Definition at line 121 of file physics_constants.py.

◆ D_M_REF

int engine.pipeline.physics_constants.D_M_REF = 5e-5

Definition at line 119 of file physics_constants.py.

◆ D_M_T_REF

float engine.pipeline.physics_constants.D_M_T_REF = 1500.0

Definition at line 120 of file physics_constants.py.

◆ D_MIN_GASIFICATION

int engine.pipeline.physics_constants.D_MIN_GASIFICATION = 1e-6

Definition at line 128 of file physics_constants.py.

◆ DIFFUSIVITY_REFERENCE

int engine.pipeline.physics_constants.DIFFUSIVITY_REFERENCE = 2e-5

Definition at line 42 of file physics_constants.py.

◆ HOT_GAS_VISCOSITY

int engine.pipeline.physics_constants.HOT_GAS_VISCOSITY = 7e-5

Definition at line 45 of file physics_constants.py.

◆ LOX_PENALTY_CONSTANT

float engine.pipeline.physics_constants.LOX_PENALTY_CONSTANT = 3.0

Definition at line 39 of file physics_constants.py.

◆ MACH_EXIT_MAX_NUMERICAL

float engine.pipeline.physics_constants.MACH_EXIT_MAX_NUMERICAL = 20.0

Definition at line 103 of file physics_constants.py.

◆ MACH_SOLVER_MAX_ITERATIONS

int engine.pipeline.physics_constants.MACH_SOLVER_MAX_ITERATIONS = 50

Definition at line 107 of file physics_constants.py.

◆ MACH_SOLVER_TOLERANCE

int engine.pipeline.physics_constants.MACH_SOLVER_TOLERANCE = 1e-10

Definition at line 106 of file physics_constants.py.

◆ MIXING_BETA

float engine.pipeline.physics_constants.MIXING_BETA = 8.0

Definition at line 75 of file physics_constants.py.

◆ PRANDTL_DEFAULT

float engine.pipeline.physics_constants.PRANDTL_DEFAULT = 0.8

Definition at line 115 of file physics_constants.py.

◆ R_UNIVERSAL

float engine.pipeline.physics_constants.R_UNIVERSAL = 8.314462618

Definition at line 88 of file physics_constants.py.

◆ R_UNIVERSAL_KMOL

float engine.pipeline.physics_constants.R_UNIVERSAL_KMOL = 8314.462618

Definition at line 91 of file physics_constants.py.

◆ REACTION_TIME_REFERENCE

int engine.pipeline.physics_constants.REACTION_TIME_REFERENCE = 5e-5

Definition at line 63 of file physics_constants.py.

◆ REFERENCE_PRESSURE

float engine.pipeline.physics_constants.REFERENCE_PRESSURE = 4.0e6

Definition at line 66 of file physics_constants.py.

◆ REFERENCE_TEMPERATURE

float engine.pipeline.physics_constants.REFERENCE_TEMPERATURE = 3500.0

Definition at line 67 of file physics_constants.py.

◆ SPALDING_NUMBER_DEFAULT

float engine.pipeline.physics_constants.SPALDING_NUMBER_DEFAULT = 0.2

Definition at line 35 of file physics_constants.py.

◆ T_INJECTION_GUESS

float engine.pipeline.physics_constants.T_INJECTION_GUESS = 400.0

Definition at line 17 of file physics_constants.py.

◆ TARGET_SMD_DEFAULT

int engine.pipeline.physics_constants.TARGET_SMD_DEFAULT = 50e-6

Definition at line 81 of file physics_constants.py.

◆ TEMPERATURE_PROFILE_ALPHA

float engine.pipeline.physics_constants.TEMPERATURE_PROFILE_ALPHA = 0.7

Definition at line 25 of file physics_constants.py.

◆ TURBULENCE_INTENSITY_DEFAULT

float engine.pipeline.physics_constants.TURBULENCE_INTENSITY_DEFAULT = 0.08

Definition at line 78 of file physics_constants.py.

◆ U_SLIP_CAP

float engine.pipeline.physics_constants.U_SLIP_CAP = 50.0

Definition at line 125 of file physics_constants.py.