33 #ifndef ConstantRateDevolatilisation_H 34 #define ConstantRateDevolatilisation_H 46 template<
class CloudType>
67 const scalar residualCoeff_;
73 TypeName(
"constantRateDevolatilisation");
107 const typename CloudType::parcelType::trackingData& td,
TypeName("constantRateDevolatilisation")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
ConstantRateDevolatilisation(const dictionary &dict, CloudType &owner)
Construct from dictionary.
const dictionary & dict() const
Return const access to the cloud dictionary.
Constant rate devolatisation model.
virtual void calculate(const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar dt, 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.
const CloudType & owner() const
Return const access to the owner cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual ~ConstantRateDevolatilisation()
Destructor.
virtual autoPtr< DevolatilisationModel< CloudType > > clone() const
Construct and return a clone.
Templated devolatilisation model class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Templated base class for dsmc cloud.