Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DAFvSourceActuatorDisk Class Reference
Inheritance diagram for DAFvSourceActuatorDisk:
Inheritance graph
[legend]
Collaboration diagram for DAFvSourceActuatorDisk:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("actuatorDisk")
 
 DAFvSourceActuatorDisk (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAFvSourceActuatorDisk ()
 
virtual void calcFvSource (volVectorField &fvSource)
 compute the FvSource term More...
 
virtual void initFvSourcePars ()
 Initialize the values for all types of fvSource in DAGlobalVar, including actuatorDiskPars, heatSourcePars, etc. More...
 
- Public Member Functions inherited from DAFvSource
 TypeName ("DAFvSource")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, DAFvSource, dictionary,(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex),(modelType, mesh, daOption, daModel, daIndex))
 
 DAFvSource (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAFvSource ()
 
virtual void calcFvSource (volScalarField &fvSource)
 overloaded function for scalar fields More...
 
void updateFvSource ()
 calculate fvSource based on the latest parameters defined in DAGlobalVar More...
 
bool writeData (Ostream &os) const
 virtual function for regIOobject More...
 
void findGlobalSnappedCenter (label snappedCenterCellI, vector &center)
 

Protected Member Functions

void calcFvSourceCellIndices (HashTable< labelList > &fvSourceCellIndices)
 calculate DAFvSourceActuatorDisk::fvSourceCellIndices_ More...
 

Protected Attributes

HashTable< labelList > fvSourceCellIndices_
 HashTable that contains lists of cell indices that are within the actuator disk space. More...
 
label printInterval_
 print interval for primal and adjoint More...
 
- Protected Attributes inherited from DAFvSource
const word & modelType_
 model name More...
 
const fvMesh & mesh_
 fvMesh More...
 
const DAOptiondaOption_
 DAOption object. More...
 
const DAModeldaModel_
 DAModel object. More...
 
const DAIndexdaIndex_
 DAIndex object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DAFvSource
static autoPtr< DAFvSourceNew (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 

Detailed Description

Definition at line 27 of file DAFvSourceActuatorDisk.H.

Constructor & Destructor Documentation

◆ DAFvSourceActuatorDisk()

DAFvSourceActuatorDisk ( const word  modelType,
const fvMesh &  mesh,
const DAOption daOption,
const DAModel daModel,
const DAIndex daIndex 
)

◆ ~DAFvSourceActuatorDisk()

virtual ~DAFvSourceActuatorDisk ( )
inlinevirtual

Definition at line 54 of file DAFvSourceActuatorDisk.H.

Member Function Documentation

◆ calcFvSourceCellIndices()

void calcFvSourceCellIndices ( HashTable< labelList > &  fvSourceCellIndices)
protected

calculate DAFvSourceActuatorDisk::fvSourceCellIndices_

Definition at line 484 of file DAFvSourceActuatorDisk.C.

References allOptions, DAFvSource::daOption_, forAll(), DAOption::getAllOptions(), DAOption::getOption(), DAFvSource::mesh_, p1, and p2.

Referenced by DAFvSourceActuatorDisk::DAFvSourceActuatorDisk().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "actuatorDisk"  )

◆ calcFvSource()

void calcFvSource ( volVectorField &  fvSource)
virtual

◆ initFvSourcePars()

void initFvSourcePars ( )
virtual

Initialize the values for all types of fvSource in DAGlobalVar, including actuatorDiskPars, heatSourcePars, etc.

Reimplemented from DAFvSource.

Definition at line 431 of file DAFvSourceActuatorDisk.C.

References DAGlobalVar::actuatorDiskPars, DAFvSource::daOption_, forAll(), DAOption::getAllOptions(), DAFvSource::mesh_, and source().

Referenced by DAFvSourceActuatorDisk::DAFvSourceActuatorDisk().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ fvSourceCellIndices_

HashTable<labelList> fvSourceCellIndices_
protected

HashTable that contains lists of cell indices that are within the actuator disk space.

Definition at line 33 of file DAFvSourceActuatorDisk.H.

Referenced by DAFvSourceActuatorDisk::calcFvSource(), and DAFvSourceActuatorDisk::DAFvSourceActuatorDisk().

◆ printInterval_

label printInterval_
protected

print interval for primal and adjoint

Definition at line 39 of file DAFvSourceActuatorDisk.H.

Referenced by DAFvSourceActuatorDisk::calcFvSource(), and DAFvSourceActuatorDisk::DAFvSourceActuatorDisk().


The documentation for this class was generated from the following files: