56 if (!isType<wedgeFvPatch>(
p))
61 ) <<
"\n patch type '" <<
p.type()
62 <<
"' not constraint type '" <<
typeName <<
"'"
63 <<
"\n for patch " <<
p.name()
84 if (!isType<wedgeFvPatch>(this->
patch()))
87 <<
"' not constraint type '" <<
typeName <<
"'"
88 <<
"\n for patch " << p.
name()
116 transform(refCast<const wedgeFvPatch>(this->patch()).cellT(), pif) - pif
117 )*(0.5*this->patch().deltaCoeffs());
124 if (!this->updated())
126 this->updateCoeffs();
133 refCast<const wedgeFvPatch>(this->patch()).faceT(),
134 this->patchInternalField()
146 0.5*
diag(
I - refCast<const wedgeFvPatch>(this->patch()).cellT())
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
static const char *const typeName
commsTypes
Types of communications.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const DimensionedField< Type, volMesh > & internalField() const
Return dimensioned internal field reference.
const fvPatch & patch() const
Return patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual const word & name() const
Return name.
Traits class for primitives.
A class for managing temporary objects.
This boundary condition is similar to the cyclic condition, except that it is applied to 2-D geometri...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
wedgeFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
static const Identity< scalar > I
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
dimensionSet transform(const dimensionSet &)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.