Go to the documentation of this file.
38 #ifndef phaseChangeModel_H
39 #define phaseChangeModel_H
49 namespace regionModels
51 namespace surfaceFilmModels
A class for handling words, derived from Foam::string.
virtual void info(Ostream &os) const
Provide some feedback.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
Base class for surface film models.
const dictionary & dict() const
Return const access to the cloud dictionary.
static autoPtr< phaseChangeModel > New(surfaceFilmRegionModel &film, const dictionary &dict)
Return a reference to the selected phase change model.
virtual void correct(const scalar dt, scalarField &availableMass, volScalarField &dMass, volScalarField &dEnergy)
Correct.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
TypeName("phaseChangeModel")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, phaseChangeModel, dictionary,(surfaceFilmRegionModel &film, const dictionary &dict),(film, dict))
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.
virtual void correctModel(const scalar dt, scalarField &availableMass, scalarField &dMass, scalarField &dEnergy)=0
Correct.
Macros to ease declaration of run-time selection tables.
virtual ~phaseChangeModel()
Destructor.
scalar latestMassPC_
Latest mass transfer due to phase change.
scalar totalMassPC_
Total mass transfer due to phase change.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base class for surface film sub-models.
Base class for surface film phase change models.