35 #ifndef TurbulenceModel_H 36 #define TurbulenceModel_H 55 class BasicTurbulenceModel,
60 public BasicTurbulenceModel
88 const alphaField&
alpha,
94 const word& propertiesName
96 (alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName)
105 const alphaField& alpha,
110 const transportModel& transport,
111 const word& propertiesName
123 const alphaField& alpha,
128 const transportModel& transport,
141 const alphaField&
alpha()
const 155 return transport_.nu();
161 return transport_.nu(patchi);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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 transportModel & transport() const
Access function to incompressible transport model.
void operator=(const TurbulenceModel &)=delete
Disallow default bitwise assignment.
TurbulenceModel(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct.
const alphaField & alpha_
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
const alphaField & alpha() const
Access function to phase fraction.
virtual ~TurbulenceModel()
Destructor.
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_
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.