DAFvSourceActuatorPoint.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2 
3  DAFoam : Discrete Adjoint with OpenFOAM
4  Version : v3
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 
17 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 
19 namespace Foam
20 {
21 
22 /*---------------------------------------------------------------------------*\
23  Class DAFvSourceActuatorPoint Declaration
24 \*---------------------------------------------------------------------------*/
25 
27  : public DAFvSource
28 {
29 
30 protected:
31 
34 
35 public:
36  TypeName("actuatorPoint");
37  // Constructors
38 
39  //- Construct from components
41  const word modelType,
42  const fvMesh& mesh,
43  const DAOption& daOption,
44  const DAModel& daModel,
45  const DAIndex& daIndex);
46 
47  //- Destructor
49  {
50  }
51 
53  virtual void calcFvSource(volVectorField& fvSource);
54 };
55 
56 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57 
58 } // End namespace Foam
59 
60 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
61 
62 #endif
63 
64 // ************************************************************************* //
Foam::DAFvSource
Definition: DAFvSource.H:34
Foam::DAFvSourceActuatorPoint
Definition: DAFvSourceActuatorPoint.H:26
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
daOption
DAOption daOption(mesh, pyOptions_)
Foam::DAFvSourceActuatorPoint::calcFvSource
virtual void calcFvSource(volVectorField &fvSource)
compute the FvSource term
Definition: DAFvSourceActuatorPoint.C:31
Foam::DAFvSourceActuatorPoint::TypeName
TypeName("actuatorPoint")
DAFvSource.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:59
Foam
Definition: multiFreqScalarFvPatchField.C:144
daModel
DAModel daModel(mesh, daOption)
daIndex
DAIndex daIndex(mesh, daOption, daModel)