Templated devolatilisation model class. More...
Public Member Functions | |
TypeName ("devolatilisationModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, DevolatilisationModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table. More... | |
DevolatilisationModel (CloudType &owner) | |
Construct null from owner. More... | |
DevolatilisationModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from dictionary. More... | |
DevolatilisationModel (const DevolatilisationModel< CloudType > &dm) | |
Construct copy. More... | |
virtual autoPtr< DevolatilisationModel< CloudType > > | clone () const =0 |
Construct and return a clone. More... | |
virtual | ~DevolatilisationModel () |
Destructor. More... | |
virtual void | calculate (const scalar dt, const scalar age, const scalar mass0, const scalar mass, const scalar T, const scalarField &YGasEff, const scalarField &YLiquidEff, const scalarField &YSolidEff, label &canCombust, scalarField &dMassDV) const =0 |
Update model. More... | |
void | addToDevolatilisationMass (const scalar dMass) |
Add to devolatilisation mass. More... | |
virtual void | info (Ostream &os) |
Write injection info to stream. More... | |
Static Public Member Functions | |
static autoPtr< DevolatilisationModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
Protected Attributes | |
scalar | dMass_ |
Mass of lagrangian phase converted. More... | |
Templated devolatilisation model class.
Definition at line 53 of file ReactingMultiphaseCloud.H.
DevolatilisationModel | ( | CloudType & | owner | ) |
Construct null from owner.
Definition at line 32 of file DevolatilisationModel.C.
DevolatilisationModel | ( | const dictionary & | dict, |
CloudType & | owner, | ||
const word & | type | ||
) |
Construct from dictionary.
Definition at line 43 of file DevolatilisationModel.C.
DevolatilisationModel | ( | const DevolatilisationModel< CloudType > & | dm | ) |
Construct copy.
Definition at line 56 of file DevolatilisationModel.C.
|
virtual |
Destructor.
Definition at line 68 of file DevolatilisationModel.C.
TypeName | ( | "devolatilisationModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
DevolatilisationModel | , | ||
dictionary | , | ||
(const dictionary &dict, CloudType &owner) | , | ||
(dict, owner) | |||
) |
Declare runtime constructor selection table.
|
pure virtual |
Construct and return a clone.
|
static |
Selector.
Definition at line 33 of file DevolatilisationModelNew.C.
|
pure virtual |
Update model.
Implemented in SingleKineticRateDevolatilisation< CloudType >, ConstantRateDevolatilisation< CloudType >, and NoDevolatilisation< CloudType >.
void addToDevolatilisationMass | ( | const scalar | dMass | ) |
Add to devolatilisation mass.
Definition at line 76 of file DevolatilisationModel.C.
|
virtual |
Write injection info to stream.
Definition at line 85 of file DevolatilisationModel.C.
|
protected |
Mass of lagrangian phase converted.
Definition at line 62 of file DevolatilisationModel.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.