Go to the documentation of this file.
103 const fvPatch&
p = this->
patch();
104 const polyPatch& pp =
p.patch();
105 const fvMesh&
mesh = this->internalField().mesh();
108 word pfName = this->internalField().name();
109 pfName.replace(
"cell",
"point");
111 const GeometricField<Type, pointPatchField, pointMesh>& pointMotion =
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);
string & replace(const std::string &s1, const std::string &s2, size_type pos=0)
vectorField pointField
pointField is a vectorField.
A class for handling words, derived from Foam::string.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
Foam::cellMotionFvPatchField.
Generic templated field type.
A patch is a list of labels that address the faces in the global face list.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void write(Ostream &) const
OBJstream os(runTime.globalPath()/outputName)
Mesh data needed to do the Finite Volume discretisation.
cellMotionFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
virtual void updateCoeffs()
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...