37 #ifndef transferModel_H 38 #define transferModel_H 48 namespace regionModels
50 namespace surfaceFilmModels
64 scalar transferredMass_;
123 const word& modelType
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 any number of values (e...
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.
transferModel(surfaceFilmRegionModel &film)
Construct for film.
A class for handling words, derived from 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.
void operator=(const transferModel &)=delete
Disallow default bitwise assignment.
static autoPtr< transferModel > New(surfaceFilmRegionModel &film, const dictionary &dict, const word &modelType)
Return a reference to the selected injection model.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.