Go to the documentation of this file.
11 #ifndef DAObjFuncMassFlowRate_H
12 #define DAObjFuncMassFlowRate_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);
DATurbulenceModel & daTurb_
DATurbulenceModel object.
DAObjFuncMassFlowRate(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 ~DAObjFuncMassFlowRate()
DAOption daOption(mesh, pyOptions_)
scalar areaSum_
the area of all inlet patches
volScalarField rho_
density
virtual void calcObjFunc(const labelList &objFuncFaceSources, const labelList &objFuncCellSources, scalarList &objFuncFaceValues, scalarList &objFuncCellValues, scalar &objFuncValue)
calculate the value of objective function
DAModel daModel(mesh, daOption)
DAIndex daIndex(mesh, daOption, daModel)