37Foam::adjointOutletVelocityFluxFvPatchVectorField::
38adjointOutletVelocityFluxFvPatchVectorField
44 fixedValueFvPatchVectorField(
p, iF),
49Foam::adjointOutletVelocityFluxFvPatchVectorField::
50adjointOutletVelocityFluxFvPatchVectorField
58 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
63Foam::adjointOutletVelocityFluxFvPatchVectorField::
64adjointOutletVelocityFluxFvPatchVectorField
71 fixedValueFvPatchVectorField(
p, iF),
81Foam::adjointOutletVelocityFluxFvPatchVectorField::
82adjointOutletVelocityFluxFvPatchVectorField
88 fixedValueFvPatchVectorField(pivpvf, iF),
103 "adjointOutletVelocityFluxFvPatchVectorField::manipulateMatrix"
110 const vectorField& velocitySource = tvelocitySource();
112 const word& fieldName = internalField().name();
117 tmp<scalarField> tmomentumDiffusion(boundaryContrPtr_->momentumDiffusion());
118 const scalarField& momentumDiffusion = tmomentumDiffusion();
143 + explDiffusiveFlux[fI]
144 - velocitySource[fI]*magSf[fI];
165 fixedValueFvPatchVectorField::updateCoeffs();
211 writeEntry(
"value",
os);
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
static const SphericalTensor oneThirdI
void size(const label n)
Older name for setAddressableSize.
Base class for solution control classes.
An outlet boundary condition for patches in which the primal flow exhibits recirculation....
virtual tmp< Field< vector > > gradientBoundaryCoeffs() const
virtual tmp< Field< vector > > valueBoundaryCoeffs(const tmp< scalarField > &) const
virtual void manipulateMatrix(fvMatrix< vector > &matrix)
add source term in the first cells off the wall due to adjoint WF
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual tmp< Field< vector > > gradientInternalCoeffs() const
virtual tmp< Field< vector > > valueInternalCoeffs(const tmp< scalarField > &) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
friend Ostream & operator(Ostream &, const faMatrix< Type > &)
Smooth ATC in cells next to a set of patches supplied by type.
virtual bool write()
Write the output fields.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Field< Type > & source() noexcept
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 operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Field< vector > vectorField
Specialisation of Field<T> for vector.
static constexpr const zero Zero
Global zero (0)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
#define addProfiling(name, descr)
Define profiling trigger with specified name and description string.
#define forAll(list, i)
Loop across all elements in list.