DAFvSourceActuatorLine.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 ActuatorLine source
8 
9 \*---------------------------------------------------------------------------*/
10 
11 #ifndef DAFvSourceActuatorLine_H
12 #define DAFvSourceActuatorLine_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 DAFvSourceActuatorLine Declaration
25 \*---------------------------------------------------------------------------*/
26 
28  : public DAFvSource
29 {
30 
31 protected:
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 
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::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
DAFvSource.H
Foam::DAFvSourceActuatorLine::~DAFvSourceActuatorLine
virtual ~DAFvSourceActuatorLine()
Definition: DAFvSourceActuatorLine.H:48
DAGlobalVar.H
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:32
Foam::DAIndex
Definition: DAIndex.H:32
Foam::DAModel
Definition: DAModel.H:57
Foam
Definition: checkGeometry.C:32
Foam::DAFvSourceActuatorLine::TypeName
TypeName("actuatorLine")
Foam::DAFvSourceActuatorLine::initFvSourcePars
virtual void initFvSourcePars()
Initialize the values for all types of fvSource in DAGlobalVar, including actuatorDiskPars,...
Definition: DAFvSourceActuatorLine.C:254
Foam::DAFvSourceActuatorLine
Definition: DAFvSourceActuatorLine.H:27
Foam::DAFvSourceActuatorLine::printIntervalUnsteady_
label printIntervalUnsteady_
print interval
Definition: DAFvSourceActuatorLine.H:33