Loading...
Searching...
No Matches
adjointOutletPressureFvPatchScalarField Class Reference

#include <adjointOutletPressureFvPatchScalarField.H>

Inheritance diagram for adjointOutletPressureFvPatchScalarField:
Collaboration diagram for adjointOutletPressureFvPatchScalarField:

Public Member Functions

 TypeName ("adjointOutletPressure")
 Runtime type information.
 adjointOutletPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 adjointOutletPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 adjointOutletPressureFvPatchScalarField (const adjointOutletPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given adjointOutletPressureFvPatchScalarField- onto a new patch.
 adjointOutletPressureFvPatchScalarField (const adjointOutletPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< scalar > > clone () const
 Return a clone.
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, 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.
 TypeName ("adjointOutletPressure")
 Runtime type information.
 adjointOutletPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 adjointOutletPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 adjointOutletPressureFvPatchScalarField (const adjointOutletPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given adjointOutletPressureFvPatchScalarField.
 adjointOutletPressureFvPatchScalarField (const adjointOutletPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< scalar > > clone () const
 Return a clone.
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, 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< scalar >
 TypeName ("adjointBoundaryCondition")
 Run-time type information.
 adjointBoundaryCondition (const fvPatch &p, const DimensionedField< scalar, volMesh > &iF, const word &solverName)
 Construct from field and base name.
 adjointBoundaryCondition (const adjointBoundaryCondition< scalar > &)
 Construct as copy.
virtual ~adjointBoundaryCondition ()=default
 Destructor.
const wordobjectiveManagerName () const
 Return objectiveManager name.
const wordadjointSolverName () const
 Return adjointSolverName.
const wordsimulationType () const
 Return the simulationType.
void setBoundaryContributionPtr ()
 Set the ptr to the correct boundaryAdjointContribution.
boundaryAdjointContributiongetBoundaryAdjContribution ()
 Get boundaryContribution.
const ATCModelgetATC () const
 ATC type might be useful for a number of BCs. Return here.
virtual tmp< Field< typename Foam::outerProduct< Foam::vector, scalar >::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< scalar >
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< scalar >
const fvPatchpatch_
 Reference to patch.
word managerName_
 objectiveManager name corresponding to field
word adjointSolverName_
 adjointSolver name corresponding to field
word simulationType_
 simulationType corresponding to field.
autoPtr< boundaryAdjointContributionboundaryContrPtr_
 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.

Detailed Description

Constructor & Destructor Documentation

◆ adjointOutletPressureFvPatchScalarField() [1/8]

adjointOutletPressureFvPatchScalarField ( const fvPatch & p,
const DimensionedField< scalar, volMesh > & iF )

Construct from patch and internal field.

Definition at line 33 of file adjointOutletPressureFvPatchScalarField.C.

References p.

Referenced by adjointOutletPressureFvPatchScalarField(), adjointOutletPressureFvPatchScalarField(), and TypeName().

Here is the caller graph for this function:

◆ adjointOutletPressureFvPatchScalarField() [2/8]

adjointOutletPressureFvPatchScalarField ( const fvPatch & p,
const DimensionedField< scalar, volMesh > & iF,
const dictionary & dict )

Construct from patch, internal field and dictionary.

Definition at line 59 of file adjointOutletPressureFvPatchScalarField.C.

References dict, IOobjectOption::MUST_READ, and p.

◆ adjointOutletPressureFvPatchScalarField() [3/8]

adjointOutletPressureFvPatchScalarField ( const adjointOutletPressureFvPatchScalarField & ptf,
const fvPatch & p,
const DimensionedField< scalar, volMesh > & iF,
const fvPatchFieldMapper & mapper )

Construct by mapping given adjointOutletPressureFvPatchScalarField- onto a new patch.

Definition at line 45 of file adjointOutletPressureFvPatchScalarField.C.

References adjointOutletPressureFvPatchScalarField(), adjointBoundaryCondition< scalar >::adjointSolverName_, and p.

Here is the call graph for this function:

◆ adjointOutletPressureFvPatchScalarField() [4/8]

adjointOutletPressureFvPatchScalarField ( const adjointOutletPressureFvPatchScalarField & tppsf,
const DimensionedField< scalar, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 74 of file adjointOutletPressureFvPatchScalarField.C.

References adjointOutletPressureFvPatchScalarField().

Here is the call graph for this function:

◆ adjointOutletPressureFvPatchScalarField() [5/8]

adjointOutletPressureFvPatchScalarField ( const fvPatch & ,
const DimensionedField< scalar, volMesh > &  )

Construct from patch and internal field.

◆ adjointOutletPressureFvPatchScalarField() [6/8]

adjointOutletPressureFvPatchScalarField ( const fvPatch & ,
const DimensionedField< scalar, volMesh > & ,
const dictionary &  )

Construct from patch, internal field and dictionary.

◆ adjointOutletPressureFvPatchScalarField() [7/8]

adjointOutletPressureFvPatchScalarField ( const adjointOutletPressureFvPatchScalarField & ,
const fvPatch & ,
const DimensionedField< scalar, volMesh > & ,
const fvPatchFieldMapper &  )

Construct by mapping given adjointOutletPressureFvPatchScalarField.

onto a new patch

References adjointOutletPressureFvPatchScalarField().

Here is the call graph for this function:

◆ adjointOutletPressureFvPatchScalarField() [8/8]

adjointOutletPressureFvPatchScalarField ( const adjointOutletPressureFvPatchScalarField & ,
const DimensionedField< scalar, volMesh > &  )

Construct as copy setting internal field reference.

References adjointOutletPressureFvPatchScalarField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName() [1/2]

TypeName ( "adjointOutletPressure" )

Runtime type information.

References adjointOutletPressureFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/4]

virtual tmp< fvPatchField< scalar > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 108 of file adjointOutletPressureFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/4]

virtual tmp< fvPatchField< scalar > > clone ( const DimensionedField< scalar, volMesh > & iF) const
inlinevirtual

Clone with an internal field reference.

Definition at line 116 of file adjointOutletPressureFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ updateCoeffs() [1/2]

◆ write() [1/2]

void write ( Ostream & os) const
virtual

◆ TypeName() [2/2]

TypeName ( "adjointOutletPressure" )

Runtime type information.

◆ clone() [3/4]

virtual tmp< fvPatchField< scalar > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 104 of file adjointOutletPressureFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [4/4]

virtual tmp< fvPatchField< scalar > > clone ( const DimensionedField< scalar, volMesh > & iF) const
inlinevirtual

Clone with an internal field reference.

Definition at line 112 of file adjointOutletPressureFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ updateCoeffs() [2/2]

virtual void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

◆ write() [2/2]

virtual void write ( Ostream & ) const
virtual

Write.


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