Go to the documentation of this file.
44 <<
"Trying to construct an genericFvPatchField on patch "
45 << this->
patch().name()
46 <<
" of field " << this->internalField().name()
62 const label patchSize = this->size();
63 const word& patchName = this->
patch().name();
64 const IOobject& io = this->internalField();
66 if (!
dict.found(
"value"))
68 reportMissingEntry(
"value", patchName, io);
72 processGeneric(patchSize, patchName, io,
true);
88 this->mapGeneric(rhs, mapper);
110 genericPatchFieldBase::writeGeneric(
os,
true);
111 this->writeEntry(
"value",
os);
121 parent_bctype::autoMap(m);
122 this->autoMapGeneric(m);
133 parent_bctype::rmap(rhs, addr);
135 const auto* base = isA<genericPatchFieldBase>(rhs);
138 this->rmapGeneric(*base, addr);
151 <<
"Cannot be called for a genericFvPatchField";
153 genericFatalSolveError
156 this->internalField()
172 <<
"Cannot be called for a genericFvPatchField";
174 genericFatalSolveError
177 this->internalField()
190 <<
"Cannot be called for a genericFvPatchField";
192 genericFatalSolveError
195 this->internalField()
207 <<
"Cannot be called for a genericFvPatchField";
209 genericFatalSolveError
212 this->internalField()
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
This boundary condition provides a generic version of the calculated condition, useful as a fallback ...
tmp< Field< Type > > gradientInternalCoeffs() const
Fatal.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
genericFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A class for handling words, derived from Foam::string.
Generic infrastructure for reading/writing unknown patch types.
A class for managing temporary objects.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void write(Ostream &) const
Write.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
errorManip< error > abort(error &err)
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Fatal.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
tmp< Field< Type > > gradientBoundaryCoeffs() const
Fatal.
const std::string patch
OpenFOAM patch number as a std::string.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Fatal.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Foam::fvPatchFieldMapper.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...