36 #ifndef CompressibleTurbulenceModel_H 37 #define CompressibleTurbulenceModel_H 51 template<
class TransportModel>
58 compressibleTurbulenceModel,
81 const transportModel& trasport,
94 const transportModel& trasportModel,
152 return mut(patchi) +
mu(patchi);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const volVectorField & U() const
Access function to velocity field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Templated abstract base class for turbulence models.
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.
TransportModel transportModel
A class for handling words, derived from string.
const alphaField & alpha() const
Access function to phase fraction.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
const volScalarField & rho_
virtual tmp< volScalarField > mut() const
Return the turbulence dynamic viscosity.
Templated abstract base class for single-phase compressible turbulence models.
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
const volScalarField & rho() const
Return the density field.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
static autoPtr< CompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const transportModel &trasportModel, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
virtual ~CompressibleTurbulenceModel()
Destructor.
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.
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
A class for managing temporary objects.
const transportModel & transport_
geometricOneField alphaField
CompressibleTurbulenceModel(const word &type, const geometricOneField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasport, const word &propertiesName)
Construct.