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 DAOption & | daOption_ |
DAOption object. More... | |
const DAModel & | daModel_ |
DAModel object. More... | |
const DAIndex & | daIndex_ |
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< DAFvSource > | New (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex) |
Definition at line 26 of file DAFvSourceActuatorDisk.H.
DAFvSourceActuatorDisk | ( | const word | modelType, |
const fvMesh & | mesh, | ||
const DAOption & | daOption, | ||
const DAModel & | daModel, | ||
const DAIndex & | daIndex | ||
) |
Definition at line 19 of file DAFvSourceActuatorDisk.C.
References DAFvSourceActuatorDisk::calcFvSourceCellIndices(), DAFvSourceActuatorDisk::fvSourceCellIndices_, DAOption::getOption(), DAFvSourceActuatorDisk::printInterval_, and DAFvSource::syncDAOptionToActuatorDVs().
|
inlinevirtual |
Definition at line 54 of file DAFvSourceActuatorDisk.H.
|
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().
TypeName | ( | "actuatorDisk" | ) |
|
virtual |
compute the FvSource term
Reimplemented from DAFvSource.
Definition at line 39 of file DAFvSourceActuatorDisk.C.
References DAFvSource::actuatorDiskDVs_, allOptions, DAFvSource::daOption_, forAll(), fvSource, DAFvSourceActuatorDisk::fvSourceCellIndices_, DAOption::getAllOptions(), DAOption::getOption(), DAFvSource::mesh_, and DAFvSourceActuatorDisk::printInterval_.
|
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().
|
protected |
print interval for primal and adjoint
Definition at line 39 of file DAFvSourceActuatorDisk.H.
Referenced by DAFvSourceActuatorDisk::calcFvSource(), and DAFvSourceActuatorDisk::DAFvSourceActuatorDisk().