Go to the documentation of this file.
11 #ifndef DAObjFuncMoment_H
12 #define DAObjFuncMoment_H
15 #include "addToRunTimeSelectionTable.H"
51 const word objFuncName,
52 const word objFuncPart,
53 const dictionary& objFuncDict);
62 const labelList& objFuncFaceSources,
63 const labelList& objFuncCellSources,
64 scalarList& objFuncFaceValues,
65 scalarList& objFuncCellValues,
66 scalar& objFuncValue);
const DATurbulenceModel & daTurb_
DATurbulenceModel object.
DAOption daOption(mesh, pyOptions_)
vector momentDir_
the direction of the moment
DAObjFuncMoment(const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAResidual &daResidual, const word objFuncName, const word objFuncPart, const dictionary &objFuncDict)
virtual ~DAObjFuncMoment()
vector momentCenter_
the center of rotation for moment
DAModel daModel(mesh, daOption)
DAIndex daIndex(mesh, daOption, daModel)
virtual void calcObjFunc(const labelList &objFuncFaceSources, const labelList &objFuncCellSources, scalarList &objFuncFaceValues, scalarList &objFuncCellValues, scalar &objFuncValue)
calculate the value of objective function