39#ifndef IncompressibleTurbulenceModel_H
40#define IncompressibleTurbulenceModel_H
55template<
class TransportModel>
62 incompressibleTurbulenceModel,
virtual tmp< volSymmTensorField > devRhoReff(const volVectorField &U) const
Return the effective stress tensor based on a given velocity field.
geometricOneField alphaField
virtual tmp< fvVectorMatrix > divDevReff(volVectorField &U) const
Return the source term for the momentum equation.
TransportModel transportModel
virtual tmp< fvVectorMatrix > divDevRhoReff(const volScalarField &rho, volVectorField &U) const
Return the source term for the momentum equation.
virtual tmp< volSymmTensorField > devReff() const
Return the effective stress tensor.
virtual ~IncompressibleTurbulenceModel()=default
Destructor.
geometricOneField rhoField
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
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.
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.
virtual tmp< volSymmTensorField > devReff(const volVectorField &U) const
Return the effective stress tensor based on a given velocity field.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
const alphaField & alpha() const
Access function to phase fraction.
TurbulenceModel(const TurbulenceModel &)=delete
const transportModel & transport() const
Access function to incompressible transport model.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
A class for managing temporary objects.
static const word propertiesName
Default name of the turbulence properties dictionary.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField