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