91 const fvPatch& p = this->patch();
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<GeometricField<Type, pointPatchField, pointMesh>>
106 this->operator[](i) = pp[i].average(points, pointMotion);
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...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Foam::cellMotionFvPatchField.
virtual const pointField & points() const
Return raw points.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for handling words, derived from string.
const polyPatch & patch() const
Return the polyPatch.
Foam::fvPatchFieldMapper.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
string & replace(const string &oldStr, const string &newStr, size_type start=0)
In this string replace first occurrence of sub-string oldStr.
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.