37#ifndef TurbulenceModel_H
38#define TurbulenceModel_H
57 class BasicTurbulenceModel,
62 public BasicTurbulenceModel
105 const word& propertiesName
122 const word& propertiesName
Templated abstract base class for turbulence models.
TransportModel transportModel
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))
const alphaField & alpha_
void operator=(const TurbulenceModel &)=delete
No copy assignment.
const alphaField & alpha() const
Access function to phase fraction.
TurbulenceModel(const TurbulenceModel &)=delete
No copy construct.
const transportModel & transport_
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
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.
virtual tmp< scalarField > nu(const label patchi) const
Return the laminar viscosity on patchi.
virtual ~TurbulenceModel()=default
Destructor.
const transportModel & transport() const
Access function to incompressible transport model.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for managing temporary objects.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeNewSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection for derived classes.