39#ifndef surfaceFilmModel_H
40#define surfaceFilmModel_H
84 const word& modelType,
87 const word& regionType
89 (modelType,
mesh,
g, regionType)
104 const word& regionType =
"surfaceFilm"
138 virtual void evolve() = 0;
const uniformDimensionedVectorField & g
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Mesh data needed to do the Finite Volume discretisation.
Base class for surface film models.
static autoPtr< surfaceFilmModel > New(const fvMesh &mesh, const dimensionedVector &g, const word ®ionType="surfaceFilm")
Return a reference to the selected surface film model.
static const dimensionedScalar Tref
Reference temperature for enthalpy.
TypeName("surfaceFilmModel")
Runtime type information.
virtual scalar CourantNumber() const =0
Courant number evaluation.
declareRunTimeSelectionTable(autoPtr, surfaceFilmModel, mesh,(const word &modelType, const fvMesh &mesh, const dimensionedVector &g, const word ®ionType),(modelType, mesh, g, regionType))
virtual void evolve()=0
Main driver routing to evolve the region - calls other evolves.
virtual ~surfaceFilmModel()
Destructor.
virtual tmp< volScalarField::Internal > Srho() const =0
Return total mass source - Eulerian phase only.
virtual tmp< volScalarField::Internal > Srho(const label i) const =0
Return mass source for specie i - Eulerian phase only.
virtual tmp< volScalarField::Internal > Sh() const =0
Return enthalpy source - Eulerian phase only.
surfaceFilmModel()
Constructor.
A class for managing temporary objects.
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.