Go to the documentation of this file.
39 #ifndef objectiveForce_H
40 #define objectiveForce_H
91 const word& adjointSolverName,
92 const word& primalSolverName
118 virtual scalar
denom()
const;
A class for handling words, derived from Foam::string.
TypeName("force")
Runtime type information.
virtual ~objectiveForce()=default
Destructor.
void update_dxdbMultiplier()
Update delta(x)/delta b multiplier.
autoPtr< volVectorField > stressZPtr_
void update_dSdbMultiplier()
Update delta(n dS)/delta b multiplier.
Abstract base class for objective functions in incompressible flows.
autoPtr< volVectorField > stressXPtr_
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
labelHashSet forcePatches_
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const vector & forceDirection() const
Return force direction.
objectiveForce(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName)
Construct from components.
void update_boundarydJdp()
Update values to be added to the adjoint wall velocity.
scalar J()
Return the objective function value.
virtual scalar denom() const
Return denominator, without density.
void update_dJdStressMultiplier()
Update dJ/dStress multiplier.
autoPtr< volVectorField > stressYPtr_