OpenFOAM
4.1
The OpenFOAM Foundation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
finiteVolume
cfdTools
general
solutionControl
pisoControl
pisoControl.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 | Copyright (C) 2015-2016 OpenFOAM Foundation
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
11
OpenFOAM is free software: you can redistribute it and/or modify it
12
under the terms of the GNU General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23
24
Class
25
Foam::pisoControl
26
27
Description
28
Specialization of the pimpleControl class for PISO control.
29
30
\*---------------------------------------------------------------------------*/
31
32
#ifndef pisoControl_H
33
#define pisoControl_H
34
35
#include "
pimpleControl.H
"
36
37
//- Declare that pisoControl will be used
38
#define PISO_CONTROL
39
#undef PIMPLE_CONTROL
40
41
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
43
namespace
Foam
44
{
45
46
/*---------------------------------------------------------------------------*\
47
Class pisoControl Declaration
48
\*---------------------------------------------------------------------------*/
49
50
class
pisoControl
51
:
52
public
pimpleControl
53
{
54
// Private member functions
55
56
//- Disallow default bitwise copy construct
57
pisoControl
(
const
pisoControl
&);
58
59
//- Disallow default bitwise assignment
60
void
operator=(
const
pisoControl
&);
61
62
63
public
:
64
65
// Static Data Members
66
67
//- Run-time type information
68
TypeName
(
"pisoControl"
);
69
70
71
// Constructors
72
73
//- Construct from mesh and the name of control sub-dictionary
74
pisoControl
(
fvMesh
&
mesh
,
const
word
&
dictName
=
"PISO"
);
75
76
77
//- Destructor
78
virtual
~pisoControl
();
79
80
81
// Member Functions
82
83
// Solution control
84
85
//- Return true if in the final inner (PISO) iteration
86
inline
bool
finalInnerIter
()
const
;
87
};
88
89
90
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
91
92
#include "
pisoControlI.H
"
93
94
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95
96
}
// End namespace Foam
97
98
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99
100
#endif
101
102
// ************************************************************************* //
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:18
Foam::word
A class for handling words, derived from string.
Definition:
word.H:59
Foam::pisoControl::finalInnerIter
bool finalInnerIter() const
Return true if in the final inner (PISO) iteration.
Definition:
pisoControl.H:29
Foam::pisoControl
Specialization of the pimpleControl class for PISO control.
Definition:
pisoControl.H:49
Foam::pisoControl::~pisoControl
virtual ~pisoControl()
Destructor.
Definition:
pisoControl.C:48
dictName
word dictName("noiseDict")
pimpleControl.H
Foam::pimpleControl
PIMPLE control class to supply convergence information/checks for the PIMPLE loop.
Definition:
pimpleControl.H:52
Foam::fvMesh
Mesh data needed to do the Finite Volume discretisation.
Definition:
fvMesh.H:78
Foam::pisoControl::TypeName
TypeName("pisoControl")
Run-time type information.
pisoControlI.H
Foam
Namespace for OpenFOAM.
Definition:
combustionModel.C:30
Generated by
1.8.11