Provides the adjoint outlet velocity values (i.e. adjoint velocity in case of a zeroGradient U boundary condition). Can have stability issues in cases of backflow of the primal velocity. The adjointOutletVelocityFlux should preferably be used. More...
#include <adjointOutletVelocityFvPatchVectorField.H>


Public Member Functions | |
| TypeName ("adjointOutletVelocity") | |
| Runtime type information. | |
| adjointOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| adjointOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| adjointOutletVelocityFvPatchVectorField (const adjointOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given adjointOutletVelocityFvPatchVectorField onto a new patch. | |
| adjointOutletVelocityFvPatchVectorField (const adjointOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< vector > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Clone with an internal field reference. | |
| virtual bool | assignable () const |
| Return true: Allow adjoint solvers to obtain the outlet phia. | |
| virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::buffered) |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
| virtual void | operator= (const fvPatchField< vector > &pvf) |
| TypeName ("adjointOutletVelocity") | |
| Runtime type information. | |
| adjointOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| adjointOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| adjointOutletVelocityFvPatchVectorField (const adjointOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given adjointOutletVelocityFvPatchVectorField. | |
| adjointOutletVelocityFvPatchVectorField (const adjointOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< vector > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Clone with an internal field reference. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
| Public Member Functions inherited from adjointBoundaryCondition< vector > | |
| TypeName ("adjointBoundaryCondition") | |
| Run-time type information. | |
| adjointBoundaryCondition (const fvPatch &p, const DimensionedField< vector, volMesh > &iF, const word &solverName) | |
| Construct from field and base name. | |
| adjointBoundaryCondition (const adjointBoundaryCondition< vector > &) | |
| Construct as copy. | |
| virtual | ~adjointBoundaryCondition ()=default |
| Destructor. | |
| const word & | objectiveManagerName () const |
| Return objectiveManager name. | |
| const word & | adjointSolverName () const |
| Return adjointSolverName. | |
| const word & | simulationType () const |
| Return the simulationType. | |
| void | setBoundaryContributionPtr () |
| Set the ptr to the correct boundaryAdjointContribution. | |
| boundaryAdjointContribution & | getBoundaryAdjContribution () |
| Get boundaryContribution. | |
| const ATCModel & | getATC () const |
| ATC type might be useful for a number of BCs. Return here. | |
| virtual tmp< Field< typename Foam::outerProduct< Foam::vector, vector >::type > > | dxdbMult () const |
| Return contribution to sensitivity derivatives. | |
| virtual void | updatePrimalBasedQuantities () |
| Update the primal based quantities related to the adjoint boundary conditions. | |
Additional Inherited Members | |
| Protected Member Functions inherited from adjointBoundaryCondition< vector > | |
| tmp< Field< typename Foam::outerProduct< Foam::vector, Type2 >::type > > | computePatchGrad (word name) |
| Get gradient of field on a specific boundary. | |
| bool | addATCUaGradUTerm () |
| Whether to add the extra term from the UaGradU formulation. | |
| Protected Attributes inherited from adjointBoundaryCondition< vector > | |
| const fvPatch & | patch_ |
| Reference to patch. | |
| word | managerName_ |
| objectiveManager name corresponding to field | |
| word | adjointSolverName_ |
| adjointSolver name corresponding to field | |
| word | simulationType_ |
| simulationType corresponding to field. | |
| autoPtr< boundaryAdjointContribution > | boundaryContrPtr_ |
| Engine to manage contributions of the objective functions to the adjoint boundary conditions. | |
| Switch | addATCUaGradUTerm_ |
| Whether to add the extra term from the UaGradU formulation. | |
Provides the adjoint outlet velocity values (i.e. adjoint velocity in case of a zeroGradient U boundary condition). Can have stability issues in cases of backflow of the primal velocity. The adjointOutletVelocityFlux should preferably be used.
Definition at line 55 of file adjointOutletVelocityFvPatchVectorField.H.
| adjointOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 90 of file adjointOutletVelocityFvPatchVectorField.C.
References p.
Referenced by adjointOutletVelocityFvPatchVectorField(), adjointOutletVelocityFvPatchVectorField(), and TypeName().

| adjointOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 116 of file adjointOutletVelocityFvPatchVectorField.C.
References dict, IOobjectOption::MUST_READ, and p.
| adjointOutletVelocityFvPatchVectorField | ( | const adjointOutletVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping given adjointOutletVelocityFvPatchVectorField onto a new patch.
Definition at line 102 of file adjointOutletVelocityFvPatchVectorField.C.
References adjointOutletVelocityFvPatchVectorField(), adjointBoundaryCondition< vector >::adjointSolverName_, and p.

| adjointOutletVelocityFvPatchVectorField | ( | const adjointOutletVelocityFvPatchVectorField & | pivpvf, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 131 of file adjointOutletVelocityFvPatchVectorField.C.
References adjointOutletVelocityFvPatchVectorField().

| adjointOutletVelocityFvPatchVectorField | ( | const fvPatch & | , |
| const DimensionedField< vector, volMesh > & | ) |
Construct from patch and internal field.
| adjointOutletVelocityFvPatchVectorField | ( | const fvPatch & | , |
| const DimensionedField< vector, volMesh > & | , | ||
| const dictionary & | ) |
Construct from patch, internal field and dictionary.
| adjointOutletVelocityFvPatchVectorField | ( | const adjointOutletVelocityFvPatchVectorField & | , |
| const fvPatch & | , | ||
| const DimensionedField< vector, volMesh > & | , | ||
| const fvPatchFieldMapper & | ) |
Construct by mapping given adjointOutletVelocityFvPatchVectorField.
onto a new patch
References adjointOutletVelocityFvPatchVectorField().

| adjointOutletVelocityFvPatchVectorField | ( | const adjointOutletVelocityFvPatchVectorField & | , |
| const DimensionedField< vector, volMesh > & | ) |
Construct as copy setting internal field reference.
References adjointOutletVelocityFvPatchVectorField().

| TypeName | ( | "adjointOutletVelocity" | ) |
Runtime type information.
References adjointOutletVelocityFvPatchVectorField().

|
inlinevirtual |
Return a clone.
Definition at line 118 of file adjointOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Definition at line 126 of file adjointOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Return true: Allow adjoint solvers to obtain the outlet phia.
value through HbyA
Definition at line 142 of file adjointOutletVelocityFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Apply adjoint BCs through evaluate rather than updateCoeffs in order to have the correct Ua boundaryField when computing the adjoint pressure BC
Definition at line 145 of file adjointOutletVelocityFvPatchVectorField.C.
References fvPatchField< vector >::evaluate().

|
virtual |
Write.
Definition at line 155 of file adjointOutletVelocityFvPatchVectorField.C.
References adjointBoundaryCondition< vector >::adjointSolverName_, os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().

|
virtual |
Definition at line 165 of file adjointOutletVelocityFvPatchVectorField.C.
References fvPatchField< Type >::operator=().

| TypeName | ( | "adjointOutletVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 104 of file adjointOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Definition at line 112 of file adjointOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Update the coefficients associated with the patch field.
|
virtual |
Write.