Go to the documentation of this file.
83 const word& sampleRegion,
85 const word& samplePatch,
89 const word& fieldName,
90 const bool setAverage,
92 const word& interpolationScheme
150 mappedPatchBase::clearOut();
162 mappedPatchBase::clearOut();
178 Info<<
"operating on field:" << this->internalField().name()
179 <<
" patch:" << this->
patch().name()
181 <<
" min:" <<
gMin(*
this)
182 <<
" max:" <<
gMax(*
this)
196 this->writeEntry(
"value",
os);
int debug
Static debugging option.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A class for handling words, derived from Foam::string.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Type gAverage(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
tmp< GeometricField< Type, faPatchField, areaMesh > > average(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Area-weighted average a edgeField creating a areaField.
messageStream Info
Information stream (stdout output on master, null elsewhere)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Functionality for sampling fields using mappedPatchBase. Every call to mappedField() returns a sample...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
scalar distance(const vector &p1, const vector &p2)
This boundary condition provides a self-contained version of the mapped condition....
const std::string patch
OpenFOAM patch number as a std::string.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Foam::fvPatchFieldMapper.
virtual void write(Ostream &) const
Write.
const fvPatch & patch() const
Return patch.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Type gMin(const FieldField< Field, Type > &f)
mappedFieldFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
sampleMode
Mesh items to sample.
Type gMax(const FieldField< Field, Type > &f)
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...