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...
 
- 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 ()
 
void setActuatorDVs (const word diskName, const label dvI, const scalar val)
 set a new value to the actuator disk design variable More...
 
scalar getActuatorDVs (const word diskName, const label dvI)
 get the value from the actuator disk design variable More...
 
void updateFvSource ()
 calculate fvSource based on the latest actuatorDVs More...
 
void syncDAOptionToActuatorDVs ()
 synchronize the values in DAOption and actuatorDiskDVs_ More...
 
bool writeData (Ostream &os) const
 virtual function for regIOobject More...
 

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...
 
HashTable< List< scalar > > actuatorDiskDVs_
 the list of design variables for all the actuator disks 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 26 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 449 of file DAFvSourceActuatorDisk.C.

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

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

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: