|
rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
|
Drives PlasmaChannel1D in time and records what it did. More...
Go to the source code of this file.
Classes | |
| struct | rizer::ChannelOptions |
| struct | rizer::ChannelHistory |
Namespaces | |
| namespace | rizer |
Functions | |
| 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 stiff BDF backend, and return the recorded radial history. | |
Drives PlasmaChannel1D in time and records what it did.
Assembles [Empty1D, PlasmaChannel1D, Empty1D] into a Sim1D, then advances the chain with Cantera's CVODE backend, error-controlled and variable order. With hydrodynamics on, that reaction sub-step is the "B" half of a Strang split (NUMERICS.md section 4.2) and this file owns the loop: half a hydroStep, a re-seeded CVODE interval, half a hydroStep again. The radial profiles are recorded at a chosen cadence and returned as flat numeric arrays, since no Cantera object crosses the Python boundary.
Sim1D's own damped-Newton solve() is never called here. The Sim1D exists for the state layout it owns: getInitialSoln(), size() and eval().
Definition in file PlasmaChannelSolver.h.