Go to the documentation of this file.
15 #include "runTimeSelectionTables.H"
16 #include "fvOptions.H"
17 #include "surfaceFields.H"
21 #include "topoSetSource.H"
23 #include "regIOobject.H"
73 (
const word modelType,
93 static autoPtr<DAFvSource>
New(
128 volVectorField&
fvSource =
const_cast<volVectorField&
>(
129 mesh_.thisDb().lookupObject<volVectorField>(
"fvSource"));
bool writeData(Ostream &os) const
virtual function for regIOobject
HashTable< List< scalar > > actuatorDiskDVs_
the list of design variables for all the actuator disks
void syncDAOptionToActuatorDVs()
synchronize the values in DAOption and actuatorDiskDVs_
const DAOption & daOption_
DAOption object.
DAOption daOption(mesh, pyOptions_)
virtual void calcFvSource(volVectorField &fvSource)
compute the FvSource term
const DAIndex & daIndex_
DAIndex object.
declareRunTimeSelectionTable(autoPtr, DAFvSource, dictionary,(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex),(modelType, mesh, daOption, daModel, daIndex))
volScalarField & fvSource
void updateFvSource()
calculate fvSource based on the latest actuatorDVs
TypeName("DAFvSource")
Runtime type information.
static autoPtr< DAFvSource > New(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
const word & modelType_
model name
scalar getActuatorDVs(const word diskName, const label dvI)
get the value from the actuator disk design variable
void setActuatorDVs(const word diskName, const label dvI, const scalar val)
set a new value to the actuator disk design variable
const fvMesh & mesh_
fvMesh
DAModel daModel(mesh, daOption)
DAIndex daIndex(mesh, daOption, daModel)
const DAModel & daModel_
DAModel object.