ConstantRateDevolatilisation< CloudType > Class Template Reference

Constant rate devolatisation model. More...

Inheritance diagram for ConstantRateDevolatilisation< CloudType >:
Collaboration diagram for ConstantRateDevolatilisation< CloudType >:

Public Member Functions

 TypeName ("constantRateDevolatilisation")
 Runtime type information. More...
 ConstantRateDevolatilisation (const dictionary &dict, CloudType &owner)
 Construct from dictionary. More...
 ConstantRateDevolatilisation (const ConstantRateDevolatilisation< CloudType > &dm)
 Construct copy. More...
virtual autoPtr< DevolatilisationModel< CloudType > > clone () const
 Construct and return a clone. More...
virtual ~ConstantRateDevolatilisation ()
 Destructor. More...
virtual void calculate (const scalar dt, const scalar age, const scalar mass0, const scalar mass, const scalar T, const scalarField &YGasEff, const scalarField &YLiquidEff, const scalarField &YSolidEff, label &canCombust, scalarField &dMassDV) const
 Update model. More...
- Public Member Functions inherited from DevolatilisationModel< CloudType >
 TypeName ("devolatilisationModel")
 Runtime type information. More...
 declareRunTimeSelectionTable (autoPtr, DevolatilisationModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table. More...
 DevolatilisationModel (CloudType &owner)
 Construct null from owner. More...
 DevolatilisationModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from dictionary. More...
 DevolatilisationModel (const DevolatilisationModel< CloudType > &dm)
 Construct copy. More...
virtual ~DevolatilisationModel ()
 Destructor. More...
void addToDevolatilisationMass (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 DevolatilisationModel< CloudType >
static autoPtr< DevolatilisationModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
- Protected Attributes inherited from DevolatilisationModel< CloudType >
scalar dMass_
 Mass of lagrangian phase converted. More...

Detailed Description

template<class CloudType>
class Foam::ConstantRateDevolatilisation< CloudType >

Constant rate devolatisation model.

- need to set vapourisation temperature to 600 K

Definition at line 51 of file ConstantRateDevolatilisation.H.

Constructor & Destructor Documentation

◆ ConstantRateDevolatilisation() [1/2]

ConstantRateDevolatilisation ( const dictionary dict,
CloudType owner 

Construct from dictionary.

Definition at line 34 of file ConstantRateDevolatilisation.C.

References Foam::endl(), forAll, Foam::Info, Foam::nl, and WarningInFunction.

Here is the call graph for this function:

◆ ConstantRateDevolatilisation() [2/2]

Construct copy.

Definition at line 75 of file ConstantRateDevolatilisation.C.

◆ ~ConstantRateDevolatilisation()


Definition at line 90 of file ConstantRateDevolatilisation.C.

Member Function Documentation

◆ TypeName()

TypeName ( "constantRateDevolatilisation"  )

Runtime type information.

◆ clone()

virtual autoPtr<DevolatilisationModel<CloudType> > clone ( ) const

Construct and return a clone.

Implements DevolatilisationModel< CloudType >.

Definition at line 92 of file ConstantRateDevolatilisation.H.

◆ calculate()

void calculate ( const scalar  dt,
const scalar  age,
const scalar  mass0,
const scalar  mass,
const scalar  T,
const scalarField YGasEff,
const scalarField YLiquidEff,
const scalarField YSolidEff,
label &  canCombust,
scalarField dMassDV 
) const

Update model.

Implements DevolatilisationModel< CloudType >.

Definition at line 98 of file ConstantRateDevolatilisation.C.

References forAll, and Foam::min().

Here is the call graph for this function:

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