39 #ifndef objectivePtLosses_H 40 #define objectivePtLosses_H 82 const word& adjointSolverName,
83 const word& primalSolverName
const dictionary & dict() const
Return objective dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void update_boundarydJdp()
Update values to be added to the adjoint inlet velocity.
void update_boundarydJdvt()
Update values to be added to the adjoint outlet tangential velocity.
void update_boundarydJdv()
Update values to be added to the adjoint outlet velocity.
TypeName("PtLosses")
Runtime type information.
A class for handling words, derived from Foam::string.
virtual ~objectivePtLosses()=default
Destructor.
objectivePtLosses(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName)
from components
virtual void addHeaderColumns() const
Write headers for additional columns.
void initialize()
Return the objectiveReportPatches.
Mesh data needed to do the Finite Volume discretisation.
scalar J()
Return the objective function value.
virtual void addColumnValues() const
Write information to additional columns.
Abstract base class for objective functions in incompressible flows.
void update_boundarydJdvn()
Update values to be added to the adjoint outlet pressure.