36 #ifndef PhaseCompressibleTurbulenceModel_H 37 #define PhaseCompressibleTurbulenceModel_H 51 template<
class TransportModel>
58 compressibleTurbulenceModel,
76 const alphaField&
alpha,
81 const transportModel& trasport,
91 const alphaField&
alpha,
96 const transportModel& trasportModel,
141 return mut(patchi) +
mu(patchi);
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
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.
volScalarField alphaField
static const word propertiesName
Default name of the turbulence properties dictionary.
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_
PhaseCompressibleTurbulenceModel(const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasport, const word &propertiesName)
Construct.
const volScalarField & rho() const
Return the density field.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
Templated abstract base class for multiphase compressible turbulence models.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
static autoPtr< PhaseCompressibleTurbulenceModel > New(const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasportModel, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
virtual tmp< volScalarField > mut() const
Return the turbulence dynamic viscosity.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
TransportModel transportModel
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_
virtual ~PhaseCompressibleTurbulenceModel()
Destructor.