39 #ifndef objectiveFlowRatePartition_H 40 #define objectiveFlowRatePartition_H 66 scalar inletFlowRate_;
83 const word& adjointSolverName,
84 const word& primalSolverName
Split inlet flow rate to given percentages at the prescribed outlet patches.
virtual void update_boundarydJdvn()
Update values to be added to the adjoint outlet pressure.
const dictionary & dict() const
Return objective dictionary.
virtual void update_boundarydJdv()
Update values to be added to the adjoint outlet velocity.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
objectiveFlowRatePartition(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName)
from components
virtual void addHeaderColumns() const
Write headers for additional columns.
TypeName("flowRatePartition")
Runtime type information.
A class for handling words, derived from Foam::string.
virtual scalar J()
Return the objective function value.
virtual ~objectiveFlowRatePartition()=default
Destructor.
virtual void addColumnValues() const
Write information to additional columns.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for objective functions in incompressible flows.
virtual void addHeaderInfo() const
Write any information that needs to go the header of the file.