39#ifndef PhaseCompressibleTurbulenceModel_H
40#define PhaseCompressibleTurbulenceModel_H
54template<
class TransportModel>
61 compressibleTurbulenceModel,
143 return mut(patchi) +
mu(patchi);
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Templated abstract base class for multiphase compressible turbulence models.
virtual tmp< scalarField > muEff(const label patchi) const
Return the effective dynamic viscosity on patch.
TransportModel transportModel
virtual tmp< scalarField > mu(const label patchi) const
Return the laminar dynamic viscosity on patch.
virtual ~PhaseCompressibleTurbulenceModel()=default
Destructor.
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.
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
virtual tmp< scalarField > mut(const label patchi) const
Return the turbulence dynamic viscosity on patch.
virtual tmp< volScalarField > mut() const
Return the turbulence dynamic viscosity.
volScalarField alphaField
Templated abstract base class for turbulence models.
const alphaField & alpha() const
Access function to phase fraction.
const transportModel & transport_
const transportModel & transport() const
Access function to incompressible transport model.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const volScalarField & rho() const
Return the density field.
const volScalarField & rho_
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
A class for managing temporary objects.
const volVectorField & U() const
Access function to velocity field.
static const word propertiesName
Default name of the turbulence properties dictionary.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
A class for handling words, derived from Foam::string.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.