93 const fvMesh& mesh = this->internalField().
mesh();
96 word pfName = this->internalField().name();
97 pfName.
replace(
"cell",
"point");
100 this->db().objectRegistry::template
101 lookupObject<PointField<Type>>
106 this->operator[](i) = pp[i].average(
points, pointMotion);
#define forAll(list, i)
Loop across all elements in list.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Foam::cellMotionFvPatchField.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
cellMotionFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
Mesh data needed to do the Finite Volume discretisation.
const polyMesh & mesh() const
Return reference to polyMesh.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual const pointField & points() const
Return raw points.
A patch is a list of labels that address the faces in the global face list.
string & replace(const string &oldStr, const string &newStr, size_type start=0)
In this string replace first occurrence of sub-string oldStr.
A class for handling words, derived from string.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)