LESfilter Class Referenceabstract

Abstract class for LES filters. More...

Inheritance diagram for LESfilter:
[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 ()=default
 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 57 of file LESfilter.H.

Constructor & Destructor Documentation

◆ LESfilter()

LESfilter ( const fvMesh mesh)
inline

Construct from components.

Definition at line 114 of file LESfilter.H.

◆ ~LESfilter()

virtual ~LESfilter ( )
virtualdefault

Destructor.

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 84 of file LESfilter.H.

References tmp< T >::constCast().

Here is the call graph for this function:

◆ 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" 
)
static

Return a reference to the selected LES filter.

Definition at line 43 of file LESfilter.C.

References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::get(), and LESfilter::mesh().

Here is the call graph for this function:

◆ mesh()

const fvMesh & mesh ( ) const
inline

Return mesh reference.

Definition at line 138 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 anisotropicFilter, laplaceFilter, and simpleFilter.

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