Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
LESfilter Class Referenceabstract

Abstract class for LES filters. More...

Inheritance diagram for LESfilter:
Inheritance graph
[legend]

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...
 
virtual ~LESfilter ()
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
virtual void read (const dictionary &)=0
 Read the LESfilter dictionary. More...
 
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 ( const fvMesh mesh)
inline

Construct from components.

Definition at line 109 of file LESfilter.H.

References LESfilter::New().

Here is the call graph for this function:

virtual ~LESfilter ( )
inlinevirtual

Destructor.

Definition at line 127 of file LESfilter.H.

Member Function Documentation

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 79 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 ( "LESfilter"  )

Runtime type information.

Referenced by LESfilter::correctBoundaryConditions().

Here is the caller graph for this function:

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

Referenced by LESfilter::correctBoundaryConditions().

Here is the caller graph for this function:

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:

const fvMesh& mesh ( ) const
inline

Return mesh reference.

Definition at line 134 of file LESfilter.H.

References 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:

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:

virtual tmp<volScalarField> operator() ( const tmp< volScalarField > &  ) const
pure virtual
virtual tmp<volVectorField> operator() ( const tmp< volVectorField > &  ) const
pure virtual
virtual tmp<volSymmTensorField> operator() ( const tmp< volSymmTensorField > &  ) const
pure virtual
virtual tmp<volTensorField> operator() ( const tmp< volTensorField > &  ) const
pure virtual

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