Public Member Functions | Static Public Member Functions | Protected Attributes
SurfaceReactionModel Class Referenceabstract

Templated surface reaction model class. More...

Inheritance diagram for SurfaceReactionModel:
Inheritance graph
[legend]

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...
 

Detailed Description

Templated surface reaction model class.

Source files

Definition at line 56 of file ReactingMultiphaseCloud.H.

Constructor & Destructor Documentation

◆ SurfaceReactionModel() [1/3]

Construct null from owner.

Definition at line 32 of file SurfaceReactionModel.C.

◆ SurfaceReactionModel() [2/3]

SurfaceReactionModel ( const dictionary dict,
CloudType cloud,
const word type 
)

Construct from dictionary.

◆ SurfaceReactionModel() [3/3]

Construct copy.

Definition at line 56 of file SurfaceReactionModel.C.

◆ ~SurfaceReactionModel()

~SurfaceReactionModel ( )
virtual

Destructor.

Definition at line 68 of file SurfaceReactionModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "surfaceReactionModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
SurfaceReactionModel  ,
dictionary  ,
(const dictionary &dict, CloudType &cloud ,
(dict, cloud  
)

Declare runtime constructor selection table.

◆ clone()

virtual autoPtr<SurfaceReactionModel<CloudType> > clone ( ) const
pure virtual

Construct and return a clone.

◆ New()

Foam::autoPtr< Foam::SurfaceReactionModel< CloudType > > New ( const dictionary dict,
CloudType cloud 
)
static

Selector.

Definition at line 33 of file SurfaceReactionModelNew.C.

◆ calculate()

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
pure virtual

Update surface reactions.

Returns the heat of reaction

Implemented in NoSurfaceReaction< CloudType >.

◆ addToSurfaceReactionMass()

void addToSurfaceReactionMass ( const scalar  dMass)

Add to devolatilisation mass.

Definition at line 76 of file SurfaceReactionModel.C.

◆ info()

void info ( Ostream os)
virtual

Write injection info to stream.

Definition at line 85 of file SurfaceReactionModel.C.

Field Documentation

◆ dMass_

scalar dMass_
protected

Mass of lagrangian phase converted.

Definition at line 63 of file SurfaceReactionModel.H.


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