Public Member Functions | List of all members
adjointOutletVelocityFvPatchVectorField Class Reference

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...

Inheritance diagram for adjointOutletVelocityFvPatchVectorField:
Inheritance graph
[legend]
Collaboration diagram for adjointOutletVelocityFvPatchVectorField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("adjointOutletVelocity")
 
 adjointOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 adjointOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 adjointOutletVelocityFvPatchVectorField (const adjointOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 adjointOutletVelocityFvPatchVectorField (const adjointOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 
virtual bool assignable () const
 
virtual void evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
 
virtual void write (Ostream &) const
 
virtual void operator= (const fvPatchField< vector > &pvf)
 
 TypeName ("adjointOutletVelocity")
 
 adjointOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 adjointOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 adjointOutletVelocityFvPatchVectorField (const adjointOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 adjointOutletVelocityFvPatchVectorField (const adjointOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 
- Public Member Functions inherited from adjointBoundaryCondition< Type >
 TypeName ("adjointBoundaryCondition")
 
 adjointBoundaryCondition (const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const word &solverName)
 
 adjointBoundaryCondition (const adjointBoundaryCondition< Type > &)
 
virtual ~adjointBoundaryCondition ()=default
 
const wordobjectiveManagerName () const
 
const wordadjointSolverName () const
 
const wordsimulationType () const
 
void setBoundaryContributionPtr ()
 
boundaryAdjointContributiongetBoundaryAdjContribution ()
 
const ATCModelgetATC () const
 
virtual tmp< Field< typename Foam::outerProduct< Foam::vector, Type >::type > > dxdbMult () const
 

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)
 
bool addATCUaGradUTerm ()
 
- Protected Attributes inherited from adjointBoundaryCondition< Type >
const fvPatchpatch_
 
word managerName_
 
word adjointSolverName_
 
word simulationType_
 
autoPtr< boundaryAdjointContributionboundaryContrPtr_
 
autoPtr< booladdATCUaGradUTerm_
 

Detailed Description

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.

Source files

Source files

Definition at line 55 of file adjointOutletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ adjointOutletVelocityFvPatchVectorField() [1/8]

Definition at line 92 of file adjointOutletVelocityFvPatchVectorField.C.

Referenced by adjointOutletVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ adjointOutletVelocityFvPatchVectorField() [2/8]

adjointOutletVelocityFvPatchVectorField ( const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const dictionary dict 
)

Definition at line 118 of file adjointOutletVelocityFvPatchVectorField.C.

References dict, and p.

◆ adjointOutletVelocityFvPatchVectorField() [3/8]

Definition at line 104 of file adjointOutletVelocityFvPatchVectorField.C.

◆ adjointOutletVelocityFvPatchVectorField() [4/8]

Definition at line 136 of file adjointOutletVelocityFvPatchVectorField.C.

◆ adjointOutletVelocityFvPatchVectorField() [5/8]

◆ adjointOutletVelocityFvPatchVectorField() [6/8]

◆ adjointOutletVelocityFvPatchVectorField() [7/8]

◆ adjointOutletVelocityFvPatchVectorField() [8/8]

Member Function Documentation

◆ TypeName() [1/2]

TypeName ( "adjointOutletVelocity"  )

◆ clone() [1/4]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Definition at line 99 of file adjointOutletVelocityFvPatchVectorField.H.

References adjointOutletVelocityFvPatchVectorField::adjointOutletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [2/4]

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual

Definition at line 116 of file adjointOutletVelocityFvPatchVectorField.H.

References adjointOutletVelocityFvPatchVectorField::adjointOutletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ assignable()

virtual bool assignable ( ) const
inlinevirtual

Definition at line 132 of file adjointOutletVelocityFvPatchVectorField.H.

◆ evaluate()

void evaluate ( const Pstream::commsTypes  commsType = Pstream::commsTypes::blocking)
virtual

Definition at line 149 of file adjointOutletVelocityFvPatchVectorField.C.

References fvPatchField::evaluate().

Here is the call graph for this function:

◆ write() [1/2]

void write ( Ostream os) const
virtual

Definition at line 158 of file adjointOutletVelocityFvPatchVectorField.C.

References os(), fvPatchField::write(), and Ostream::writeEntry().

Here is the call graph for this function:

◆ operator=()

void operator= ( const fvPatchField< vector > &  pvf)
virtual

Definition at line 169 of file adjointOutletVelocityFvPatchVectorField.C.

References fvPatchField::operator=(), and Foam::foamVersion::patch.

Here is the call graph for this function:

◆ TypeName() [2/2]

TypeName ( "adjointOutletVelocity"  )

◆ clone() [3/4]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Definition at line 84 of file adjointOutletVelocityFvPatchVectorField.H.

References adjointOutletVelocityFvPatchVectorField::adjointOutletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [4/4]

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual

Definition at line 101 of file adjointOutletVelocityFvPatchVectorField.H.

References adjointOutletVelocityFvPatchVectorField::adjointOutletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ updateCoeffs()

virtual void updateCoeffs ( )
virtual

◆ write() [2/2]

virtual void write ( Ostream ) const
virtual

The documentation for this class was generated from the following files: