126 #ifndef adjointEikonalSolverIncompressible_H 127 #define adjointEikonalSolverIncompressible_H 140 namespace incompressible
autoPtr< boundaryVectorField > distanceSensPtr_
Wall face sens w.r.t. (x,y.z)
virtual bool readDict(const dictionary &dict)
Read dict if changed.
virtual ~adjointEikonalSolver()=default
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const volScalarField & da()
Return the adjoint distance field.
void solve()
Calculate the adjoint distance field.
const labelHashSet & sensitivityPatchIDs_
boundaryVectorField & distanceSensitivities()
Return the sensitivity term depending on da.
wordList patchTypes() const
Return the boundary condition types for da.
TypeName("adjointEikonalSolver")
Runtime type information.
Class including all adjoint fields for incompressible flows.
void read()
Read options each time a new solution is found.
tmp< surfaceScalarField > computeYPhi()
Compute convecting velocity.
tmp< volVectorField > gradEikonal()
Return the gradient of the eikonal equation.
const autoPtr< incompressible::RASModelVariables > & RASModelVars_
void accumulateIntegrand(const scalar dt)
Accumulate source term.
Useful typenames for fields defined only at the boundaries.
autoPtr< Foam::incompressibleAdjoint::adjointRASModel > & adjointTurbulence_
labelHashSet wallPatchIDs_
const volScalarField & d()
Return the distance field.
Mesh data needed to do the Finite Volume discretisation.
tmp< volTensorField > getFISensitivityTerm() const
Return the volume-based sensitivity term depending on da.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
void reset()
Reset source term.
Solver of the adjoint to the eikonal PDE.