37#ifndef NoheterogeneousReacting_H
38#define NoheterogeneousReacting_H
51template<
class CloudType>
90 virtual bool active()
const;
const CloudType & owner() const
Return const access to the owner cloud.
HeterogeneousReactingModel(CloudType &owner)
Construct null from owner.
virtual ~NoheterogeneousReacting()=default
Destructor.
virtual label nReactions() const
Number of reactions in the model.
NoheterogeneousReacting(const dictionary &dict, CloudType &owner)
Construct from dictionary.
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 &YSolid, scalarField &F, const scalar N, scalar &NCpW, scalarField &dMassSolid, scalarField &dMassSRCarrier) const
Update surface reactions.
virtual autoPtr< HeterogeneousReactingModel< CloudType > > clone() const
Construct and return a clone.
TypeName("none")
Runtime type information.
virtual bool active() const
Flag to indicate whether model activates devolatisation model.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & dict() const
Return const access to the cloud dictionary.
volVectorField F(fluid.F())
DSMCCloud< dsmcParcel > CloudType
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
scalarField Re(const UList< complex > &cmplx)
Extract real component.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
const Vector< label > N(dict.get< Vector< label > >("N"))