RadLib
Loading...
Searching...
No Matches
rad_planck_mean Class Reference

#include <rad_planck_mean.h>

Inheritance diagram for rad_planck_mean:
[legend]
Collaboration diagram for rad_planck_mean:
[legend]

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 ()
 
- Public Member Functions inherited from rad
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 Public Attributes inherited from rad
static constexpr double sigma = 5.670367E-8
 Stephan-Boltzmann constant.
 
- Protected Attributes inherited from rad
int nGG
 number of gray gases, not including the clear gas
 
int nGGa
 number of grey gases including the clear gas
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ rad_planck_mean()

rad_planck_mean::rad_planck_mean ( )
inline

Definition at line 61 of file rad_planck_mean.h.

Member Function Documentation

◆ get_k_a()

void rad_planck_mean::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 
)
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).

Parameters
kabsoutput: absorption coefficients (1/m); size = 1 here (1 gas)
awtsoutput: weights (unitless; sums to 1); size = 1 here (1 gas)
Tinput: gas temperature
Pinput: Pressure (Pa)
fvsootinput: soot volume fraction = rho*Ysoot/rhosoot
xH2Oinput: mole fraction H2O
xCO2input: mole fraction CO2
xCOinput: mole fraction CO
xCH4input: 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.

Here is the call graph for this function:

◆ get_k_a_oneband()

void rad_planck_mean::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 
)
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).

Parameters
kabsoutput: absorption coefficient (1/m); size = 1 here (1 gas)
awtsoutput: weight (unitless; sums to 1); size = 1 here (1 gas)
ibandinput: which band to compute (PM only has one band, so this is not used here)
Tinput: gas temperature
Pinput: Pressure (Pa)
fvsootinput: soot volume fraction = rho*Ysoot/rhosoot
xH2Oinput: mole fraction H2O
xCO2input: mole fraction CO2
xCOinput: mole fraction CO
xCH4input: 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.

Here is the caller graph for this function:

Member Data Documentation

◆ pmCoefs_H2O

const double rad_planck_mean::pmCoefs_H2O = {-0.23093, -1.12390, 9.41530, -2.99880, 0.51382, -1.86840E-5}
staticprotected

Definition at line 12 of file rad_planck_mean.h.

◆ pmCoefs_CO2

const double rad_planck_mean::pmCoefs_CO2 = {18.741, -121.310, 273.500, -194.050, 56.310, -5.8169}
staticprotected

Definition at line 13 of file rad_planck_mean.h.

◆ pmCoefs_CO_lo

const double rad_planck_mean::pmCoefs_CO_lo = {4.7869, -0.06953, 2.95775E-4, -4.25732E-7, 2.02894E-10}
staticprotected

Definition at line 14 of file rad_planck_mean.h.

◆ pmCoefs_CO_hi

const double rad_planck_mean::pmCoefs_CO_hi = {10.09, -0.01183, 4.7753E-6, -5.87209E-10, -2.5334E-14}
staticprotected

Definition at line 15 of file rad_planck_mean.h.

◆ pmCoefs_CH4

const double rad_planck_mean::pmCoefs_CH4 = {6.6334, -0.0035686, 1.6682E-08, 2.5611E-10, -2.6558E-14}
staticprotected

Definition at line 16 of file rad_planck_mean.h.


The documentation for this class was generated from the following files: