42#ifndef objectivePowerDissipation_H
43#define objectivePowerDissipation_H
61 public objectiveIncompressible
72 void populateFieldNames();
88 const word& adjointSolverName,
89 const word& primalSolverName
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.
const dictionary & dict() const
Return objective dictionary.
virtual ~objectivePowerDissipation()=default
Destructor.
virtual void update_dJdb()
Contribution to field sensitivities.
virtual void update_gradDxDbMultiplier()
Update grad(dx/db multiplier). Volume-based sensitivity term.
objectivePowerDissipation(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName)
Construct from components.
virtual void update_dJdTMvar2()
Update field to be added to the second adjoint turbulence model PDE.
virtual void addSource(fvScalarMatrix &matrix)
Add source terms to the adjoint turbulence model equations.
virtual scalar J()
Return the objective function value.
virtual void update_dJdTMvar1()
Update field to be added to the first adjoint turbulence model PDE.
TypeName("powerDissipation")
Runtime type information.
virtual void update_divDxDbMultiplier()
Update div(dx/db multiplier). Volume-based sensitivity term.
virtual void update_dJdv()
Update values to be added to the adjoint outlet velocity.
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
fvMatrix< scalar > fvScalarMatrix
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.