45 Foam::laplaceFilter::laplaceFilter(
const fvMesh&
mesh, scalar widthCoeff)
48 widthCoeff_(widthCoeff),
70 bd.optionalSubDict(
type() +
"Coeffs").
get<scalar>(
"widthCoeff")
84 coeff_.ref() =
pow(
mesh.
V(), 2.0/3.0)/widthCoeff_;
108 unFilteredField.clear();
110 return filteredField;
124 unFilteredField.clear();
126 return filteredField;
140 unFilteredField.clear();
142 return filteredField;
156 unFilteredField.clear();
158 return filteredField;
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.
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 fvMesh & mesh() const
Return mesh reference.
cellMask correctBoundaryConditions()
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Macros for easy insertion into run-time selection tables.
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...
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Mesh data needed to do the Finite Volume discretisation.
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
static constexpr const zero Zero
Global zero (0)