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,
const CloudType & owner() const
Return const access to the owner cloud.
Constant rate devolatisation model.
virtual ~ConstantRateDevolatilisation()
Destructor.
ConstantRateDevolatilisation(const dictionary &dict, CloudType &owner)
Construct from dictionary.
virtual autoPtr< DevolatilisationModel< CloudType > > clone() const
Construct and return a clone.
TypeName("constantRateDevolatilisation")
Runtime type information.
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.
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Templated devolatilisation model class.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
const dictionary & dict() const
Return const access to the cloud dictionary.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)