41 #ifndef boundaryAdjointContribution_H 42 #define boundaryAdjointContribution_H 85 TypeName(
"boundaryAdjointContribution");
96 const word& managerName,
98 const word& simulationType,
109 const word& managerName,
111 const word& simulationType,
121 const word& managerName,
123 const word& simulationType,
virtual tmp< scalarField > momentumDiffusion()=0
virtual const word adjointSolverName() const =0
virtual const fvPatchVectorField & Uab() const =0
virtual tmp< scalarField > pressureSource()=0
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static autoPtr< boundaryAdjointContribution > New(const word &managerName, const word &adjointSolverName, const word &simulationType, const fvPatch &patch)
Return a reference to the selected turbulence model.
virtual tmp< scalarField > energySource()=0
TypeName("boundaryAdjointContribution")
Runtime type information.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual const fvPatchScalarField & pab() const =0
virtual const fvPatchScalarField & pb() const =0
virtual const fvPatchScalarField & turbulentDiffusivity() const =0
virtual tmp< scalarField > laminarDiffusivity()=0
virtual const fvsPatchScalarField & phiab() const =0
A class for handling words, derived from Foam::string.
virtual tmp< scalarField > dJdnut()
virtual tmp< scalarField > adjointTMVariable2Source()
declareRunTimeSelectionTable(autoPtr, boundaryAdjointContribution, dictionary,(const word &managerName, const word &adjointSolverName, const word &simulationType, const fvPatch &patch),(managerName, adjointSolverName, simulationType, patch))
virtual tmp< scalarField > adjointTMVariable1Source()
Abstract base class for computing contributions of the objective functions to the adjoint boundary co...
virtual tmp< scalarField > TMVariable2()
virtual ~boundaryAdjointContribution()=default
Destructor.
virtual const fvPatchVectorField & Ub() const =0
virtual const word primalSolverName() const =0
virtual tmp< scalarField > thermalDiffusion()=0
virtual tmp< scalarField > TMVariable2Diffusion()
virtual const fvsPatchScalarField & phib() const =0
const std::string patch
OpenFOAM patch number as a std::string.
virtual tmp< tensorField > dJdGradU()
virtual tmp< scalarField > wallDistance()=0
virtual tmp< vectorField > velocitySource()=0
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
virtual tmp< vectorField > normalVelocitySource()=0
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual tmp< scalarField > TMVariable1Diffusion()
virtual tmp< scalarField > TMVariable1()
virtual tmp< vectorField > tangentVelocitySource()=0