38 #ifndef NoSurfaceReaction_H 39 #define NoSurfaceReaction_H 51 template<
class CloudType>
87 virtual bool active()
const;
TypeName("none")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool active() const
Flag to indicate whether model activates devolatisation model.
virtual autoPtr< SurfaceReactionModel< CloudType > > clone() const
Construct and return a clone.
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.
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
Dummy surface reaction model for 'none'.
virtual ~NoSurfaceReaction()=default
Destructor.
NoSurfaceReaction(const dictionary &dict, CloudType &owner)
Construct from dictionary.
scalarField Re(const UList< complex > &cf)
Extract real component.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const Vector< label > N(dict.get< Vector< label >>("N"))
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated surface reaction model class.
Templated base class for dsmc cloud.