54 if (!isType<wedgeFvPatch>(
p))
57 <<
"patch " << this->
patch().
index() <<
" not wedge type. " 58 <<
"Patch type = " << p.type()
67 const wedgeFvsPatchField<Type>& ptf,
69 const DimensionedField<Type, surfaceMesh>& iF,
70 const fvPatchFieldMapper& mapper
73 fvsPatchField<Type>(ptf,
p, iF, mapper)
75 if (!isType<wedgeFvPatch>(this->
patch()))
78 <<
"Field type does not correspond to patch type for patch " 81 <<
"Patch type: " << this->
patch().type()
90 const wedgeFvsPatchField<Type>& ptf,
91 const DimensionedField<Type, surfaceMesh>& iF
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const fvPatch & patch() const noexcept
Return the patch.
static const char *const typeName
Typename for Field.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
wedgeFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
OBJstream os(runTime.globalPath()/outputName)
virtual void write(Ostream &) const
Write includes "value" entry.
virtual void write(Ostream &os) const
Write the patch "type".
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
A simple container of IOobject preferences. Can also be used for general handling of read/no-read/rea...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This boundary condition is similar to the cyclic condition, except that it is applied to 2-D geometri...
label index() const noexcept
The index of this patch in the boundary mesh.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...