Public Member Functions | Private Member Functions | Private Attributes
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...
 

Private Member Functions

 laplaceFilter (const laplaceFilter &)
 Disallow default bitwise copy construct and assignment. More...
 
void operator= (const laplaceFilter &)
 

Private Attributes

scalar widthCoeff_
 
volScalarField coeff_
 

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...
 

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/3]

laplaceFilter ( const laplaceFilter )
private

Disallow default bitwise copy construct and assignment.

◆ laplaceFilter() [2/3]

laplaceFilter ( const fvMesh mesh,
scalar  widthCoeff 
)

Construct from components.

Definition at line 43 of file laplaceFilter.C.

References laplaceFilter::coeff_, GeometricField::dimensionedInternalField(), LESfilter::mesh(), Foam::pow(), fvMesh::V(), and laplaceFilter::widthCoeff_.

Here is the call graph for this function:

◆ laplaceFilter() [3/3]

laplaceFilter ( const fvMesh mesh,
const dictionary bd 
)

Construct from IOdictionary.

Definition at line 64 of file laplaceFilter.C.

References laplaceFilter::coeff_, GeometricField::dimensionedInternalField(), LESfilter::mesh(), Foam::pow(), fvMesh::V(), and laplaceFilter::widthCoeff_.

Here is the call graph for this function:

◆ ~laplaceFilter()

virtual ~laplaceFilter ( )
inlinevirtual

Destructor.

Definition at line 89 of file laplaceFilter.H.

Member Function Documentation

◆ operator=()

void operator= ( const laplaceFilter )
private

◆ TypeName()

TypeName ( "laplace"  )

Runtime type information.

◆ read()

void read ( const dictionary bd)
virtual

Read the LESfilter dictionary.

Implements LESfilter.

Definition at line 87 of file laplaceFilter.C.

References dictionary::lookup(), dictionary::subDict(), 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 96 of file laplaceFilter.C.

References Foam::fvc::laplacian().

Here is the call graph for this function:

◆ operator()() [2/4]

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

Implements LESfilter.

Definition at line 110 of file laplaceFilter.C.

References Foam::fvc::laplacian().

Here is the call graph for this function:

◆ operator()() [3/4]

virtual tmp<volSymmTensorField> operator() ( const tmp< volSymmTensorField > &  ) const
virtual

Implements LESfilter.

◆ operator()() [4/4]

virtual tmp<volTensorField> operator() ( const tmp< volTensorField > &  ) const
virtual

Implements LESfilter.

Field Documentation

◆ widthCoeff_

scalar widthCoeff_
private

Definition at line 62 of file laplaceFilter.H.

Referenced by laplaceFilter::laplaceFilter().

◆ coeff_

volScalarField coeff_
private

Definition at line 63 of file laplaceFilter.H.

Referenced by laplaceFilter::laplaceFilter().


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