Go to the documentation of this file.
39 #ifndef objectiveMoment_H
40 #define objectiveMoment_H
92 const word& adjointSolverName,
93 const word& primalSolverName
A class for handling words, derived from Foam::string.
void update_dxdbMultiplier()
Update delta(x)/delta b multiplier.
TypeName("moment")
Runtime type information.
Abstract base class for objective functions in incompressible flows.
void update_dSdbMultiplier()
Update delta(n dS)/delta b multiplier.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
objectiveMoment(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName)
from components
virtual ~objectiveMoment()=default
Destructor.
Mesh data needed to do the Finite Volume discretisation.
void update_meanValues()
Update mean drag and lift values.
void update_dxdbDirectMultiplier()
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar J()
Return the objective function value.
void update_boundarydJdp()
Update values to be added to the adjoint wall velocity.