Go to the documentation of this file.
11 #ifndef DAFvSourceHeatSource_H
12 #define DAFvSourceHeatSource_H
15 #include "addToRunTimeSelectionTable.H"
HashTable< label > snappedCenterCellI_
the cell index for the center if snapCenter2Cell_ = 1
virtual ~DAFvSourceHeatSource()
DAFvSourceHeatSource(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
label printInterval_
print interval for primal and adjoint
virtual void initFvSourcePars()
Initialize the values for all types of fvSource in DAGlobalVar, including actuatorDiskPars,...
HashTable< scalar > power_
volScalarField & fvSource
HashTable< labelList > fvSourceCellIndices_
HashTable that contains lists of cell indices that are within the actuator disk space.
HashTable< scalarList > cylinderP2_
HashTable< label > snapCenter2Cell_
whether to snap the center to a cell in the mesh if yes the center will move with the mesh
HashTable< scalarList > cylinderP1_
virtual void calcFvSource(volScalarField &fvSource)
compute the FvSource term
HashTable< scalar > cylinderEps_
HashTable< scalar > cylinderRadius_