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