39#ifndef injectionModel_H
40#define injectionModel_H
42#include "filmSubModelBase.H"
52namespace surfaceFilmModels
131 const word& mdoelType
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Base class for surface film sub-models.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
Base class for film injection models, handling mass transfer from the film.
virtual void correct(scalarField &availableMass, scalarField &massToInject, scalarField &diameterToInject)=0
Correct.
TypeName("injectionModel")
Runtime type information.
void addToInjectedMass(const scalar dMass)
Add to injected mass.
virtual scalar injectedMassTotal() const
Return the total mass injected.
virtual ~injectionModel()
Destructor.
static autoPtr< injectionModel > New(surfaceFilmRegionModel &film, const dictionary &dict, const word &mdoelType)
Return a reference to the selected injection model.
declareRunTimeSelectionTable(autoPtr, injectionModel, dictionary,(surfaceFilmRegionModel &film, const dictionary &dict),(film, dict))
virtual void patchInjectedMassTotals(scalarField &patchMasses) const
Accumulate the total mass injected for the patches into the.
Base class for surface film models.
const dictionary & dict() const
Return const access to the cloud dictionary.
const word & modelType() const
Return const access to the sub-model type.
A class for handling words, derived from Foam::string.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.