44 void Foam::LESModels::PrandtlDelta::calcDelta()
48 static_cast<const volScalarField&>(geometricDelta_()),
93 geometricDelta_().
read(coeffDict);
95 coeffDict.readIfPresent<scalar>(
"Cdelta", Cdelta_);
102 geometricDelta_().correct();
104 if (momentumTransportModel_.mesh().changing())
static autoPtr< LESdelta > New(const word &name, const momentumTransportModel &turbulence, const dictionary &dict)
Return a reference to the selected LES delta.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Abstract base class for LES deltas.
bool read(Istream &, const bool keepHeader=false)
Read dictionary from Istream, optionally keeping the header.
Macros for easy insertion into run-time selection tables.
static const wallDist & New(const fvMesh &mesh)
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
A class for handling words, derived from string.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
addToRunTimeSelectionTable(LESfluidThermoCompressibleMomentumTransportModel, SmagorinskyLESfluidThermoCompressibleMomentumTransportModel, dictionary)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
defineTypeNameAndDebug(cubeRootVolDelta, 0)
Abstract base class for turbulence models (RAS, LES and laminar).
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual void read(const dictionary &)
Read the LESdelta dictionary.
PrandtlDelta(const word &name, const momentumTransportModel &turbulence, const dictionary &)
Construct from name, momentumTransportModel and dictionary.