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

Public Member Functions

 TypeName ("uniformPressureGradient")
 
 DAFvSourceUniformPressureGradient (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAFvSourceUniformPressureGradient ()
 
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...
 

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)
 
- 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...
 

Detailed Description

Definition at line 26 of file DAFvSourceUniformPressureGradient.H.

Constructor & Destructor Documentation

◆ DAFvSourceUniformPressureGradient()

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

Definition at line 19 of file DAFvSourceUniformPressureGradient.C.

◆ ~DAFvSourceUniformPressureGradient()

virtual ~DAFvSourceUniformPressureGradient ( )
inlinevirtual

Definition at line 45 of file DAFvSourceUniformPressureGradient.H.

Member Function Documentation

◆ TypeName()

TypeName ( "uniformPressureGradient"  )

◆ calcFvSource()

void calcFvSource ( volVectorField &  fvSource)
virtual

compute the FvSource term

Reimplemented from DAFvSource.

Definition at line 30 of file DAFvSourceUniformPressureGradient.C.

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

Here is the call graph for this function:

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