52 const this_bctype& ptf,
58 parent_bctype(ptf,
p, iF, mapper),
74 this->readValueEntry(
dict, IOobjectOption::MUST_READ);
81 const this_bctype& ptf,
85 parent_bctype(ptf, iF),
105 this->parent_bctype::updateCoeffs();
132 os.
writeEntry(
"solverName", adjointSolverName_);
144 adjointInletVelocityFvPatchVectorField
fvPatchField< vector > fvPatchVectorField
virtual void updateCoeffs()
Add explicit sink to zero adjoint velocity tangential motion at the cells next to the inlet...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A traits class, which is primarily used for primitives and vector-space.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
adjointInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &) const
Write.
autoPtr< boundaryAdjointContribution > boundaryContrPtr_
Engine to manage contributions of the objective functions to the adjoint boundary conditions...
constexpr T & get(FixedList< T, N > &list) noexcept
A class for handling words, derived from Foam::string.
A FieldMapper for finite-volume patch fields.
virtual tmp< Field< vector > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the evaluation of the value of this patchFie...
virtual tmp< Field< vector > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the evaluation of the value of this patchField...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Base class for solution control classes.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Field< vector > vectorField
Specialisation of Field<T> for vector.
A class for managing temporary objects.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
static constexpr const zero Zero
Global zero (0)