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 fvPatchField<Type>::writeValueEntry(
os);
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Foam::cellMotionFvPatchField.
#define forAll(list, i)
Loop across all elements in list.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
virtual void write(Ostream &) const
Write.
vectorField pointField
pointField is a vectorField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A FieldMapper for finite-volume patch fields.
OBJstream os(runTime.globalPath()/outputName)
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...
const std::string patch
OpenFOAM patch number as a std::string.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())