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 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
 

Detailed Description

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

Definition at line 37 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_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.

◆ init_T

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

seed temperatures [K] at init_r

Definition at line 54 of file PlasmaColumnSolver.h.

◆ loglevel

int rizer::ColumnOptions::loglevel = 0

Sim1D verbosity (0 = silent, 1 = progress)

Definition at line 41 of file PlasmaColumnSolver.h.

◆ n_points

std::size_t rizer::ColumnOptions::n_points = 41

initial uniform grid count (refined during solve)

Definition at line 38 of file PlasmaColumnSolver.h.

◆ refine_curve

double rizer::ColumnOptions::refine_curve = 0.10

Refiner: max fractional curvature per cell.

Definition at line 45 of file PlasmaColumnSolver.h.

◆ refine_grid

bool rizer::ColumnOptions::refine_grid = true

enable Cantera adaptive grid refinement

Definition at line 42 of file PlasmaColumnSolver.h.

◆ refine_prune

double rizer::ColumnOptions::refine_prune = 0.0

Refiner: remove points below this threshold.

Definition at line 46 of file PlasmaColumnSolver.h.

◆ refine_ratio

double rizer::ColumnOptions::refine_ratio = 4.0

Refiner: max ratio of adjacent cell widths.

Definition at line 43 of file PlasmaColumnSolver.h.

◆ refine_slope

double rizer::ColumnOptions::refine_slope = 0.05

Refiner: max fractional slope change per cell.

Definition at line 44 of file PlasmaColumnSolver.h.

◆ rho_cp

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.

◆ T_center_guess

double rizer::ColumnOptions::T_center_guess = 10000

parabolic-seed centerline temperature [K]

Definition at line 39 of file PlasmaColumnSolver.h.


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