Go to the documentation of this file.
115 *(this->patchNeighbourField() - this->patchInternalField());
122 if (!this->updated())
124 this->updateCoeffs();
132 if (!this->updated())
134 this->updateCoeffs();
139 this->patch().weights()*this->patchInternalField()
140 + (1.0 - this->patch().weights())*this->patchNeighbourField()
196 return -this->gradientInternalCoeffs(deltaCoeffs);
205 return -this->gradientInternalCoeffs();
213 this->writeEntry(
"value", os);
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
coupledFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void evaluate(const Pstream::commsTypes commsType)
Evaluate the patch field.
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
A list of keyword definitions, which are a keyword followed by any number of values (e....
commsTypes
Types of communications.
Abstract base class for coupled patches.
Traits class for primitives.
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual void write(Ostream &) const
Write.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...