55 if (!isType<emptyFvPatch>(
p))
58 <<
"\n patch type '" <<
p.type()
59 <<
"' not constraint type '" <<
typeName <<
"'" 60 <<
"\n for patch " <<
p.name()
72 const DimensionedField<Type, volMesh>& iF,
73 const dictionary&
dict 76 fvPatchField<Type>(
p, iF, Field<Type>(0))
78 if (!isType<emptyFvPatch>(
p))
81 <<
"\n patch type '" <<
p.type()
82 <<
"' not constraint type '" <<
typeName <<
"'" 83 <<
"\n for patch " <<
p.name()
94 const emptyFvPatchField<Type>& ptf
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...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
static const char *const typeName
Typename for Field.
Generic templated field type.
emptyFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A FieldMapper for finite-volume patch fields.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const DimensionedField< Type, volMesh > & internalField() const noexcept
Return const-reference to the dimensioned internal field.
const std::string patch
OpenFOAM patch number as a std::string.
This boundary condition provides an 'empty' condition for reduced dimensions cases, i.e. 1- and 2-D geometries. Apply this condition to patches whose normal is aligned to geometric directions that do not constitue solution directions.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...