39 #ifndef transferModel_H 40 #define transferModel_H 42 #include "filmSubModelBase.H" 50 namespace regionModels
52 namespace surfaceFilmModels
66 scalar transferredMass_;
declareRunTimeSelectionTable(autoPtr, transferModel, dictionary,(surfaceFilmRegionModel &film, const dictionary &dict),(film, dict))
Base class for surface film models.
Base class for surface film sub-models.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Base class for film transfer models, handling mass transfer between the film and the continuous phase...
TypeName("transferModel")
Runtime type information.
const dictionary & dict() const
Return const access to the cloud dictionary.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
virtual scalar transferredMassTotal() const
Return the total mass transferred.
A class for handling words, derived from Foam::string.
virtual ~transferModel()
Destructor.
void addToTransferredMass(const scalar dMass)
Add to transferred mass.
virtual void patchTransferredMassTotals(scalarField &patchMasses) const
Accumulate the total mass transferred for the patches into the.
const word & modelType() const
Return const access to the sub-model type.
static autoPtr< transferModel > New(surfaceFilmRegionModel &film, const dictionary &dict, const word &modelType)
Return a reference to the selected injection model.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.