36void Foam::adjointOutletVelocityFvPatchVectorField::assignBoundaryValue()
39 tmp<vectorField> tnf(
patch().nf());
63 tmp<scalarField> tmomentumDiffusion
67 const scalarField& momentumDiffusion = tmomentumDiffusion();
70 const word& fieldName = internalField().name();
80 explDiffusiveFlux - (explDiffusiveFlux & nf)*nf
89 vectorField Uat((nd*Uac_t - explDiffusiveFlux_t - source)/denom);
104 fixedValueFvPatchVectorField(
p, iF),
118 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
131 fixedValueFvPatchVectorField(
p, iF),
145 fixedValueFvPatchVectorField(pivpvf, iF),
157 assignBoundaryValue();
172void Foam::adjointOutletVelocityFvPatchVectorField::operator=
188 adjointOutletVelocityFvPatchVectorField
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...
@ MUST_READ
Reading required.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static const SphericalTensor oneThirdI
commsTypes
Communications types.
autoPtr< boundaryAdjointContribution > boundaryContrPtr_
tmp< Field< typename Foam::outerProduct< Foam::vector, Type2 >::type > > computePatchGrad(word name)
Provides the adjoint outlet velocity values (i.e. adjoint velocity in case of a zeroGradient U bounda...
virtual void write(Ostream &) const
Write.
adjointOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void operator=(const UList< Type > &)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
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,...
const std::string patch
OpenFOAM patch number as a std::string.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Field< vector > vectorField
Specialisation of Field<T> for vector.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
adjointBoundaryCondition< vector > adjointVectorBoundaryCondition
fvPatchField< vector > fvPatchVectorField