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