Go to the documentation of this file.
36 #ifndef CompressibleTurbulenceModel_H
37 #define CompressibleTurbulenceModel_H
51 template<
class TransportModel>
58 compressibleTurbulenceModel,
const transportModel & transport_
A class for handling words, derived from string.
A class for managing temporary objects.
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
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...
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
const alphaField & alpha() const
Access function to phase fraction.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
Templated abstract base class for turbulence models.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< scalarField > mut(const label patchi) const
Return the turbulence dynamic viscosity on patch.
const volScalarField & rho_
virtual tmp< scalarField > mu(const label patchi) const
Return the laminar dynamic viscosity on patch.
TransportModel transportModel
const volScalarField & rho() const
Return the density field.
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
const transportModel & transport() const
Access function to incompressible transport model.
static autoPtr< CompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
virtual tmp< volScalarField > mut() const
Return the turbulence dynamic viscosity.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
CompressibleTurbulenceModel(const word &type, const geometricOneField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Templated abstract base class for single-phase compressible turbulence models.
Generic GeometricField class.
virtual ~CompressibleTurbulenceModel()
Destructor.
geometricOneField alphaField
virtual tmp< scalarField > muEff(const label patchi) const
Return the effective dynamic viscosity on patch.
const volVectorField & U() const
Access function to velocity field.