Go to the documentation of this file.
59 if (!isType<wedgeFvPatch>(this->
patch()))
62 <<
"' not constraint type '" << typeName <<
"'"
63 <<
"\n for patch " <<
p.name()
64 <<
" of field " << this->internalField().name()
65 <<
" in file " << this->internalField().objectPath()
81 if (!isType<wedgeFvPatch>(
p))
84 <<
"\n patch type '" <<
p.type()
85 <<
"' not constraint type '" << typeName <<
"'"
86 <<
"\n for patch " <<
p.name()
87 <<
" of field " << this->internalField().name()
88 <<
" in file " << this->internalField().objectPath()
126 transform(refCast<const wedgeFvPatch>(this->
patch()).cellT(), pif) - pif
127 )*(0.5*this->
patch().deltaCoeffs());
134 if (!this->updated())
136 this->updateCoeffs();
143 refCast<const wedgeFvPatch>(this->
patch()).faceT(),
144 this->patchInternalField()
155 0.5*
diag(
I - refCast<const wedgeFvPatch>(this->
patch()).cellT());
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A class for managing temporary objects.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
This boundary condition is similar to the cyclic condition, except that it is applied to 2-D geometri...
Generic templated field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
commsTypes
Types of communications.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const std::string patch
OpenFOAM patch number as a std::string.
A traits class, which is primarily used for primitives.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Foam::fvPatchFieldMapper.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
static const Identity< scalar > I
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
wedgeFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)
String evaluation with specified (positive, non-zero) field width.