Go to the documentation of this file.
11 #ifndef DAObjFuncCenterOfPressure_H
12 #define DAObjFuncCenterOfPressure_H
15 #include "addToRunTimeSelectionTable.H"
52 const word objFuncName,
53 const word objFuncPart,
54 const dictionary& objFuncDict);
63 const labelList& objFuncFaceSources,
64 const labelList& objFuncCellSources,
65 scalarList& objFuncFaceValues,
66 scalarList& objFuncCellValues,
67 scalar& objFuncValue);
TypeName("centerOfPressure")
DAOption daOption(mesh, pyOptions_)
vector forceAxis_
the direction to project the force onto
virtual ~DAObjFuncCenterOfPressure()
virtual void calcObjFunc(const labelList &objFuncFaceSources, const labelList &objFuncCellSources, scalarList &objFuncFaceValues, scalarList &objFuncCellValues, scalar &objFuncValue)
calculate the value of objective function
vector axis_
the direction to project the center of pressure onto
DAObjFuncCenterOfPressure(const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAResidual &daResidual, const word objFuncName, const word objFuncPart, const dictionary &objFuncDict)
DAModel daModel(mesh, daOption)
DAIndex daIndex(mesh, daOption, daModel)
vector center_
The point to compute center of pressure about.