|
rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
|
Functions | |
| double | faceFlux (double r_face, double coef_face, double value_inner, double value_outer, double spacing) |
| Conductive/diffusive flux across one radial cell face: r_face * coef_face * (value_outer - value_inner) / spacing. | |
| double | annularVolume (double r_east, double r_west) |
| Annular cell volume per unit axial length between two face radii, 0.5 * (r_east^2 - r_west^2) [m^2]. | |
|
inline |
Annular cell volume per unit axial length between two face radii, 0.5 * (r_east^2 - r_west^2) [m^2].
| r_east | Outer (east) face radius of the cell [m] |
| r_west | Inner (west) face radius of the cell [m] (0 at the axis) |
Definition at line 48 of file CylindricalFiniteVolume.h.
|
inline |
Conductive/diffusive flux across one radial cell face: r_face * coef_face * (value_outer - value_inner) / spacing.
value_inner/value_outer are ordered by radius, not by which node is "current" at the call site: value_inner is always the value on the smaller-r side of this face, value_outer the value on the larger-r side – regardless of whether the caller is assembling a node's east or west face. Swapping the two flips the sign of the result.
| r_face | Face radius [m] |
| coef_face | Face transport coefficient, already averaged by the caller (e.g. the arithmetic mean of the two neighbouring nodes' kappa/kappa_e/rho*D) [W/m/K for Tg/Te conduction, kg/m/s for species diffusion] |
| value_inner | Solution value on the smaller-r side of the face, in the component's own unit ([K] for Tg/Te, [-] for Y_k) |
| value_outer | Solution value on the larger-r side of the face, same unit as value_inner |
| spacing | Radial spacing across the face (node-to-node, or node-to-ghost at a wall) [m] |
Definition at line 39 of file CylindricalFiniteVolume.h.