54 if (!isType<symmetryFvPatch>(
p))
57 <<
"patch " << this->
patch().
index() <<
" not symmetry type. " 58 <<
"Patch type = " << p.type()
67 const symmetryFvsPatchField<Type>& ptf,
69 const DimensionedField<Type, surfaceMesh>& iF,
70 const fvPatchFieldMapper& mapper
73 fvsPatchField<Type>(ptf,
p, iF, mapper)
75 if (!isType<symmetryFvPatch>(this->
patch()))
78 <<
"Field type does not correspond to patch type for patch " 81 <<
"Patch type: " << this->
patch().type()
90 const symmetryFvsPatchField<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.
This boundary condition enforces a symmetry constraint.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
virtual void write(Ostream &os) const
Write the patch "type".
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
virtual void write(Ostream &) const
Write includes "value" entry.
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...
symmetryFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
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 ...