Go to the documentation of this file.
56 template<
class BasicTurbulenceModel>
59 public BasicTurbulenceModel
107 typedef typename BasicTurbulenceModel::alphaField
alphaField;
108 typedef typename BasicTurbulenceModel::rhoField
rhoField;
109 typedef typename BasicTurbulenceModel::transportModel
transportModel;
130 const word& propertiesName
132 (
alpha,
rho,
U, alphaRhoPhi,
phi, transport, propertiesName)
148 const word& propertiesName
213 this->nut() + this->nu()
221 return this->
nut(patchi) + this->
nu(patchi);
BasicTurbulenceModel::rhoField rhoField
static word groupName(Name name, const word &group)
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
declareRunTimeSelectionTable(autoPtr, LESModel, 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))
A class for handling words, derived from string.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
A class for managing temporary objects.
Switch turbulence_
Turbulence on/off flag.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
static autoPtr< LESModel > 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 LES model.
static const word propertiesName
Default name of the turbulence properties dictionary.
void operator=(const LESModel &)
Disallow default bitwise assignment.
dimensionedScalar & kMin()
Allow kMin to be changed.
dimensionedScalar omegaMin_
Lower limit of omega.
const volScalarField & delta() const
Access function to filter width.
autoPtr< Foam::LESdelta > delta_
Run-time selectable delta model.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
BasicTurbulenceModel::transportModel transportModel
LESModel(const LESModel &)
Disallow default bitwise copy construct.
dimensionedScalar kMin_
Lower limit of k.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual bool read()
Read model coefficients if they have changed.
virtual void printCoeffs(const word &type)
Print model coefficients.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic dimensioned Type class.
virtual ~LESModel()
Destructor.
virtual tmp< scalarField > nuEff(const label patchi) const
Return the effective viscosity on patch.
dictionary LESDict_
LES coefficients dictionary.
Templated abstract base class for LES SGS models.
BasicTurbulenceModel::alphaField alphaField
TypeName("LES")
Runtime type information.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
const dimensionedScalar & kMin() const
Return the lower allowable limit for k (default: SMALL)
Switch printCoeffs_
Flag to print the model coeffs at run-time.
dictionary coeffDict_
Model coefficients dictionary.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.