38 #ifndef DPMIncompressibleTurbulenceModel_H 39 #define DPMIncompressibleTurbulenceModel_H 53 template<
class TransportModel>
60 incompressibleTurbulenceModel,
virtual tmp< fvVectorMatrix > divDevReff(volVectorField &U) const
Return the source term for the momentum equation.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
const volVectorField & U() const
Access function to velocity field.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
volScalarField alphaField
Templated abstract base class for turbulence models.
virtual ~DPMIncompressibleTurbulenceModel()=default
Destructor.
Templated abstract base class for volumen occupancy incompressible turbulence models.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
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...
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
geometricOneField rhoField
const alphaField & alpha() const
Access function to phase fraction.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
TransportModel transportModel
virtual tmp< volSymmTensorField > devReff() const
Return the effective stress tensor.
DPMIncompressibleTurbulenceModel(const word &type, const alphaField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const TransportModel &transportModel, const word &propertiesName)
Construct.
static autoPtr< DPMIncompressibleTurbulenceModel > New(const alphaField &alpha, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const TransportModel &transportModel, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.