|
rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
|
Namespaces | |
| namespace | units |
Classes | |
| struct | ChannelHistory |
| struct | ChannelOptions |
| class | CollisionModel |
| Composition-resolved electron-heavy momentum-transfer collision model. More... | |
| struct | ColumnOptions |
| Solver configuration. All fields have defaults matching a typical H2 arc. More... | |
| struct | ColumnResult |
| Output of a completed column solve. More... | |
| class | DruyvesteynRate |
| struct | ElectronTemperatureData |
| Shared data carrying the electron temperature (mirrors Cantera's own TwoTempPlasmaData but only needs Te). More... | |
| class | JanevDissociativeRecombinationC2HyRate |
| class | Plasma0DReactor |
| Native C++ two-temperature 0D plasma reactor (stateless per-eval evaluator). More... | |
| class | PlasmaChannel1D |
| Transient, two-temperature (Te != Tg), finite-rate reacting 1-D radial plasma channel (custom Cantera Domain1D). More... | |
| struct | PlasmaChannelConfig |
| class | PropertyTable |
| class | ReactorRHS |
| Shared single-cell two-temperature reacting-plasma RHS (one physics source). More... | |
| struct | ReverseTwoTempData |
| Shared data for all reverse-two-temperature-plasma reactions. More... | |
| class | ReverseTwoTemperaturePlasmaRate |
| Reverse of a forward two-temperature-plasma reaction: More... | |
| class | ThermalPlasmaColumn1D |
| Steady radial LTE Elenbaas-Heller arc column (custom Cantera Domain1D). More... | |
Functions | |
| ColumnResult | solveColumn (double R, double electric_field, double T_wall, const PropertyTable &sigma, const PropertyTable &kappa, const PropertyTable &p_rad, const ColumnOptions &opts) |
| Build, solve, and extract the radial Elenbaas-Heller column. | |
| void | registerPlasmaRates () |
| Register the custom plasma reaction rates with Cantera's ReactionRateFactory. | |
| ChannelHistory | solveChannelTransient (const ChannelOptions &opts) |
| Build a PlasmaChannel1D from opts.cfg, advance it from t=0 to \(t = \mathtt{opts.dt} \cdot \mathtt{opts.n\_steps}\) [s] with the requested backend (opts.integrator), and return the recorded radial history. | |
Variables | |
| constexpr double | GasConstant = units::R_kmol |
| constexpr double | Boltzmann = units::k_b |
| void rizer::registerPlasmaRates | ( | ) |
Register the custom plasma reaction rates with Cantera's ReactionRateFactory.
Idempotent (factory reg replaces silently); safe to call before every newSolution. Call this before loading any mechanism that uses janev-dissociative-recombination-C2Hy, Druyvesteyn, or reverse-two-temperature-plasma.
Definition at line 26 of file PlasmaRates.cpp.
| ChannelHistory rizer::solveChannelTransient | ( | const ChannelOptions & | opts | ) |
Build a PlasmaChannel1D from opts.cfg, advance it from t=0 to \(t = \mathtt{opts.dt} \cdot \mathtt{opts.n\_steps}\) [s] with the requested backend (opts.integrator), and return the recorded radial history.
Throws Cantera::CanteraError if the integrator fails to converge (see solveChannelTransient's own comments for the two backends' distinct failure modes).
| opts | Mechanism/grid/transport config, dt/n_steps/record_every/ loglevel, and integrator choice |
Definition at line 115 of file TransientPlasmaChannelSolver.cpp.
| ColumnResult rizer::solveColumn | ( | double | R, |
| double | electric_field, | ||
| double | T_wall, | ||
| const PropertyTable & | sigma, | ||
| const PropertyTable & | kappa, | ||
| const PropertyTable & | p_rad, | ||
| const ColumnOptions & | opts ) |
Build, solve, and extract the radial Elenbaas-Heller column.
| R | Outer wall radius [m] |
| electric_field | Axial E field [V/m], held fixed for this solve |
| T_wall | Wall (boundary) temperature [K] at r=R |
| sigma | Electrical conductivity table \(\sigma(T)\) [S/m] vs. T [K] |
| kappa | Thermal conductivity table \(\kappa(T)\) [W/m/K] vs. T [K] |
| p_rad | Volumetric radiative loss table \(P_\text{rad}(T)\) [W/m^3] vs. T [K] |
| opts | Solver configuration (grid, refinement, initial guess, etc.) |
Definition at line 13 of file PlasmaColumnSolver.cpp.
|
constexpr |
Definition at line 47 of file ReactorRHS.cpp.
|
constexpr |
Definition at line 19 of file PlasmaChannel1D.cpp.