37#ifndef TurbulenceModel_H
38#define TurbulenceModel_H
57 class BasicTurbulenceModel,
62 public BasicTurbulenceModel
fluidThermo 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_
TurbulenceModel(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct.
geometricOneField alphaField
void operator=(const TurbulenceModel &)=delete
No copy assignment.
const alphaField & alpha() const
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
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const volScalarField & rho() const
Return the density field.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for managing temporary objects.
Base-class for all transport models used by the incompressible turbulence models.
const volVectorField & U() const
Access function to velocity field.
static const word propertiesName
Default name of the turbulence properties dictionary.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Macros to ease declaration of run-time selection tables.
#define declareRunTimeNewSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection for derived classes.