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

Everything the diffusion block needs that the grid and the state do not carry: the transport coefficients, the wall ghost, and the per-species properties the two energy terms close with. More...

#include <RadialDiffusion.h>

Public Attributes

const PropertyTable * kappa = nullptr
 Heavy-pool conductivity \(\kappa(T_\mathrm{H})\) [W/m/K]; an empty table switches heavy conduction off.
const PropertyTable * kappa_e = nullptr
 Electron conductivity \(\kappa_\mathrm{e}(T_\mathrm{e})\) [W/m/K]; an empty table switches electron conduction off.
double species_diffusivity = 0.0
 Scalar species mass diffusivity \(D\) [m^2/s]; zero switches the species block, and with it both energy terms it drives, off.
double ambient_temperature = 0.0
 Wall/ambient temperature \(T_\mathrm{amb}\) [K], the Dirichlet ghost both conduction calls sit against.
double wall_ghost_density = 0.0
 Mass density of the wall ghost half-cell [kg/m^3], which closes the face coefficient of the outermost species face.
const std::vector< double > * Y_amb = nullptr
 Ambient mass fractions [-], length K: the species ghost.
const std::vector< double > * molecular_weights = nullptr
 Per-species molecular weight [kg/kmol], length K.
const std::vector< double > * species_cp = nullptr
 Per-species \(c_p\) [J/kg/K], length K.
std::size_t electron_index = 0
 Index of the electron species [-].
std::size_t n_species = 0
 Number of species K [-].

Detailed Description

Everything the diffusion block needs that the grid and the state do not carry: the transport coefficients, the wall ghost, and the per-species properties the two energy terms close with.

Assembled once per eval() call and reused for every node in the Jacobian window; all the spans point at storage the caller owns.

Definition at line 44 of file RadialDiffusion.h.

Member Data Documentation

◆ ambient_temperature

double rizer::RadialDiffusionCoefficients::ambient_temperature = 0.0

Wall/ambient temperature \(T_\mathrm{amb}\) [K], the Dirichlet ghost both conduction calls sit against.

Definition at line 57 of file RadialDiffusion.h.

◆ electron_index

std::size_t rizer::RadialDiffusionCoefficients::electron_index = 0

Index of the electron species [-].

Definition at line 76 of file RadialDiffusion.h.

◆ kappa

const PropertyTable* rizer::RadialDiffusionCoefficients::kappa = nullptr

Heavy-pool conductivity \(\kappa(T_\mathrm{H})\) [W/m/K]; an empty table switches heavy conduction off.

Definition at line 48 of file RadialDiffusion.h.

◆ kappa_e

const PropertyTable* rizer::RadialDiffusionCoefficients::kappa_e = nullptr

Electron conductivity \(\kappa_\mathrm{e}(T_\mathrm{e})\) [W/m/K]; an empty table switches electron conduction off.

Definition at line 51 of file RadialDiffusion.h.

◆ molecular_weights

const std::vector<double>* rizer::RadialDiffusionCoefficients::molecular_weights = nullptr

Per-species molecular weight [kg/kmol], length K.

Definition at line 64 of file RadialDiffusion.h.

◆ n_species

std::size_t rizer::RadialDiffusionCoefficients::n_species = 0

Number of species K [-].

Definition at line 78 of file RadialDiffusion.h.

◆ species_cp

const std::vector<double>* rizer::RadialDiffusionCoefficients::species_cp = nullptr

Per-species \(c_p\) [J/kg/K], length K.

Points at a cache, so it has to be current for THIS node. The pointer is bound once, outside the node loop, but what it refers to is refilled per node: PlasmaCell::sourceTerms does it as a side effect, and PlasmaCell::updateSpeciesCp does it on its own. A caller that binds the pointer and skips both reads the zeros the cell was constructed with, and Term C below then contributes nothing without saying so.

Definition at line 74 of file RadialDiffusion.h.

◆ species_diffusivity

double rizer::RadialDiffusionCoefficients::species_diffusivity = 0.0

Scalar species mass diffusivity \(D\) [m^2/s]; zero switches the species block, and with it both energy terms it drives, off.

Definition at line 54 of file RadialDiffusion.h.

◆ wall_ghost_density

double rizer::RadialDiffusionCoefficients::wall_ghost_density = 0.0

Mass density of the wall ghost half-cell [kg/m^3], which closes the face coefficient of the outermost species face.

Definition at line 60 of file RadialDiffusion.h.

◆ Y_amb

const std::vector<double>* rizer::RadialDiffusionCoefficients::Y_amb = nullptr

Ambient mass fractions [-], length K: the species ghost.

Definition at line 62 of file RadialDiffusion.h.


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