rizer.hybrid.engineering_model.dataclass.expansion#

Classes#

Module Contents#

class rizer.hybrid.engineering_model.dataclass.expansion.ExpansionInputs#
T_k: float#

Kernel temperature after the spark pulse [K].

P_k: float#

Kernel pressure after the spark pulse [Pa].

X_k: dict[str, float]#

Kernel composition after the spark pulse (mole fractions).

T_amb: float#

Temperature of the surrounding gas outside the kernel [K].

P_amb: float#

Pressure of the surrounding gas outside the kernel [Pa].

X_amb: str#

Molar fraction of the gas outside the kernel.

M_out: float#

Molar mass of the gas outside the kernel [kg/mol].

r_0: float#

Initial discharge radius [m].

mechanism_path: str = 'NASA9_thermo.yaml'#

Name of the Cantera mechanism file (to compute thermodynamic properties). Should be located in the data/thermo directory of the package.

gas: cantera.Solution#

Cantera gas object representing the initial gas mixture.

gamma_k: float#

Specific heat ratio of the kernel gas after the spark pulse. Computed from the kernel composition and temperature.

M_k: float#

Molar mass of the kernel gas after the spark pulse [kg/mol]. Computed from the kernel composition and temperature.

τ_rarefaction_s: float#

Characteristic time scale for the rarefaction wave to propagate across the kernel [s].

The instant at which the pressure and temperature start to fall.

T_rarefaction_K: float#

Temperature of the rarefaction wave [K].

δ_rarefaction_s: float#

Duration of the abrupt fall [s].

P_rarefaction_Pa: float#

Pressure after the abrupt fall due to the rarefaction wave [Pa].

static beta_1(gamma: float) float#
static beta_2(gamma: float) float#
class rizer.hybrid.engineering_model.dataclass.expansion.ExpansionOutputs#

Bases: rizer.hybrid.engineering_model.dataclass.base.TimeSeriesState