39 #ifndef CompressibleTurbulenceModel_H 40 #define CompressibleTurbulenceModel_H 54 template<
class TransportModel>
61 compressibleTurbulenceModel,
154 return mut(patchi) +
mu(patchi);
const volVectorField & U() const
Access function to velocity field.
Templated abstract base class for turbulence models.
const transportModel & transport() const
Access function to incompressible transport model.
virtual ~CompressibleTurbulenceModel()=default
Destructor.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
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 Foam::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.
static autoPtr< CompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
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.
CompressibleTurbulenceModel(const word &type, const geometricOneField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
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
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.