Abstract class for LES filters. More...
Public Member Functions | |
TypeName ("LESfilter") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, LESfilter, dictionary,(const fvMesh &mesh, const dictionary &LESfilterDict),(mesh, LESfilterDict)) | |
LESfilter (const fvMesh &mesh) | |
Construct from components. More... | |
LESfilter (const LESfilter &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~LESfilter () |
Destructor. More... | |
const fvMesh & | mesh () const |
Return mesh reference. More... | |
virtual void | read (const dictionary &)=0 |
Read the LESfilter dictionary. More... | |
void | operator= (const LESfilter &)=delete |
virtual tmp< volScalarField > | operator() (const tmp< volScalarField > &) const =0 |
virtual tmp< volVectorField > | operator() (const tmp< volVectorField > &) const =0 |
virtual tmp< volSymmTensorField > | operator() (const tmp< volSymmTensorField > &) const =0 |
virtual tmp< volTensorField > | operator() (const tmp< volTensorField > &) const =0 |
Static Public Member Functions | |
static autoPtr< LESfilter > | New (const fvMesh &, const dictionary &, const word &filterDictName="filter") |
Return a reference to the selected LES filter. More... | |
Protected Member Functions | |
template<class GeoFieldType > | |
void | correctBoundaryConditions (const tmp< GeoFieldType > &tgf) const |
Temporary function to ensure the coupled boundary conditions of the. More... | |
Construct from components.
Definition at line 102 of file LESfilter.H.
References LESfilter::New().
|
inlinevirtual |
Destructor.
Definition at line 123 of file LESfilter.H.
|
inlineprotected |
Temporary function to ensure the coupled boundary conditions of the.
field are correct for filtering.
Following the rewrite of the turbulence models to use GeometricField::InternalField for sources etc. delta() will return a GeometricField::InternalField and filters will take a tmp<GeometricField::InternalField> argument and handle the coupled BCs appropriately
Definition at line 72 of file LESfilter.H.
References LESfilter::declareRunTimeSelectionTable(), LESfilter::mesh(), and LESfilter::TypeName().
Referenced by simpleFilter::operator()(), and laplaceFilter::operator()().
TypeName | ( | "LESfilter" | ) |
Runtime type information.
Referenced by LESfilter::correctBoundaryConditions().
declareRunTimeSelectionTable | ( | autoPtr | , |
LESfilter | , | ||
dictionary | , | ||
(const fvMesh &mesh, const dictionary &LESfilterDict) | , | ||
(mesh, LESfilterDict) | |||
) |
|
static |
Return a reference to the selected LES filter.
Definition at line 41 of file LESfilter.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::lookup(), mesh, and Foam::nl.
Referenced by LESfilter::LESfilter().
|
inline |
Return mesh reference.
Definition at line 130 of file LESfilter.H.
References LESfilter::operator=(), and LESfilter::read().
Referenced by LESfilter::correctBoundaryConditions(), and simpleFilter::operator()().
|
pure virtual |
Read the LESfilter dictionary.
Implemented in laplaceFilter, anisotropicFilter, and simpleFilter.
Referenced by LESfilter::mesh().
|
delete |
|
pure virtual |
Implemented in anisotropicFilter, laplaceFilter, and simpleFilter.
|
pure virtual |
Implemented in anisotropicFilter, laplaceFilter, and simpleFilter.
|
pure virtual |
Implemented in anisotropicFilter, laplaceFilter, and simpleFilter.
|
pure virtual |
Implemented in anisotropicFilter, laplaceFilter, and simpleFilter.