96 #ifndef functionObjects_columnAverage_H 97 #define functionObjects_columnAverage_H 111 namespace functionObjects
120 public fvMeshFunctionObject
128 volFieldSelection fieldSet_;
130 mutable autoPtr<globalIndex> globalFaces_;
131 mutable autoPtr<globalIndex> globalEdges_;
132 mutable autoPtr<globalIndex> globalPoints_;
133 mutable autoPtr<meshStructure> meshStructurePtr_;
139 const word averageName(
const word& fieldName)
const;
142 const meshStructure& meshAddressing(
const polyMesh&)
const;
146 bool columnAverageField(
const word& fieldName);
185 virtual bool write();
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("columnAverage")
Runtime type information.
void operator=(const columnAverage &)=delete
No copy assignment.
virtual ~columnAverage()=default
Destructor.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const noexcept
Return the name of this functionObject.
virtual bool execute()
Execute, currently does nothing.
virtual bool read(const dictionary &dict)
Read the settings.
A class for handling words, derived from Foam::string.
columnAverage(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
List< label > labelList
A List of labels.
virtual bool write()
Write the results.
Computes the arithmetic average of given quantities along columns of cells in a given direction for s...