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)

Construct from components.

Definition at line 102 of file LESfilter.H.

◆ LESfilter() [2/2]

LESfilter ( const LESfilter )

Disallow default bitwise copy construction.

◆ ~LESfilter()

virtual ~LESfilter ( )


Definition at line 123 of file LESfilter.H.

Member Function Documentation

◆ correctBoundaryConditions()

void correctBoundaryConditions ( const tmp< GeoFieldType > &  tgf) const

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.

◆ TypeName()

TypeName ( "LESfilter"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

Foam::autoPtr< Foam::LESfilter > New ( const fvMesh mesh,
const dictionary dict,
const word filterDictName = "filter" 

Return a reference to the selected LES filter.

Definition at line 39 of file LESfilter.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, LESfilter::mesh(), and Foam::nl.

Here is the call graph for this function:

◆ mesh()

const fvMesh& mesh ( ) const

Return mesh reference.

Definition at line 130 of file LESfilter.H.

Referenced by anisotropicFilter::anisotropicFilter(), laplaceFilter::laplaceFilter(), and LESfilter::New().

Here is the caller graph for this function:

◆ read()

virtual void read ( const dictionary )
pure virtual

Read the LESfilter dictionary.

Implemented in simpleFilter, laplaceFilter, and anisotropicFilter.

◆ operator=()

void operator= ( const LESfilter )

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