SurfaceReactionModel< CloudType > Class Template Referenceabstract

Templated surface reaction model class. More...

Inheritance diagram for SurfaceReactionModel< CloudType >:

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 ()=default
 Destructor. More...
virtual scalar calculate (const scalar dt, const scalar Re, const scalar nu, 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

template<class CloudType>
class Foam::SurfaceReactionModel< CloudType >

Templated surface reaction model class.

Source files

Definition at line 61 of file ReactingMultiphaseCloud.H.

Constructor & Destructor Documentation

◆ SurfaceReactionModel() [1/3]

Construct null from owner.

Definition at line 35 of file SurfaceReactionModel.C.

◆ SurfaceReactionModel() [2/3]

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

Construct from dictionary.

Definition at line 46 of file SurfaceReactionModel.C.

◆ SurfaceReactionModel() [3/3]

Construct copy.

Definition at line 59 of file SurfaceReactionModel.C.

◆ ~SurfaceReactionModel()

virtual ~SurfaceReactionModel ( )


Member Function Documentation

◆ TypeName()

TypeName ( "surfaceReactionModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
SurfaceReactionModel< CloudType ,
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.

Implemented in NoSurfaceReaction< CloudType >.

◆ New()

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


Definition at line 36 of file SurfaceReactionModelNew.C.

◆ calculate()

virtual scalar calculate ( const scalar  dt,
const scalar  Re,
const scalar  nu,
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 72 of file SurfaceReactionModel.C.

◆ info()

void info ( Ostream os)

Write injection info to stream.

Definition at line 81 of file SurfaceReactionModel.C.

Member Data Documentation

◆ dMass_

scalar dMass_

Mass of lagrangian phase converted.

Definition at line 69 of file SurfaceReactionModel.H.

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