rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
Toggle main menu visibility
Loading...
Searching...
No Matches
DiffusiveFlux.h
Go to the documentation of this file.
1
81
82
#ifndef RIZER_DIFFUSIVE_FLUX_H
83
#define RIZER_DIFFUSIVE_FLUX_H
84
85
namespace
rizer
86
{
87
namespace
numeric
88
{
89
109
inline
double
faceFlux
(
double
r_face,
double
coef_face,
double
value_inner,
110
double
value_outer,
double
spacing)
111
{
112
return
r_face * coef_face * (value_outer - value_inner) / spacing;
113
}
114
119
inline
double
annularVolume
(
double
r_east,
double
r_west)
120
{
121
return
0.5 * (r_east * r_east - r_west * r_west);
122
}
123
124
}
// namespace numeric
125
}
// namespace rizer
126
127
#endif
// RIZER_DIFFUSIVE_FLUX_H
rizer::numeric
Definition
DiffusiveFlux.h:88
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
DiffusiveFlux.h:109
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
DiffusiveFlux.h:119
rizer
Definition
ElectronReactions.cpp:11
rizer
cantera_ext
numeric
DiffusiveFlux.h
Generated by
1.18.0