39#ifndef objectiveMoment_H
40#define objectiveMoment_H
58 public objectiveIncompressible
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 void update_meanValues()
Update mean drag and lift values.
virtual void update_boundarydJdnut()
Update dJ/dnut multiplier.
virtual void update_dxdbDirectMultiplier()
Update delta(x)/delta b multiplier coming directly from the objective.
virtual scalar J()
Return the objective function value.
virtual void update_dxdbMultiplier()
Update delta(x)/delta b multiplier.
TypeName("moment")
Runtime type information.
objectiveMoment(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName)
from components
virtual ~objectiveMoment()=default
Destructor.
virtual void update_boundarydJdp()
Update values to be added to the adjoint wall velocity.
virtual void update_dSdbMultiplier()
Update delta(n dS)/delta b multiplier.
A class for handling words, derived from Foam::string.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.