Go to the documentation of this file.
41 #ifndef HeterogeneousReactingModel_H
42 #define HeterogeneousReactingModel_H
59 template<
class CloudType>
60 class HeterogeneousReactingModel
62 public CloudSubModelBase<CloudType>
78 TypeName(
"heterogeneousReactionModel");
165 virtual label
nF()
const;
178 #define makeHeterogeneousReactingModel(CloudType) \
180 typedef Foam::CloudType::reactingHeterogeneousCloudType \
181 reactingHeterogeneousCloudType; \
182 defineNamedTemplateTypeNameAndDebug \
184 Foam::HeterogeneousReactingModel<reactingHeterogeneousCloudType>, \
189 defineTemplateRunTimeSelectionTable \
191 HeterogeneousReactingModel<reactingHeterogeneousCloudType>, \
197 #define makeHeterogeneousReactingModelType(SS, CloudType) \
199 typedef Foam::CloudType::reactingHeterogeneousCloudType \
200 reactingHeterogeneousCloudType; \
201 defineNamedTemplateTypeNameAndDebug \
202 (Foam::SS<reactingHeterogeneousCloudType>, 0); \
204 Foam::HeterogeneousReactingModel<reactingHeterogeneousCloudType>:: \
205 adddictionaryConstructorToTable \
206 <Foam::SS<reactingHeterogeneousCloudType>> \
207 add##SS##CloudType##reactingHeterogeneousCloudType##ConstructorToTable_;
virtual void info(Ostream &os)
Base class for heterogeneous reacting models.
A class for handling words, derived from Foam::string.
HeterogeneousReactingModel(CloudType &owner)
virtual label nReactions() const =0
void addToSurfaceReactionMass(const scalar dMass)
volVectorField F(fluid.F())
TypeName("heterogeneousReactionModel")
Generic templated field type.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
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 =0
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
Macros to ease declaration of run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
static autoPtr< HeterogeneousReactingModel< CloudType > > New(const dictionary &dict, CloudType &cloud)
scalarField Re(const UList< complex > &cf)
virtual ~HeterogeneousReactingModel()=default
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Vector< label > N(dict.get< Vector< label >>("N"))
declareRunTimeSelectionTable(autoPtr, HeterogeneousReactingModel, dictionary,(const dictionary &dict, CloudType &cloud),(dict, cloud))
virtual autoPtr< HeterogeneousReactingModel< CloudType > > clone() const =0