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