SootLib
Loading...
Searching...
No Matches
oxidationModel_LL.cc
Go to the documentation of this file.
1
#include "
oxidationModels/oxidationModel_LL.h
"
2
#include "
sootDefs.h
"
3
4
using namespace
std;
5
using namespace
soot
;
6
8
9
oxidationModel_LL::oxidationModel_LL
() {
10
11
oxidationRxnRatios
[(int)
gasSp::CO
] = 1;
// C(soot) + (1/2)O2 --> CO
12
oxidationRxnRatios
[(int)
gasSp::O2
] = -0.5;
13
oxidationRxnRatios
[(int)
gasSp::C
] = -1;
14
15
mechType
=
oxidationMech::LL
;
16
}
17
31
32
double
oxidationModel_LL::getOxidationSootRate
(
const
state
&
state
)
const
{
33
34
return
0.1E5 * sqrt(
state
.
T
) * exp(-19680. /
state
.
T
) *
35
state
.
getGasSpC
(
gasSp::O2
) *
gasSpMW
[(int)
gasSp::C
];
// kg_soot/m^2*s
36
37
}
soot::oxidationModel_LL::getOxidationSootRate
double getOxidationSootRate(const state &state) const override
Definition:
oxidationModel_LL.cc:32
soot::oxidationModel_LL::oxidationModel_LL
oxidationModel_LL()
Definition:
oxidationModel_LL.cc:9
soot::oxidationModel::mechType
oxidationMech mechType
identity of the type of oxidation (child)
Definition:
oxidationModel.h:25
soot::oxidationModel::oxidationRxnRatios
std::vector< double > oxidationRxnRatios
mole ratios for gas species rate coupling
Definition:
oxidationModel.h:27
soot::state
Definition:
state.h:17
soot::state::T
double T
gas temperature (K)
Definition:
state.h:23
soot::state::getGasSpC
double getGasSpC(gasSp sp) const
Definition:
state.h:46
soot
Definition:
sootDefs.h:11
soot::oxidationMech::LL
@ LL
soot::gasSp::C
@ C
soot::gasSp::CO
@ CO
soot::gasSp::O2
@ O2
soot::gasSpMW
const std::vector< double > gasSpMW
(kg/kmol); make sure the order corresponds to the gasSp enum
Definition:
sootDefs.h:74
oxidationModel_LL.h
sootDefs.h
src
oxidationModels
oxidationModel_LL.cc
Generated by
1.9.5