Go to the documentation of this file.
37 #ifndef TurbulenceModel_H
38 #define TurbulenceModel_H
57 class BasicTurbulenceModel,
62 public BasicTurbulenceModel
105 const word& propertiesName
122 const word& propertiesName
const transportModel & transport_
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual ~TurbulenceModel()=default
Destructor.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
void operator=(const TurbulenceModel &)=delete
No copy assignment.
const alphaField & alpha() const
Access function to phase fraction.
static autoPtr< TurbulenceModel > New(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
Templated abstract base class for turbulence models.
TransportModel transportModel
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const alphaField & alpha_
const transportModel & transport() const
Access function to incompressible transport model.
declareRunTimeNewSelectionTable(autoPtr, TurbulenceModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName))
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual tmp< scalarField > nu(const label patchi) const
Return the laminar viscosity on patchi.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
Macros to ease declaration of run-time selection tables.
TurbulenceModel(const TurbulenceModel &)=delete
No copy construct.