|
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 count (refined during solve) | |
| double | T_center_guess = 10000 |
| parabolic-seed centerline temperature [K] | |
| double | rho_cp = 1.0e3 |
| rho*cp [J/m³/K] — scales the pseudo-transient term | |
| int | loglevel = 0 |
| Sim1D verbosity (0 = silent, 1 = progress) | |
| bool | refine_grid = true |
| enable Cantera adaptive grid refinement | |
| double | refine_ratio = 4.0 |
| Refiner: max ratio of adjacent cell widths. | |
| double | refine_slope = 0.05 |
| Refiner: max fractional slope change per cell. | |
| double | refine_curve = 0.10 |
| Refiner: max fractional curvature per cell. | |
| double | refine_prune = 0.0 |
| Refiner: remove points below this threshold. | |
| std::vector< double > | init_r |
| Optional seed profile for the initial guess. | |
| std::vector< double > | init_T |
| seed temperatures [K] at init_r | |
Solver configuration. All fields have defaults matching a typical H2 arc.
Definition at line 37 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_wall + (T_center_guess - T_wall)*(1-(r/R)^2). Seeding with the analytical EH profile (or a linear ramp) helps Newton find the hot branch directly without expensive time-stepping. seed radii [m], strictly increasing, 0..R
Definition at line 53 of file PlasmaColumnSolver.h.
| std::vector<double> rizer::ColumnOptions::init_T |
seed temperatures [K] at init_r
Definition at line 54 of file PlasmaColumnSolver.h.
| int rizer::ColumnOptions::loglevel = 0 |
Sim1D verbosity (0 = silent, 1 = progress)
Definition at line 41 of file PlasmaColumnSolver.h.
| std::size_t rizer::ColumnOptions::n_points = 41 |
initial uniform grid count (refined during solve)
Definition at line 38 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::refine_curve = 0.10 |
Refiner: max fractional curvature per cell.
Definition at line 45 of file PlasmaColumnSolver.h.
| bool rizer::ColumnOptions::refine_grid = true |
enable Cantera adaptive grid refinement
Definition at line 42 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::refine_prune = 0.0 |
Refiner: remove points below this threshold.
Definition at line 46 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::refine_ratio = 4.0 |
Refiner: max ratio of adjacent cell widths.
Definition at line 43 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::refine_slope = 0.05 |
Refiner: max fractional slope change per cell.
Definition at line 44 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::rho_cp = 1.0e3 |
rho*cp [J/m³/K] — scales the pseudo-transient term
Definition at line 40 of file PlasmaColumnSolver.h.
| double rizer::ColumnOptions::T_center_guess = 10000 |
parabolic-seed centerline temperature [K]
Definition at line 39 of file PlasmaColumnSolver.h.