OpenFOAM
v2406
The open source CFD toolbox
linearValveLayersFvMesh.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::linearValveLayersFvMesh
28
29
Description
30
A sliding linear valve with layers
31
32
SourceFiles
33
linearValveFvMesh.C
34
35
\*---------------------------------------------------------------------------*/
36
37
#ifndef linearValveLayersFvMesh_H
38
#define linearValveLayersFvMesh_H
39
40
#include "
topoChangerFvMesh.H
"
41
#include "
motionSolver.H
"
42
43
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44
45
namespace
Foam
46
{
47
48
/*---------------------------------------------------------------------------*\
49
Class linearValveLayersFvMesh Declaration
50
\*---------------------------------------------------------------------------*/
51
52
class
linearValveLayersFvMesh
53
:
54
public
topoChangerFvMesh
55
{
56
// Private data
57
58
//- Motion dictionary
59
dictionary
motionDict_;
60
61
62
// Private Member Functions
63
64
//- No copy construct
65
linearValveLayersFvMesh
(
const
linearValveLayersFvMesh
&) =
delete
;
66
67
//- No copy assignment
68
void
operator=(
const
linearValveLayersFvMesh
&) =
delete
;
69
70
71
//- Add linearValveLayers zones and modifiers
72
void
addZonesAndModifiers();
73
74
//- Make layering modifiers live
75
void
makeLayersLive();
76
77
//- Make sliding modifiers live
78
void
makeSlidersLive();
79
80
//- Return true if sliders are attached
81
bool
attached()
const
;
82
83
//- Return new point field
84
tmp<pointField>
newPoints()
const
;
85
86
87
public
:
88
89
//- Runtime type information
90
TypeName
(
"linearValveLayersFvMesh"
);
91
92
93
// Constructors
94
95
//- Construct from database
96
explicit
linearValveLayersFvMesh
(
const
IOobject
&
io
);
97
98
99
//- Destructor
100
virtual
~linearValveLayersFvMesh
();
101
102
103
// Member Functions
104
105
//- Update the mesh for both mesh motion and topology change
106
virtual
bool
update
();
107
};
108
109
110
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111
112
}
// End namespace Foam
113
114
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115
116
#endif
117
118
// ************************************************************************* //
Foam::linearValveLayersFvMesh::update
virtual bool update()
Update the mesh for both mesh motion and topology change.
Definition:
linearValveLayersFvMesh.C:329
Foam::linearValveLayersFvMesh::TypeName
TypeName("linearValveLayersFvMesh")
Runtime type information.
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Definition:
dictionary.H:129
Foam::linearValveLayersFvMesh::~linearValveLayersFvMesh
virtual ~linearValveLayersFvMesh()
Destructor.
Definition:
linearValveLayersFvMesh.C:324
motionSolver.H
Foam::topoChangerFvMesh
Abstract base class for a topology changing fvMesh.
Definition:
topoChangerFvMesh.H:49
io
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Foam::tmp
A class for managing temporary objects.
Definition:
HashPtrTable.H:50
Foam::linearValveLayersFvMesh
A sliding linear valve with layers.
Definition:
linearValveLayersFvMesh.H:47
Foam::IOobject
Defines the attributes of an object for which implicit objectRegistry management is supported...
Definition:
IOobject.H:180
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:26
topoChangerFvMesh.H
src
topoChangerFvMesh
linearValveLayersFvMesh
linearValveLayersFvMesh.H
Generated by
1.8.14