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);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Foam::cellMotionFvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
virtual bool write()
Write the output fields.
Mesh data needed to do the Finite Volume discretisation.
A FieldMapper for finite-volume patch fields.
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 std::string &s1, const std::string &s2, size_type pos=0)
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define forAll(list, i)
Loop across all elements in list.