Go to the documentation of this file.
56 mesh.time().timeName(),
70 scalar deltaMaxTmp = 0.0;
72 const point& centrevector =
mesh.cellCentres()[cellI];
76 label faceI = cFaces[cFaceI];
77 const point& facevector =
mesh.faceCentres()[faceI];
78 scalar
tmp =
mag(facevector - centrevector);
79 if (
tmp > deltaMaxTmp)
94 <<
"Case is 2D, LES is not strictly applicable\n"
102 <<
"Case is not 3D or 2D, LES is not applicable"
123 dict.subDict(
type() +
"Coeffs").lookupOrDefault<scalar>(
"deltaCoeff", 1)
144 if (turbulenceModel_.mesh().changing())
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
Delta calculated by taking the maximum distance between the cell centre and any face centre....
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
autoPtr< compressible::turbulenceModel > turbulence
const turbulenceModel & turbulenceModel_
InternalField & internalField()
Return internal field.
virtual void read(const dictionary &)
Read the LESdelta dictionary.
Abstract base class for turbulence models (RAS, LES and laminar).
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
scalar deltaCoeff_
Model coefficient.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void correctBoundaryConditions()
Correct boundary field.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Abstract base class for LES deltas.
defineTypeNameAndDebug(cubeRootVolDelta, 0)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const fvMesh & mesh() const
addToRunTimeSelectionTable(LESfluidThermoCompressibleTurbulenceModel, SmagorinskyLESfluidThermoCompressibleTurbulenceModel, dictionary)
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
#define WarningInFunction
Report a warning using Foam::Warning.
word name(const complex &)
Return a string representation of a complex.
maxDeltaxyz(const maxDeltaxyz &)
Disallow default bitwise copy construct and assignment.