HeterogeneousReactingModel< CloudType > Class Template Referenceabstract

Base class for heterogeneous reacting models. More...

Inheritance diagram for HeterogeneousReactingModel< CloudType >:

Public Member Functions

 TypeName ("heterogeneousReactionModel")
 Runtime type information. More...
 declareRunTimeSelectionTable (autoPtr, HeterogeneousReactingModel, dictionary,(const dictionary &dict, CloudType &cloud),(dict, cloud))
 Declare runtime constructor selection table. More...
 HeterogeneousReactingModel (CloudType &owner)
 Construct null from owner. More...
 HeterogeneousReactingModel (const dictionary &dict, CloudType &cloud, const word &type)
 Construct from dictionary. More...
 HeterogeneousReactingModel (const HeterogeneousReactingModel< CloudType > &srm)
 Construct copy. More...
virtual autoPtr< HeterogeneousReactingModel< CloudType > > clone () const =0
 Construct and return a clone. More...
virtual ~HeterogeneousReactingModel ()=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 &YSolid, scalarField &F, const scalar N, scalar &NCpW, scalarField &dMassSolid, scalarField &dMassSRCarrier) const =0
 Update surface reactions. More...
void addToSurfaceReactionMass (const scalar dMass)
 Add to devolatilisation mass. More...
virtual label nReactions () const =0
 Number of reactions in the model. More...
virtual label nF () const
 Number of progress variable. More...
virtual void info (Ostream &os)
 Write injection info to stream. More...

Static Public Member Functions

static autoPtr< HeterogeneousReactingModel< CloudType > > New (const dictionary &dict, CloudType &cloud)
 Selector. More...

Protected Attributes

scalar dMass_
 Net mass of lagrangian phase consumed. More...
label nF_
 Number of progress variables. More...

Detailed Description

template<class CloudType>
class Foam::HeterogeneousReactingModel< CloudType >

Base class for heterogeneous reacting models.

Source files

Definition at line 55 of file ReactingHeterogeneousCloud.H.

Constructor & Destructor Documentation

◆ HeterogeneousReactingModel() [1/3]

Construct null from owner.

Definition at line 34 of file HeterogeneousReactingModel.C.

◆ HeterogeneousReactingModel() [2/3]

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

Construct from dictionary.

Definition at line 46 of file HeterogeneousReactingModel.C.

◆ HeterogeneousReactingModel() [3/3]

Construct copy.

Definition at line 60 of file HeterogeneousReactingModel.C.

◆ ~HeterogeneousReactingModel()

virtual ~HeterogeneousReactingModel ( )


Member Function Documentation

◆ TypeName()

TypeName ( "heterogeneousReactionModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
HeterogeneousReactingModel< CloudType ,
dictionary  ,
(const dictionary &dict, CloudType &cloud ,
(dict, cloud  

Declare runtime constructor selection table.

◆ clone()

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

Construct and return a clone.

Implemented in NoheterogeneousReacting< CloudType >.

◆ New()

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


Definition at line 35 of file HeterogeneousReactingModelNew.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 YSolid,
scalarField F,
const scalar  N,
scalar &  NCpW,
scalarField dMassSolid,
scalarField dMassSRCarrier 
) const
pure virtual

Update surface reactions.

Returns the heat of reaction

Implemented in NoheterogeneousReacting< CloudType >.

◆ addToSurfaceReactionMass()

void addToSurfaceReactionMass ( const scalar  dMass)

Add to devolatilisation mass.

Definition at line 74 of file HeterogeneousReactingModel.C.

◆ nReactions()

virtual label nReactions ( ) const
pure virtual

Number of reactions in the model.

Implemented in NoheterogeneousReacting< CloudType >.

◆ nF()

Foam::label nF ( ) const

Number of progress variable.

Definition at line 83 of file HeterogeneousReactingModel.C.

◆ info()

void info ( Ostream os)

Write injection info to stream.

Definition at line 90 of file HeterogeneousReactingModel.C.

Member Data Documentation

◆ dMass_

scalar dMass_

Net mass of lagrangian phase consumed.

Definition at line 68 of file HeterogeneousReactingModel.H.

◆ nF_

label nF_

Number of progress variables.

Definition at line 71 of file HeterogeneousReactingModel.H.

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