STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
engine.pipeline.config_schemas.EvaporationConfig Class Reference
Inheritance diagram for engine.pipeline.config_schemas.EvaporationConfig:
[legend]
Collaboration diagram for engine.pipeline.config_schemas.EvaporationConfig:
[legend]

Static Public Attributes

Literal model
float C_evap
float cp_gas
bool apply_tau_res_correction
float K
float x_star_limit = Field(default=0.05, gt=0, description="Max evaporation length [m]")
bool use_constraint = Field(default=True, description="Enable x* constraint")

Detailed Description

Evaporation model configuration

Definition at line 913 of file config_schemas.py.

Member Data Documentation

◆ apply_tau_res_correction

bool engine.pipeline.config_schemas.EvaporationConfig.apply_tau_res_correction
static
Initial value:
= Field(
default=False,
description=(
"[DEPRECATED — no effect on c*] The vaporization march (combustion_physics) follows "
"the drops from the face and integrates their evaporation, so taking the spray length "
"off the stay time would count it twice. Still read by the numba kernel until it is "
"mirrored."
),
)

Definition at line 938 of file config_schemas.py.

◆ C_evap

float engine.pipeline.config_schemas.EvaporationConfig.C_evap
static
Initial value:
= Field(
default=1.562,
gt=0,
description=(
"Calibration constant for the derived evaporation model. Anchored so ethanol at "
"3094 K / 450 psi reproduces k_evap = 3.33e-6 m²/s — the value the legacy fixed K "
"implied, and within 10% of a T² extrapolation of measured ethanol droplet data."
),
)

Definition at line 924 of file config_schemas.py.

◆ cp_gas

float engine.pipeline.config_schemas.EvaporationConfig.cp_gas
static
Initial value:
= Field(
default=2200.0,
gt=0,
description="Representative combustion-gas cp [J/(kg·K)] for the Spalding number B_M.",
)

Definition at line 933 of file config_schemas.py.

◆ K

float engine.pipeline.config_schemas.EvaporationConfig.K
static
Initial value:
= Field(
default=3e5,
gt=0,
description=(
"LEGACY fixed evaporation constant [s/m²] — note this is the RECIPROCAL of the "
"textbook d²-law constant (k_evap = 1/K, so 3e5 ⇒ 3.33e-6 m²/s). Used only when "
"model='constant', or as a fallback when a fluid lacks latent_heat/boiling_point."
),
)

Definition at line 947 of file config_schemas.py.

◆ model

Literal engine.pipeline.config_schemas.EvaporationConfig.model
static
Initial value:
= Field(
default="derived",
description=(
"'derived' computes the d²-law constant from propellant properties and chamber "
"state: k_evap = C·(8·ρ_g·D_v/ρ_l)·ln(1+B_M), so it responds to fuel volatility, "
"chamber temperature and pressure. 'constant' uses the legacy fixed K, which was "
"identical for ethanol, methane and RP-1 and did not move with Pc or Tc at all."
),
)

Definition at line 915 of file config_schemas.py.

Referenced by feedtwin.model.component.ComponentInstance.to_dict().

◆ use_constraint

bool engine.pipeline.config_schemas.EvaporationConfig.use_constraint = Field(default=True, description="Enable x* constraint")
static

Definition at line 957 of file config_schemas.py.

◆ x_star_limit

float engine.pipeline.config_schemas.EvaporationConfig.x_star_limit = Field(default=0.05, gt=0, description="Max evaporation length [m]")
static

Definition at line 956 of file config_schemas.py.


The documentation for this class was generated from the following file: