45 Foam::anisotropicFilter::anisotropicFilter
52 widthCoeff_(widthCoeff),
57 "anisotropicFilterCoeff",
65 for (
direction d=0; d<vector::nComponents; d++)
81 Foam::anisotropicFilter::anisotropicFilter
90 bd.optionalSubDict(
type() +
"Coeffs").
get<scalar>(
"widthCoeff")
96 "anisotropicFilterCoeff",
104 for (
direction d=0; d<vector::nComponents; d++)
124 bd.optionalSubDict(
type() +
"Coeffs").readEntry(
"widthCoeff", widthCoeff_);
150 return tmpFilteredField;
174 return tmpFilteredField;
191 "anisotropicFilteredSymmTensorField",
196 unFilteredField().dimensions()
204 d, anisotropicFilter::operator()(unFilteredField().
component(d))
208 unFilteredField.clear();
210 return tmpFilteredField;
227 "anisotropicFilteredTensorField",
232 unFilteredField().dimensions()
236 for (
direction d=0; d<tensor::nComponents; d++)
240 d, anisotropicFilter::operator()(unFilteredField().
component(d))
244 unFilteredField.clear();
246 return tmpFilteredField;
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
Abstract class for LES filters.
const surfaceVectorField & Sf() const
Return cell face area vectors.
void surfaceIntegrate(Field< Type > &ivf, const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const fvMesh & mesh() const
Return mesh reference.
cellMask correctBoundaryConditions()
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
void replace(const direction, const UList< cmptType > &)
Replace a component field of the field.
Macros for easy insertion into run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static constexpr direction nComponents
Number of components in this vector space.
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field values.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Mesh data needed to do the Finite Volume discretisation.
virtual void read(const dictionary &)
Read the LESfilter dictionary.
void clear() const noexcept
If object pointer points to valid object: delete object and set pointer to nullptr.
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
static constexpr const zero Zero
Global zero (0)
void replace(const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf)
Replace specified field component with content from another field.