DAFvSourceActuatorLine.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 ActuatorLine source
8 
9 \*---------------------------------------------------------------------------*/
10 
11 #ifndef DAFvSourceActuatorLine_H
12 #define DAFvSourceActuatorLine_H
13 
14 #include "DAFvSource.H"
15 #include "addToRunTimeSelectionTable.H"
16 
17 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 
19 namespace Foam
20 {
21 
22 /*---------------------------------------------------------------------------*\
23  Class DAFvSourceActuatorLine Declaration
24 \*---------------------------------------------------------------------------*/
25 
27  : public DAFvSource
28 {
29 
30 protected:
31 
34 
35 public:
36  TypeName("actuatorLine");
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::DAFvSourceActuatorLine::DAFvSourceActuatorLine
DAFvSourceActuatorLine(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
Definition: DAFvSourceActuatorLine.C:19
Foam::DAOption
Definition: DAOption.H:29
daOption
DAOption daOption(mesh, pyOptions_)
DAFvSource.H
Foam::DAFvSourceActuatorLine::~DAFvSourceActuatorLine
virtual ~DAFvSourceActuatorLine()
Definition: DAFvSourceActuatorLine.H:48
fvSource
volScalarField & fvSource
Definition: createRefsHeatTransfer.H:7
mesh
fvMesh & mesh
Definition: createRefsHeatTransfer.H:4
Foam::DAFvSourceActuatorLine::calcFvSource
virtual void calcFvSource(volVectorField &fvSource)
compute the FvSource term
Definition: DAFvSourceActuatorLine.C:31
Foam::DAIndex
Definition: DAIndex.H:32
Foam::DAModel
Definition: DAModel.H:59
Foam
Definition: multiFreqScalarFvPatchField.C:144
Foam::DAFvSourceActuatorLine::TypeName
TypeName("actuatorLine")
Foam::DAFvSourceActuatorLine
Definition: DAFvSourceActuatorLine.H:26
daModel
DAModel daModel(mesh, daOption)
Foam::DAFvSourceActuatorLine::printIntervalUnsteady_
label printIntervalUnsteady_
print interval
Definition: DAFvSourceActuatorLine.H:33
daIndex
DAIndex daIndex(mesh, daOption, daModel)