FreeFOAM The Cross-Platform CFD Toolkit
SurfaceReactionModel< CloudType > Class Template Reference

Templated surface reaction model class. More...

#include <lagrangianIntermediate/SurfaceReactionModel.H>


Detailed Description

+ Inheritance diagram for SurfaceReactionModel< CloudType >:

List of all members.

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 dictionarydict () const
 Return the cloud dictionary.
const dictionarycoeffDict () 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.

Constructor & Destructor Documentation

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.

~SurfaceReactionModel ( )
virtual

Destructor.

Definition at line 59 of file SurfaceReactionModel.C.


Member Function Documentation

TypeName ( "SurfaceReactionModel< CloudType >"  )

Runtime type information.

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

Declare runtime constructor selection table.

Foam::autoPtr< Foam::SurfaceReactionModel< CloudType > > New ( const dictionary dict,
CloudType &  cloud 
)
static
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.

virtual bool active ( ) const
pure virtual
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

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