mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Completed transformation of post-processing utilities into functionObjects
This commit is contained in:
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user