functionObject.H: Updated documentation

Patch contributed by Bruno Santos
Resolves patch request http://bugs.openfoam.org/view.php?id=2355
This commit is contained in:
Henry Weller
2016-11-26 18:42:25 +00:00
parent 644a641b5f
commit e402e5d4b2
2 changed files with 20 additions and 11 deletions

View File

@ -64,23 +64,24 @@ Description
libs | Libraries containing implementation | yes | libs | Libraries containing implementation | yes |
region | Name of region for multi-region cases | no | region | Name of region for multi-region cases | no |
enabled | On/off switch | no | yes enabled | On/off switch | no | yes
log | Log information to standard output | no | yes
timeStart| Start time | no | timeStart| Start time | no |
timeEnd | End time | no | timeEnd | End time | no |
evaluateControl | See time controls below | no | timeStep executeControl | See time controls below | no | timeStep
evaluateInterval | Steps between output | no | executeInterval | Steps between each execute phase | no |
writeControl | See time controls below | no | timeStep writeControl | See time controls below | no | timeStep
writeInterval | Steps between output | no | writeInterval | Steps between each write phase | no |
\endtable \endtable
Time controls: Time controls:
\table \table
Option | Description Option | Description
timeStep | Execute/write every 'writeInterval' time-steps timeStep | Execute/write every 'Interval' time-steps
writeTime | Execute/write every 'writeInterval' output times writeTime | Execute/write every 'Interval' output times
adjustableRunTime | Execute/write every 'writeInterval' run time period adjustableRunTime | Execute/write every 'Interval' run time period
runTime | Execute/write every 'writeInterval' run time period runTime | Execute/write every 'Interval' run time period
clockTime | Execute/write every 'writeInterval' clock time period clockTime | Execute/write every 'Interval' clock time period
cpuTime | Execute/write every 'writeInterval' CPU time period cpuTime | Execute/write every 'Interval' CPU time period
none | Execute/write every time-step none | Execute/write every time-step
\endtable \endtable
@ -91,6 +92,14 @@ Description
libraries and the \c libs entry is used to specify which library should be libraries and the \c libs entry is used to specify which library should be
loaded. loaded.
Each function object has two separate run phases:
- The \c execute phase is meant to be used for updating calculations
or for management tasks.
- The \c write phase is meant for writing the calculated data to disk.
For each phase the respective time controls are provided, as listed above.
Class Class
Foam::functionObject Foam::functionObject

View File

@ -28,7 +28,7 @@ Group
grpFieldFunctionObjects grpFieldFunctionObjects
Description Description
Calculates the value and location of scalar minimim and maximum for a list Calculates the value and location of scalar minimum and maximum for a list
of user-specified fields. of user-specified fields.
For variables with a rank greater than zero, either the min/max of a For variables with a rank greater than zero, either the min/max of a