SootLib
|
Monodispersed model (MONO)
Definition at line 15 of file sootModel_MONO.h.
#include <sootModel_MONO.h>
Public Member Functions | |
virtual void | setSourceTerms (state &state) |
sootModel_MONO (size_t nsoot_, nucleationModel *nucl_, growthModel *grow_, oxidationModel *oxid_, coagulationModel *coag_) | |
sootModel_MONO (size_t nsoot_, nucleationMech Nmech, growthMech Gmech, oxidationMech Omech, coagulationMech Cmech) | |
virtual | ~sootModel_MONO () |
![]() | |
virtual void | setSourceTerms (state &state)=0 |
void | checkSpec () |
virtual double | pahSootCollisionRatePerDimer (const double mDimer) const |
virtual double | get_M0_sectional (const state &state) |
virtual double | get_M1_sectional (const state &state) |
sootModel (size_t nsoot_, nucleationModel *nucl_, growthModel *grow_, oxidationModel *oxid_, coagulationModel *coag_) | |
sootModel (size_t nsoot_, nucleationMech Nmech, growthMech Gmech, oxidationMech Omech, coagulationMech Cmech) | |
virtual | ~sootModel () |
Additional Inherited Members | |
![]() | |
size_t | nsoot |
# of soot variables: moments or sections More... | |
nucleationModel * | nucl |
pointer to nucleation mechanism More... | |
growthModel * | grow |
pointer to growth mechanism More... | |
oxidationModel * | oxid |
pointer to oxidation mechanism More... | |
coagulationModel * | coag |
pointer to coagulation mechanism More... | |
bool | mechsNewedHere |
flag to delete "new" objects More... | |
psdMech | psdMechType |
one of MONO, LOGN, QMOM, MOMIC, SECT, etc. More... | |
std::vector< double > | mBins |
mass in sections for the sectional model More... | |
sourceTerms | sources |
struct containing soot, gas, and pah source terms vectors More... | |
sootModel_MONO::sootModel_MONO | ( | size_t | nsoot_, |
nucleationModel * | nucl_, | ||
growthModel * | grow_, | ||
oxidationModel * | oxid_, | ||
coagulationModel * | coag_ | ||
) |
Constructor taking pointers to chemistry models as input. User creates these pointers nominally by "new-ing" them.
nsoot_ | input: number of soot moments (2). |
nucl_ | input: pointer to nucleation model. |
grow_ | input: pointer to growth model. |
oxid_ | input: pointer to oxidation model. |
coag_ | input: pointer to coagulation model. |
Definition at line 19 of file sootModel_MONO.cc.
sootModel_MONO::sootModel_MONO | ( | size_t | nsoot_, |
nucleationMech | Nmech, | ||
growthMech | Gmech, | ||
oxidationMech | Omech, | ||
coagulationMech | Cmech | ||
) |
Constructor taking enumerations names as input. Chemistry pointers are created (new-ed) here based on those enumerations.
nsoot_ | input: number of soot moments (2). |
Nmech | input: one of enum class nucleationMech in sootDefs.h |
Gmech | input: one of enum class growthMech in sootDefs.h |
Omech | input: one of enum class oxidationMech in sootDefs.h |
Cmech | input: one of enum class coagulationMech in sootDefs.h |
Definition at line 44 of file sootModel_MONO.cc.
|
inlinevirtual |
Definition at line 39 of file sootModel_MONO.h.
|
virtual |
Primary user interface.
state | input: gas and soot state, set by user. |
sets sources.sootSources vector sets sources.gasSources vector sets sources.pahSources vector
Implements soot::sootModel.
Definition at line 69 of file sootModel_MONO.cc.