54 "anisotropicFilteredField",
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.optionalSubDict(
type() +
"Coeffs").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 & 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.
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)
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
const dimensionSet dimLength
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
void component(LagrangianPatchField< typename LagrangianPatchField< Type >::cmptType > &sf, const LagrangianPatchField< Type > &f, const direction d)
defineTypeNameAndDebug(combustionModel, 0)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.