Go to the documentation of this file.
110 public functionObjectFile
188 const word& faceZoneName,
198 const word& faceZoneName,
210 const word& cellZoneName,
253 const bool loadFromFiles =
false
282 virtual void write();
List< word > faceZoneName_
Region names.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
A class for handling words, derived from string.
const objectRegistry & obr_
Reference to the database.
void operator=(const fluxSummary &)
Disallow default bitwise assignment.
This function object calculates the flux across selections of faces.
word name_
Name of function object.
TypeName("fluxSummary")
Runtime type information.
Mesh consisting of general polyhedral cells.
word phiName_
Name of flux field, default = phi.
Registry of regIOobjects.
void initialiseFaceArea()
Initialise the total area per derived faceZone.
virtual void execute()
Execute, currently does nothing.
scalar scaleFactor_
Scale factor.
List< List< scalar > > faceSign_
Face flip map signs.
List< List< label > > facePatchID_
Face patch IDs.
virtual void end()
Execute at the final time-loop, currently does nothing.
void initialiseCellZoneAndDirection(const word &cellZoneName, const vector &refDir, DynamicList< vector > &dir, DynamicList< word > &faceZoneNames, DynamicList< List< label > > &faceID, DynamicList< List< label > > &facePatchID, DynamicList< List< scalar > > &faceSign) const
Initialise face set from cell zone and direction.
modeType mode_
Mode for face determination.
scalar tolerance_
Tolerance applied when matching face normals.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
void initialiseFaceZone(const word &faceZoneName, DynamicList< word > &faceZoneNames, DynamicList< List< label > > &faceID, DynamicList< List< label > > &facePatchID, DynamicList< List< scalar > > &faceSign) const
Initialise face set from face zone.
virtual void read(const dictionary &)
Read the field min/max data.
Switch log_
Switch to send output to Info as well.
List< vector > refDir_
Reference direction.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
A list of keyword definitions, which are a keyword followed by any number of values (e....
fluxSummary(const fluxSummary &)
Disallow default bitwise copy construct.
virtual ~fluxSummary()
Destructor.
virtual const word & name() const
Return name of the set of field min/max.
PtrList< OFstream > filePtrs_
Output file per face zone.
List< scalar > faceArea_
Sum of face areas.
virtual void writeFileHeader(const word &fzName, const scalar area, const vector &refDir, Ostream &os) const
Output file header information.
Base class for output file data handling.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void write()
Write the fluxSummary.
List< List< label > > faceID_
Face IDs.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static const NamedEnum< modeType, 3 > modeTypeNames_
Mode type names.
void initialiseFaceZoneAndDirection(const word &faceZoneName, const vector &refDir, DynamicList< vector > &dir, DynamicList< word > &faceZoneNames, DynamicList< List< label > > &faceID, DynamicList< List< label > > &facePatchID, DynamicList< List< scalar > > &faceSign) const
Initialise face set from face zone and direction.
virtual void movePoints(const polyMesh &)
Update for changes of mesh.
bool active_
on/off switch