|
rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
|
Solver configuration. All fields have defaults matching a typical H2 arc. More...
#include <PlasmaColumnSolver.h>
Public Attributes | |
| std::size_t | n_points = 41 |
| Initial uniform grid point count [-] (refined during solve if refine_grid). | |
| double | T_center_guess = 10000 |
| Parabolic-seed centerline temperature [K], used to build the default initial guess. | |
| double | rho_cp = 1.0e3 |
| Volumetric heat capacity \(\rho c_p\) [J/m^3/K] — scales the pseudo-transient term used as a Newton fallback. | |
| int | loglevel = 0 |
| Sim1D solver verbosity [-] (0 = silent, 1 = progress, higher = more detail). | |
| bool | refine_grid = true |
| Enable Cantera adaptive grid refinement [-] (true/false) during the solve. | |
| double | refine_ratio = 4.0 |
| Refiner: max allowed ratio of adjacent cell widths [-]. | |
| double | refine_slope = 0.05 |
| Refiner: max allowed fractional change in T slope between adjacent cells [-]. | |
| double | refine_curve = 0.10 |
| Refiner: max allowed fractional curvature of T per cell [-]. | |
| double | refine_prune = 0.0 |
| Refiner: remove grid points whose contribution falls below this threshold [-]. | |
| std::vector< double > | init_r |
| Optional seed profile for the initial guess. | |
| std::vector< double > | init_T |
| Optional seed temperatures [K] at each init_r location. | |
Solver configuration. All fields have defaults matching a typical H2 arc.
Definition at line 41 of file PlasmaColumnSolver.h.
| std::vector<double> rizer::ColumnOptions::init_r |
Optional seed profile for the initial guess.
If non-empty (size >= 2, same length), it is interpolated onto the grid and overrides the default parabola
\[ T(r) = T_\text{wall} + (T_\text{center\_guess} - T_\text{wall}) \left(1-(r/R)^2\right) \]
Seeding with the analytical EH profile (or a linear ramp) helps Newton find the hot branch directly without expensive time-stepping. Optional seed radii [m], strictly increasing, spanning 0..R.
Definition at line 77 of file PlasmaColumnSolver.h.
| std::vector<double> rizer::ColumnOptions::init_T |
Optional seed temperatures [K] at each init_r location.
Definition at line 79 of file PlasmaColumnSolver.h.
| int rizer::ColumnOptions::loglevel = 0 |
Sim1D solver verbosity [-] (0 = silent, 1 = progress, higher = more detail).
Definition at line 51 of file PlasmaColumnSolver.h.
| std::size_t rizer::ColumnOptions::n_points = 41 |
Initial uniform grid point count [-] (refined during solve if refine_grid).
Definition at line 42 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::refine_curve = 0.10 |
Refiner: max allowed fractional curvature of T per cell [-].
Definition at line 62 of file PlasmaColumnSolver.h.
| bool rizer::ColumnOptions::refine_grid = true |
Enable Cantera adaptive grid refinement [-] (true/false) during the solve.
Definition at line 54 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::refine_prune = 0.0 |
Refiner: remove grid points whose contribution falls below this threshold [-].
Definition at line 64 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::refine_ratio = 4.0 |
Refiner: max allowed ratio of adjacent cell widths [-].
Definition at line 57 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::refine_slope = 0.05 |
Refiner: max allowed fractional change in T slope between adjacent cells [-].
Definition at line 59 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::rho_cp = 1.0e3 |
Volumetric heat capacity \(\rho c_p\) [J/m^3/K] — scales the pseudo-transient term used as a Newton fallback.
Definition at line 47 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::T_center_guess = 10000 |
Parabolic-seed centerline temperature [K], used to build the default initial guess.
Definition at line 44 of file PlasmaColumnSolver.h.