54 "anisotropicFilteredField",
56 unFilteredField().dimensions()
60 for (
direction d=0; d<pTraits<Type>::nComponents; d++)
62 tmpFilteredField.
ref().replace
64 d, anisotropicFilter::operator()(unFilteredField().
component(d))
68 unFilteredField.clear();
70 return tmpFilteredField;
83 widthCoeff_(widthCoeff),
88 "anisotropicFilterCoeff",
94 calculatedFvPatchVectorField::
typeName
122 bd.optionalTypeDict(
type()).
lookup<scalar>(
"widthCoeff")
128 "anisotropicFilterCoeff",
134 calculatedFvPatchScalarField::
typeName
181 unFilteredField.
clear();
183 return tmpFilteredField;
192 return filter(unFilteredField);
201 return filter(unFilteredField);
210 return filter(unFilteredField);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
Internal::FieldType & primitiveFieldRef()
Return a reference to the primitive field.
tmp< GeometricField< cmptType, GeoMesh, Field > > component(const direction) const
Return a component of the field.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Abstract class for LES filters.
void correctBoundaryConditions(const tmp< GeoFieldType > &tgf) const
Temporary function to ensure the coupled boundary conditions of the.
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & optionalTypeDict(const word &typeName) const
Find and return an optional type sub-dictionary.
Mesh data needed to do the Finite Volume discretisation.
const DimensionedField< scalar, fvMesh > & 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.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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 > > surfaceIntegrateExtrapolate(const SurfaceField< Type > &ssf)
tmp< VolInternalField< Type > > surfaceSum(const SurfaceField< Type > &ssf)
tmp< SurfaceField< Type > > snGrad(const VolField< Type > &vf, const word &name)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
const dimensionSet & dimLength
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
void component(GeometricField< typename GeometricField< Type, GeoMesh, PrimitiveField1 >::cmptType, GeoMesh, PrimitiveField1 > &gcf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf, const direction d)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.