Templated surface reaction model class. More...
#include <lagrangianIntermediate/SurfaceReactionModel.H>
Templated surface reaction model class.
Definition at line 55 of file SurfaceReactionModel.H.
Public Member Functions | |
TypeName ("SurfaceReactionModel") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, SurfaceReactionModel, dictionary,(const dictionary &dict, CloudType &cloud),(dict, cloud)) | |
Declare runtime constructor selection table. | |
SurfaceReactionModel (CloudType &owner) | |
Construct null from owner. | |
SurfaceReactionModel (const dictionary &dict, CloudType &cloud, const word &type) | |
Construct from dictionary. | |
virtual | ~SurfaceReactionModel () |
Destructor. | |
const CloudType & | owner () const |
Return the owner cloud object. | |
const dictionary & | dict () const |
Return the cloud dictionary. | |
const dictionary & | coeffDict () const |
Return the coefficients dictionary. | |
virtual bool | active () const =0 |
Flag to indicate whether model activates surface reaction model. | |
virtual scalar | calculate (const scalar dt, const label cellI, const scalar d, const scalar T, const scalar Tc, const scalar pc, const scalar rhoc, const scalar mass, const scalarField &YGas, const scalarField &YLiquid, const scalarField &YSolid, const scalarField &YMixture, const scalar N, scalarField &dMassGas, scalarField &dMassLiquid, scalarField &dMassSolid, scalarField &dMassSRCarrier) const =0 |
Update surface reactions. |
Static Public Member Functions | |
static autoPtr < SurfaceReactionModel < CloudType > > | New (const dictionary &dict, CloudType &cloud) |
Selector. |
SurfaceReactionModel | ( | CloudType & | owner | ) |
Construct null from owner.
Definition at line 32 of file SurfaceReactionModel.C.
SurfaceReactionModel | ( | const dictionary & | dict, |
CloudType & | cloud, | ||
const word & | type | ||
) |
Construct from dictionary.
Definition at line 44 of file SurfaceReactionModel.C.
|
virtual |
Destructor.
Definition at line 59 of file SurfaceReactionModel.C.
TypeName | ( | "SurfaceReactionModel< CloudType >" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
SurfaceReactionModel< CloudType > | , | ||
dictionary | , | ||
(const dictionary &dict, CloudType &cloud) | , | ||
(dict, cloud) | |||
) |
Declare runtime constructor selection table.
|
static |
Selector.
Definition at line 33 of file NewSurfaceReactionModel.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.
const CloudType & owner | ( | ) | const |
Return the owner cloud object.
Definition at line 66 of file SurfaceReactionModel.C.
const Foam::dictionary & dict | ( | ) | const |
Return the cloud dictionary.
Definition at line 73 of file SurfaceReactionModel.C.
const Foam::dictionary & coeffDict | ( | ) | const |
Return the coefficients dictionary.
Definition at line 80 of file SurfaceReactionModel.C.
|
pure virtual |
Flag to indicate whether model activates surface reaction model.
Implemented in COxidationMurphyShaddix< CloudType >, COxidationKineticDiffusionLimitedRate< CloudType >, COxidationDiffusionLimitedRate< CloudType >, and NoSurfaceReaction< CloudType >.
|
pure virtual |
Update surface reactions.
Returns the heat of reaction
Implemented in COxidationMurphyShaddix< CloudType >, COxidationKineticDiffusionLimitedRate< CloudType >, COxidationDiffusionLimitedRate< CloudType >, and NoSurfaceReaction< CloudType >.