59 template<
class BasicTurbulenceModel>
62 public BasicTurbulenceModel
110 typedef typename BasicTurbulenceModel::alphaField
alphaField;
111 typedef typename BasicTurbulenceModel::rhoField
rhoField;
112 typedef typename BasicTurbulenceModel::transportModel
transportModel;
133 const word& propertiesName
135 (
alpha,
rho,
U, alphaRhoPhi,
phi, transport, propertiesName)
151 const word& propertiesName
214 virtual tmp<volScalarField>
nuEff()
const 229 return this->
nut(patchi) + this->
nu(patchi);
BasicTurbulenceModel::transportModel transportModel
Templated abstract base class for LES SGS models.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
dimensionedScalar epsilonMin_
Lower limit of epsilon.
dimensionedScalar Ce_
Empirical model constant.
void operator=(const LESModel &)=delete
No copy assignment.
dictionary coeffDict_
Model coefficients dictionary.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual tmp< volScalarField > omega() const
Return the specific dissipation rate.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
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.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
const dimensionedScalar & Ce() const noexcept
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
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 tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
virtual bool read()
Read model coefficients if they have changed.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar kMin_
Lower limit of k.
LESModel(const LESModel &)=delete
No copy construct.
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: [].
virtual ~LESModel()=default
Destructor.