Go to the documentation of this file.
56 if (!isType<emptyFaPatch>(
p))
59 <<
"\n patch type '" <<
p.type()
60 <<
"' not constraint type '" << typeName <<
"'"
61 <<
"\n for patch " <<
p.name()
62 <<
" of field " << this->internalField().name()
63 <<
" in file " << this->internalField().objectPath()
79 if (!isA<emptyFaPatch>(
p))
82 <<
"\n patch type '" <<
p.type()
83 <<
"' not constraint type '" << typeName <<
"'"
84 <<
"\n for patch " <<
p.name()
85 <<
" of field " << this->internalField().name()
86 <<
" in file " << this->internalField().objectPath()
123 if (this->internalField().
mesh().nFaces())
127 this->
patch().faPatch::size()
128 % this->internalField().
mesh().nFaces()
132 <<
"This mesh contains patches of type empty but is "
133 <<
"not 1D or 2D by virtue of the fact that the number of "
134 <<
"faces of this empty patch is not divisible by the number "
const DimensionedField< Type, areaMesh > & internalField() const
Return dimensioned internal field reference.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
void updateCoeffs()
Update the coefficients associated with the patch field.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Generic templated field type.
emptyFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
Construct from patch and internal field.
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)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const std::string patch
OpenFOAM patch number as a std::string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
const faPatch & patch() const
Return patch.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...