Public Member Functions | List of all members
laplaceFilter Class Reference

Laplace filter for LES. More...

Inheritance diagram for laplaceFilter:
Inheritance graph
[legend]
Collaboration diagram for laplaceFilter:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("laplace")
 Runtime type information. More...
 
 laplaceFilter (const fvMesh &mesh, scalar widthCoeff)
 Construct from components. More...
 
 laplaceFilter (const fvMesh &mesh, const dictionary &)
 Construct from IOdictionary. More...
 
virtual ~laplaceFilter ()
 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 ()
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 

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

Laplace filter for LES.

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 56 of file laplaceFilter.H.

Constructor & Destructor Documentation

◆ laplaceFilter() [1/2]

laplaceFilter ( const fvMesh mesh,
scalar  widthCoeff 
)

Construct from components.

Definition at line 43 of file laplaceFilter.C.

References Foam::pow(), GeometricField< Type, PatchField, GeoMesh >::ref(), and fvMesh::V().

Here is the call graph for this function:

◆ laplaceFilter() [2/2]

laplaceFilter ( const fvMesh mesh,
const dictionary bd 
)

Construct from IOdictionary.

Definition at line 64 of file laplaceFilter.C.

References Foam::pow(), GeometricField< Type, PatchField, GeoMesh >::ref(), and fvMesh::V().

Here is the call graph for this function:

◆ ~laplaceFilter()

virtual ~laplaceFilter ( )
inlinevirtual

Destructor.

Definition at line 89 of file laplaceFilter.H.

References laplaceFilter::read().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "laplace"  )

Runtime type information.

◆ read()

void read ( const dictionary bd)
virtual

Read the LESfilter dictionary.

Implements LESfilter.

Definition at line 90 of file laplaceFilter.C.

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

Referenced by laplaceFilter::~laplaceFilter().

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

◆ operator()() [1/4]

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

Implements LESfilter.

Definition at line 99 of file laplaceFilter.C.

References LESfilter::correctBoundaryConditions(), and Foam::fvc::laplacian().

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 115 of file laplaceFilter.C.

References LESfilter::correctBoundaryConditions(), and Foam::fvc::laplacian().

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 131 of file laplaceFilter.C.

References LESfilter::correctBoundaryConditions(), and Foam::fvc::laplacian().

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 147 of file laplaceFilter.C.

References LESfilter::correctBoundaryConditions(), and Foam::fvc::laplacian().

Here is the call graph for this function:

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