Completed transformation of post-processing utilities into functionObjects

This commit is contained in:
Henry Weller
2016-06-28 19:26:23 +01:00
parent 1bef3ab2e6
commit 3e3a183732
76 changed files with 1225 additions and 916 deletions

View File

@ -52,13 +52,13 @@ functions
type fieldAverage;
// Where to load it from (if not already in solver)
libs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
// Function object enabled flag
enabled true;
// When to output the average fields
writeControl writeTime;
writeControl writeTime;
// Fields to be averaged - runTime modifiable
fields

View File

@ -28,10 +28,12 @@ Group
grpFieldFunctionObjects
Description
This function object calculates average quantities for a user-specified
selection of volumetric and surface fields. Fields are entered as a list
of sub-dictionaries, which indicate the type of averages to perform, and
can be updated during the calculation. The current options include:
Calculates average quantities for a user-specified selection of volumetric
and surface fields.
Fields are entered as a list of sub-dictionaries, which indicate the type of
averages to perform, and can be updated during the calculation. The current
options include:
- \c mean: arithmetic mean:
\f[
\overline{x} = \frac{1}{N}\displaystyle\sum\limits_{i=0}^N x_i
@ -66,8 +68,8 @@ Description
\verbatim
fieldAverage1
{
type fieldAverage;
libs ("libfieldFunctionObjects.so");
type fieldAverage;
libs ("libfieldFunctionObjects.so");
...
restartOnRestart false;
restartOnOutput false;