Base class for soot models. More...
Public Member Functions | |
TypeName ("sootModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, sootModel, dictionary,(const dictionary &dict, const fvMesh &mesh, const word &modelType),(dict, mesh, modelType)) | |
Declare runtime constructor selection table. More... | |
sootModel (const dictionary &dict, const fvMesh &mesh, const word &modelType) | |
Construct from components. More... | |
virtual | ~sootModel () |
Destructor. More... | |
const fvMesh & | mesh () const |
Reference to the mesh. More... | |
const dictionary & | dict () const |
Reference to the dictionary. More... | |
virtual void | correct ()=0 |
Main update/correction routine. More... | |
virtual const volScalarField & | soot () const =0 |
Return const reference to soot. More... | |
Static Public Member Functions | |
static autoPtr< sootModel > | New (const dictionary &dict, const fvMesh &mesh) |
Selector. More... | |
Protected Attributes | |
const dictionary | dict_ |
Radiation model dictionary. More... | |
const fvMesh & | mesh_ |
Reference to the fvMesh. More... | |
sootModel | ( | const dictionary & | dict, |
const fvMesh & | mesh, | ||
const word & | modelType | ||
) |
Construct from components.
Definition at line 42 of file sootModel.C.
|
virtual |
Destructor.
Definition at line 55 of file sootModel.C.
TypeName | ( | "sootModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
sootModel | , | ||
dictionary | , | ||
(const dictionary &dict, const fvMesh &mesh, const word &modelType) | , | ||
(dict, mesh, modelType) | |||
) |
Declare runtime constructor selection table.
|
static |
Selector.
Definition at line 35 of file sootModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::found(), Foam::Info, dictionary::lookup(), mesh, Foam::nl, List< T >::size(), and WarningInFunction.
|
inline |
|
inline |
Reference to the dictionary.
Definition at line 118 of file sootModel.H.
References sootModel::correct(), sootModel::dict_, and sootModel::soot().
|
pure virtual |
Main update/correction routine.
Implemented in mixtureFraction, and noSoot.
Referenced by sootModel::dict().
|
pure virtual |
Return const reference to soot.
Implemented in mixtureFraction, and noSoot.
Referenced by sootModel::dict().
|
protected |
Radiation model dictionary.
Definition at line 57 of file sootModel.H.
Referenced by sootModel::dict().
|
protected |
Reference to the fvMesh.
Definition at line 60 of file sootModel.H.
Referenced by sootModel::mesh().