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

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 &center)
 

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 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 DAFvSourceHeatSource.H.

Constructor & Destructor Documentation

◆ DAFvSourceHeatSource()

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

◆ ~DAFvSourceHeatSource()

virtual ~DAFvSourceHeatSource ( )
inlinevirtual

Definition at line 63 of file DAFvSourceHeatSource.H.

Member Function Documentation

◆ TypeName()

TypeName ( "heatSource"  )

◆ calcFvSource()

void calcFvSource ( volScalarField &  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 371 of file DAFvSourceHeatSource.C.

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

Referenced by DAFvSourceHeatSource::DAFvSourceHeatSource().

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 DAFvSourceHeatSource.H.

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

◆ cylinderP1_

HashTable<scalarList> cylinderP1_
protected

Definition at line 35 of file DAFvSourceHeatSource.H.

Referenced by DAFvSourceHeatSource::DAFvSourceHeatSource().

◆ cylinderP2_

HashTable<scalarList> cylinderP2_
protected

Definition at line 36 of file DAFvSourceHeatSource.H.

Referenced by DAFvSourceHeatSource::DAFvSourceHeatSource().

◆ cylinderRadius_

HashTable<scalar> cylinderRadius_
protected

Definition at line 37 of file DAFvSourceHeatSource.H.

Referenced by DAFvSourceHeatSource::DAFvSourceHeatSource().

◆ power_

HashTable<scalar> power_
protected

◆ cylinderEps_

HashTable<scalar> cylinderEps_
protected

◆ printInterval_

label printInterval_
protected

print interval for primal and adjoint

Definition at line 42 of file DAFvSourceHeatSource.H.

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

◆ snapCenter2Cell_

HashTable<label> snapCenter2Cell_
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().

◆ snappedCenterCellI_

HashTable<label> snappedCenterCellI_
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().


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