SootLib
Loading...
Searching...
No Matches
oxidationModel_OPTG.cc
Go to the documentation of this file.
2#include "sootDefs.h"
3
4using namespace soot;
5
7
9
10 // C + OH --> CO + H
11 // --> 2C_soot + OH + (1/2)O2 --> 2CO + H
12 // C + (1/2)O2 --> CO
13
17 oxidationRxnRatios[(int)gasSp::O2] = -0.5;
19
21}
22
38
40
41 const double pO2_pa = state.getGasSpP(gasSp::O2); // partial pressure of O2 (Pa)
42
43 const double rSootO2 = 15.8 * pO2_pa / sqrt(state.T) * exp(-2.345E4 / state.T) / 1000.0; // kg/m^2*s
44 const double rSootOH = 0.1*state.getGasSpC(gasSp::OH)* // kg/m2/s = 1290*0.15*POH/sqrt(T) with POH in atm
45 sqrt(Rg*state.T/(2.0*M_PI*gasSpMW[(int)gasSp::OH]))*
46 gasSpMW[(int)gasSp::C];
47
48 return rSootO2 + rSootOH;
49}
double getOxidationSootRate(const state &state) const override
oxidationMech mechType
identity of the type of oxidation (child)
std::vector< double > oxidationRxnRatios
mole ratios for gas species rate coupling
double T
gas temperature (K)
Definition: state.h:23
double getGasSpP(gasSp sp) const
Definition: state.h:49
double getGasSpC(gasSp sp) const
Definition: state.h:46
Definition: sootDefs.h:11
const double Rg
Universal gas constant: J/kmol*K.
Definition: sootDefs.h:17
const std::vector< double > gasSpMW
(kg/kmol); make sure the order corresponds to the gasSp enum
Definition: sootDefs.h:74