Go to the documentation of this file.
73 #ifndef valueAverage_H
74 #define valueAverage_H
98 public functionObjectState,
99 public functionObjectFile
106 const objectRegistry&
obr_;
134 const word& meanName,
161 const bool loadFromFiles =
false
183 virtual void write();
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
Base class for function objects, adding functionality to read/write state information (data required ...
const objectRegistry & obr_
Reference to the database.
TypeName("valueAverage")
Runtime type information.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Switch resetOnRestart_
Reset the averaging process on restart flag.
void calc(const word &fieldName, const word &meanName, const scalar alpha, const scalar beta, bool &processed)
Templated function to calculate the average.
virtual void read(const dictionary &)
Read the field min/max data.
Switch log_
Switch to send output to Info as well.
List< scalar > totalTime_
Average time per field.
Mesh consisting of general polyhedral cells.
List< word > wordList
A List of words.
Registry of regIOobjects.
virtual void writeFileHeader(Ostream &os) const
Output file header information.
virtual void write()
Write the fieldMinMax.
valueAverage(const valueAverage &)
Disallow default bitwise copy construct.
wordList fieldNames_
List of fields on which to operate.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
virtual void execute()
Execute, currently does nothing.
virtual ~valueAverage()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
const scalar window_
Averaging window.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base class for output file data handling.
void operator=(const valueAverage &)
Disallow default bitwise assignment.
word functionObjectName_
Name of function object to retrueve data from.
This function object calculates the average value from the output of function objects that generate s...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void end()
Execute at the final time-loop, currently does nothing.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void movePoints(const polyMesh &)
Update for changes of mesh.
const word & name() const
Return the name.