Computes a single-mesh resolution index according to Celik et al.'s index using effective viscosity, which is used as a LES/DES quality/post verification metric that does not require any experimental or DNS data. More...
Public Member Functions | |
TypeName ("CelikNuIndex") | |
Runtime type information. More... | |
CelikNuIndex (const word &name, const fvMesh &mesh, const dictionary &dict) | |
Construct from components. More... | |
CelikNuIndex (const CelikNuIndex &)=delete | |
No copy construct. More... | |
void | operator= (const CelikNuIndex &)=delete |
No copy assignment. More... | |
virtual | ~CelikNuIndex ()=default |
virtual bool | read (const dictionary &dict) |
Read top-level dictionary. More... | |
virtual bool | execute () |
Calculate the result field. More... | |
virtual bool | write () |
Write the result field. More... | |
Public Member Functions inherited from resolutionIndexModel | |
TypeName ("resolutionIndexModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, resolutionIndexModel, dictionary,(const word &name, const fvMesh &mesh, const dictionary &dict),(name, mesh, dict)) | |
resolutionIndexModel (const word &name, const fvMesh &mesh, const dictionary &dict) | |
Construct from components. More... | |
resolutionIndexModel (const resolutionIndexModel &)=delete | |
No copy construct. More... | |
void | operator= (const resolutionIndexModel &)=delete |
No copy assignment. More... | |
virtual | ~resolutionIndexModel ()=default |
Destructor. More... | |
const fvMesh & | mesh () const noexcept |
Return const reference to the mesh. More... | |
const word & | resultName () const noexcept |
Return const reference to the result name. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from resolutionIndexModel | |
static autoPtr< resolutionIndexModel > | New (const word &name, const fvMesh &mesh, const dictionary &dict) |
Return a reference to the selected resolutionIndex model. More... | |
Protected Member Functions inherited from resolutionIndexModel | |
template<class GeoFieldType > | |
GeoFieldType & | getOrReadField (const word &fieldName) const |
Return requested field from the object registry or read+register the field to the object registry. More... | |
tmp< volScalarField > | V () const |
Return cell volume field. More... | |
Computes a single-mesh resolution index according to Celik et al.'s index using effective viscosity, which is used as a LES/DES quality/post verification metric that does not require any experimental or DNS data.
with
where
= | Celik et al.'s index [-] | |
= | Empirical constant [-] | |
= | Effective eddy viscosity [m^2/s] | |
= | Numerical eddy viscosity [m^2/s] | |
= | Subgrid-scale eddy viscosity [m^2/s] | |
= | Kinematic viscosity of fluid [m^2/s] | |
= | Empirical exponent [-] | |
= | Numerical turbulent kinetic energy [m^2/s^2] | |
= | Empirical constant [-] | |
= | Filter length scale [m] | |
= | Empirical constant [-] | |
= | Characteristic length scale with [m] | |
= | Cell volume [m^3] | |
= | Subgrid-scale turbulent kinetic energy [m^2/s^2] |
Criterion for acceptable-quality resolution:
Required fields:
k | Subgrid scale turbulent kinetic energy [m^2/s^2] delta | Filter length [m] nu | Kinematic viscosity [m^2/s] nut | Subgrid-scale eddy viscosity [m^2/s]
References:
Governing equations (tag:CCY): Celik, I. B., Cehreli Z. N., Yavuz I. (2005). Index of resolution quality for large eddy simulations. Journal of Fluids Engineering. 127:949–958. DOI:10.1115/1.1990201 Governing equations (tag:CKJ): Celik, I., Klein, M., & Janicka, J. (2009). Assessment measures for engineering LES applications. Journal of fluids engineering, 131(3). DOI:10.1115/1.3059703
system/controlDict.functions
: resolutionIndex1 { // Inherited entries ... model CelikNuIndex; // Optional entries alphaNu <scalar>; n <scalar>; Cnu <scalar>; Cn <scalar>; k <word>; delta <word>; nu <word>; nut <word>; }
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
model | Model name: CelikNuIndex | word | yes | - |
alphaNu | Empirical constant | scalar | no | 0.05 |
n | Empirical exponent | scalar | no | 0.53 |
Cnu | Empirical constant | scalar | no | 0.1 |
Cn | Empirical constant | scalar | no | 1.0 |
k | Name of subgrid-scale turbulent kinetic energy field | word | no | k |
delta | Name of filter field | word | no | delta |
nu | Name of kinematic viscosity field | word | no | nu |
nut | Name of subgrid-scale eddy viscosity field | word | no | nut |
Definition at line 270 of file CelikNuIndex.H.
CelikNuIndex | ( | const word & | name, |
const fvMesh & | mesh, | ||
const dictionary & | dict | ||
) |
Construct from components.
Definition at line 67 of file CelikNuIndex.C.
References dict, and Foam::read().
|
delete |
No copy construct.
|
virtualdefault |
TypeName | ( | "CelikNuIndex" | ) |
Runtime type information.
|
delete |
No copy assignment.
|
virtual |
Read top-level dictionary.
Reimplemented from resolutionIndexModel.
Definition at line 89 of file CelikNuIndex.C.
References dict, and resolutionIndexModel::read().
|
virtual |
Calculate the result field.
Implements resolutionIndexModel.
Definition at line 110 of file CelikNuIndex.C.
References nu, and Foam::pow().
|
virtual |
Write the result field.
Implements resolutionIndexModel.
Definition at line 129 of file CelikNuIndex.C.
References Foam::endl(), Foam::Info, Foam::tab, and Ostream::write().