RadLib
|
#include <rad_planck_mean.h>
Public Member Functions | |
void | get_k_a (std::vector< double > &kabs, std::vector< double > &awts, const double T, const double P, const double fvsoot, const double xH2O, const double xCO2, const double xCO, const double xCH4) |
void | get_k_a_oneband (double &kabs, double &awts, const int iband, const double T, const double P, const double fvsoot, const double xH2O, const double xCO2, const double xCO, const double xCH4) |
rad_planck_mean () | |
![]() | |
int | get_nGG () |
int | get_nGGa () |
rad (const int p_nGG, const int p_nGGa) | |
virtual | ~rad () |
Static Protected Attributes | |
static const double | pmCoefs_H2O [] = {-0.23093, -1.12390, 9.41530, -2.99880, 0.51382, -1.86840E-5} |
static const double | pmCoefs_CO2 [] = {18.741, -121.310, 273.500, -194.050, 56.310, -5.8169} |
static const double | pmCoefs_CO_lo [] = {4.7869, -0.06953, 2.95775E-4, -4.25732E-7, 2.02894E-10} |
static const double | pmCoefs_CO_hi [] = {10.09, -0.01183, 4.7753E-6, -5.87209E-10, -2.5334E-14} |
static const double | pmCoefs_CH4 [] = {6.6334, -0.0035686, 1.6682E-08, 2.5611E-10, -2.6558E-14} |
Additional Inherited Members | |
![]() | |
static constexpr double | sigma = 5.670367E-8 |
Stephan-Boltzmann constant. | |
![]() | |
int | nGG |
number of gray gases, not including the clear gas | |
int | nGGa |
number of grey gases including the clear gas | |
Class implementing rad_planck_mean object. Radiation properties for the Planck Mean model. A single "gas" is assumed. This is a simple, commonly used model in combustion, but is best for situations that are optically thin with small radiative fractions. get_k_a, and get_k_a_oneband are the primary interfaces.
Definition at line 20 of file rad_planck_mean.h.
|
inline |
Definition at line 61 of file rad_planck_mean.h.
|
virtual |
This is the class interface function Given the gas state, set the k and a vectors. These can then be accessed by the user. return through arg list the local gray gas coefficients (kabs) and the local weights (awts).
kabs | output: absorption coefficients (1/m); size = 1 here (1 gas) |
awts | output: weights (unitless; sums to 1); size = 1 here (1 gas) |
T | input: gas temperature |
P | input: Pressure (Pa) |
fvsoot | input: soot volume fraction = rho*Ysoot/rhosoot |
xH2O | input: mole fraction H2O |
xCO2 | input: mole fraction CO2 |
xCO | input: mole fraction CO |
xCH4 | input: mole fraction CH4 |
See documentation for rad_rcslw::F_albdf_soot for details about the soot absorption coefficient.
\(k_{soot} = F_s fv_{soot}T\), where \(F_s = 3.72 c_{soot}/C_2\), where \(C_2 = 0.014388\, m\cdot K\) and \(c_{soot} = 36\pi n k/[(n^2 - k^2 +2)^2 + 4 (n k)^2],\) where \(k\) is the real part of the complex refractive index, and \(n\) is the imaginary part.
Using Shaddix's model for \(k\), \(n\): \(k=1.03\), \(n = 1.75\), giving \(F_s = 1817\, K^{-1}m^{-1}\).
Reference: Williams, Shaddix, et al. Int. J. Heat and Mass Transfer 50:1616-1630 (2007),
Implements rad.
Definition at line 146 of file rad_planck_mean.cc.
|
virtual |
This is the class interface function Given the gas state, set the k and a vectors. These can then be accessed by the user. return through arg list the local gray gas coefficients (kabs) and the local weights (awts).
kabs | output: absorption coefficient (1/m); size = 1 here (1 gas) |
awts | output: weight (unitless; sums to 1); size = 1 here (1 gas) |
iband | input: which band to compute (PM only has one band, so this is not used here) |
T | input: gas temperature |
P | input: Pressure (Pa) |
fvsoot | input: soot volume fraction = rho*Ysoot/rhosoot |
xH2O | input: mole fraction H2O |
xCO2 | input: mole fraction CO2 |
xCO | input: mole fraction CO |
xCH4 | input: mole fraction CH4 |
See documentation for rad_rcslw::F_albdf_soot for details about the soot absorption coefficient.
\(k_{soot} = F_s fv_{soot}T\), where \(F_s = 3.72 c_{soot}/C_2\), where \(C_2 = 0.014388\, m\cdot K\) and \(c_{soot} = 36\pi n k/[(n^2 - k^2 +2)^2 + 4 (n k)^2],\) where \(k\) is the real part of the complex refractive index, and \(n\) is the imaginary part.
Using Shaddix's model for \(k\), \(n\): \(k=1.03\), \(n = 1.75\), giving \(F_s = 1817\, K^{-1}m^{-1}\).
Reference: Williams, Shaddix, et al. Int. J. Heat and Mass Transfer 50:1616-1630 (2007),
Implements rad.
Definition at line 47 of file rad_planck_mean.cc.
|
staticprotected |
Definition at line 12 of file rad_planck_mean.h.
|
staticprotected |
Definition at line 13 of file rad_planck_mean.h.
|
staticprotected |
Definition at line 14 of file rad_planck_mean.h.
|
staticprotected |
Definition at line 15 of file rad_planck_mean.h.
|
staticprotected |
Definition at line 16 of file rad_planck_mean.h.