rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
Loading...
Searching...
No Matches
rizer::PlasmaReactor0DConfig Struct Reference

#include <PlasmaReactor0D.h>

Public Attributes

std::string mech
std::string phase
 Mechanism file/URI, and phase name within it.
bool reacting = true
 If false, disables chemistry source terms in the RHS.
std::vector< CollisionModel::SpeciesSpec > specs
 Per-species cross-section model (cross-section data / radius / ion Z), exactly one entry per mechanism species, or the ctor raises.
double Te_min = 200.0
 Lower bound of the tabulated electron-temperature grid [K].
double Te_max = 1.0e5
 Upper bound of the tabulated electron-temperature grid [K].
std::size_t Te_n = 400
 Number of points in the tabulated Te grid [-].
double gap = 0.0
 Inter-electrode gap [m], for the polytropic volume equation.
std::vector< double > species_h0k
 Per-species standard enthalpy of formation at 0 K [J/kmol]; forwarded to PlasmaCellConfig::species_h0k (see there for details).

Detailed Description

Definition at line 40 of file PlasmaReactor0D.h.

Member Data Documentation

◆ gap

double rizer::PlasmaReactor0DConfig::gap = 0.0

Inter-electrode gap [m], for the polytropic volume equation.

Must be positive for rhs() to accept a finite polytropic_index, since the rarefaction timescale is derived from this length.

Definition at line 60 of file PlasmaReactor0D.h.

◆ mech

std::string rizer::PlasmaReactor0DConfig::mech

Definition at line 42 of file PlasmaReactor0D.h.

◆ phase

std::string rizer::PlasmaReactor0DConfig::phase

Mechanism file/URI, and phase name within it.

Definition at line 42 of file PlasmaReactor0D.h.

◆ reacting

bool rizer::PlasmaReactor0DConfig::reacting = true

If false, disables chemistry source terms in the RHS.

Definition at line 44 of file PlasmaReactor0D.h.

◆ species_h0k

std::vector<double> rizer::PlasmaReactor0DConfig::species_h0k

Per-species standard enthalpy of formation at 0 K [J/kmol]; forwarded to PlasmaCellConfig::species_h0k (see there for details).

Required whenever reacting is true and the mechanism has an electron-impact reaction.

Definition at line 65 of file PlasmaReactor0D.h.

◆ specs

std::vector<CollisionModel::SpeciesSpec> rizer::PlasmaReactor0DConfig::specs

Per-species cross-section model (cross-section data / radius / ion Z), exactly one entry per mechanism species, or the ctor raises.

molar_mass and is_electron are filled by the ctor from the Solution.

Definition at line 48 of file PlasmaReactor0D.h.

◆ Te_max

double rizer::PlasmaReactor0DConfig::Te_max = 1.0e5

Upper bound of the tabulated electron-temperature grid [K].

A Te above it raises a TrialStateError rather than holding Qbar(Te_max).

Definition at line 54 of file PlasmaReactor0D.h.

◆ Te_min

double rizer::PlasmaReactor0DConfig::Te_min = 200.0

Lower bound of the tabulated electron-temperature grid [K].

Defaults to TemperatureFloor, below which PlasmaCell refuses Te anyway.

Definition at line 51 of file PlasmaReactor0D.h.

◆ Te_n

std::size_t rizer::PlasmaReactor0DConfig::Te_n = 400

Number of points in the tabulated Te grid [-].

Definition at line 56 of file PlasmaReactor0D.h.


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