Go to the documentation of this file.
39 #ifndef sensitivitySurfacePointsIncompressible_H
40 #define sensitivitySurfacePointsIncompressible_H
53 namespace incompressible
autoPtr< boundaryVectorField > wallFaceSens_
The face-based part of the sensitivities.
const dictionary & dict() const
Return the construction dictionary.
class for managing incompressible objective functions.
bool includeTransposeStresses_
Include the transpose part of the adjoint stresses.
A class for handling words, derived from Foam::string.
autoPtr< boundaryVectorField > dnfdbMult_
virtual void accumulateIntegrand(const scalar dt)
Accumulate sensitivity integrands.
void constructGlobalPointNormalsAndAreas(vectorField &pointNormals, scalarField &pointMagSf)
Construct globally correct point normals and point areas.
virtual ~sensitivitySurfacePoints()=default
Destructor.
bool includePressureTerm_
Include the adjoint pressure term in sens computation.
autoPtr< adjointMeshMovementSolver > meshMovementSolver_
bool useSnGradInTranposeStresses_
Use snGrad in the transpose part of the adjoint stresses.
autoPtr< boundaryVectorField > dSfdbMult_
Multipliers of d(Sf)/db and d(nf)/db.
void read()
Read controls and update solver pointers if necessary.
Calculation of adjoint based sensitivities at wall points.
TypeName("surfacePoints")
Runtime type information.
Class including all adjoint fields for incompressible flows.
bool includeDivTerm_
Include the term from the deviatoric part of the stresses.
Abstract base class for adjoint-based sensitivities in incompressible flows.
autoPtr< adjointEikonalSolver > eikonalSolver_
virtual bool readDict(const dictionary &dict)
Read dict if changed.
bool includeMeshMovement_
Include mesh movement variation in sens computation.
bool includeSurfaceArea_
Include surface area in sens computation.
bool includeObjective_
Include terms directly emerging from the objective function.
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.
virtual void write(const word &baseName=word::null)
Write sensitivity fields.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
bool includeDistance_
Include distance variation in sens computation.
bool includeGradStressTerm_
Include the term containing the grad of the stress at the boundary.
static const word null
An empty word.
void setSuffixName()
Set suffix name for sensitivity fields.
void finaliseFaceMultiplier()
virtual void clearSensitivities()
Zero sensitivity fields and their constituents.
void finalisePointSensitivities()
virtual void assembleSensitivities()
Assemble sensitivities.
Base class for solution control classes.