rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
Toggle main menu visibility
Loading...
Searching...
No Matches
CylindricalFiniteVolume.h
Go to the documentation of this file.
1
13
14
#ifndef RIZER_CYLINDRICAL_FINITE_VOLUME_H
15
#define RIZER_CYLINDRICAL_FINITE_VOLUME_H
16
17
namespace
rizer
{
18
namespace
numeric
{
19
39
inline
double
faceFlux
(
double
r_face,
double
coef_face,
double
value_inner,
40
double
value_outer,
double
spacing) {
41
return
r_face * coef_face * (value_outer - value_inner) / spacing;
42
}
43
48
inline
double
annularVolume
(
double
r_east,
double
r_west) {
49
return
0.5 * (r_east * r_east - r_west * r_west);
50
}
51
52
}
// namespace numeric
53
}
// namespace rizer
54
55
#endif
// RIZER_CYLINDRICAL_FINITE_VOLUME_H
rizer::numeric
Definition
CylindricalFiniteVolume.h:18
rizer::numeric::faceFlux
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_inne...
Definition
CylindricalFiniteVolume.h:39
rizer::numeric::annularVolume
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].
Definition
CylindricalFiniteVolume.h:48
rizer
Definition
PlasmaRates.cpp:20
rizer
cantera_ext
numeric
CylindricalFiniteVolume.h
Generated by
1.18.0