56 template<
class BasicTurbulenceModel>
59 public BasicTurbulenceModel
99 typedef typename BasicTurbulenceModel::alphaField
alphaField;
100 typedef typename BasicTurbulenceModel::rhoField
rhoField;
101 typedef typename BasicTurbulenceModel::transportModel
transportModel;
116 const alphaField&
alpha,
121 const transportModel& transport,
122 const word& propertiesName
124 (alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName)
134 const alphaField& alpha,
139 const transportModel& transport,
140 const word& propertiesName
152 const alphaField& alpha,
157 const transportModel& transport,
206 this->
nut() + this->
nu()
213 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/any.
dimensionedScalar epsilonMin_
Lower limit of epsilon.
void operator=(const LESModel &)=delete
Disallow default bitwise assignment.
dictionary coeffDict_
Model coefficients dictionary.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Mesh &, const dimensionSet &, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return a temporary field constructed from name, mesh, dimensionSet.
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)
dimensionedScalar omegaMin_
Lower limit for omega.
virtual bool read()
Read model coefficients if they have changed.
dimensionedScalar kMin_
Lower limit of k.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
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.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
A class for managing temporary objects.
LESModel(const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct from components.