Go to the documentation of this file.
158 #ifndef functionObjects_fieldAverage_H
159 #define functionObjects_fieldAverage_H
168 namespace functionObjects
172 class fieldAverageItem;
180 public fvMeshFunctionObject
243 template<
class Type1,
class Type2>
247 template<
class Type1,
class Type2>
261 template<
class Type1,
class Type2>
265 template<
class Type1,
class Type2>
269 template<
class Type1,
class Type2>
340 virtual bool write();
void addPrime2MeanFieldType(fieldAverageItem &item)
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
void calculateMeanFields() const
A class for handling words, derived from Foam::string.
void restoreWindowFieldsType(const fieldAverageItem &item)
void storeWindowFieldType(fieldAverageItem &item)
Computes ensemble- and/or time-based field averages, with optional windowing, for a user-specified se...
void addMeanSqrToPrime2MeanType(const fieldAverageItem &item) const
void operator=(const fieldAverage &)=delete
void writeFieldType(const word &fieldName) const
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual void calcAverages()
void calculatePrime2MeanFields() const
void readAveragingProperties()
List< scalar > totalTime_
void addPrime2MeanField(fieldAverageItem &item)
virtual bool read(const dictionary &)
void addMeanSqrToPrime2Mean() const
virtual ~fieldAverage()=default
virtual void writeAverages() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void addMeanField(fieldAverageItem &item)
Helper class to describe what form of averaging to apply. A set will be applied to each base field in...
const word & name() const noexcept
void restoreWindowFields(const fieldAverageItem &item)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void addMeanFieldType(fieldAverageItem &item)
fieldAverage(const word &name, const Time &runTime, const dictionary &)
void writeAveragingProperties()
List< fieldAverageItem > faItems_