Go to the documentation of this file.
44 fixedValueFvPatchVectorField(
p, iF),
58 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
71 fixedValueFvPatchVectorField(
p, iF),
88 fixedValueFvPatchVectorField(pivpvf, iF),
105 const vectorField& velocitySource = tvelocitySource();
107 const word& fieldName = internalField().name();
112 tmp<scalarField> tmomentumDiffusion(boundaryContrPtr_->momentumDiffusion());
113 const scalarField& momentumDiffusion = tmomentumDiffusion();
138 + explDiffusiveFlux[fI]
139 - velocitySource[fI]*magSf[fI];
160 fixedValueFvPatchVectorField::updateCoeffs();
206 writeEntry(
"value",
os);
213 void Foam::adjointOutletVelocityFluxFvPatchVectorField::operator=
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
A class for handling words, derived from Foam::string.
virtual tmp< Field< vector > > valueInternalCoeffs(const tmp< scalarField > &) const
adjointOutletVelocityFluxFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
virtual void write(Ostream &) const
Write.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
autoPtr< boundaryAdjointContribution > boundaryContrPtr_
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
#define forAll(list, i)
Loop across all elements in list.
Field< vector > vectorField
Specialisation of Field<T> for vector.
static const sphericalTensor oneThirdI(1.0/3.0)
virtual tmp< Field< vector > > valueBoundaryCoeffs(const tmp< scalarField > &) const
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
word adjointSolverName_
adjointSolver name corresponding to field
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< Field< vector > > gradientBoundaryCoeffs() const
An outlet boundary condition for patches in which the primal flow exhibits recirculation....
virtual void manipulateMatrix(fvMatrix< vector > &matrix)
add source term in the first cells off the wall due to adjoint WF
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
adjointBoundaryCondition< vector > adjointVectorBoundaryCondition
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
const std::string patch
OpenFOAM patch number as a std::string.
virtual tmp< Field< vector > > gradientInternalCoeffs() const
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Foam::fvPatchFieldMapper.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void operator=(const UList< Type > &)
Smooth ATC in cells next to a set of patches supplied by type.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...