anisotropicFilter Class Reference

anisotropic filter More...

Inheritance diagram for anisotropicFilter:
[legend]
Collaboration diagram for anisotropicFilter:
[legend]

Public Member Functions

 TypeName ("anisotropic")
 Runtime type information. More...
 
 anisotropicFilter (const fvMesh &mesh, scalar widthCoeff)
 Construct from components. More...
 
 anisotropicFilter (const fvMesh &mesh, const dictionary &)
 Construct from IOdictionary. More...
 
virtual ~anisotropicFilter ()=default
 Destructor. More...
 
virtual void read (const dictionary &)
 Read the LESfilter dictionary. More...
 
virtual tmp< volScalarFieldoperator() (const tmp< volScalarField > &) const
 
virtual tmp< volVectorFieldoperator() (const tmp< volVectorField > &) const
 
virtual tmp< volSymmTensorFieldoperator() (const tmp< volSymmTensorField > &) const
 
virtual tmp< volTensorFieldoperator() (const tmp< volTensorField > &) const
 
- Public Member Functions inherited from LESfilter
 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
 

Additional Inherited Members

- Static Public Member Functions inherited from LESfilter
static autoPtr< LESfilterNew (const fvMesh &, const dictionary &, const word &filterDictName="filter")
 Return a reference to the selected LES filter. More...
 
- Protected Member Functions inherited from LESfilter
template<class GeoFieldType >
void correctBoundaryConditions (const tmp< GeoFieldType > &tgf) const
 Temporary function to ensure the coupled boundary conditions of the. More...
 

Detailed Description

anisotropic filter

Kernel                 as filter          as Test filter with ratio 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Box filter:            g = delta2/24  ->  g = delta2/6
Spherical box filter:  g = delta2/64  ->  g = delta2/16
Gaussian filter:       g = delta2/24  ->  g = delta2/6
Source files

Definition at line 59 of file anisotropicFilter.H.

Constructor & Destructor Documentation

◆ anisotropicFilter() [1/2]

anisotropicFilter ( const fvMesh mesh,
scalar  widthCoeff 
)

Construct from components.

Definition at line 45 of file anisotropicFilter.C.

References GeometricField< Type, PatchField, GeoMesh >::component(), Foam::dimLength, Foam::mag(), LESfilter::mesh(), pTraits< bool >::nComponents, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), Field< Type >::replace(), fvMesh::Sf(), Foam::sqr(), Foam::fvc::surfaceSum(), and fvMesh::V().

Here is the call graph for this function:

◆ anisotropicFilter() [2/2]

anisotropicFilter ( const fvMesh mesh,
const dictionary bd 
)

Construct from IOdictionary.

Definition at line 82 of file anisotropicFilter.C.

References GeometricField< Type, PatchField, GeoMesh >::component(), Foam::mag(), LESfilter::mesh(), pTraits< bool >::nComponents, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), Field< Type >::replace(), fvMesh::Sf(), Foam::sqr(), Foam::fvc::surfaceSum(), and fvMesh::V().

Here is the call graph for this function:

◆ ~anisotropicFilter()

virtual ~anisotropicFilter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "anisotropic"  )

Runtime type information.

◆ read()

void read ( const dictionary bd)
virtual

Read the LESfilter dictionary.

Implements LESfilter.

Definition at line 124 of file anisotropicFilter.C.

References dictionary::optionalSubDict(), dictionary::readEntry(), and Foam::type().

Here is the call graph for this function:

◆ operator()() [1/4]

Foam::tmp< Foam::volScalarField > operator() ( const tmp< volScalarField > &  unFilteredField) const
virtual

Implements LESfilter.

Definition at line 132 of file anisotropicFilter.C.

References tmp< T >::clear(), correctBoundaryConditions(), mesh, Foam::fvc::snGrad(), and Foam::fvc::surfaceIntegrate().

Here is the call graph for this function:

◆ operator()() [2/4]

Foam::tmp< Foam::volVectorField > operator() ( const tmp< volVectorField > &  unFilteredField) const
virtual

Implements LESfilter.

Definition at line 156 of file anisotropicFilter.C.

References tmp< T >::clear(), correctBoundaryConditions(), mesh, Foam::fvc::snGrad(), and Foam::fvc::surfaceIntegrate().

Here is the call graph for this function:

◆ operator()() [3/4]

Foam::tmp< Foam::volSymmTensorField > operator() ( const tmp< volSymmTensorField > &  unFilteredField) const
virtual

Implements LESfilter.

Definition at line 180 of file anisotropicFilter.C.

References Foam::component(), correctBoundaryConditions(), mesh, pTraits< bool >::nComponents, faMatrix< Type >::operator, tmp< T >::ref(), and timeName.

Here is the call graph for this function:

◆ operator()() [4/4]

Foam::tmp< Foam::volTensorField > operator() ( const tmp< volTensorField > &  unFilteredField) const
virtual

Implements LESfilter.

Definition at line 216 of file anisotropicFilter.C.

References Foam::component(), correctBoundaryConditions(), mesh, pTraits< bool >::nComponents, faMatrix< Type >::operator, tmp< T >::ref(), and timeName.

Here is the call graph for this function:

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