Templated abstract base class for turbulence models. More...


Public Types | |
| typedef Alpha | alphaField |
| typedef Rho | rhoField |
| typedef TransportModel | transportModel |
Public Member Functions | |
| 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)) | |
| TurbulenceModel (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
| Construct. More... | |
| virtual | ~TurbulenceModel ()=default |
| Destructor. More... | |
| const alphaField & | alpha () const |
| Access function to phase fraction. More... | |
| const transportModel & | transport () const |
| Access function to incompressible transport model. More... | |
| virtual tmp< volScalarField > | nu () const |
| Return the laminar viscosity. More... | |
| virtual tmp< scalarField > | nu (const label patchi) const |
| Return the laminar viscosity on patchi. More... | |
Static Public Member Functions | |
| 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. More... | |
Protected Member Functions | |
| TurbulenceModel (const TurbulenceModel &)=delete | |
| No copy construct. More... | |
| void | operator= (const TurbulenceModel &)=delete |
| No copy assignment. More... | |
Protected Attributes | |
| const alphaField & | alpha_ |
| const transportModel & | transport_ |
Templated abstract base class for turbulence models.
Definition at line 55 of file TurbulenceModel.H.
| typedef Alpha alphaField |
Definition at line 62 of file TurbulenceModel.H.
| typedef Rho rhoField |
Definition at line 63 of file TurbulenceModel.H.
| typedef TransportModel transportModel |
Definition at line 64 of file TurbulenceModel.H.
|
protecteddelete |
No copy construct.
| TurbulenceModel | ( | const alphaField & | alpha, |
| const rhoField & | rho, | ||
| const volVectorField & | U, | ||
| const surfaceScalarField & | alphaRhoPhi, | ||
| const surfaceScalarField & | phi, | ||
| const transportModel & | transport, | ||
| const word & | propertiesName | ||
| ) |
Construct.
Definition at line 37 of file TurbulenceModel.C.
|
virtualdefault |
Destructor.
|
protecteddelete |
No copy assignment.
| declareRunTimeNewSelectionTable | ( | autoPtr | , |
| TurbulenceModel< Alpha, Rho, BasicTurbulenceModel, TransportModel > | , | ||
| 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) | |||
| ) |
|
static |
Return a reference to the selected turbulence model.
|
inline |
Access function to phase fraction.
Definition at line 155 of file TurbulenceModel.H.
|
inline |
Access function to incompressible transport model.
Definition at line 163 of file TurbulenceModel.H.
|
inlinevirtual |
Return the laminar viscosity.
Reimplemented in CompressibleTurbulenceModel< TransportModel >.
Definition at line 171 of file TurbulenceModel.H.
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), and alphatJayatillekeWallFunctionFvPatchScalarField::yPlus().

|
inlinevirtual |
Return the laminar viscosity on patchi.
Reimplemented in CompressibleTurbulenceModel< TransportModel >.
Definition at line 179 of file TurbulenceModel.H.
|
protected |
Definition at line 71 of file TurbulenceModel.H.
Referenced by TurbulenceModel< geometricOneField, geometricOneField, incompressibleTurbulenceModel, TransportModel >::alpha().
|
protected |