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

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.

Detailed Description

Solver configuration. All fields have defaults matching a typical H2 arc.

Definition at line 41 of file PlasmaColumnSolver.h.

Member Data Documentation

◆ init_r

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.

◆ init_T

std::vector<double> rizer::ColumnOptions::init_T

Optional seed temperatures [K] at each init_r location.

Definition at line 79 of file PlasmaColumnSolver.h.

◆ loglevel

int rizer::ColumnOptions::loglevel = 0

Sim1D solver verbosity [-] (0 = silent, 1 = progress, higher = more detail).

Definition at line 51 of file PlasmaColumnSolver.h.

◆ n_points

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.

◆ refine_curve

double rizer::ColumnOptions::refine_curve = 0.10

Refiner: max allowed fractional curvature of T per cell [-].

Definition at line 62 of file PlasmaColumnSolver.h.

◆ refine_grid

bool rizer::ColumnOptions::refine_grid = true

Enable Cantera adaptive grid refinement [-] (true/false) during the solve.

Definition at line 54 of file PlasmaColumnSolver.h.

◆ refine_prune

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.

◆ refine_ratio

double rizer::ColumnOptions::refine_ratio = 4.0

Refiner: max allowed ratio of adjacent cell widths [-].

Definition at line 57 of file PlasmaColumnSolver.h.

◆ refine_slope

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.

◆ rho_cp

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.

◆ T_center_guess

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.


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