Go to the documentation of this file.
59 mesh.time().timeName(),
69 scalarField& faceToFacenMax = tfaceToFacenMax().internalField();
76 scalar maxDelta = 0.0;
82 label facei = cFaces[cFacei];
83 const point& fci = faceCentres[facei];
87 label facej = cFaces[cFacej];
88 const point& fcj = faceCentres[facej];
89 scalar ndfc = nci & (fcj - fci);
98 faceToFacenMax[celli] = maxDelta;
107 <<
"Case is 2D, LES is not strictly applicable" <<
nl
154 dict.subDict(
type() +
"Coeffs").lookupOrDefault<scalar>(
"Cw", 0.15)
175 if (turbulenceModel_.mesh().changing())
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static word groupName(Name name, const word &group)
IDDESDelta(const IDDESDelta &)
Disallow default bitwise copy construct and assignment.
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void read(const dictionary &)
Read the LESdelta dictionary.
static const wallDist & New(const fvMesh &mesh)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
IDDESDelta used by the IDDES (improved low Re Spalart-Allmaras DES model) The min and max delta are c...
autoPtr< compressible::turbulenceModel > turbulence
const turbulenceModel & turbulenceModel_
InternalField & internalField()
Return internal field.
Abstract base class for turbulence models (RAS, LES and laminar).
const volVectorField & n() const
Return reference to cached normal-to-wall field.
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.
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.
void calcDelta()
Calculate the delta values.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#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.
const volScalarField & hmax() const
Return the hmax delta field.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
#define WarningInFunction
Report a warning using Foam::Warning.
word name(const complex &)
Return a string representation of a complex.