34void Foam::pressurePIDControlInletVelocityFvPatchVectorField::faceZoneAverage
37 const GeometricField<Type, fvsPatchField, surfaceMesh>&
field,
53 const label
f(zone[faceI]);
62 else if (isMasterFace[
f])
74 reduce(area, sumOp<scalar>());
const Boundary & boundaryField() const
Return const-reference to the boundary field.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
const labelList & patchID() const
Per boundary face label the patch index.
const faceZoneMesh & faceZones() const noexcept
Return face zone mesh.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
bool isInternalFace(const label faceIndex) const noexcept
Return true if given face label is internal to the mesh.
label nInternalFaces() const noexcept
Number of internal faces.
const wordList area
Standard area field types (scalar, vector, tensor, etc)
const std::string patch
OpenFOAM patch number as a std::string.
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
void reduce(const List< UPstream::commsStruct > &comms, T &value, const BinaryOp &bop, const int tag, const label comm)
static constexpr const zero Zero
Global zero (0)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define forAll(list, i)
Loop across all elements in list.