Go to the documentation of this file.
38 #ifndef regionFaModels_filmTurbulenceModel_H
39 #define regionFaModels_filmTurbulenceModel_H
52 namespace regionModels
54 namespace areaSurfaceFilmModels
148 const word& modelType,
shearMethodType
Options for the shear stress models.
A class for handling words, derived from Foam::string.
word rhoName_
Name of density field (optional)
virtual ~filmTurbulenceModel()=default
Destructor.
A class for managing temporary objects.
const shearMethodType shearMethod_
Shear method used.
frictionMethodType
Options for the friction models.
tmp< volScalarField > rho() const
Return rho if specified otherwise rhoRef.
const frictionMethodType method_
Method used.
scalar rhoRef_
Reference density needed for incompressible calculations.
static const Enum< frictionMethodType > frictionMethodTypeNames_
Names for friction models.
const liquidFilmBase & film_
Reference to liquidFilmBase.
const dictionary dict_
Model dictionary.
Forwards and collection of common area field types.
virtual tmp< areaScalarField > Cw() const
Return the wall film surface friction.
virtual void correct()=0
Correct/update the model.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
tmp< faVectorMatrix > primaryRegionFriction(areaVectorField &U) const
Return primary region friction.
TypeName("filmTurbulenceModel")
Runtime type information.
tmp< volSymmTensorField > devRhoReff() const
Return the effective viscous stress (laminar + turbulent)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
declareRunTimeSelectionTable(autoPtr, filmTurbulenceModel, dictionary,(liquidFilmBase &film, const dictionary &dict),(film, dict))
static const Enum< shearMethodType > shearMethodTypeNames_
Names for shear stress models.
Base class for film turbulence models.
const liquidFilmBase & film() const
Return film.
Macros to ease declaration of run-time selection tables.
virtual tmp< faVectorMatrix > Su(areaVectorField &U) const =0
Return the source for the film momentum equation.
virtual tmp< areaScalarField > mut() const =0
Return the film turbulence viscosity.
static autoPtr< filmTurbulenceModel > New(liquidFilmBase &film, const dictionary &dict)
Return a reference to the selected injection model.