43 <<
"Trying to construct an genericFvsPatchField on patch "
61 const label patchSize = this->
size();
65 if (!dict.
found(
"value"))
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 genericFvsPatchField";
153 genericFatalSolveError
155 this->patch().
name(),
156 this->internalField()
172 <<
"Cannot be called for a genericFvsPatchField";
174 genericFatalSolveError
176 this->patch().
name(),
177 this->internalField()
190 <<
"Cannot be called for a genericFvsPatchField";
192 genericFatalSolveError
194 this->patch().
name(),
195 this->internalField()
207 <<
"Cannot be called for a genericFvsPatchField";
209 genericFatalSolveError
211 this->patch().
name(),
212 this->internalField()
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label size() const noexcept
The number of elements in the UList.
Foam::calculatedFvsPatchField.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual const word & name() const
Return name.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const DimensionedField< Type, surfaceMesh > & internalField() const
Return dimensioned internal field reference.
const fvPatch & patch() const
Return patch.
This boundary condition provides a generic version of the calculated condition, useful as a fallback ...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void rmap(const fvsPatchField< Type > &, const labelList &)
Reverse map the given faPatchField onto this faPatchField.
tmp< Field< Type > > gradientInternalCoeffs() const
Fatal.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Fatal.
tmp< Field< Type > > gradientBoundaryCoeffs() const
Fatal.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Fatal.
Generic infrastructure for reading/writing unknown patch types.
void writeGeneric(Ostream &os, const bool separateValue) const
void reportMissingEntry(const word &entryName, const word &patchName, const IOobject &io) const
FatalError for missing entry.
void processGeneric(const label patchSize, const word &patchName, const IOobject &io, const bool separateValue)
void mapGeneric(const genericPatchFieldBase &rhs, const MapperType &mapper)
Implementation for construct with mapper.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
errorManip< error > abort(error &err)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A non-counting (dummy) refCount.