DAFoam
v3.0.6
Discrete Adjoint with OpenFOAM
dafoam
src
adjoint
models
MRFDF
IOMRFZoneListDF.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
3
DAFoam : Discrete Adjoint with OpenFOAM
4
Version : v3
5
6
Description:
7
A modified version of MRF that allows changing the rotation speed at
8
the runtime to enable derivatives wrt the rotation speed
9
10
This class is modified from OpenFOAM's source code
11
src/finiteVolume/cfdTools/general/MRF
12
13
OpenFOAM: The Open Source CFD Toolbox
14
15
Copyright (C): 2011-2016 OpenFOAM Foundation
16
17
OpenFOAM License:
18
19
OpenFOAM is free software: you can redistribute it and/or modify it
20
under the terms of the GNU General Public License as published by
21
the Free Software Foundation, either version 3 of the License, or
22
(at your option) any later version.
23
24
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
25
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
26
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
27
for more details.
28
29
You should have received a copy of the GNU General Public License
30
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
31
32
\*---------------------------------------------------------------------------*/
33
34
#ifndef IOMRFZoneListDF_H
35
#define IOMRFZoneListDF_H
36
37
#include "IOdictionary.H"
38
#include "
MRFZoneListDF.H
"
39
40
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41
42
namespace
Foam
43
{
44
45
/*---------------------------------------------------------------------------*\
46
Class IOMRFZoneListDF Declaration
47
\*---------------------------------------------------------------------------*/
48
49
class
IOMRFZoneListDF
50
:
public
IOdictionary,
51
public
MRFZoneListDF
52
{
53
private
:
54
// Private Member Functions
55
56
//- Create IO object if dictionary is present
57
IOobject createIOobject(
const
fvMesh&
mesh
)
const
;
58
59
//- No copy construct
60
IOMRFZoneListDF
(
const
IOMRFZoneListDF
&) =
delete
;
61
62
//- No copy assignment
63
void
operator=(
const
IOMRFZoneListDF
&) =
delete
;
64
65
public
:
66
// Constructors
67
68
//- Construct from mesh
69
IOMRFZoneListDF
(
const
fvMesh&
mesh
);
70
71
//- Destructor
72
virtual
~IOMRFZoneListDF
()
73
{
74
}
75
76
// Member Functions
77
78
//- Read dictionary
79
virtual
bool
read
();
80
};
81
82
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
83
84
}
// End namespace Foam
85
86
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
87
88
#endif
89
90
// ************************************************************************* //
Foam::IOMRFZoneListDF::read
virtual bool read()
Definition:
IOMRFZoneListDF.C:75
Foam::IOMRFZoneListDF::~IOMRFZoneListDF
virtual ~IOMRFZoneListDF()
Definition:
IOMRFZoneListDF.H:72
Foam::MRFZoneListDF
Definition:
MRFZoneListDF.H:55
mesh
fvMesh & mesh
Definition:
createRefsHeatTransfer.H:4
MRFZoneListDF.H
Foam
Definition:
multiFreqScalarFvPatchField.C:144
Foam::IOMRFZoneListDF
Definition:
IOMRFZoneListDF.H:49
Generated by
1.8.17