SootLib
Loading...
Searching...
No Matches
growthModel_LIN.cc
Go to the documentation of this file.
1
#include "
growthModels/growthModel_LIN.h
"
2
#include "
sootDefs.h
"
3
4
using namespace
std;
5
using namespace
soot
;
6
8
9
growthModel_LIN::growthModel_LIN
() {
10
11
growthRxnRatios
[(int)
gasSp::C2H2
] = -1;
// C2H2 --> 2C(soot) + H2
12
growthRxnRatios
[(int)
gasSp::H2
] = 1;
13
growthRxnRatios
[(int)
gasSp::C
] = 2;
14
15
mechType
=
growthMech::LIN
;
16
}
17
30
31
double
growthModel_LIN::getGrowthSootRate
(
const
state
&
state
)
const
{
32
33
return
750.*exp(-12100./
state
.
T
)*
state
.
getGasSpC
(
gasSp::C2H2
) *
34
2. *
gasSpMW
[(int)
gasSp::C
];
// kg_soot/m2*s
35
36
}
soot::growthModel_LIN::growthModel_LIN
growthModel_LIN()
Definition:
growthModel_LIN.cc:9
soot::growthModel_LIN::getGrowthSootRate
double getGrowthSootRate(const state &state) const override
Definition:
growthModel_LIN.cc:31
soot::growthModel::growthRxnRatios
std::vector< double > growthRxnRatios
mole ratios for gas species rate coupling
Definition:
growthModel.h:26
soot::growthModel::mechType
growthMech mechType
identity of the type of growth (child)
Definition:
growthModel.h:24
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
growthModel_LIN.h
soot
Definition:
sootDefs.h:11
soot::growthMech::LIN
@ LIN
soot::gasSp::C
@ C
soot::gasSp::C2H2
@ C2H2
soot::gasSp::H2
@ H2
soot::gasSpMW
const std::vector< double > gasSpMW
(kg/kmol); make sure the order corresponds to the gasSp enum
Definition:
sootDefs.h:74
sootDefs.h
src
growthModels
growthModel_LIN.cc
Generated by
1.9.5