45Foam::anisotropicFilter::anisotropicFilter
52 widthCoeff_(widthCoeff),
57 "anisotropicFilterCoeff",
81Foam::anisotropicFilter::anisotropicFilter
90 bd.optionalSubDict(
type() +
"Coeffs").get<scalar>(
"widthCoeff")
96 "anisotropicFilterCoeff",
124 bd.optionalSubDict(
type() +
"Coeffs").readEntry(
"widthCoeff", widthCoeff_);
148 unFilteredField.
clear();
150 return tmpFilteredField;
172 unFilteredField.
clear();
174 return tmpFilteredField;
180 const tmp<volSymmTensorField>& unFilteredField
187 "anisotropicFilteredSymmTensorField",
190 unFilteredField().dimensions()
195 tmpFilteredField.
ref().replace
197 d, anisotropicFilter::operator()(unFilteredField().
component(d))
201 unFilteredField.clear();
203 return tmpFilteredField;
216 "anisotropicFilteredTensorField",
219 unFilteredField().dimensions()
224 tmpFilteredField.
ref().replace
226 d, anisotropicFilter::operator()(unFilteredField().
component(d))
230 unFilteredField.clear();
232 return tmpFilteredField;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void replace(const direction, const UList< cmptType > &)
Replace a component field of the field.
static tmp< GeometricField< symmTensor, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< symmTensor >::calculatedType())
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field values.
@ NO_REGISTER
Do not request registration (bool: false).
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Abstract class for LES filters.
const fvMesh & mesh() const
Return mesh reference.
static constexpr direction nComponents
Number of components in this vector space.
virtual void read(const dictionary &)
Read the LESfilter dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect,...
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
void clear() const noexcept
If object pointer points to valid object: delete object and set pointer to nullptr.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
void surfaceIntegrate(Field< Type > &ivf, const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static constexpr const zero Zero
Global zero (0).
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
cellMask correctBoundaryConditions()