NoSurfaceReaction< CloudType > Class Template Reference

Dummy surface reaction model for 'none'. More...

Inheritance diagram for NoSurfaceReaction< CloudType >:
[legend]
Collaboration diagram for NoSurfaceReaction< CloudType >:
[legend]

Public Member Functions

 TypeName ("none")
 Runtime type information. More...
 
 NoSurfaceReaction (const dictionary &dict, CloudType &owner)
 Construct from dictionary. More...
 
 NoSurfaceReaction (const NoSurfaceReaction< CloudType > &srm)
 Construct copy. More...
 
virtual autoPtr< SurfaceReactionModel< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~NoSurfaceReaction ()=default
 Destructor. More...
 
virtual bool active () const
 Flag to indicate whether model activates devolatisation model. 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
 Update surface reactions. More...
 
- Public Member Functions inherited from SurfaceReactionModel< CloudType >
 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 ~SurfaceReactionModel ()=default
 Destructor. More...
 
void addToSurfaceReactionMass (const scalar dMass)
 Add to devolatilisation mass. More...
 
virtual void info (Ostream &os)
 Write injection info to stream. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SurfaceReactionModel< CloudType >
static autoPtr< SurfaceReactionModel< CloudType > > New (const dictionary &dict, CloudType &cloud)
 Selector. More...
 
- Protected Attributes inherited from SurfaceReactionModel< CloudType >
scalar dMass_
 Mass of lagrangian phase converted. More...
 

Detailed Description

template<class CloudType>
class Foam::NoSurfaceReaction< CloudType >

Dummy surface reaction model for 'none'.

Definition at line 51 of file NoSurfaceReaction.H.

Constructor & Destructor Documentation

◆ NoSurfaceReaction() [1/2]

NoSurfaceReaction ( const dictionary dict,
CloudType owner 
)

Construct from dictionary.

Definition at line 35 of file NoSurfaceReaction.C.

◆ NoSurfaceReaction() [2/2]

Construct copy.

Definition at line 46 of file NoSurfaceReaction.C.

◆ ~NoSurfaceReaction()

virtual ~NoSurfaceReaction ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "none"  )

Runtime type information.

◆ clone()

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

Construct and return a clone.

Implements SurfaceReactionModel< CloudType >.

Definition at line 70 of file NoSurfaceReaction.H.

◆ active()

bool active ( ) const
virtual

Flag to indicate whether model activates devolatisation model.

Definition at line 57 of file NoSurfaceReaction.C.

◆ calculate()

Foam::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
virtual

Update surface reactions.

Implements SurfaceReactionModel< CloudType >.

Definition at line 65 of file NoSurfaceReaction.C.


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