56 template<
class BasicTurbulenceModel>
59 public BasicTurbulenceModel
110 typedef typename BasicTurbulenceModel::alphaField
alphaField;
111 typedef typename BasicTurbulenceModel::rhoField
rhoField;
112 typedef typename BasicTurbulenceModel::transportModel
transportModel;
127 const alphaField&
alpha,
132 const transportModel& transport,
133 const word& propertiesName
135 (alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName)
145 const alphaField& alpha,
150 const transportModel& transport,
151 const word& propertiesName
160 const alphaField& alpha,
165 const transportModel& transport,
216 this->
nut() + this->
nu()
224 return this->
nut(patchi) + this->
nu(patchi);
BasicTurbulenceModel::transportModel transportModel
Templated abstract base class for LES SGS models.
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...
BasicTurbulenceModel::alphaField alphaField
virtual void printCoeffs(const word &type)
Print model coefficients.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
dimensionedScalar epsilonMin_
Lower limit of epsilon.
dictionary coeffDict_
Model coefficients dictionary.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
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))
Switch turbulence_
Turbulence on/off flag.
virtual ~LESModel()
Destructor.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
dictionary LESDict_
LES coefficients dictionary.
const volScalarField & delta() const
Access function to filter width.
autoPtr< Foam::LESdelta > delta_
Run-time selectable delta model.
Switch printCoeffs_
Flag to print the model coeffs at run-time.
BasicTurbulenceModel::rhoField rhoField
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
TypeName("LES")
Runtime type information.
const dimensionedScalar & kMin() const
Return the lower allowable limit for k (default: small)
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
dimensionedScalar omegaMin_
Lower limit for omega.
virtual bool read()
Read model coefficients if they have changed.
dimensionedScalar kMin_
Lower limit of k.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
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.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].