OpenFOAM: API Guide
v2006
The open source CFD toolbox
simpleFilter.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2011 OpenFOAM Foundation
9
-------------------------------------------------------------------------------
10
License
11
This file is part of OpenFOAM.
12
13
OpenFOAM is free software: you can redistribute it and/or modify it
14
under the terms of the GNU General Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26
Class
27
Foam::simpleFilter
28
29
Description
30
Simple top-hat filter used in dynamic LES models.
31
32
Implemented as a surface integral of the face interpolate of the field.
33
34
SourceFiles
35
simpleFilter.C
36
37
\*---------------------------------------------------------------------------*/
38
39
#ifndef simpleFilter_H
40
#define simpleFilter_H
41
42
#include "
LESfilter.H
"
43
44
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46
namespace
Foam
47
{
48
49
/*---------------------------------------------------------------------------*\
50
Class simpleFilter Declaration
51
\*---------------------------------------------------------------------------*/
52
53
class
simpleFilter
54
:
55
public
LESfilter
56
57
{
58
// Private Member Functions
59
60
//- No copy construct
61
simpleFilter
(
const
simpleFilter
&) =
delete
;
62
63
//- No copy assignment
64
void
operator=(
const
simpleFilter
&) =
delete
;
65
66
67
public
:
68
69
//- Runtime type information
70
TypeName
(
"simple"
);
71
72
73
// Constructors
74
75
//- Construct from components
76
simpleFilter
(
const
fvMesh
&
mesh
);
77
78
//- Construct from IOdictionary
79
simpleFilter
(
const
fvMesh
&
mesh
,
const
dictionary
&);
80
81
82
//- Destructor
83
virtual
~simpleFilter
() =
default
;
84
85
86
// Member Functions
87
88
//- Read the LESfilter dictionary
89
virtual
void
read
(
const
dictionary
&);
90
91
92
// Member Operators
93
94
virtual
tmp<volScalarField>
operator()
95
(
96
const
tmp<volScalarField>
&
97
)
const
;
98
99
virtual
tmp<volVectorField>
operator()
100
(
101
const
tmp<volVectorField>
&
102
)
const
;
103
104
virtual
tmp<volSymmTensorField>
operator()
105
(
106
const
tmp<volSymmTensorField>
&
107
)
const
;
108
109
virtual
tmp<volTensorField>
operator()
110
(
111
const
tmp<volTensorField>
&
112
)
const
;
113
};
114
115
116
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117
118
}
// End namespace Foam
119
120
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121
122
#endif
123
124
// ************************************************************************* //
Foam::tmp< volScalarField >
Foam::LESfilter::mesh
const fvMesh & mesh() const
Return mesh reference.
Definition:
LESfilter.H:138
LESfilter.H
Foam::simpleFilter::TypeName
TypeName("simple")
Runtime type information.
Foam::simpleFilter::read
virtual void read(const dictionary &)
Read the LESfilter dictionary.
Definition:
simpleFilter.C:60
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition:
dictionary.H:121
Foam::simpleFilter::~simpleFilter
virtual ~simpleFilter()=default
Destructor.
Foam::LESfilter
Abstract class for LES filters.
Definition:
LESfilter.H:57
Foam::fvMesh
Mesh data needed to do the Finite Volume discretisation.
Definition:
fvMesh.H:84
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::simpleFilter
Simple top-hat filter used in dynamic LES models.
Definition:
simpleFilter.H:52
src
TurbulenceModels
turbulenceModels
LES
LESfilters
simpleFilter
simpleFilter.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.