Go to the documentation of this file.
36 #ifndef PhaseCompressibleTurbulenceModel_H
37 #define PhaseCompressibleTurbulenceModel_H
51 template<
class TransportModel>
58 compressibleTurbulenceModel,
const transportModel & transport_
static autoPtr< PhaseCompressibleTurbulenceModel > New(const alphaField &alpha, const volScalarField &rho, 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.
A class for handling words, derived from string.
Templated abstract base class for multiphase compressible turbulence models.
A class for managing temporary objects.
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
static const word propertiesName
Default name of the turbulence properties dictionary.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
virtual tmp< volScalarField > mut() const
Return the turbulence dynamic viscosity.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
const alphaField & alpha() const
Access function to phase fraction.
TransportModel transportModel
virtual ~PhaseCompressibleTurbulenceModel()
Destructor.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
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.
const volScalarField & rho_
PhaseCompressibleTurbulenceModel(const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct.
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual tmp< scalarField > muEff(const label patchi) const
Return the effective dynamic viscosity on patch.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
virtual tmp< scalarField > mut(const label patchi) const
Return the turbulence dynamic viscosity on patch.
virtual tmp< scalarField > mu(const label patchi) const
Return the laminar dynamic viscosity on patch.
volScalarField alphaField
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
const volVectorField & U() const
Access function to velocity field.