The same as adjointWallVelocity but additionally computes the sensitivity contribution emerging from the change in the positions of the face centres, in case rotatingWallVelocity is used for the flow simulation. More...
Public Member Functions | |
TypeName ("adjointRotatingWallVelocity") | |
Runtime type information. More... | |
adjointRotatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
adjointRotatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
adjointRotatingWallVelocityFvPatchVectorField (const adjointRotatingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone. More... | |
adjointRotatingWallVelocityFvPatchVectorField (const adjointRotatingWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual tmp< tensorField > | dxdbMult () const |
Compute contribution to SDs. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Public Member Functions inherited from adjointWallVelocityFvPatchVectorField | |
TypeName ("adjointWallVelocity") | |
Runtime type information. More... | |
adjointWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
adjointWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
adjointWallVelocityFvPatchVectorField (const adjointWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
adjointWallVelocityFvPatchVectorField (const adjointWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual void | manipulateMatrix (fvMatrix< vector > &matrix) |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
Public Member Functions inherited from adjointBoundaryCondition< Type > | |
TypeName ("adjointBoundaryCondition") | |
Run-time type information. More... | |
adjointBoundaryCondition (const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const word &solverName) | |
Construct from field and base name. More... | |
adjointBoundaryCondition (const adjointBoundaryCondition< Type > &) | |
Construct as copy. More... | |
virtual | ~adjointBoundaryCondition ()=default |
Destructor. More... | |
const word & | objectiveManagerName () const |
Return objectiveManager name. More... | |
const word & | adjointSolverName () const |
Return adjointSolverName. More... | |
const word & | simulationType () const |
Return the simulationType. More... | |
void | setBoundaryContributionPtr () |
Set the ptr to the correct boundaryAdjointContribution. More... | |
boundaryAdjointContribution & | getBoundaryAdjContribution () |
Get boundaryContribution. More... | |
const ATCModel & | getATC () const |
ATC type might be useful for a number of BCs. Return here. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from adjointBoundaryCondition< Type > | |
template<class Type2 > | |
tmp< Field< typename Foam::outerProduct< Foam::vector, Type2 >::type > > | computePatchGrad (word name) |
Get gradient of field on a specific boundary. More... | |
bool | addATCUaGradUTerm () |
Whether to add the extra term from the UaGradU formulation. More... | |
Protected Attributes inherited from adjointBoundaryCondition< Type > | |
const fvPatch & | patch_ |
Reference to patch. More... | |
word | managerName_ |
objectiveManager name corresponding to field More... | |
word | adjointSolverName_ |
adjointSolver name corresponding to field More... | |
word | simulationType_ |
simulationType corresponding to field. More... | |
autoPtr< boundaryAdjointContribution > | boundaryContrPtr_ |
autoPtr< bool > | addATCUaGradUTerm_ |
Whether to add the extra term from the UaGradU formulation. More... | |
The same as adjointWallVelocity but additionally computes the sensitivity contribution emerging from the change in the positions of the face centres, in case rotatingWallVelocity is used for the flow simulation.
Definition at line 55 of file adjointRotatingWallVelocityFvPatchVectorField.H.
adjointRotatingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file adjointRotatingWallVelocityFvPatchVectorField.C.
Referenced by adjointRotatingWallVelocityFvPatchVectorField::clone().
adjointRotatingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 66 of file adjointRotatingWallVelocityFvPatchVectorField.C.
adjointRotatingWallVelocityFvPatchVectorField | ( | const adjointRotatingWallVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given adjointRotatingWallVelocityFvPatchVectorField onto a new patch
Definition at line 50 of file adjointRotatingWallVelocityFvPatchVectorField.C.
adjointRotatingWallVelocityFvPatchVectorField | ( | const adjointRotatingWallVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 81 of file adjointRotatingWallVelocityFvPatchVectorField.C.
TypeName | ( | "adjointRotatingWallVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from adjointWallVelocityFvPatchVectorField.
Definition at line 107 of file adjointRotatingWallVelocityFvPatchVectorField.H.
References adjointRotatingWallVelocityFvPatchVectorField::adjointRotatingWallVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from adjointWallVelocityFvPatchVectorField.
Definition at line 124 of file adjointRotatingWallVelocityFvPatchVectorField.H.
References adjointRotatingWallVelocityFvPatchVectorField::adjointRotatingWallVelocityFvPatchVectorField().
|
virtual |
Compute contribution to SDs.
Reimplemented from adjointBoundaryCondition< Type >.
Definition at line 96 of file adjointRotatingWallVelocityFvPatchVectorField.C.
References Foam::mag(), tmp< T >::New(), om, and Foam::foamVersion::patch.
|
virtual |
Write.
Reimplemented from adjointWallVelocityFvPatchVectorField.
Definition at line 113 of file adjointRotatingWallVelocityFvPatchVectorField.C.
References os(), adjointWallVelocityFvPatchVectorField::write(), and Ostream::writeEntry().