Go to the documentation of this file.
39 #ifndef surfaceFilmModel_H
40 #define surfaceFilmModel_H
49 namespace regionModels
84 const word& modelType,
87 const word& regionType
89 (modelType,
mesh,
g, regionType)
104 const word& regionType =
"surfaceFilm"
138 virtual void evolve() = 0;
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
declareRunTimeSelectionTable(autoPtr, surfaceFilmModel, mesh,(const word &modelType, const fvMesh &mesh, const dimensionedVector &g, const word ®ionType),(modelType, mesh, g, regionType))
Base class for surface film models.
surfaceFilmModel()
Constructor.
static const dimensionedScalar Tref
Reference temperature for enthalpy.
virtual scalar CourantNumber() const =0
Courant number evaluation.
virtual tmp< volScalarField::Internal > Sh() const =0
Return enthalpy source - Eulerian phase only.
Mesh data needed to do the Finite Volume discretisation.
const uniformDimensionedVectorField & g
virtual ~surfaceFilmModel()
Destructor.
virtual tmp< volScalarField::Internal > Srho() const =0
Return total mass source - Eulerian phase only.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Macros to ease declaration of run-time selection tables.
virtual void evolve()=0
Main driver routing to evolve the region - calls other evolves.
static autoPtr< surfaceFilmModel > New(const fvMesh &mesh, const dimensionedVector &g, const word ®ionType="surfaceFilm")
Return a reference to the selected surface film model.
TypeName("surfaceFilmModel")
Runtime type information.