Go to the documentation of this file.
39 #ifndef PhaseCompressibleTurbulenceModel_H
40 #define PhaseCompressibleTurbulenceModel_H
54 template<
class TransportModel>
55 class PhaseCompressibleTurbulenceModel
57 public TurbulenceModel
61 compressibleTurbulenceModel,
85 const word& propertiesName
113 return this->transport_.mu();
119 return this->transport_.mu(patchi);
125 return this->rho_*this->
nut();
131 return this->rho_.boundaryField()[patchi]*this->
nut(patchi);
143 return mut(patchi) +
mu(patchi);
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
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 Foam::string.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
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.
TransportModel transportModel
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
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.
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual tmp< scalarField > muEff(const label patchi) const
Return the effective dynamic viscosity on patch.
virtual ~PhaseCompressibleTurbulenceModel()=default
Destructor.
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