39 #ifndef IncompressibleTurbulenceModel_H 40 #define IncompressibleTurbulenceModel_H 55 template<
class TransportModel>
62 incompressibleTurbulenceModel,
const volVectorField & U() const
Access function to velocity field.
IncompressibleTurbulenceModel(const word &type, const geometricOneField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const TransportModel &transport, const word &propertiesName)
Construct.
Templated abstract base class for turbulence models.
static autoPtr< IncompressibleTurbulenceModel > New(const volVectorField &U, const surfaceScalarField &phi, const TransportModel &transportModel, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
const transportModel & transport() const
Access function to incompressible transport model.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
Templated abstract base class for single-phase incompressible turbulence models.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
virtual ~IncompressibleTurbulenceModel()=default
Destructor.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
virtual tmp< fvVectorMatrix > divDevReff(volVectorField &U) const
Return the source term for the momentum equation.
const alphaField & alpha() const
Access function to phase fraction.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
virtual tmp< volSymmTensorField > devReff() const
Return the effective stress tensor.
geometricOneField alphaField
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
TransportModel transportModel
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
geometricOneField rhoField
A class for managing temporary objects.