37 #ifndef TurbulenceModel_H 38 #define TurbulenceModel_H 57 class BasicTurbulenceModel,
62 public BasicTurbulenceModel
105 const word& propertiesName
122 const word& propertiesName
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
TransportModel transportModel
Templated abstract base class for turbulence models.
virtual ~TurbulenceModel()=default
Destructor.
const transportModel & transport() const
Access function to incompressible transport model.
void operator=(const TurbulenceModel &)=delete
No copy assignment.
const alphaField & alpha_
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.
A class for handling words, derived from Foam::string.
const alphaField & alpha() const
Access function to phase fraction.
Base-class for all transport models used by the incompressible turbulence models. ...
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...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
const transportModel & transport_
TurbulenceModel(const TurbulenceModel &)=delete
No copy construct.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.