56 if (!isType<emptyFvPatch>(
p))
59 <<
"\n patch type '" <<
p.type()
60 <<
"' not constraint type '" <<
typeName <<
"'" 61 <<
"\n for patch " <<
p.name()
73 const DimensionedField<Type, volMesh>& iF,
74 const dictionary&
dict 77 fvPatchField<Type>(
p, iF, Field<Type>())
82 if (!isType<emptyFvPatch>(
p))
85 <<
"\n patch type '" <<
p.type()
86 <<
"' not constraint type '" <<
typeName <<
"'" 87 <<
"\n for patch " <<
p.name()
98 const emptyFvPatchField<Type>& ptf,
99 const DimensionedField<Type, volMesh>& 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...
#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...
virtual void write(Ostream &) const
Write.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
#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 constitute solution directions.
virtual void write(Ostream &) const
Write without "value" entry!
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...