103 const fvPatch& p = this->patch();
105 const fvMesh&
mesh = this->internalField().mesh();
108 word pfName = this->internalField().name();
109 pfName.
replace(
"cell",
"point");
112 this->db().objectRegistry::template
113 lookupObject<GeometricField<Type, pointPatchField, pointMesh>>
118 this->operator[](i) = pp[i].average(points, pointMotion);
129 this->writeEntry(
"value", os);
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void size(const label)
Override size to be inconsistent with allocated storage.
virtual void write(Ostream &) const
Write.
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...
Generic GeometricField class.
Foam::cellMotionFvPatchField.
const polyPatch & patch() const
Return the polyPatch.
virtual const pointField & points() const
Return raw points.
Pre-declare SubField and related Field type.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
string & replace(const string &oldStr, const string &newStr, size_type start=0)
Replace first occurence of sub-string oldStr with newStr.
Mesh data needed to do the Finite Volume discretisation.
cellMotionFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A patch is a list of labels that address the faces in the global face list.