Go to the documentation of this file.
36 #ifndef IncompressibleTurbulenceModel_H
37 #define IncompressibleTurbulenceModel_H
52 template<
class TransportModel>
59 incompressibleTurbulenceModel,
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.
A class for handling words, derived from string.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
A class for managing temporary objects.
TransportModel transportModel
static const word propertiesName
Default name of the turbulence properties dictionary.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
const alphaField & alpha() const
Access function to phase fraction.
virtual tmp< volSymmTensorField > devReff() const
Return the effective stress tensor.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
Templated abstract base class for turbulence models.
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.
virtual tmp< fvVectorMatrix > divDevReff(volVectorField &U) const
Return the source term for the momentum equation.
const transportModel & transport() const
Access function to incompressible transport model.
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ~IncompressibleTurbulenceModel()
Destructor.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
Templated abstract base class for single-phase incompressible turbulence models.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
geometricOneField rhoField
const volVectorField & U() const
Access function to velocity field.
geometricOneField alphaField