Templated surface reaction model class. More...
Public Member Functions | |
TypeName ("surfaceReactionModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, SurfaceReactionModel, dictionary,(const dictionary &dict, CloudType &cloud),(dict, cloud)) | |
Declare runtime constructor selection table. More... | |
SurfaceReactionModel (CloudType &owner) | |
Construct null from owner. More... | |
SurfaceReactionModel (const dictionary &dict, CloudType &cloud, const word &type) | |
Construct from dictionary. More... | |
SurfaceReactionModel (const SurfaceReactionModel< CloudType > &srm) | |
Construct copy. More... | |
virtual autoPtr< SurfaceReactionModel< CloudType > > | clone () const =0 |
Construct and return a clone. More... | |
virtual | ~SurfaceReactionModel () |
Destructor. More... | |
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. More... | |
void | addToSurfaceReactionMass (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< SurfaceReactionModel< CloudType > > | New (const dictionary &dict, CloudType &cloud) |
Selector. More... | |
Protected Attributes | |
scalar | dMass_ |
Mass of lagrangian phase converted. More... | |
Templated surface reaction model class.
Definition at line 56 of file ReactingMultiphaseCloud.H.
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.
SurfaceReactionModel | ( | const SurfaceReactionModel< CloudType > & | srm | ) |
Construct copy.
Definition at line 56 of file SurfaceReactionModel.C.
|
virtual |
Destructor.
Definition at line 68 of file SurfaceReactionModel.C.
TypeName | ( | "surfaceReactionModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
SurfaceReactionModel | , | ||
dictionary | , | ||
(const dictionary &dict, CloudType &cloud) | , | ||
(dict, cloud) | |||
) |
Declare runtime constructor selection table.
|
pure virtual |
Construct and return a clone.
|
static |
Selector.
Definition at line 33 of file SurfaceReactionModelNew.C.
|
pure virtual |
Update surface reactions.
Returns the heat of reaction
Implemented in NoSurfaceReaction< CloudType >.
void addToSurfaceReactionMass | ( | const scalar | dMass | ) |
Add to devolatilisation mass.
Definition at line 76 of file SurfaceReactionModel.C.
|
virtual |
Write injection info to stream.
Definition at line 85 of file SurfaceReactionModel.C.
|
protected |
Mass of lagrangian phase converted.
Definition at line 63 of file SurfaceReactionModel.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.