42 fixedValueFvPatchVectorField(
p, iF),
56 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
69 fixedValueFvPatchVectorField(
p, iF),
72 this->readValueEntry(
dict, IOobjectOption::MUST_READ);
83 fixedValueFvPatchVectorField(pivpvf, iF),
115 tmp<vectorField> tsourceVelocity =
117 vectorField& sourceVelocity = tsourceVelocity.ref();
120 tmp<vectorField> tsourcePressure =
122 vectorField& sourcePressure = tsourcePressure.ref();
125 tmp<scalarField> tmomentumDiffusion =
127 scalarField& momentumDiffusion = tmomentumDiffusion.ref();
134 -
neg(phip)*sourcePressure
138 *((Uac&nf)*nf + (Uac_t*(momentumDiffusion*
delta) - sourceVelocity)/denom)
141 fixedValueFvPatchVectorField::updateCoeffs();
198 adjointFarFieldVelocityFvPatchVectorField
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
virtual tmp< Field< vector > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the evaluation of the value of this patchField...
fvPatchField< vector > fvPatchVectorField
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A traits class, which is primarily used for primitives and vector-space.
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.
virtual void write(Ostream &) const
Write.
dimensionedScalar neg(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
adjointFarFieldVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
dimensionedScalar pos(const dimensionedScalar &ds)
virtual tmp< Field< vector > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the evaluation of the value of this patchFie...
autoPtr< boundaryAdjointContribution > boundaryContrPtr_
Engine to manage contributions of the objective functions to the adjoint boundary conditions...
A class for handling words, derived from Foam::string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Base class for solution control classes.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
Field< vector > vectorField
Specialisation of Field<T> for vector.
virtual void write(Ostream &) const
Write.
A class for managing temporary objects.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.