35 #ifndef TurbulenceModel_H 36 #define TurbulenceModel_H 55 class BasicTurbulenceModel,
60 public BasicTurbulenceModel
99 const alphaField&
alpha,
105 const word& propertiesName
107 (alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName)
116 const alphaField& alpha,
121 const transportModel& transport,
122 const word& propertiesName
131 const alphaField& alpha,
136 const transportModel& transport,
149 const alphaField&
alpha()
const 163 return transport_.nu();
169 return transport_.nu(patchi);
const transportModel & transport() const
Access function to incompressible transport model.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< volScalarField > nu() const
Return the laminar viscosity.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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.
const alphaField & alpha_
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
virtual ~TurbulenceModel()
Destructor.
const alphaField & alpha() const
Access function to phase fraction.
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))
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
const transportModel & transport_