LESfilter Class Referenceabstract

Abstract class for LES filters. More...

Inheritance diagram for LESfilter:

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 fvMeshmesh () const
 Return mesh reference. More...
 
virtual void read (const dictionary &)=0
 Read the LESfilter dictionary. More...
 
void operator= (const LESfilter &)=delete
 
virtual tmp< volScalarFieldoperator() (const tmp< volScalarField > &) const =0
 
virtual tmp< volVectorFieldoperator() (const tmp< volVectorField > &) const =0
 
virtual tmp< volSymmTensorFieldoperator() (const tmp< volSymmTensorField > &) const =0
 
virtual tmp< volTensorFieldoperator() (const tmp< volTensorField > &) const =0
 

Static Public Member Functions

static autoPtr< LESfilterNew (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...
 

Detailed Description

Abstract class for LES filters.

Source files

Definition at line 54 of file LESfilter.H.

Constructor & Destructor Documentation

◆ LESfilter() [1/2]

LESfilter ( const fvMesh mesh)
inline

Construct from components.

Definition at line 102 of file LESfilter.H.

References LESfilter::New().

Here is the call graph for this function:

◆ LESfilter() [2/2]

LESfilter ( const LESfilter )
delete

Disallow default bitwise copy construction.

◆ ~LESfilter()

virtual ~LESfilter ( )
inlinevirtual

Destructor.

Definition at line 123 of file LESfilter.H.

Member Function Documentation

◆ correctBoundaryConditions()

void correctBoundaryConditions ( const tmp< GeoFieldType > &  tgf) const
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()().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "LESfilter"  )

Runtime type information.

Referenced by LESfilter::correctBoundaryConditions().

Here is the caller graph for this function:

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
LESfilter  ,
dictionary  ,
(const fvMesh &mesh, const dictionary &LESfilterDict)  ,
(mesh, LESfilterDict)   
)

Referenced by LESfilter::correctBoundaryConditions().

Here is the caller graph for this function:

◆ New()

Foam::autoPtr< Foam::LESfilter > New ( const fvMesh mesh,
const dictionary dict,
const word filterDictName = "filter" 
)
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mesh()

const fvMesh& mesh ( ) const
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()().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read()

virtual void read ( const dictionary )
pure virtual

Read the LESfilter dictionary.

Implemented in laplaceFilter, anisotropicFilter, and simpleFilter.

Referenced by LESfilter::mesh().

Here is the caller graph for this function:

◆ operator=()

void operator= ( const LESfilter )
delete

Referenced by LESfilter::mesh().

Here is the caller graph for this function:

◆ operator()() [1/4]

virtual tmp<volScalarField> operator() ( const tmp< volScalarField > &  ) const
pure virtual

◆ operator()() [2/4]

virtual tmp<volVectorField> operator() ( const tmp< volVectorField > &  ) const
pure virtual

◆ operator()() [3/4]

virtual tmp<volSymmTensorField> operator() ( const tmp< volSymmTensorField > &  ) const
pure virtual

◆ operator()() [4/4]

virtual tmp<volTensorField> operator() ( const tmp< volTensorField > &  ) const
pure virtual

The documentation for this class was generated from the following files: