Go to the documentation of this file.
11 #ifndef DAObjFuncTotalPressure_H
12 #define DAObjFuncTotalPressure_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("totalPressure")
DAOption daOption(mesh, pyOptions_)
virtual ~DAObjFuncTotalPressure()
volScalarField rho_
density
DATurbulenceModel & daTurb_
DATurbulenceModel object.
virtual void calcObjFunc(const labelList &objFuncFaceSources, const labelList &objFuncCellSources, scalarList &objFuncFaceValues, scalarList &objFuncCellValues, scalar &objFuncValue)
calculate the value of objective function
scalar areaSum_
the area of all total pressure patches
DAModel daModel(mesh, daOption)
DAObjFuncTotalPressure(const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAResidual &daResidual, const word objFuncName, const word objFuncPart, const dictionary &objFuncDict)
DAIndex daIndex(mesh, daOption, daModel)