DAFoam
v4.0.2
Discrete Adjoint with OpenFOAM
dafoam
src
adjoint
DAFvSource
DAFvSourceActuatorPoint.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
3
DAFoam : Discrete Adjoint with OpenFOAM
4
Version : v4
5
6
Description:
7
Child class for ActuatorPoint source
8
9
\*---------------------------------------------------------------------------*/
10
11
#ifndef DAFvSourceActuatorPoint_H
12
#define DAFvSourceActuatorPoint_H
13
14
#include "
DAFvSource.H
"
15
#include "addToRunTimeSelectionTable.H"
16
#include "
DAGlobalVar.H
"
17
18
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
19
20
namespace
Foam
21
{
22
23
/*---------------------------------------------------------------------------*\
24
Class DAFvSourceActuatorPoint Declaration
25
\*---------------------------------------------------------------------------*/
26
27
class
DAFvSourceActuatorPoint
28
:
public
DAFvSource
29
{
30
31
protected
:
33
label
printIntervalUnsteady_
;
34
35
public
:
36
TypeName
(
"actuatorPoint"
);
37
// Constructors
38
39
//- Construct from components
40
DAFvSourceActuatorPoint
(
41
const
word modelType,
42
const
fvMesh&
mesh
,
43
const
DAOption
& daOption,
44
const
DAModel
& daModel,
45
const
DAIndex
& daIndex);
46
47
//- Destructor
48
virtual
~DAFvSourceActuatorPoint
()
49
{
50
}
51
53
virtual
void
calcFvSource
(volVectorField&
fvSource
);
54
56
virtual
void
initFvSourcePars
();
57
};
58
59
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
60
61
}
// End namespace Foam
62
63
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
64
65
#endif
66
67
// ************************************************************************* //
Foam::DAFvSource
Definition:
DAFvSource.H:34
Foam::DAFvSourceActuatorPoint
Definition:
DAFvSourceActuatorPoint.H:27
Foam::DAFvSourceActuatorPoint::printIntervalUnsteady_
label printIntervalUnsteady_
print interval
Definition:
DAFvSourceActuatorPoint.H:33
Foam::DAFvSourceActuatorPoint::DAFvSourceActuatorPoint
DAFvSourceActuatorPoint(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
Definition:
DAFvSourceActuatorPoint.C:19
Foam::DAOption
Definition:
DAOption.H:29
Foam::DAFvSourceActuatorPoint::~DAFvSourceActuatorPoint
virtual ~DAFvSourceActuatorPoint()
Definition:
DAFvSourceActuatorPoint.H:48
Foam::DAFvSourceActuatorPoint::calcFvSource
virtual void calcFvSource(volVectorField &fvSource)
compute the FvSource term
Definition:
DAFvSourceActuatorPoint.C:32
Foam::DAFvSourceActuatorPoint::TypeName
TypeName("actuatorPoint")
DAFvSource.H
DAGlobalVar.H
fvSource
volScalarField & fvSource
Definition:
createRefsHeatTransfer.H:7
mesh
fvMesh & mesh
Definition:
createRefsHeatTransfer.H:4
Foam::DAIndex
Definition:
DAIndex.H:32
Foam::DAModel
Definition:
DAModel.H:57
Foam
Definition:
checkGeometry.C:32
Foam::DAFvSourceActuatorPoint::initFvSourcePars
virtual void initFvSourcePars()
Initialize the values for all types of fvSource in DAGlobalVar, including actuatorDiskPars,...
Definition:
DAFvSourceActuatorPoint.C:214
Generated by
1.8.17