

Public Member Functions | |
| TypeName ("heatSource") | |
| DAFvSourceHeatSource (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex) | |
| virtual | ~DAFvSourceHeatSource () |
| virtual void | calcFvSource (volScalarField &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 (volVectorField &fvSource) |
| compute the FvSource term 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 ¢er) |
Protected Attributes | |
| HashTable< labelList > | fvSourceCellIndices_ |
| HashTable that contains lists of cell indices that are within the actuator disk space. More... | |
| HashTable< scalarList > | cylinderP1_ |
| HashTable< scalarList > | cylinderP2_ |
| HashTable< scalar > | cylinderRadius_ |
| HashTable< scalar > | power_ |
| HashTable< scalar > | cylinderEps_ |
| label | printInterval_ |
| print interval for primal and adjoint More... | |
| HashTable< label > | snapCenter2Cell_ |
| whether to snap the center to a cell in the mesh if yes the center will move with the mesh More... | |
| HashTable< label > | snappedCenterCellI_ |
| the cell index for the center if snapCenter2Cell_ = 1 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... | |
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 27 of file DAFvSourceHeatSource.H.
| DAFvSourceHeatSource | ( | const word | modelType, |
| const fvMesh & | mesh, | ||
| const DAOption & | daOption, | ||
| const DAModel & | daModel, | ||
| const DAIndex & | daIndex | ||
| ) |
Definition at line 19 of file DAFvSourceHeatSource.C.
References allOptions, DAFvSourceHeatSource::cylinderEps_, DAFvSourceHeatSource::cylinderP1_, DAFvSourceHeatSource::cylinderP2_, DAFvSourceHeatSource::cylinderRadius_, DAFvSource::daOption_, DAFvSource::findGlobalSnappedCenter(), forAll(), DAFvSourceHeatSource::fvSourceCellIndices_, DAOption::getAllOptions(), DAOption::getOption(), DAGlobalVar::heatSourcePars, DAFvSourceHeatSource::initFvSourcePars(), DAFvSource::mesh_, DAUtility::myFindCell(), p1, p2, DAFvSourceHeatSource::power_, DAFvSourceHeatSource::printInterval_, DAFvSourceHeatSource::snapCenter2Cell_, and DAFvSourceHeatSource::snappedCenterCellI_.

|
inlinevirtual |
Definition at line 63 of file DAFvSourceHeatSource.H.
| TypeName | ( | "heatSource" | ) |
|
virtual |
compute the FvSource term
Reimplemented from DAFvSource.
Definition at line 151 of file DAFvSourceHeatSource.C.
References allOptions, DAFvSourceHeatSource::cylinderEps_, DAFvSource::daOption_, DAFvSource::findGlobalSnappedCenter(), forAll(), fvSource, DAFvSourceHeatSource::fvSourceCellIndices_, DAOption::getAllOptions(), DAGlobalVar::heatSourcePars, DAFvSource::mesh_, DAFvSourceHeatSource::power_, DAFvSourceHeatSource::printInterval_, DAFvSourceHeatSource::snapCenter2Cell_, and DAFvSourceHeatSource::snappedCenterCellI_.

|
virtual |
Initialize the values for all types of fvSource in DAGlobalVar, including actuatorDiskPars, heatSourcePars, etc.
Reimplemented from DAFvSource.
Definition at line 371 of file DAFvSourceHeatSource.C.
References DAFvSource::daOption_, forAll(), DAOption::getAllOptions(), DAGlobalVar::heatSourcePars, DAFvSource::mesh_, and source().
Referenced by DAFvSourceHeatSource::DAFvSourceHeatSource().


|
protected |
HashTable that contains lists of cell indices that are within the actuator disk space.
Definition at line 33 of file DAFvSourceHeatSource.H.
Referenced by DAFvSourceHeatSource::calcFvSource(), and DAFvSourceHeatSource::DAFvSourceHeatSource().
|
protected |
Definition at line 35 of file DAFvSourceHeatSource.H.
Referenced by DAFvSourceHeatSource::DAFvSourceHeatSource().
|
protected |
Definition at line 36 of file DAFvSourceHeatSource.H.
Referenced by DAFvSourceHeatSource::DAFvSourceHeatSource().
|
protected |
Definition at line 37 of file DAFvSourceHeatSource.H.
Referenced by DAFvSourceHeatSource::DAFvSourceHeatSource().
|
protected |
Definition at line 38 of file DAFvSourceHeatSource.H.
Referenced by DAFvSourceHeatSource::calcFvSource(), and DAFvSourceHeatSource::DAFvSourceHeatSource().
|
protected |
Definition at line 39 of file DAFvSourceHeatSource.H.
Referenced by DAFvSourceHeatSource::calcFvSource(), and DAFvSourceHeatSource::DAFvSourceHeatSource().
|
protected |
print interval for primal and adjoint
Definition at line 42 of file DAFvSourceHeatSource.H.
Referenced by DAFvSourceHeatSource::calcFvSource(), and DAFvSourceHeatSource::DAFvSourceHeatSource().
|
protected |
whether to snap the center to a cell in the mesh if yes the center will move with the mesh
Definition at line 45 of file DAFvSourceHeatSource.H.
Referenced by DAFvSourceHeatSource::calcFvSource(), and DAFvSourceHeatSource::DAFvSourceHeatSource().
|
protected |
the cell index for the center if snapCenter2Cell_ = 1
Definition at line 48 of file DAFvSourceHeatSource.H.
Referenced by DAFvSourceHeatSource::calcFvSource(), and DAFvSourceHeatSource::DAFvSourceHeatSource().