SootLib
Loading...
Searching...
No Matches
soot::sootModel_MONO Class Reference

Detailed Description

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 ()
 
- Public Member Functions inherited from soot::sootModel
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

- Public Attributes inherited from soot::sootModel
size_t nsoot
 # of soot variables: moments or sections More...
 
nucleationModelnucl
 pointer to nucleation mechanism More...
 
growthModelgrow
 pointer to growth mechanism More...
 
oxidationModeloxid
 pointer to oxidation mechanism More...
 
coagulationModelcoag
 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...
 

Constructor & Destructor Documentation

◆ sootModel_MONO() [1/2]

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.

Parameters
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() [2/2]

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.

Parameters
nsoot_input: number of soot moments (2).
Nmechinput: one of enum class nucleationMech in sootDefs.h
Gmechinput: one of enum class growthMech in sootDefs.h
Omechinput: one of enum class oxidationMech in sootDefs.h
Cmechinput: one of enum class coagulationMech in sootDefs.h

Definition at line 44 of file sootModel_MONO.cc.

◆ ~sootModel_MONO()

virtual soot::sootModel_MONO::~sootModel_MONO ( )
inlinevirtual

Definition at line 39 of file sootModel_MONO.h.

Member Function Documentation

◆ setSourceTerms()

void sootModel_MONO::setSourceTerms ( state state)
virtual

Primary user interface.

Parameters
stateinput: 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.


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