42 fixedValueFvPatchVectorField(
p, iF),
56 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
69 fixedValueFvPatchVectorField(
p, iF),
83 fixedValueFvPatchVectorField(pivpvf, iF),
100 const fvsPatchField<scalar>& phip = boundaryContrPtr_->phib();
115 tmp<vectorField> tsourceVelocity =
116 boundaryContrPtr_->tangentVelocitySource();
117 vectorField& sourceVelocity = tsourceVelocity.ref();
120 tmp<vectorField> tsourcePressure =
121 boundaryContrPtr_->normalVelocitySource();
122 vectorField& sourcePressure = tsourcePressure.ref();
125 tmp<scalarField> tmomentumDiffusion =
126 boundaryContrPtr_->momentumDiffusion();
127 scalarField& momentumDiffusion = tmomentumDiffusion.ref();
134 -
neg(phip)*sourcePressure
138 *((Uac&nf)*nf + (Uac_t*(momentumDiffusion*
delta) - sourceVelocity)/denom)
141 fixedValueFvPatchVectorField::updateCoeffs();
186 os.writeEntry(
"solverName", adjointSolverName_);
198 adjointFarFieldVelocityFvPatchVectorField
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
@ MUST_READ
Reading required.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
autoPtr< boundaryAdjointContribution > boundaryContrPtr_
virtual void write(Ostream &) const
Write.
virtual tmp< Field< vector > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the evaluation of the value of this patchField...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
adjointFarFieldVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual tmp< Field< vector > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the evaluation of the value of this patchFie...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
A traits class, which is primarily used for primitives and vector-space.
A class for managing temporary objects.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
dimensionedScalar pos(const dimensionedScalar &ds)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< vector > vectorField
Specialisation of Field<T> for vector.
dimensionedScalar neg(const dimensionedScalar &ds)
adjointBoundaryCondition< vector > adjointVectorBoundaryCondition
fvPatchField< vector > fvPatchVectorField