Go to the documentation of this file.
38 namespace incompressible
53 sensitivityMultiple::sensitivityMultiple
70 sensTypes_(
dict.subDict(
"sensTypes").toc()),
71 sens_(sensTypes_.size())
81 dict.subDict(
"sensTypes").subDict(sensTypes_[sI]),
116 sens_[sI].accumulateIntegrand(dt);
125 sens_[sI].assembleSensitivities();
147 sens_[sI].clearSensitivities();
const dictionary & dict() const
Return the construction dictionary.
class for managing incompressible objective functions.
virtual void write(const word &baseName=word::null)
Write sensitivities to file.
A class for handling words, derived from Foam::string.
defineTypeNameAndDebug(adjointEikonalSolver, 0)
virtual void accumulateIntegrand(const scalar dt)
Accumulate sensitivity integrands.
PtrList< adjointSensitivity > sens_
Ostream & endl(Ostream &os)
Add newline and flush stream.
Class including all adjoint fields for incompressible flows.
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(adjointSensitivity, sensitivityBezier, dictionary)
Abstract base class for adjoint-based sensitivities in incompressible flows.
virtual bool readDict(const dictionary &dict)
Read dictionary if changed.
messageStream Info
Information stream (stdout output on master, null elsewhere)
static autoPtr< adjointSensitivity > New(const fvMesh &mesh, const dictionary &dict, incompressibleVars &primalVars, incompressibleAdjointVars &adjointVars, objectiveManager &objectiveManager)
Return a reference to the selected turbulence model.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
virtual void clearSensitivities()
Zero sensitivity fields and their constituents.
virtual bool readDict(const dictionary &dict)
Read dict if changed.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Base class for solution control classes.
virtual void assembleSensitivities()
Assemble sensitivities.
const scalarField & calculateSensitivities()
Calculates sensitivities at wall surface points.