49 widthCoeff_(widthCoeff),
54 "anisotropicFilterCoeff",
60 calculatedFvPatchVectorField::typeName
88 bd.optionalSubDict(
type() +
"Coeffs").lookup<scalar>(
"widthCoeff")
94 "anisotropicFilterCoeff",
100 calculatedFvPatchScalarField::typeName
147 unFilteredField.
clear();
149 return tmpFilteredField;
171 unFilteredField.
clear();
173 return tmpFilteredField;
188 "anisotropicFilteredSymmTensorField",
196 tmpFilteredField.
ref().replace
198 d, anisotropicFilter::operator()(unFilteredField().
component(d))
202 unFilteredField.clear();
204 return tmpFilteredField;
219 "anisotropicFilteredTensorField",
227 tmpFilteredField.
ref().replace
229 d, anisotropicFilter::operator()(unFilteredField().
component(d))
233 unFilteredField.clear();
235 return tmpFilteredField;
Macros for easy insertion into run-time selection tables.
void replace(const direction, const UList< cmptType > &)
Replace a component field of the field.
Internal::FieldType & primitiveFieldRef()
Return a reference to the primitive field.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Abstract class for LES filters.
const fvMesh & mesh() const
Return mesh reference.
static const direction nComponents
Number of components in this vector space.
anisotropicFilter(const fvMesh &mesh, scalar widthCoeff)
Construct from components.
virtual void read(const dictionary &)
Read the LESfilter dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
Mesh data needed to do the Finite Volume discretisation.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
const surfaceVectorField & Sf() const
Return cell face area vectors.
A class for managing temporary objects.
void clear() const
If object pointer points to valid object:
T & ref() const
Return non-const reference or generate a fatal error.
Calculate the snGrad of the given volField.
Surface integrate surfaceField creating a volField. Surface sum a surfaceField creating a volField.
U correctBoundaryConditions()
tmp< VolField< Type > > surfaceSum(const SurfaceField< Type > &ssf)
void surfaceIntegrate(Field< Type > &ivf, const SurfaceField< Type > &ssf)
tmp< SurfaceField< Type > > snGrad(const VolField< Type > &vf, const word &name)
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
word name(const bool)
Return a word representation of a bool.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
const dimensionSet dimLength
dimensioned< scalar > mag(const dimensioned< Type > &)
defineTypeNameAndDebug(combustionModel, 0)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.