From e4dc50dcb0c665c1702f976eaf0f99b41819c773 Mon Sep 17 00:00:00 2001
From: Henry Weller <http://cfd.direct>
Date: Sat, 28 May 2016 18:58:48 +0100
Subject: [PATCH] postProcessing: Replaced 'foamCalc' and the 'postCalc'
 utilities with the more general and flexible 'postProcess' utility and
 '-postProcess' solver option

Rationale
---------

Both the 'postProcess' utility and '-postProcess' solver option use the
same extensive set of functionObjects available for data-processing
during the run avoiding the substantial code duplication necessary for
the 'foamCalc' and 'postCalc' utilities and simplifying maintenance.
Additionally consistency is guaranteed between solver data processing
and post-processing.

The functionObjects have been substantially re-written and generalized
to simplify development and encourage contribution.

Configuration
-------------

An extensive set of simple functionObject configuration files are
provided in

OpenFOAM-dev/etc/caseDicts/postProcessing

and more will be added in the future.  These can either be copied into
'<case>/system' directory and included into the 'controlDict.functions'
sub-dictionary or included directly from 'etc/caseDicts/postProcessing'
using the '#includeEtc' directive or the new and more convenient
'#includeFunc' directive which searches the
'<etc>/caseDicts/postProcessing' directories for the selected
functionObject, e.g.

functions
{
    #includeFunc Q
    #includeFunc Lambda2
}

'#includeFunc' first searches the '<case>/system' directory in case
there is a local configuration.

Description of #includeFunc
---------------------------

    Specify a functionObject dictionary file to include, expects the
    functionObject name to follow (without quotes).

    Search for functionObject dictionary file in
    user/group/shipped directories.
    The search scheme allows for version-specific and
    version-independent files using the following hierarchy:
    - \b user settings:
      - ~/.OpenFOAM/\<VERSION\>/caseDicts/postProcessing
      - ~/.OpenFOAM/caseDicts/postProcessing
    - \b group (site) settings (when $WM_PROJECT_SITE is set):
      - $WM_PROJECT_SITE/\<VERSION\>/caseDicts/postProcessing
      - $WM_PROJECT_SITE/caseDicts/postProcessing
    - \b group (site) settings (when $WM_PROJECT_SITE is not set):
      - $WM_PROJECT_INST_DIR/site/\<VERSION\>/caseDicts/postProcessing
      - $WM_PROJECT_INST_DIR/site/caseDicts/postProcessing
    - \b other (shipped) settings:
      - $WM_PROJECT_DIR/etc/caseDicts/postProcessing

    An example of the \c \#includeFunc directive:
    \verbatim
        #includeFunc <funcName>
    \endverbatim

postProcess
-----------

The 'postProcess' utility and '-postProcess' solver option provide the
same set of controls to execute functionObjects after the run either by
reading a specified set of fields to process in the case of
'postProcess' or by reading all fields and models required to start the
run in the case of '-postProcess' for each selected time:

postProcess -help

Usage: postProcess [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -constant         include the 'constant/' dir in the times list
  -dict <file>      read control dictionary from specified location
  -field <name>     specify the name of the field to be processed, e.g. U
  -fields <list>    specify a list of fields to be processed, e.g. '(U T p)' -
                    regular expressions not currently supported
  -func <name>      specify the name of the functionObject to execute, e.g. Q
  -funcs <list>     specify the names of the functionObjects to execute, e.g.
                    '(Q div(U))'
  -latestTime       select the latest time
  -newTimes         select the new times
  -noFunctionObjects
                    do not execute functionObjects
  -noZero           exclude the '0/' dir from the times list, has precedence
                    over the -withZero option
  -parallel         run in parallel
  -region <name>    specify alternative mesh region
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -time <ranges>    comma-separated time ranges - eg, ':10,20,40:70,1000:'
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage

 pimpleFoam -postProcess -help

Usage: pimpleFoam [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -constant         include the 'constant/' dir in the times list
  -dict <file>      read control dictionary from specified location
  -field <name>     specify the name of the field to be processed, e.g. U
  -fields <list>    specify a list of fields to be processed, e.g. '(U T p)' -
                    regular expressions not currently supported
  -func <name>      specify the name of the functionObject to execute, e.g. Q
  -funcs <list>     specify the names of the functionObjects to execute, e.g.
                    '(Q div(U))'
  -latestTime       select the latest time
  -newTimes         select the new times
  -noFunctionObjects
                    do not execute functionObjects
  -noZero           exclude the '0/' dir from the times list, has precedence
                    over the -withZero option
  -parallel         run in parallel
  -postProcess      Execute functionObjects only
  -region <name>    specify alternative mesh region
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -time <ranges>    comma-separated time ranges - eg, ':10,20,40:70,1000:'
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage

The functionObjects to execute may be specified on the command-line
using the '-func' option for a single functionObject or '-funcs' for a
list, e.g.

postProcess -func Q
postProcess -funcs '(div(U) div(phi))'

In the case of 'Q' the default field to process is 'U' which is
specified in and read from the configuration file but this may be
overridden thus:

postProcess -func 'Q(Ua)'

as is done in the example above to calculate the two forms of the divergence of
the velocity field.  Additional fields which the functionObjects may depend on
can be specified using the '-field' or '-fields' options.

The 'postProcess' utility can only be used to execute functionObjects which
process fields present in the time directories.  However, functionObjects which
depend on fields obtained from models, e.g. properties derived from turbulence
models can be executed using the '-postProcess' of the appropriate solver, e.g.

pisoFoam -postProcess -func PecletNo

or

sonicFoam -postProcess -func MachNo

In this case all required fields will have already been read so the '-field' or
'-fields' options are not be needed.

Henry G. Weller
CFD Direct Ltd.
---
 .../foamDebugSwitches/Make/options            |   1 -
 .../foamDebugSwitches/foamDebugSwitches.C     |   3 +-
 .../postProcessing/foamCalc/Make/files        |   3 -
 .../postProcessing/foamCalc/Make/options      |  10 -
 .../postProcessing/foamCalc/foamCalcApp.C     | 100 ------
 .../postProcessing/postProcess/Make/files     |   3 +
 .../postProcessing/postProcess}/Make/options  |   9 +-
 .../postProcessing/postProcess/postProcess.C  | 202 ++++++++++++
 .../postProcessing/velocityField/Co/Co.C      | 129 --------
 .../velocityField/Co/Make/files               |   3 -
 .../velocityField/Co/Make/options             |  10 -
 .../velocityField/Lambda2/Lambda2.C           |  88 ------
 .../velocityField/Lambda2/Make/files          |   4 -
 .../velocityField/Lambda2/Make/options        |  10 -
 .../postProcessing/velocityField/Mach/Mach.C  | 151 ---------
 .../velocityField/Mach/Make/files             |   3 -
 .../velocityField/Mach/Make/options           |  14 -
 .../Mach/readThermodynamicProperties.H        |  23 --
 .../velocityField/Mach/thermodynamicMach.H    |  50 ---
 .../velocityField/Mach/thermophysicalMach.H   |  45 ---
 .../velocityField/Pe/Make/files               |   3 -
 .../postProcessing/velocityField/Pe/Pe.C      | 280 ----------------
 .../postProcessing/velocityField/Q/Make/files |   4 -
 .../velocityField/Q/Make/options              |  10 -
 .../postProcessing/velocityField/Q/Q.C        | 115 -------
 .../velocityField/enstrophy/Make/files        |   3 -
 .../velocityField/enstrophy/Make/options      |  10 -
 .../velocityField/enstrophy/enstrophy.C       |  88 ------
 .../velocityField/flowType/Make/files         |   3 -
 .../velocityField/flowType/Make/options       |  10 -
 .../velocityField/flowType/flowType.C         |  95 ------
 .../velocityField/uprime/Make/files           |   3 -
 .../velocityField/uprime/Make/options         |  10 -
 .../velocityField/uprime/uprime.C             |  88 ------
 .../velocityField/vorticity/Make/files        |   3 -
 .../velocityField/vorticity/Make/options      |  10 -
 .../velocityField/vorticity/vorticity.C       | 101 ------
 .../adiabaticFlameT/adiabaticFlameT.C         |   1 +
 .../equilibriumFlameT/equilibriumFlameT.C     |   1 +
 .../mixtureAdiabaticFlameT.C                  |   1 +
 bin/Co                                        |  39 +++
 bin/Lambda2                                   |   1 +
 bin/Mach                                      |  39 +++
 bin/Pe                                        |  39 +++
 bin/Q                                         |   1 +
 bin/enstrophy                                 |   1 +
 bin/execFlowFunctionObjects                   |   2 +-
 bin/flowType                                  |   1 +
 bin/foamCalc                                  |  37 +++
 bin/supercededByPostProcess                   |  37 +++
 bin/vorticity                                 |   1 +
 etc/caseDicts/postProcessing/README           |   2 +-
 .../faceSource/faceZoneSource.cfg             |   2 +-
 .../postProcessing/faceSource/patchAverage    |   2 +-
 .../postProcessing/faceSource/patchSource.cfg |   2 +-
 .../faceSource/surfaceSource.cfg              |   2 +-
 etc/caseDicts/postProcessing/fields/CourantNo |  20 ++
 etc/caseDicts/postProcessing/fields/Lambda2   |   4 +-
 etc/caseDicts/postProcessing/fields/MachNo    |  20 ++
 etc/caseDicts/postProcessing/fields/PecletNo  |  20 ++
 etc/caseDicts/postProcessing/fields/Q         |   4 +-
 .../postProcessing/fields/components          |   4 +-
 etc/caseDicts/postProcessing/fields/div       |   4 +-
 etc/caseDicts/postProcessing/fields/enstrophy |  20 ++
 etc/caseDicts/postProcessing/fields/flowType  |  20 ++
 etc/caseDicts/postProcessing/fields/grad      |  20 ++
 etc/caseDicts/postProcessing/fields/mag       |  20 ++
 etc/caseDicts/postProcessing/fields/magSqr    |  20 ++
 etc/caseDicts/postProcessing/fields/randomise |   4 +-
 etc/caseDicts/postProcessing/fields/vorticity |  20 ++
 .../postProcessing/flowRate/flowRatePatch     |   2 +-
 .../postProcessing/flowRate/flowRatePatch.cfg |   2 +-
 .../flowRate/volFlowRateSurface               |   2 +-
 .../flowRate/volFlowRateSurface.cfg           |   2 +-
 .../postProcessing/forces/forceCoeffs.cfg     |   2 +-
 .../forces/forceCoeffsCompressible            |   2 +-
 .../forces/forceCoeffsCompressible.cfg        |   2 +-
 .../forces/forceCoeffsIncompressible          |   2 +-
 .../postProcessing/forces/forcesCompressible  |   2 +-
 .../forces/forcesCompressible.cfg             |   2 +-
 .../forces/forcesIncompressible               |   2 +-
 .../postProcessing/graphs/sampleDict          |   2 +-
 .../postProcessing/graphs/singleGraph         |   4 +-
 etc/caseDicts/postProcessing/minMax/cellMax   |   2 +-
 etc/caseDicts/postProcessing/minMax/cellMin   |   2 +-
 .../postProcessing/minMax/cellMin.cfg         |   2 +-
 etc/caseDicts/postProcessing/minMax/faceMax   |   2 +-
 etc/caseDicts/postProcessing/minMax/faceMin   |   2 +-
 .../postProcessing/minMax/faceMin.cfg         |   2 +-
 .../postProcessing/minMax/minMaxComponents    |   2 +-
 .../minMax/minMaxComponents.cfg               |   2 +-
 .../postProcessing/minMax/minMaxMagnitude     |   2 +-
 .../postProcessing/numerical/residuals        |   2 +-
 .../postProcessing/pressure/pressure.cfg      |   2 +-
 .../pressure/pressureDifference.cfg           |   4 +-
 .../pressure/pressureDifferencePatch          |   2 +-
 .../pressure/pressureDifferencePatch.cfg      |   2 +-
 .../pressure/pressureDifferenceSurface        |   3 +-
 .../pressure/pressureDifferenceSurface.cfg    |   2 +-
 .../postProcessing/pressure/staticPressure    |   4 +-
 .../pressure/staticPressure.cfg               |   3 +-
 .../pressure/totalPressureCompressible        |   3 +-
 .../pressure/totalPressureCompressible.cfg    |   2 +-
 .../pressure/totalPressureIncompressible      |   7 +-
 .../pressure/totalPressureIncompressible.cfg  |   3 +-
 .../postProcessing/probes/boundaryCloud       |   2 +-
 .../postProcessing/probes/boundaryCloud.cfg   |   2 +-
 .../postProcessing/probes/internalCloud       |   2 +-
 .../postProcessing/probes/internalCloud.cfg   |   2 +-
 etc/caseDicts/postProcessing/probes/probes    |   2 +-
 .../scalarTransport/scalarTransport           |   2 +-
 .../scalarTransport/scalarTransportDict       |   2 +-
 .../postProcessing/visualization/streamlines  |   2 +-
 .../postProcessing/visualization/surfaces     |   2 +-
 etc/config.csh/aliases                        |  10 +-
 etc/config.csh/unset                          |   8 +-
 etc/config.sh/aliases                         |  10 +-
 etc/config.sh/unset                           |   8 +-
 src/Allwmake                                  |   2 +-
 .../POSIX/signals/sigStopAtWriteNow.C         |   2 +-
 src/OpenFOAM/Make/files                       |   2 +
 .../includeEtcEntry/includeEtcEntry.C         |   7 +-
 .../includeFuncEntry/includeFuncEntry.C       | 152 +++++++++
 .../includeFuncEntry/includeFuncEntry.H       | 132 ++++++++
 .../dynamicLibrary/dynamicCode/dynamicCode.C  |   1 +
 .../functionObjectList/functionObjectList.C   | 197 ++++++++++--
 .../functionObjectList/functionObjectList.H   |  45 ++-
 .../functionObjectList/postProcess.H          |  21 +-
 src/OpenFOAM/fields/ReadFields/ReadFields.H   |   1 +
 src/OpenFOAM/global/debug/debug.C             |   2 +-
 src/OpenFOAM/include/OSspecific.H             |   2 +-
 .../include/addFunctionObjectOptions.H        |  26 ++
 .../cellModeller/globalCellModeller.C         |   2 +-
 .../primitives/strings/stringOps/stringOps.C  |   3 +-
 .../gaussConvectionScheme.H                   |   1 +
 .../functionObjects/Allwmake                  |   1 +
 .../field/CourantNo/CourantNo.C               |   8 +-
 .../field/CourantNo/CourantNo.H               |   0
 .../functionObjects/field/Lambda2/Lambda2.C   |   6 +-
 .../functionObjects/field/Lambda2/Lambda2.H   |   0
 .../functionObjects/field/MachNo/MachNo.C     |   6 +-
 .../functionObjects/field/MachNo/MachNo.H     |   0
 .../functionObjects/field/Make/files          |   5 +-
 .../functionObjects/field/Make/options        |   9 +-
 .../functionObjects/field/PecletNo/PecletNo.C |  20 +-
 .../functionObjects/field/PecletNo/PecletNo.H |  12 -
 .../functionObjects/field/Q/Q.C               |  12 +-
 .../functionObjects/field/Q/Q.H               |   0
 .../field/blendingFactor/blendingFactor.C     |   0
 .../field/blendingFactor/blendingFactor.H     |   0
 .../blendingFactor/blendingFactorTemplates.C  |   0
 .../field/components/components.C             |   0
 .../field/components/components.H             |   0
 .../field/components/componentsTemplates.C    |   0
 .../functionObjects/field/div/div.C           |   0
 .../functionObjects/field/div/div.H           |   0
 .../functionObjects/field/div/divTemplates.C  |   0
 .../field/doc/fieldFunctionObjectsDoc.H       |   0
 .../field/enstrophy/enstrophy.C               |   6 +-
 .../field/enstrophy/enstrophy.H               |   0
 .../field/fieldAverage/controlDict            |   0
 .../field/fieldAverage/fieldAverage.C         |   0
 .../field/fieldAverage/fieldAverage.H         |   0
 .../fieldAverageItem/fieldAverageItem.C       |   0
 .../fieldAverageItem/fieldAverageItem.H       |   0
 .../fieldAverageItem/fieldAverageItemIO.C     |   0
 .../fieldAverage/fieldAverageTemplates.C      |   0
 .../fieldCoordinateSystemTransform.C          |   0
 .../fieldCoordinateSystemTransform.H          |   0
 .../fieldCoordinateSystemTransformTemplates.C |   0
 .../postProcessingDict                        |   0
 .../field/fieldExpression/fieldExpression.C   |  25 ++
 .../field/fieldExpression/fieldExpression.H   |   2 +
 .../field/fieldMinMax/controlDict             |   0
 .../field/fieldMinMax/fieldMinMax.C           |   0
 .../field/fieldMinMax/fieldMinMax.H           |   0
 .../field/fieldMinMax/fieldMinMaxTemplates.C  |   0
 .../field/fieldValues/cellSource/cellSource.C |   0
 .../field/fieldValues/cellSource/cellSource.H |   0
 .../fieldValues/cellSource/cellSourceI.H      |   0
 .../cellSource/cellSourceTemplates.C          |   0
 .../field/fieldValues/controlDict             |   0
 .../field/fieldValues/faceSource/faceSource.C |   0
 .../field/fieldValues/faceSource/faceSource.H |   0
 .../fieldValues/faceSource/faceSourceI.H      |   0
 .../faceSource/faceSourceTemplates.C          |   0
 .../field/fieldValues/fieldValue/fieldValue.C |   0
 .../field/fieldValues/fieldValue/fieldValue.H |   0
 .../fieldValues/fieldValue/fieldValueI.H      |   0
 .../fieldValues/fieldValue/fieldValueNew.C    |   0
 .../fieldValue/fieldValueTemplates.C          |   0
 .../fieldValueDelta/fieldValueDelta.C         |   0
 .../fieldValueDelta/fieldValueDelta.H         |   0
 .../fieldValueDeltaTemplates.C                |   0
 .../functionObjects/field/flowType/flowType.C |   6 +-
 .../functionObjects/field/flowType/flowType.H |   0
 .../functionObjects/field/grad/grad.C         |   0
 .../functionObjects/field/grad/grad.H         |   0
 .../field/grad/gradTemplates.C                |   0
 .../field/histogram/histogram.C               |   0
 .../field/histogram/histogram.H               |   0
 .../functionObjects/field/mag/mag.C           |   0
 .../functionObjects/field/mag/mag.H           |   0
 .../functionObjects/field/mag/magTemplates.C  |   0
 .../functionObjects/field/magSqr/magSqr.C     |   0
 .../functionObjects/field/magSqr/magSqr.H     |   0
 .../field/magSqr/magSqrTemplates.C            |   0
 .../field/nearWallFields/controlDict          |   0
 .../field/nearWallFields/findCellParticle.C   |   0
 .../field/nearWallFields/findCellParticle.H   |   0
 .../nearWallFields/findCellParticleCloud.C    |   2 +-
 .../field/nearWallFields/nearWallFields.C     |   0
 .../field/nearWallFields/nearWallFields.H     |   0
 .../nearWallFields/nearWallFieldsTemplates.C  |   0
 .../functionObjects/field/pressure/pressure.C |   0
 .../functionObjects/field/pressure/pressure.H |   2 +-
 .../field/processorField/postProcessingDict   |   0
 .../field/processorField/processorField.C     |   0
 .../field/processorField/processorField.H     |   0
 .../field/randomise/randomise.C               |   0
 .../field/randomise/randomise.H               |   0
 .../field/randomise/randomiseTemplates.C      |   0
 .../field/readFields/postProcessingDict       |   0
 .../field/readFields/readFields.C             |   0
 .../field/readFields/readFields.H             |   0
 .../field/readFields/readFieldsTemplates.C    |   0
 .../regionSizeDistribution.C                  |   0
 .../regionSizeDistribution.H                  |   0
 .../regionSizeDistributionTemplates.C         |   0
 .../field/streamLine/controlDict              |   0
 .../field/streamLine/streamLine.C             |   0
 .../field/streamLine/streamLine.H             |   0
 .../field/streamLine/streamLineParticle.C     |   0
 .../field/streamLine/streamLineParticle.H     |   0
 .../streamLine/streamLineParticleCloud.C      |   2 +-
 .../streamLine/streamLineParticleCloud.H      |   2 +-
 .../surfaceInterpolate/surfaceInterpolate.C}  |  16 +-
 .../surfaceInterpolate/surfaceInterpolate.H}  |  28 +-
 .../surfaceInterpolateTemplates.C}            |   4 +-
 .../turbulenceFields/postProcessingDict       |   0
 .../turbulenceFields/turbulenceFields.C       |   0
 .../turbulenceFields/turbulenceFields.H       |   0
 .../turbulenceFieldsTemplates.C               |   0
 .../field/vorticity/vorticity.C               |   6 +-
 .../field/vorticity/vorticity.H               |   0
 .../field/wallBoundedStreamLine/controlDict   |   0
 .../wallBoundedParticle.C                     |   0
 .../wallBoundedParticle.H                     |   0
 .../wallBoundedParticleTemplates.C            |   0
 .../wallBoundedStreamLine.C                   |   0
 .../wallBoundedStreamLine.H                   |   0
 .../wallBoundedStreamLineParticle.C           |   0
 .../wallBoundedStreamLineParticle.H           |   0
 .../wallBoundedStreamLineParticleCloud.C      |   2 +-
 .../wallBoundedStreamLineParticleCloud.H      |   2 +-
 .../field}/yPlus/yPlus.C                      |   0
 .../field}/yPlus/yPlus.H                      |   2 +-
 .../functionObjects/forces/Make/files         |   0
 .../functionObjects/forces/Make/options       |   0
 .../forces/forceCoeffs/forceCoeffs.C          |   0
 .../forces/forceCoeffs/forceCoeffs.H          |   0
 .../functionObjects/forces/forces/forces.C    |   0
 .../functionObjects/forces/forces/forces.H    |   0
 .../forces/forcesFunctionObjectsDoc.H         |   2 +-
 .../forces/wallShearStress/wallShearStress.C  |   0
 .../forces/wallShearStress/wallShearStress.H  |   0
 .../functionObjects/lagrangian/Make/files     |   1 +
 .../functionObjects/lagrangian/Make/options   |   1 +
 .../lagrangian/cloudInfo/cloudInfo.C          |   0
 .../lagrangian/cloudInfo/cloudInfo.H          |   0
 .../lagrangian/cloudInfo/postProcessingDict   |   0
 .../lagrangian}/dsmcFields/dsmcFields.C       |   0
 .../lagrangian}/dsmcFields/dsmcFields.H       |   2 +-
 .../icoUncoupledKinematicCloud.C              |   0
 .../icoUncoupledKinematicCloud.H              |   0
 .../lagrangian/lagrangianFunctionObjectsDoc.H |   0
 src/functionObjects/solvers/Make/files        |   3 +
 .../functionObjects/solvers}/Make/options     |  16 +-
 .../scalarTransport/scalarTransport.C         |   0
 .../scalarTransport/scalarTransport.H         |   2 +-
 .../functionObjects/utilities/Make/files      |   6 -
 .../utilities}/Make/options                   |   0
 .../functionObjects/utilities/abort/abort.C   |   0
 .../functionObjects/utilities/abort/abort.H   |   0
 .../codedFunctionObject/codedFunctionObject.C |   0
 .../codedFunctionObject/codedFunctionObject.H |   0
 .../doc/utilitiesFunctionObjectsDoc.H         |   2 +-
 .../removeRegisteredObject.C                  |   0
 .../removeRegisteredObject.H                  |   0
 .../utilities/residuals/residuals.C           |   0
 .../utilities/residuals/residuals.H           |   0
 .../utilities/residuals/residualsTemplates.C  |   0
 .../setTimeStep/setTimeStepFunctionObject.C   |   0
 .../setTimeStep/setTimeStepFunctionObject.H   |   0
 .../utilities/systemCall/Make/files           |   0
 .../utilities/systemCall/Make/options         |   0
 .../utilities/systemCall/controlDict          |   0
 .../utilities/systemCall/systemCall.C         |   0
 .../utilities/systemCall/systemCall.H         |   0
 .../timeActivatedFileUpdate/controlDict       |   0
 .../timeActivatedFileUpdate.C                 |   0
 .../timeActivatedFileUpdate.H                 |   0
 .../writeDictionary/writeDictionary.C         |   0
 .../writeDictionary/writeDictionary.H         |   0
 .../writeRegisteredObject/controlDict         |   0
 .../writeRegisteredObject.C                   |   0
 .../writeRegisteredObject.H                   |   0
 src/fvMotionSolver/Make/options               |   2 +-
 src/postProcessing/Allwmake                   |  14 -
 .../foamCalcFunctions/Make/files              |  14 -
 .../foamCalcFunctions/Make/options            |   7 -
 .../basic/addSubtract/addSubtract.C           | 299 ------------------
 .../basic/addSubtract/addSubtract.H           | 217 -------------
 .../basic/addSubtract/writeAddSubtractField.C |  94 ------
 .../basic/addSubtract/writeAddSubtractValue.C |  93 ------
 .../foamCalcFunctions/calcType/calcType.C     | 159 ----------
 .../foamCalcFunctions/calcType/calcType.H     | 179 -----------
 .../foamCalcFunctions/calcType/calcTypeNew.C  |  65 ----
 .../field/components/components.C             | 116 -------
 .../field/components/components.H             | 137 --------
 .../field/components/writeComponentFields.C   |  69 ----
 .../foamCalcFunctions/field/div/div.C         | 114 -------
 .../foamCalcFunctions/field/div/div.H         | 137 --------
 .../field/div/writeDivField.C                 |  62 ----
 .../field/interpolate/interpolate.C           | 117 -------
 .../field/interpolate/interpolate.H           | 136 --------
 .../field/interpolate/writeInterpolateField.C |  65 ----
 .../foamCalcFunctions/field/mag/mag.C         | 117 -------
 .../foamCalcFunctions/field/mag/mag.H         | 136 --------
 .../field/mag/writeMagField.C                 |  64 ----
 .../foamCalcFunctions/field/magGrad/magGrad.C | 114 -------
 .../foamCalcFunctions/field/magGrad/magGrad.H | 137 --------
 .../field/magGrad/writeMagGradField.C         |  64 ----
 .../foamCalcFunctions/field/magSqr/magSqr.C   | 118 -------
 .../foamCalcFunctions/field/magSqr/magSqr.H   | 136 --------
 .../field/magSqr/writeMagSqrField.C           |  64 ----
 .../field/randomise/randomise.C               | 148 ---------
 .../field/randomise/randomise.H               | 139 --------
 .../field/randomise/writeRandomField.C        |  76 -----
 src/postProcessing/postCalc/Make/files        |   3 -
 src/postProcessing/postCalc/calc.H            |  51 ---
 src/postProcessing/postCalc/postCalc.C        |  90 ------
 src/rigidBodyMeshMotion/Make/options          |   2 +-
 src/sixDoFRigidBodyMotion/Make/options        |   2 +-
 .../movingCone/system/cuttingPlane            |   2 +-
 .../les/pitzDaily/system/controlDict          |   5 +-
 .../movingCone/system/cuttingPlane            |   2 +-
 .../sonicFoam/laminar/shockTube/Allrun        |   2 +-
 .../laminar/shockTube/system/sampleDict       |   2 +-
 .../freeSpacePeriodic/system/controlDict      |   9 +-
 .../freeSpaceStream/system/controlDict        |   9 +-
 .../supersonicCorner/system/controlDict       |  10 +-
 .../dsmcFoam/wedge15Ma5/system/controlDict    |  16 +-
 .../electromagnetics/mhdFoam/hartmann/Allrun  |   2 +-
 .../movingCone/system/cuttingPlane            |   2 +-
 .../pimpleDyMFoam/propeller/system/Q          |  11 +-
 .../pimpleDyMFoam/propeller/system/surfaces   |   2 +-
 .../pimpleFoam/TJunction/system/controlDict   |   2 +-
 .../TJunctionFan/system/controlDict           |   2 +-
 .../pimpleFoam/channel395/system/controlDict  |   5 +-
 .../motorBike/motorBike/system/controlDict    |   4 +-
 .../motorBike/motorBike/system/cuttingPlane   |   2 +-
 .../motorBike/motorBike/system/streamLines    |   2 +-
 .../pisoFoam/les/pitzDaily/system/controlDict |  17 +-
 .../les/pitzDailyMapped/system/controlDict    |  17 +-
 .../simpleFoam/motorBike/system/cuttingPlane  |   2 +-
 .../simpleFoam/motorBike/system/streamLines   |   2 +-
 .../motorBike/system/wallBoundedStreamLines   |   4 +-
 .../simpleFoam/pitzDaily/system/controlDict   |   2 +-
 .../pitzDailyExptInlet/system/controlDict     |   2 +-
 .../verticalChannel/system/controlDict        |   5 +-
 .../verticalChannelLTS/system/controlDict     |   5 +-
 .../verticalChannel/system/controlDict        |   2 +-
 .../les/throttle/system/controlDict           |   5 +-
 .../les/throttle3D/system/controlDict         |   5 +-
 .../ras/sloshingTank2D/system/controlDict     |   4 +-
 .../ras/sloshingTank2D/system/controlDict     |   4 +-
 .../ras/sloshingTank2D3DoF/system/controlDict |   4 +-
 .../bubbleColumn/system/controlDict           |   2 +-
 .../oscillatingBox/system/controlDict         |   3 +-
 .../oscillatingBox/system/controlDict         |   9 +-
 .../laminar/bubbleColumn/system/controlDict   |   2 +-
 .../LES/bubbleColumn/system/controlDict       |   2 +-
 .../RAS/bubbleColumn/system/controlDict       |   2 +-
 .../RAS/fluidisedBed/system/controlDict       |   2 +-
 .../laminar/bubbleColumn/system/controlDict   |   2 +-
 .../bubbleColumnIATE/system/controlDict       |   2 +-
 .../laminar/fluidisedBed/system/controlDict   |   2 +-
 .../LES/bubbleColumn/system/controlDict       |   2 +-
 .../RAS/bubbleColumn/system/controlDict       |   2 +-
 .../RAS/fluidisedBed/system/controlDict       |   2 +-
 .../laminar/bubbleColumn/system/controlDict   |   2 +-
 .../bubbleColumnIATE/system/controlDict       |   2 +-
 .../laminar/fluidisedBed/system/controlDict   |   2 +-
 394 files changed, 1450 insertions(+), 5384 deletions(-)
 delete mode 100644 applications/utilities/postProcessing/foamCalc/Make/files
 delete mode 100644 applications/utilities/postProcessing/foamCalc/Make/options
 delete mode 100644 applications/utilities/postProcessing/foamCalc/foamCalcApp.C
 create mode 100644 applications/utilities/postProcessing/postProcess/Make/files
 rename {src/postProcessing/functionObjects/utilities => applications/utilities/postProcessing/postProcess}/Make/options (87%)
 create mode 100644 applications/utilities/postProcessing/postProcess/postProcess.C
 delete mode 100644 applications/utilities/postProcessing/velocityField/Co/Co.C
 delete mode 100644 applications/utilities/postProcessing/velocityField/Co/Make/files
 delete mode 100644 applications/utilities/postProcessing/velocityField/Co/Make/options
 delete mode 100644 applications/utilities/postProcessing/velocityField/Lambda2/Lambda2.C
 delete mode 100644 applications/utilities/postProcessing/velocityField/Lambda2/Make/files
 delete mode 100644 applications/utilities/postProcessing/velocityField/Lambda2/Make/options
 delete mode 100644 applications/utilities/postProcessing/velocityField/Mach/Mach.C
 delete mode 100644 applications/utilities/postProcessing/velocityField/Mach/Make/files
 delete mode 100644 applications/utilities/postProcessing/velocityField/Mach/Make/options
 delete mode 100644 applications/utilities/postProcessing/velocityField/Mach/readThermodynamicProperties.H
 delete mode 100644 applications/utilities/postProcessing/velocityField/Mach/thermodynamicMach.H
 delete mode 100644 applications/utilities/postProcessing/velocityField/Mach/thermophysicalMach.H
 delete mode 100644 applications/utilities/postProcessing/velocityField/Pe/Make/files
 delete mode 100644 applications/utilities/postProcessing/velocityField/Pe/Pe.C
 delete mode 100644 applications/utilities/postProcessing/velocityField/Q/Make/files
 delete mode 100644 applications/utilities/postProcessing/velocityField/Q/Make/options
 delete mode 100644 applications/utilities/postProcessing/velocityField/Q/Q.C
 delete mode 100644 applications/utilities/postProcessing/velocityField/enstrophy/Make/files
 delete mode 100644 applications/utilities/postProcessing/velocityField/enstrophy/Make/options
 delete mode 100644 applications/utilities/postProcessing/velocityField/enstrophy/enstrophy.C
 delete mode 100644 applications/utilities/postProcessing/velocityField/flowType/Make/files
 delete mode 100644 applications/utilities/postProcessing/velocityField/flowType/Make/options
 delete mode 100644 applications/utilities/postProcessing/velocityField/flowType/flowType.C
 delete mode 100644 applications/utilities/postProcessing/velocityField/uprime/Make/files
 delete mode 100644 applications/utilities/postProcessing/velocityField/uprime/Make/options
 delete mode 100644 applications/utilities/postProcessing/velocityField/uprime/uprime.C
 delete mode 100644 applications/utilities/postProcessing/velocityField/vorticity/Make/files
 delete mode 100644 applications/utilities/postProcessing/velocityField/vorticity/Make/options
 delete mode 100644 applications/utilities/postProcessing/velocityField/vorticity/vorticity.C
 create mode 100755 bin/Co
 create mode 120000 bin/Lambda2
 create mode 100755 bin/Mach
 create mode 100755 bin/Pe
 create mode 120000 bin/Q
 create mode 120000 bin/enstrophy
 create mode 120000 bin/flowType
 create mode 100755 bin/foamCalc
 create mode 100755 bin/supercededByPostProcess
 create mode 120000 bin/vorticity
 create mode 100644 etc/caseDicts/postProcessing/fields/CourantNo
 create mode 100644 etc/caseDicts/postProcessing/fields/MachNo
 create mode 100644 etc/caseDicts/postProcessing/fields/PecletNo
 create mode 100644 etc/caseDicts/postProcessing/fields/enstrophy
 create mode 100644 etc/caseDicts/postProcessing/fields/flowType
 create mode 100644 etc/caseDicts/postProcessing/fields/grad
 create mode 100644 etc/caseDicts/postProcessing/fields/mag
 create mode 100644 etc/caseDicts/postProcessing/fields/magSqr
 create mode 100644 etc/caseDicts/postProcessing/fields/vorticity
 create mode 100644 src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.C
 create mode 100644 src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.H
 create mode 100644 src/OpenFOAM/include/addFunctionObjectOptions.H
 rename src/{postProcessing => }/functionObjects/Allwmake (93%)
 rename src/{postProcessing => }/functionObjects/field/CourantNo/CourantNo.C (95%)
 rename src/{postProcessing => }/functionObjects/field/CourantNo/CourantNo.H (100%)
 rename src/{postProcessing => }/functionObjects/field/Lambda2/Lambda2.C (96%)
 rename src/{postProcessing => }/functionObjects/field/Lambda2/Lambda2.H (100%)
 rename src/{postProcessing => }/functionObjects/field/MachNo/MachNo.C (96%)
 rename src/{postProcessing => }/functionObjects/field/MachNo/MachNo.H (100%)
 rename src/{postProcessing => }/functionObjects/field/Make/files (93%)
 rename src/{postProcessing => }/functionObjects/field/Make/options (68%)
 rename src/{postProcessing => }/functionObjects/field/PecletNo/PecletNo.C (85%)
 rename src/{postProcessing => }/functionObjects/field/PecletNo/PecletNo.H (93%)
 rename src/{postProcessing => }/functionObjects/field/Q/Q.C (92%)
 rename src/{postProcessing => }/functionObjects/field/Q/Q.H (100%)
 rename src/{postProcessing => }/functionObjects/field/blendingFactor/blendingFactor.C (100%)
 rename src/{postProcessing => }/functionObjects/field/blendingFactor/blendingFactor.H (100%)
 rename src/{postProcessing => }/functionObjects/field/blendingFactor/blendingFactorTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/components/components.C (100%)
 rename src/{postProcessing => }/functionObjects/field/components/components.H (100%)
 rename src/{postProcessing => }/functionObjects/field/components/componentsTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/div/div.C (100%)
 rename src/{postProcessing => }/functionObjects/field/div/div.H (100%)
 rename src/{postProcessing => }/functionObjects/field/div/divTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/doc/fieldFunctionObjectsDoc.H (100%)
 rename src/{postProcessing => }/functionObjects/field/enstrophy/enstrophy.C (96%)
 rename src/{postProcessing => }/functionObjects/field/enstrophy/enstrophy.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldAverage/controlDict (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldAverage/fieldAverage.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldAverage/fieldAverage.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItemIO.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldAverage/fieldAverageTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldCoordinateSystemTransform/postProcessingDict (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldExpression/fieldExpression.C (88%)
 rename src/{postProcessing => }/functionObjects/field/fieldExpression/fieldExpression.H (97%)
 rename src/{postProcessing => }/functionObjects/field/fieldMinMax/controlDict (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldMinMax/fieldMinMax.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldMinMax/fieldMinMax.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/cellSource/cellSource.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/cellSource/cellSource.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/cellSource/cellSourceI.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/cellSource/cellSourceTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/controlDict (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/faceSource/faceSource.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/faceSource/faceSource.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/faceSource/faceSourceI.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/faceSource/faceSourceTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/fieldValue/fieldValue.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/fieldValue/fieldValue.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/fieldValue/fieldValueI.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/fieldValue/fieldValueNew.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/fieldValue/fieldValueTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.C (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.H (100%)
 rename src/{postProcessing => }/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDeltaTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/flowType/flowType.C (97%)
 rename src/{postProcessing => }/functionObjects/field/flowType/flowType.H (100%)
 rename src/{postProcessing => }/functionObjects/field/grad/grad.C (100%)
 rename src/{postProcessing => }/functionObjects/field/grad/grad.H (100%)
 rename src/{postProcessing => }/functionObjects/field/grad/gradTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/histogram/histogram.C (100%)
 rename src/{postProcessing => }/functionObjects/field/histogram/histogram.H (100%)
 rename src/{postProcessing => }/functionObjects/field/mag/mag.C (100%)
 rename src/{postProcessing => }/functionObjects/field/mag/mag.H (100%)
 rename src/{postProcessing => }/functionObjects/field/mag/magTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/magSqr/magSqr.C (100%)
 rename src/{postProcessing => }/functionObjects/field/magSqr/magSqr.H (100%)
 rename src/{postProcessing => }/functionObjects/field/magSqr/magSqrTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/nearWallFields/controlDict (100%)
 rename src/{postProcessing => }/functionObjects/field/nearWallFields/findCellParticle.C (100%)
 rename src/{postProcessing => }/functionObjects/field/nearWallFields/findCellParticle.H (100%)
 rename src/{postProcessing => }/functionObjects/field/nearWallFields/findCellParticleCloud.C (95%)
 rename src/{postProcessing => }/functionObjects/field/nearWallFields/nearWallFields.C (100%)
 rename src/{postProcessing => }/functionObjects/field/nearWallFields/nearWallFields.H (100%)
 rename src/{postProcessing => }/functionObjects/field/nearWallFields/nearWallFieldsTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/pressure/pressure.C (100%)
 rename src/{postProcessing => }/functionObjects/field/pressure/pressure.H (99%)
 rename src/{postProcessing => }/functionObjects/field/processorField/postProcessingDict (100%)
 rename src/{postProcessing => }/functionObjects/field/processorField/processorField.C (100%)
 rename src/{postProcessing => }/functionObjects/field/processorField/processorField.H (100%)
 rename src/{postProcessing => }/functionObjects/field/randomise/randomise.C (100%)
 rename src/{postProcessing => }/functionObjects/field/randomise/randomise.H (100%)
 rename src/{postProcessing => }/functionObjects/field/randomise/randomiseTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/readFields/postProcessingDict (100%)
 rename src/{postProcessing => }/functionObjects/field/readFields/readFields.C (100%)
 rename src/{postProcessing => }/functionObjects/field/readFields/readFields.H (100%)
 rename src/{postProcessing => }/functionObjects/field/readFields/readFieldsTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/regionSizeDistribution/regionSizeDistribution.C (100%)
 rename src/{postProcessing => }/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H (100%)
 rename src/{postProcessing => }/functionObjects/field/regionSizeDistribution/regionSizeDistributionTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/streamLine/controlDict (100%)
 rename src/{postProcessing => }/functionObjects/field/streamLine/streamLine.C (100%)
 rename src/{postProcessing => }/functionObjects/field/streamLine/streamLine.H (100%)
 rename src/{postProcessing => }/functionObjects/field/streamLine/streamLineParticle.C (100%)
 rename src/{postProcessing => }/functionObjects/field/streamLine/streamLineParticle.H (100%)
 rename src/{postProcessing => }/functionObjects/field/streamLine/streamLineParticleCloud.C (96%)
 rename src/{postProcessing => }/functionObjects/field/streamLine/streamLineParticleCloud.H (97%)
 rename src/{postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.C => functionObjects/field/surfaceInterpolate/surfaceInterpolate.C} (86%)
 rename src/{postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.H => functionObjects/field/surfaceInterpolate/surfaceInterpolate.H} (87%)
 rename src/{postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFieldsTemplates.C => functionObjects/field/surfaceInterpolate/surfaceInterpolateTemplates.C} (96%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/field}/turbulenceFields/postProcessingDict (100%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/field}/turbulenceFields/turbulenceFields.C (100%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/field}/turbulenceFields/turbulenceFields.H (100%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/field}/turbulenceFields/turbulenceFieldsTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/vorticity/vorticity.C (96%)
 rename src/{postProcessing => }/functionObjects/field/vorticity/vorticity.H (100%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/controlDict (100%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.C (100%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.H (100%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/wallBoundedParticleTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C (100%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H (100%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.C (100%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.H (100%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.C (96%)
 rename src/{postProcessing => }/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H (97%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/field}/yPlus/yPlus.C (100%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/field}/yPlus/yPlus.H (99%)
 rename src/{postProcessing => }/functionObjects/forces/Make/files (100%)
 rename src/{postProcessing => }/functionObjects/forces/Make/options (100%)
 rename src/{postProcessing => }/functionObjects/forces/forceCoeffs/forceCoeffs.C (100%)
 rename src/{postProcessing => }/functionObjects/forces/forceCoeffs/forceCoeffs.H (100%)
 rename src/{postProcessing => }/functionObjects/forces/forces/forces.C (100%)
 rename src/{postProcessing => }/functionObjects/forces/forces/forces.H (100%)
 rename src/{postProcessing => }/functionObjects/forces/forcesFunctionObjectsDoc.H (94%)
 rename src/{postProcessing => }/functionObjects/forces/wallShearStress/wallShearStress.C (100%)
 rename src/{postProcessing => }/functionObjects/forces/wallShearStress/wallShearStress.H (100%)
 rename src/{postProcessing => }/functionObjects/lagrangian/Make/files (84%)
 rename src/{postProcessing => }/functionObjects/lagrangian/Make/options (93%)
 rename src/{postProcessing => }/functionObjects/lagrangian/cloudInfo/cloudInfo.C (100%)
 rename src/{postProcessing => }/functionObjects/lagrangian/cloudInfo/cloudInfo.H (100%)
 rename src/{postProcessing => }/functionObjects/lagrangian/cloudInfo/postProcessingDict (100%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/lagrangian}/dsmcFields/dsmcFields.C (100%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/lagrangian}/dsmcFields/dsmcFields.H (98%)
 rename src/{postProcessing => }/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.C (100%)
 rename src/{postProcessing => }/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.H (100%)
 rename src/{postProcessing => }/functionObjects/lagrangian/lagrangianFunctionObjectsDoc.H (100%)
 create mode 100644 src/functionObjects/solvers/Make/files
 rename {applications/utilities/postProcessing/velocityField/Pe => src/functionObjects/solvers}/Make/options (83%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/solvers}/scalarTransport/scalarTransport.C (100%)
 rename src/{postProcessing/functionObjects/utilities => functionObjects/solvers}/scalarTransport/scalarTransport.H (99%)
 rename src/{postProcessing => }/functionObjects/utilities/Make/files (76%)
 rename src/{postProcessing/postCalc => functionObjects/utilities}/Make/options (100%)
 rename src/{postProcessing => }/functionObjects/utilities/abort/abort.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/abort/abort.H (100%)
 rename src/{postProcessing => }/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H (100%)
 rename src/{postProcessing => }/functionObjects/utilities/doc/utilitiesFunctionObjectsDoc.H (95%)
 rename src/{postProcessing => }/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H (100%)
 rename src/{postProcessing => }/functionObjects/utilities/residuals/residuals.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/residuals/residuals.H (100%)
 rename src/{postProcessing => }/functionObjects/utilities/residuals/residualsTemplates.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H (100%)
 rename src/{postProcessing => }/functionObjects/utilities/systemCall/Make/files (100%)
 rename src/{postProcessing => }/functionObjects/utilities/systemCall/Make/options (100%)
 rename src/{postProcessing => }/functionObjects/utilities/systemCall/controlDict (100%)
 rename src/{postProcessing => }/functionObjects/utilities/systemCall/systemCall.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/systemCall/systemCall.H (100%)
 rename src/{postProcessing => }/functionObjects/utilities/timeActivatedFileUpdate/controlDict (100%)
 rename src/{postProcessing => }/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H (100%)
 rename src/{postProcessing => }/functionObjects/utilities/writeDictionary/writeDictionary.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/writeDictionary/writeDictionary.H (100%)
 rename src/{postProcessing => }/functionObjects/utilities/writeRegisteredObject/controlDict (100%)
 rename src/{postProcessing => }/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.C (100%)
 rename src/{postProcessing => }/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.H (100%)
 delete mode 100755 src/postProcessing/Allwmake
 delete mode 100644 src/postProcessing/foamCalcFunctions/Make/files
 delete mode 100644 src/postProcessing/foamCalcFunctions/Make/options
 delete mode 100644 src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.H
 delete mode 100644 src/postProcessing/foamCalcFunctions/basic/addSubtract/writeAddSubtractField.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/basic/addSubtract/writeAddSubtractValue.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/calcType/calcType.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/calcType/calcType.H
 delete mode 100644 src/postProcessing/foamCalcFunctions/calcType/calcTypeNew.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/components/components.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/components/components.H
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/components/writeComponentFields.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/div/div.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/div/div.H
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/div/writeDivField.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/interpolate/interpolate.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/interpolate/interpolate.H
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/interpolate/writeInterpolateField.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/mag/mag.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/mag/mag.H
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/mag/writeMagField.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.H
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/magGrad/writeMagGradField.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/magSqr/magSqr.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/magSqr/magSqr.H
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/magSqr/writeMagSqrField.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/randomise/randomise.C
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/randomise/randomise.H
 delete mode 100644 src/postProcessing/foamCalcFunctions/field/randomise/writeRandomField.C
 delete mode 100644 src/postProcessing/postCalc/Make/files
 delete mode 100644 src/postProcessing/postCalc/calc.H
 delete mode 100644 src/postProcessing/postCalc/postCalc.C

diff --git a/applications/utilities/miscellaneous/foamDebugSwitches/Make/options b/applications/utilities/miscellaneous/foamDebugSwitches/Make/options
index 2c461c3680b..331b481dff3 100644
--- a/applications/utilities/miscellaneous/foamDebugSwitches/Make/options
+++ b/applications/utilities/miscellaneous/foamDebugSwitches/Make/options
@@ -20,7 +20,6 @@ EXE_LIBS = \
     -lfieldFunctionObjects \
     -lfileFormats \
     -lfiniteVolume \
-    -lfoamCalcFunctions \
     -lforces \
     -lfvMotionSolvers \
     -lgenericPatchFields \
diff --git a/applications/utilities/miscellaneous/foamDebugSwitches/foamDebugSwitches.C b/applications/utilities/miscellaneous/foamDebugSwitches/foamDebugSwitches.C
index 1943b7d631b..5089c75b8a2 100644
--- a/applications/utilities/miscellaneous/foamDebugSwitches/foamDebugSwitches.C
+++ b/applications/utilities/miscellaneous/foamDebugSwitches/foamDebugSwitches.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2013 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -34,6 +34,7 @@ Description
 #include "IFstream.H"
 #include "IOobject.H"
 #include "HashSet.H"
+#include "etcFiles.H"
 
 using namespace Foam;
 
diff --git a/applications/utilities/postProcessing/foamCalc/Make/files b/applications/utilities/postProcessing/foamCalc/Make/files
deleted file mode 100644
index 1d17b8db164..00000000000
--- a/applications/utilities/postProcessing/foamCalc/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-foamCalcApp.C
-
-EXE = $(FOAM_APPBIN)/foamCalc
diff --git a/applications/utilities/postProcessing/foamCalc/Make/options b/applications/utilities/postProcessing/foamCalc/Make/options
deleted file mode 100644
index bc538244441..00000000000
--- a/applications/utilities/postProcessing/foamCalc/Make/options
+++ /dev/null
@@ -1,10 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/foamCalcFunctions/lnInclude \
-    -I$(LIB_SRC)/finiteVolume/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude
-
-EXE_LIBS = \
-    -lgenericPatchFields \
-    -lfoamCalcFunctions \
-    -lfiniteVolume \
-    -lmeshTools
diff --git a/applications/utilities/postProcessing/foamCalc/foamCalcApp.C b/applications/utilities/postProcessing/foamCalc/foamCalcApp.C
deleted file mode 100644
index 2ac25d8e5d0..00000000000
--- a/applications/utilities/postProcessing/foamCalc/foamCalcApp.C
+++ /dev/null
@@ -1,100 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    foamCalc
-
-Description
-    Generic wrapper for calculating a quantity at each time.
-
-    Split into four phases:
-        1. Intialise
-        2. Pre-time calculation loop
-        3. Calculation loop
-        4. Post-calculation loop
-
-\*---------------------------------------------------------------------------*/
-
-#include "timeSelector.H"
-#include "calcType.H"
-
-using namespace Foam;
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-int main(int argc, char *argv[])
-{
-    Foam::timeSelector::addOptions();
-    #include "addRegionOption.H"
-    Foam::argList::addBoolOption
-    (
-        "noWrite",
-        "suppress writing results"
-    );
-    #include "addDictOption.H"
-
-    if (argc < 2)
-    {
-        FatalError
-            << "No utility has been supplied" << nl
-            << exit(FatalError);
-    }
-
-    const word utilityName = argv[1];
-
-    Foam::autoPtr<Foam::calcType> utility
-    (
-        calcType::New(utilityName)
-    );
-
-    utility().tryInit();
-
-    #include "setRootCase.H"
-    #include "createTime.H"
-    Foam::instantList timeDirs = Foam::timeSelector::select0(runTime, args);
-    #include "createNamedMesh.H"
-
-    utility().tryPreCalc(args, runTime, mesh);
-
-    forAll(timeDirs, timeI)
-    {
-        runTime.setTime(timeDirs[timeI], timeI);
-
-        Foam::Info<< "Time = " << runTime.timeName() << Foam::endl;
-
-        mesh.readUpdate();
-
-        utility().tryCalc(args, runTime, mesh);
-
-        Foam::Info<< Foam::endl;
-    }
-
-    utility().tryPostCalc(args, runTime, mesh);
-
-    Info<< "End\n" << endl;
-
-    return 0;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/postProcess/Make/files b/applications/utilities/postProcessing/postProcess/Make/files
new file mode 100644
index 00000000000..712053a449e
--- /dev/null
+++ b/applications/utilities/postProcessing/postProcess/Make/files
@@ -0,0 +1,3 @@
+postProcess.C
+
+EXE = $(FOAM_APPBIN)/postProcess
diff --git a/src/postProcessing/functionObjects/utilities/Make/options b/applications/utilities/postProcessing/postProcess/Make/options
similarity index 87%
rename from src/postProcessing/functionObjects/utilities/Make/options
rename to applications/utilities/postProcessing/postProcess/Make/options
index 6ff1c14f347..33c0f0a1712 100644
--- a/src/postProcessing/functionObjects/utilities/Make/options
+++ b/applications/utilities/postProcessing/postProcess/Make/options
@@ -1,6 +1,5 @@
 EXE_INC = \
-    -I$(LIB_SRC)/lagrangian/basic/lnInclude \
-    -I$(LIB_SRC)/lagrangian/DSMC/lnInclude \
+    -I$(LIB_SRC)/transportModels \
     -I$(LIB_SRC)/transportModels \
     -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
     -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
@@ -9,11 +8,11 @@ EXE_INC = \
     -I$(LIB_SRC)/transportModels/compressible/lnInclude \
     -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
     -I$(LIB_SRC)/finiteVolume/lnInclude \
+    -I$(LIB_SRC)/fvOptions/lnInclude \
     -I$(LIB_SRC)/meshTools/lnInclude \
     -I$(LIB_SRC)/sampling/lnInclude
 
-LIB_LIBS = \
-    -lfvOptions \
+EXE_LIBS = \
     -lturbulenceModels \
     -lincompressibleTurbulenceModels \
     -lcompressibleTurbulenceModels \
@@ -22,5 +21,7 @@ LIB_LIBS = \
     -lfluidThermophysicalModels \
     -lspecie \
     -lfiniteVolume \
+    -lfvOptions \
+    -lgenericPatchFields \
     -lmeshTools \
     -lsampling
diff --git a/applications/utilities/postProcessing/postProcess/postProcess.C b/applications/utilities/postProcessing/postProcess/postProcess.C
new file mode 100644
index 00000000000..44fe8a951ca
--- /dev/null
+++ b/applications/utilities/postProcessing/postProcess/postProcess.C
@@ -0,0 +1,202 @@
+/*---------------------------------------------------------------------------*\
+  =========                 |
+  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
+   \\    /   O peration     |
+    \\  /    A nd           | Copyright (C) 2016 OpenFOAM Foundation
+     \\/     M anipulation  |
+-------------------------------------------------------------------------------
+License
+    This file is part of OpenFOAM.
+
+    OpenFOAM is free software: you can redistribute it and/or modify it
+    under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+    for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
+
+Application
+    postProcess
+
+Description
+    Execute the set of functionObjects specified in the selected dictionary
+    (which defaults to system/controlDict) or on the command-line for the
+    selected set of times on the selected set of fields.
+
+\*---------------------------------------------------------------------------*/
+
+#include "argList.H"
+#include "timeSelector.H"
+#include "ReadFields.H"
+#include "volFields.H"
+#include "surfaceFields.H"
+#include "pointFields.H"
+#include "uniformDimensionedFields.H"
+
+using namespace Foam;
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+#define ReadFields(GeoFieldType)                                               \
+    readFields<GeoFieldType>(mesh, objects, selectedFields, storedObjects);
+
+#define ReadPointFields(GeoFieldType)                                          \
+    readFields<GeoFieldType>(pMesh, objects, selectedFields, storedObjects);
+
+#define ReadUniformFields(FieldType)                                           \
+    readUniformFields<FieldType>                                               \
+    (constantObjects, selectedFields, storedObjects);
+
+void executeFunctionObjects
+(
+    const argList& args,
+    const Time& runTime,
+    fvMesh& mesh,
+    const HashSet<word>& selectedFields,
+    functionObjectList& functions
+)
+{
+    Info<< nl << "Reading fields:" << endl;
+
+    // Maintain a stack of the stored objects to clear after executing
+    // the functionObjects
+    LIFOStack<regIOobject*> storedObjects;
+
+    // Read objects in time directory
+    IOobjectList objects(mesh, runTime.timeName());
+
+    // Read volFields
+    ReadFields(volScalarField);
+    ReadFields(volVectorField);
+    ReadFields(volSphericalTensorField);
+    ReadFields(volSymmTensorField);
+    ReadFields(volTensorField);
+
+    // Read internal fields
+    ReadFields(volScalarField::Internal);
+    ReadFields(volVectorField::Internal);
+    ReadFields(volSphericalTensorField::Internal);
+    ReadFields(volSymmTensorField::Internal);
+    ReadFields(volTensorField::Internal);
+
+    // Read surface fields
+    ReadFields(surfaceScalarField);
+    ReadFields(surfaceVectorField);
+    ReadFields(surfaceSphericalTensorField);
+    ReadFields(surfaceSymmTensorField);
+    ReadFields(surfaceTensorField);
+
+    // Read point fields.
+    const pointMesh& pMesh = pointMesh::New(mesh);
+
+    ReadPointFields(pointScalarField)
+    ReadPointFields(pointVectorField);
+    ReadPointFields(pointSphericalTensorField);
+    ReadPointFields(pointSymmTensorField);
+    ReadPointFields(pointTensorField);
+
+    // Read uniform dimensioned fields
+    IOobjectList constantObjects(mesh, runTime.constant());
+
+    ReadUniformFields(uniformDimensionedScalarField);
+    ReadUniformFields(uniformDimensionedVectorField);
+    ReadUniformFields(uniformDimensionedSphericalTensorField);
+    ReadUniformFields(uniformDimensionedSymmTensorField);
+    ReadUniformFields(uniformDimensionedTensorField);
+
+    Info<< nl << "Executing functionObjects" << endl;
+
+    // Execute the functionObjects in post-processing mode
+    functions.execute(true);
+
+    while (!storedObjects.empty())
+    {
+        storedObjects.pop()->checkOut();
+    }
+}
+
+
+int main(int argc, char *argv[])
+{
+    Foam::timeSelector::addOptions();
+    #include "addRegionOption.H"
+    #include "addFunctionObjectOptions.H"
+
+    #include "setRootCase.H"
+    #include "createTime.H"
+    Foam::instantList timeDirs = Foam::timeSelector::select0(runTime, args);
+    #include "createNamedMesh.H"
+
+    // Initialize the set of selected fields from the command-line options
+    HashSet<word> selectedFields;
+    if (args.optionFound("fields"))
+    {
+        args.optionLookup("fields")() >> selectedFields;
+    }
+    if (args.optionFound("field"))
+    {
+        selectedFields.insert(args.optionLookup("field")());
+    }
+
+    // Externally stored dictionary for functionObjectList
+    // if not constructed from runTime
+    dictionary functionsDict;
+
+    // Construct functionObjectList
+    autoPtr<functionObjectList> functionsPtr
+    (
+        functionObjectList::New(args, runTime, functionsDict, selectedFields)
+    );
+
+    forAll(timeDirs, timeI)
+    {
+        runTime.setTime(timeDirs[timeI], timeI);
+
+        Info<< "Time = " << runTime.timeName() << endl;
+
+        if (mesh.readUpdate() != polyMesh::UNCHANGED)
+        {
+            // Update functionObjectList if mesh changes
+            functionsPtr = functionObjectList::New
+            (
+                args,
+                runTime,
+                functionsDict,
+                selectedFields
+            );
+        }
+
+        FatalIOError.throwExceptions();
+
+        try
+        {
+            executeFunctionObjects
+            (
+                args,
+                runTime,
+                mesh,
+                selectedFields,
+                functionsPtr()
+            );
+        }
+        catch (IOerror& err)
+        {
+            Warning<< err << endl;
+        }
+
+        Info<< endl;
+    }
+
+    Info<< "End\n" << endl;
+
+    return 0;
+}
+
+
+// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/velocityField/Co/Co.C b/applications/utilities/postProcessing/velocityField/Co/Co.C
deleted file mode 100644
index b71c8bd62bb..00000000000
--- a/applications/utilities/postProcessing/velocityField/Co/Co.C
+++ /dev/null
@@ -1,129 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    Co
-
-Description
-    Calculates and writes the Co number as a volScalarField obtained
-    from field phi.
-
-    The -noWrite option just outputs the max values without writing the
-    field.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "fvc.H"
-#include "zeroGradientFvPatchFields.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
-{
-    bool writeResults = !args.optionFound("noWrite");
-
-    IOobject phiHeader
-    (
-        "phi",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (phiHeader.headerOk())
-    {
-        volScalarField Co
-        (
-            IOobject
-            (
-                "Co",
-                runTime.timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            mesh,
-            dimensionedScalar("0", dimless, 0),
-            zeroGradientFvPatchScalarField::typeName
-        );
-
-        Info<< "    Reading phi" << endl;
-        surfaceScalarField phi(phiHeader, mesh);
-
-        if (phi.dimensions() == dimensionSet(1, 0, -1, 0, 0))
-        {
-            Info<< "    Calculating compressible Co" << endl;
-
-            Info<< "    Reading rho" << endl;
-            volScalarField rho
-            (
-                IOobject
-                (
-                    "rho",
-                    runTime.timeName(),
-                    mesh,
-                    IOobject::MUST_READ
-                ),
-                mesh
-            );
-
-            Co.ref() =
-                (0.5*runTime.deltaT())
-               *fvc::surfaceSum(mag(phi))()()
-               /(rho*mesh.V());
-            Co.correctBoundaryConditions();
-        }
-        else if (phi.dimensions() == dimensionSet(0, 3, -1, 0, 0))
-        {
-            Info<< "    Calculating incompressible Co" << endl;
-
-            Co.ref() =
-                (0.5*runTime.deltaT())
-               *fvc::surfaceSum(mag(phi))()()
-               /mesh.V();
-            Co.correctBoundaryConditions();
-        }
-        else
-        {
-            FatalErrorInFunction
-                << "Incorrect dimensions of phi: " << phi.dimensions()
-                << abort(FatalError);
-        }
-
-        Info<< "Co max : " << max(Co).value() << endl;
-
-        if (writeResults)
-        {
-            Co.write();
-        }
-    }
-    else
-    {
-        Info<< "    No phi" << endl;
-    }
-
-    Info<< "\nEnd\n" << endl;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/velocityField/Co/Make/files b/applications/utilities/postProcessing/velocityField/Co/Make/files
deleted file mode 100644
index ad6e49b53fe..00000000000
--- a/applications/utilities/postProcessing/velocityField/Co/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-Co.C
-
-EXE = $(FOAM_APPBIN)/Co
diff --git a/applications/utilities/postProcessing/velocityField/Co/Make/options b/applications/utilities/postProcessing/velocityField/Co/Make/options
deleted file mode 100644
index 43333e81b1b..00000000000
--- a/applications/utilities/postProcessing/velocityField/Co/Make/options
+++ /dev/null
@@ -1,10 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/postCalc \
-    -I$(LIB_SRC)/finiteVolume/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude
-
-EXE_LIBS = \
-    $(FOAM_LIBBIN)/postCalc.o \
-    -lgenericPatchFields \
-    -lfiniteVolume \
-    -lmeshTools
diff --git a/applications/utilities/postProcessing/velocityField/Lambda2/Lambda2.C b/applications/utilities/postProcessing/velocityField/Lambda2/Lambda2.C
deleted file mode 100644
index 7ab06c392d7..00000000000
--- a/applications/utilities/postProcessing/velocityField/Lambda2/Lambda2.C
+++ /dev/null
@@ -1,88 +0,0 @@
-/*---------------------------------------------------------------------------* \
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    Lambda2
-
-Description
-    Calculates and writes the second largest eigenvalue of the sum of the
-    square of the symmetrical and anti-symmetrical parts of the velocity
-    gradient tensor.
-
-    The -noWrite option has no meaning.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "fvc.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
-{
-    IOobject Uheader
-    (
-        "U",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (Uheader.headerOk())
-    {
-        Info<< "    Reading U" << endl;
-        volVectorField U(Uheader, mesh);
-
-        const volTensorField gradU(fvc::grad(U));
-
-        volTensorField SSplusWW
-        (
-            (symm(gradU) & symm(gradU)) + (skew(gradU) & skew(gradU))
-        );
-
-        volScalarField Lambda2
-        (
-            IOobject
-            (
-                "Lambda2",
-                runTime.timeName(),
-                mesh,
-                IOobject::NO_READ,
-                IOobject::NO_WRITE
-            ),
-            -eigenValues(SSplusWW)().component(vector::Y)
-        );
-
-        Info<< "    Writing -Lambda2" << endl;
-        Lambda2.write();
-    }
-    else
-    {
-        Info<< "    No U" << endl;
-    }
-
-    Info<< "\nEnd\n" << endl;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/velocityField/Lambda2/Make/files b/applications/utilities/postProcessing/velocityField/Lambda2/Make/files
deleted file mode 100644
index d94ad0c675e..00000000000
--- a/applications/utilities/postProcessing/velocityField/Lambda2/Make/files
+++ /dev/null
@@ -1,4 +0,0 @@
-
-Lambda2.C
-
-EXE = $(FOAM_APPBIN)/Lambda2
diff --git a/applications/utilities/postProcessing/velocityField/Lambda2/Make/options b/applications/utilities/postProcessing/velocityField/Lambda2/Make/options
deleted file mode 100644
index 43333e81b1b..00000000000
--- a/applications/utilities/postProcessing/velocityField/Lambda2/Make/options
+++ /dev/null
@@ -1,10 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/postCalc \
-    -I$(LIB_SRC)/finiteVolume/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude
-
-EXE_LIBS = \
-    $(FOAM_LIBBIN)/postCalc.o \
-    -lgenericPatchFields \
-    -lfiniteVolume \
-    -lmeshTools
diff --git a/applications/utilities/postProcessing/velocityField/Mach/Mach.C b/applications/utilities/postProcessing/velocityField/Mach/Mach.C
deleted file mode 100644
index 39136a389b2..00000000000
--- a/applications/utilities/postProcessing/velocityField/Mach/Mach.C
+++ /dev/null
@@ -1,151 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    Mach
-
-Description
-    Calculates and optionally writes the local Mach number from the velocity
-    field U at each time.
-
-    The -nowrite option just outputs the max value without writing the field.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "fluidThermo.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
-{
-    bool writeResults = !args.optionFound("noWrite");
-
-    IOobject Uheader
-    (
-        "U",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    IOobject Theader
-    (
-        "T",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    // Check U and T exists
-    if (Uheader.headerOk() && Theader.headerOk())
-    {
-        autoPtr<volScalarField> MachPtr;
-
-        volVectorField U(Uheader, mesh);
-
-        if
-        (
-            IOobject
-            (
-                basicThermo::dictName,
-                runTime.constant(),
-                mesh
-            ).headerOk()
-        )
-        {
-            // thermophysical Mach
-            autoPtr<fluidThermo> thermo
-            (
-                fluidThermo::New(mesh)
-            );
-
-            volScalarField Cp(thermo->Cp());
-            volScalarField Cv(thermo->Cv());
-
-            MachPtr.set
-            (
-                new volScalarField
-                (
-                    IOobject
-                    (
-                        "Ma",
-                        runTime.timeName(),
-                        mesh
-                    ),
-                    mag(U)/(sqrt((Cp/Cv)*(Cp - Cv)*thermo->T()))
-                )
-            );
-        }
-        else
-        {
-            // thermodynamic Mach
-            IOdictionary thermoProps
-            (
-                IOobject
-                (
-                    "thermodynamicProperties",
-                    runTime.constant(),
-                    mesh,
-                    IOobject::MUST_READ_IF_MODIFIED,
-                    IOobject::NO_WRITE
-                )
-            );
-
-            dimensionedScalar R(thermoProps.lookup("R"));
-            dimensionedScalar Cv(thermoProps.lookup("Cv"));
-
-            volScalarField T(Theader, mesh);
-
-            MachPtr.set
-            (
-                new volScalarField
-                (
-                    IOobject
-                    (
-                        "Ma",
-                        runTime.timeName(),
-                        mesh
-                    ),
-                    mag(U)/(sqrt(((Cv + R)/Cv)*R*T))
-                )
-            );
-        }
-
-        Info<< "Mach max : " << max(MachPtr()).value() << endl;
-
-        if (writeResults)
-        {
-            MachPtr().write();
-        }
-    }
-    else
-    {
-        Info<< "    Missing U or T" << endl;
-    }
-
-    Info<< "\nEnd\n" << endl;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/velocityField/Mach/Make/files b/applications/utilities/postProcessing/velocityField/Mach/Make/files
deleted file mode 100644
index f075620c8ac..00000000000
--- a/applications/utilities/postProcessing/velocityField/Mach/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-Mach.C
-
-EXE = $(FOAM_APPBIN)/Mach
diff --git a/applications/utilities/postProcessing/velocityField/Mach/Make/options b/applications/utilities/postProcessing/velocityField/Mach/Make/options
deleted file mode 100644
index 2ddb93e3b6b..00000000000
--- a/applications/utilities/postProcessing/velocityField/Mach/Make/options
+++ /dev/null
@@ -1,14 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/postCalc \
-    -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-    -I$(LIB_SRC)/transportModels/compressible/lnInclude \
-    -I$(LIB_SRC)/finiteVolume/lnInclude
-
-EXE_LIBS = \
-    $(FOAM_LIBBIN)/postCalc.o \
-    -lgenericPatchFields \
-    -lcompressibleTransportModels \
-    -lcompressibleTransportModels \
-    -lfluidThermophysicalModels \
-    -lspecie \
-    -lfiniteVolume
diff --git a/applications/utilities/postProcessing/velocityField/Mach/readThermodynamicProperties.H b/applications/utilities/postProcessing/velocityField/Mach/readThermodynamicProperties.H
deleted file mode 100644
index 4e19adaae48..00000000000
--- a/applications/utilities/postProcessing/velocityField/Mach/readThermodynamicProperties.H
+++ /dev/null
@@ -1,23 +0,0 @@
-    Info<< "Reading thermodynamicProperties\n" << endl;
-
-    IOdictionary thermodynamicProperties
-    (
-        IOobject
-        (
-            "thermodynamicProperties",
-            runTime.constant(),
-            mesh,
-            IOobject::MUST_READ_IF_MODIFIED,
-            IOobject::NO_WRITE
-        )
-    );
-
-    dimensionedScalar R
-    (
-        thermodynamicProperties.lookup("R")
-    );
-
-    dimensionedScalar Cv
-    (
-        thermodynamicProperties.lookup("Cv")
-    );
diff --git a/applications/utilities/postProcessing/velocityField/Mach/thermodynamicMach.H b/applications/utilities/postProcessing/velocityField/Mach/thermodynamicMach.H
deleted file mode 100644
index 00d1717f7d9..00000000000
--- a/applications/utilities/postProcessing/velocityField/Mach/thermodynamicMach.H
+++ /dev/null
@@ -1,50 +0,0 @@
-    #include "readThermodynamicProperties.H"
-
-    for (label i=startTime; i<endTime; i++)
-    {
-        runTime.setTime(Times[i], i);
-
-        Info<< "Time = " << runTime.timeName() << endl;
-
-        IOobject Uheader
-        (
-            "U",
-            runTime.timeName(),
-            mesh,
-            IOobject::MUST_READ
-        );
-
-        IOobject Theader
-        (
-            "T",
-            runTime.timeName(),
-            mesh,
-            IOobject::MUST_READ
-        );
-
-
-        // Check U exists
-        if (Uheader.headerOk() && Theader.headerOk())
-        {
-            mesh.readUpdate();
-
-            volVectorField U(Uheader, mesh);
-            volScalarField T(Theader, mesh);
-
-            volScalarField Ma
-            (
-                IOobject
-                (
-                    "Ma",
-                    runTime.timeName(),
-                    mesh
-                ),
-                mag(U)/(sqrt(((Cv + R)/Cv)*R*T))
-            );
-            Ma.write();
-        }
-        else
-        {
-            Info<< "    No U or T" << endl;
-        }
-    }
diff --git a/applications/utilities/postProcessing/velocityField/Mach/thermophysicalMach.H b/applications/utilities/postProcessing/velocityField/Mach/thermophysicalMach.H
deleted file mode 100644
index 7125bd33af9..00000000000
--- a/applications/utilities/postProcessing/velocityField/Mach/thermophysicalMach.H
+++ /dev/null
@@ -1,45 +0,0 @@
-    for (label i=startTime; i<endTime; i++)
-    {
-        runTime.setTime(Times[i], i);
-
-        Info<< "Time = " << runTime.timeName() << endl;
-
-        mesh.readUpdate();
-
-        IOobject Uheader
-        (
-            "U",
-            runTime.timeName(),
-            mesh,
-            IOobject::MUST_READ
-        );
-
-        if (Uheader.headerOk())
-        {
-            volVectorField U(Uheader, mesh);
-
-            autoPtr<fluidThermo> thermo
-            (
-                fluidThermo::New(mesh)
-            );
-
-            volScalarField Cp = thermo->Cp();
-            volScalarField Cv = thermo->Cv();
-
-            volScalarField Ma
-            (
-                IOobject
-                (
-                    "Ma",
-                    runTime.timeName(),
-                    mesh
-                ),
-                mag(U)/(sqrt((Cp/Cv)*(Cp - Cv)*thermo->T()))
-            );
-            Ma.write();
-        }
-        else
-        {
-            Info<< "    No U" << endl;
-        }
-    }
diff --git a/applications/utilities/postProcessing/velocityField/Pe/Make/files b/applications/utilities/postProcessing/velocityField/Pe/Make/files
deleted file mode 100644
index 5d25c430a4a..00000000000
--- a/applications/utilities/postProcessing/velocityField/Pe/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-Pe.C
-
-EXE = $(FOAM_APPBIN)/Pe
diff --git a/applications/utilities/postProcessing/velocityField/Pe/Pe.C b/applications/utilities/postProcessing/velocityField/Pe/Pe.C
deleted file mode 100644
index 999e287d946..00000000000
--- a/applications/utilities/postProcessing/velocityField/Pe/Pe.C
+++ /dev/null
@@ -1,280 +0,0 @@
-/*---------------------------------------------------------------------------* \
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    Pe
-
-Description
-    Calculates the Peclet number Pe from the flux phi and writes the maximum
-    value, the surfaceScalarField Pef and volScalarField Pe.
-
-    With the -noWrite option just outputs the max value without writing
-    the fields.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "surfaceInterpolate.H"
-#include "fvcAverage.H"
-
-#include "singlePhaseTransportModel.H"
-#include "turbulentTransportModel.H"
-#include "turbulentFluidThermoModel.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
-{
-    bool writeResults = !args.optionFound("noWrite");
-
-    IOobject phiHeader
-    (
-        "phi",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (phiHeader.headerOk())
-    {
-        autoPtr<surfaceScalarField> PePtr;
-
-        Info<< "    Reading phi" << endl;
-        surfaceScalarField phi(phiHeader, mesh);
-
-        volVectorField U
-        (
-            IOobject
-            (
-                "U",
-                runTime.timeName(),
-                mesh,
-                IOobject::MUST_READ
-            ),
-            mesh
-        );
-
-        IOobject turbulencePropertiesHeader
-        (
-            "turbulenceProperties",
-            runTime.constant(),
-            mesh,
-            IOobject::MUST_READ_IF_MODIFIED,
-            IOobject::NO_WRITE
-        );
-
-        Info<< "    Calculating Pe" << endl;
-
-        if (phi.dimensions() == dimensionSet(0, 3, -1, 0, 0))
-        {
-            if (turbulencePropertiesHeader.headerOk())
-            {
-                singlePhaseTransportModel laminarTransport(U, phi);
-
-                autoPtr<incompressible::turbulenceModel> turbulenceModel
-                (
-                    incompressible::turbulenceModel::New
-                    (
-                        U,
-                        phi,
-                        laminarTransport
-                    )
-                );
-
-                PePtr.set
-                (
-                    new surfaceScalarField
-                    (
-                        IOobject
-                        (
-                            "Pef",
-                            runTime.timeName(),
-                            mesh
-                        ),
-                        mag(phi)
-                       /(
-                            mesh.magSf()
-                          * mesh.surfaceInterpolation::deltaCoeffs()
-                          * fvc::interpolate(turbulenceModel->nuEff())
-                        )
-                    )
-                );
-            }
-            else
-            {
-                IOdictionary transportProperties
-                (
-                    IOobject
-                    (
-                        "transportProperties",
-                        runTime.constant(),
-                        mesh,
-                        IOobject::MUST_READ_IF_MODIFIED,
-                        IOobject::NO_WRITE
-                    )
-                );
-
-                dimensionedScalar nu(transportProperties.lookup("nu"));
-
-                PePtr.set
-                (
-                    new surfaceScalarField
-                    (
-                        IOobject
-                        (
-                            "Pef",
-                            runTime.timeName(),
-                            mesh
-                        ),
-                        mag(phi)
-                       /(
-                            mesh.magSf()
-                          * mesh.surfaceInterpolation::deltaCoeffs()
-                          * nu
-                        )
-                    )
-                );
-            }
-        }
-        else if (phi.dimensions() == dimensionSet(1, 0, -1, 0, 0))
-        {
-            if (turbulencePropertiesHeader.headerOk())
-            {
-                autoPtr<fluidThermo> thermo(fluidThermo::New(mesh));
-
-                volScalarField rho
-                (
-                    IOobject
-                    (
-                        "rho",
-                        runTime.timeName(),
-                        mesh
-                    ),
-                    thermo->rho()
-                );
-
-                autoPtr<compressible::turbulenceModel> turbulenceModel
-                (
-                    compressible::turbulenceModel::New
-                    (
-                        rho,
-                        U,
-                        phi,
-                        thermo()
-                    )
-                );
-
-                PePtr.set
-                (
-                    new surfaceScalarField
-                    (
-                        IOobject
-                        (
-                            "Pef",
-                            runTime.timeName(),
-                            mesh
-                        ),
-                        mag(phi)
-                       /(
-                            mesh.magSf()
-                          * mesh.surfaceInterpolation::deltaCoeffs()
-                          * fvc::interpolate(turbulenceModel->muEff())
-                        )
-                    )
-                );
-            }
-            else
-            {
-                IOdictionary transportProperties
-                (
-                    IOobject
-                    (
-                        "transportProperties",
-                        runTime.constant(),
-                        mesh,
-                        IOobject::MUST_READ_IF_MODIFIED,
-                        IOobject::NO_WRITE
-                    )
-                );
-
-                dimensionedScalar mu(transportProperties.lookup("mu"));
-
-                PePtr.set
-                (
-                    new surfaceScalarField
-                    (
-                        IOobject
-                        (
-                            "Pef",
-                            runTime.timeName(),
-                            mesh
-                        ),
-                        mag(phi)
-                       /(
-                            mesh.magSf()
-                          * mesh.surfaceInterpolation::deltaCoeffs()
-                          * mu
-                        )
-                    )
-                );
-            }
-        }
-        else
-        {
-            FatalErrorInFunction
-                << "Incorrect dimensions of phi: " << phi.dimensions()
-                    << abort(FatalError);
-        }
-
-        Info<< "    Pe max : " << max(PePtr()).value() << endl;
-
-        if (writeResults)
-        {
-            Info<< "    Writing surfaceScalarField : "
-                << PePtr().name() << endl;
-            PePtr().write();
-
-            volScalarField Pe
-            (
-                IOobject
-                (
-                    "Pe",
-                    runTime.timeName(),
-                    mesh
-                ),
-                fvc::average(PePtr())
-            );
-
-            Info<< "    Writing volScalarField : "
-                << Pe.name() << endl;
-            Pe.write();
-        }
-    }
-    else
-    {
-        Info<< "    No phi" << endl;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/velocityField/Q/Make/files b/applications/utilities/postProcessing/velocityField/Q/Make/files
deleted file mode 100644
index e34a54f5bed..00000000000
--- a/applications/utilities/postProcessing/velocityField/Q/Make/files
+++ /dev/null
@@ -1,4 +0,0 @@
-
-Q.C
-
-EXE = $(FOAM_APPBIN)/Q
diff --git a/applications/utilities/postProcessing/velocityField/Q/Make/options b/applications/utilities/postProcessing/velocityField/Q/Make/options
deleted file mode 100644
index 43333e81b1b..00000000000
--- a/applications/utilities/postProcessing/velocityField/Q/Make/options
+++ /dev/null
@@ -1,10 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/postCalc \
-    -I$(LIB_SRC)/finiteVolume/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude
-
-EXE_LIBS = \
-    $(FOAM_LIBBIN)/postCalc.o \
-    -lgenericPatchFields \
-    -lfiniteVolume \
-    -lmeshTools
diff --git a/applications/utilities/postProcessing/velocityField/Q/Q.C b/applications/utilities/postProcessing/velocityField/Q/Q.C
deleted file mode 100644
index 0f9c6d8d8cb..00000000000
--- a/applications/utilities/postProcessing/velocityField/Q/Q.C
+++ /dev/null
@@ -1,115 +0,0 @@
-/*---------------------------------------------------------------------------* \
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2012 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    Q
-
-Description
-    Calculates and writes the second invariant of the velocity gradient tensor.
-
-        Q = 0.5*(sqr(tr(gradU)) - tr(((gradU)&(gradU))))      [1/s^2]
-
-    The -noWrite option just outputs the max/min values without writing
-    the field.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "fvc.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
-{
-    bool writeResults = !args.optionFound("noWrite");
-
-    IOobject Uheader
-    (
-        "U",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (Uheader.headerOk())
-    {
-        Info<< "    Reading U" << endl;
-        volVectorField U(Uheader, mesh);
-        volTensorField gradU(fvc::grad(U));
-
-        volScalarField Q
-        (
-            IOobject
-            (
-                "Q",
-                runTime.timeName(),
-                mesh,
-                IOobject::NO_READ,
-                IOobject::NO_WRITE
-            ),
-            0.5*(sqr(tr(gradU)) - tr(((gradU)&(gradU))))
-        );
-
-        /*
-        // This is a second way of calculating Q, that delivers results
-        // very close, but not identical to the first approach.
-
-        volSymmTensorField S(symm(gradU));  // symmetric part of tensor
-        volTensorField W(skew(gradU));      // anti-symmetric part
-
-        volScalarField SS(S && S);
-        volScalarField WW(W && W);
-
-        volScalarField Q
-        (
-            IOobject
-            (
-                "Q",
-                runTime.timeName(),
-                mesh,
-                IOobject::NO_READ,
-                IOobject::NO_WRITE
-            ),
-            0.5*(WW - SS)
-        );
-        */
-
-        Info<< "mag(Q) max/min : "
-            << max(Q).value() << " "
-            << min(Q).value() << endl;
-
-        if (writeResults)
-        {
-            Q.write();
-        }
-    }
-    else
-    {
-        Info<< "    No U" << endl;
-    }
-
-    Info<< "\nEnd\n" << endl;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/velocityField/enstrophy/Make/files b/applications/utilities/postProcessing/velocityField/enstrophy/Make/files
deleted file mode 100644
index 965fb3571cc..00000000000
--- a/applications/utilities/postProcessing/velocityField/enstrophy/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-enstrophy.C
-
-EXE = $(FOAM_APPBIN)/enstrophy
diff --git a/applications/utilities/postProcessing/velocityField/enstrophy/Make/options b/applications/utilities/postProcessing/velocityField/enstrophy/Make/options
deleted file mode 100644
index 43333e81b1b..00000000000
--- a/applications/utilities/postProcessing/velocityField/enstrophy/Make/options
+++ /dev/null
@@ -1,10 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/postCalc \
-    -I$(LIB_SRC)/finiteVolume/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude
-
-EXE_LIBS = \
-    $(FOAM_LIBBIN)/postCalc.o \
-    -lgenericPatchFields \
-    -lfiniteVolume \
-    -lmeshTools
diff --git a/applications/utilities/postProcessing/velocityField/enstrophy/enstrophy.C b/applications/utilities/postProcessing/velocityField/enstrophy/enstrophy.C
deleted file mode 100644
index fd7fe2798af..00000000000
--- a/applications/utilities/postProcessing/velocityField/enstrophy/enstrophy.C
+++ /dev/null
@@ -1,88 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    enstrophy
-
-Description
-    Calculates and writes the enstrophy of the velocity field U.
-
-    The -noWrite option just outputs the max/min values without writing the
-    field.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "fvc.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
-{
-    bool writeResults = !args.optionFound("noWrite");
-
-    IOobject Uheader
-    (
-        "U",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (Uheader.headerOk())
-    {
-        Info<< "    Reading U" << endl;
-        volVectorField U(Uheader, mesh);
-
-        Info<< "    Calculating enstrophy" << endl;
-        volScalarField enstrophy
-        (
-            IOobject
-            (
-                "enstrophy",
-                runTime.timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            0.5*magSqr(fvc::curl(U))
-        );
-
-        Info<< "enstrophy(U) max/min : "
-            << max(enstrophy).value() << " "
-            << min(enstrophy).value() << endl;
-
-        if (writeResults)
-        {
-            enstrophy.write();
-        }
-    }
-    else
-    {
-        Info<< "    No U" << endl;
-    }
-
-    Info<< "\nEnd\n" << endl;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/velocityField/flowType/Make/files b/applications/utilities/postProcessing/velocityField/flowType/Make/files
deleted file mode 100644
index b73f5de6e25..00000000000
--- a/applications/utilities/postProcessing/velocityField/flowType/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-flowType.C
-
-EXE = $(FOAM_APPBIN)/flowType
diff --git a/applications/utilities/postProcessing/velocityField/flowType/Make/options b/applications/utilities/postProcessing/velocityField/flowType/Make/options
deleted file mode 100644
index 43333e81b1b..00000000000
--- a/applications/utilities/postProcessing/velocityField/flowType/Make/options
+++ /dev/null
@@ -1,10 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/postCalc \
-    -I$(LIB_SRC)/finiteVolume/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude
-
-EXE_LIBS = \
-    $(FOAM_LIBBIN)/postCalc.o \
-    -lgenericPatchFields \
-    -lfiniteVolume \
-    -lmeshTools
diff --git a/applications/utilities/postProcessing/velocityField/flowType/flowType.C b/applications/utilities/postProcessing/velocityField/flowType/flowType.C
deleted file mode 100644
index 317b6a27041..00000000000
--- a/applications/utilities/postProcessing/velocityField/flowType/flowType.C
+++ /dev/null
@@ -1,95 +0,0 @@
-/*---------------------------------------------------------------------------* \
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    flowType
-
-Description
-    Calculates and writes the flowType of velocity field U.
-
-    The -noWrite option has no meaning.
-
-    The flow type parameter is obtained according to the following equation:
-    \verbatim
-                 |D| - |Omega|
-        lambda = -------------
-                 |D| + |Omega|
-
-        -1 = rotational flow
-         0 = simple shear flow
-         1 = planar extensional flow
-    \endverbatim
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "fvc.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
-{
-    IOobject Uheader
-    (
-        "U",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (Uheader.headerOk())
-    {
-        Info<< "    Reading U" << endl;
-        volVectorField U(Uheader, mesh);
-
-        volTensorField gradU(fvc::grad(U));
-        volScalarField magD(mag(symm(gradU)));
-        volScalarField magOmega (mag(skew(gradU)));
-        dimensionedScalar smallMagD("smallMagD", magD.dimensions(), SMALL);
-
-        Info<< "    Calculating flowType" << endl;
-
-        volScalarField flowType
-        (
-            IOobject
-            (
-                "flowType",
-                runTime.timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            (magD - magOmega)/(magD + magOmega + smallMagD)
-        );
-
-        flowType.write();
-    }
-    else
-    {
-        Info<< "    No U" << endl;
-    }
-
-    Info<< "\nEnd\n" << endl;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/velocityField/uprime/Make/files b/applications/utilities/postProcessing/velocityField/uprime/Make/files
deleted file mode 100644
index cf75483a0f2..00000000000
--- a/applications/utilities/postProcessing/velocityField/uprime/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-uprime.C
-
-EXE = $(FOAM_APPBIN)/uprime
diff --git a/applications/utilities/postProcessing/velocityField/uprime/Make/options b/applications/utilities/postProcessing/velocityField/uprime/Make/options
deleted file mode 100644
index 43333e81b1b..00000000000
--- a/applications/utilities/postProcessing/velocityField/uprime/Make/options
+++ /dev/null
@@ -1,10 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/postCalc \
-    -I$(LIB_SRC)/finiteVolume/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude
-
-EXE_LIBS = \
-    $(FOAM_LIBBIN)/postCalc.o \
-    -lgenericPatchFields \
-    -lfiniteVolume \
-    -lmeshTools
diff --git a/applications/utilities/postProcessing/velocityField/uprime/uprime.C b/applications/utilities/postProcessing/velocityField/uprime/uprime.C
deleted file mode 100644
index 0922cb65ee4..00000000000
--- a/applications/utilities/postProcessing/velocityField/uprime/uprime.C
+++ /dev/null
@@ -1,88 +0,0 @@
-/*---------------------------------------------------------------------------* \
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    uprime
-
-Description
-    Calculates and writes the scalar field of uprime (sqrt(2/3 k)).
-
-    The -noWrite option just outputs the max/min values without writing
-    the field.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "fvc.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
-{
-    bool writeResults = !args.optionFound("noWrite");
-
-    IOobject kheader
-    (
-        "k",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (kheader.headerOk())
-    {
-        Info<< "    Reading k" << endl;
-        volScalarField k(kheader, mesh);
-
-        Info<< "    Calculating uprime" << endl;
-        volScalarField uprime
-        (
-            IOobject
-            (
-                "uprime",
-                runTime.timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            sqrt((2.0/3.0)*k)
-        );
-
-        Info<< "uprime max/min : "
-            << max(uprime).value() << " "
-            << min(uprime).value() << endl;
-
-        if (writeResults)
-        {
-            uprime.write();
-        }
-    }
-    else
-    {
-        Info<< "    No k" << endl;
-    }
-
-    Info<< "\nEnd\n" << endl;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/postProcessing/velocityField/vorticity/Make/files b/applications/utilities/postProcessing/velocityField/vorticity/Make/files
deleted file mode 100644
index cac3515c59f..00000000000
--- a/applications/utilities/postProcessing/velocityField/vorticity/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-vorticity.C
-
-EXE = $(FOAM_APPBIN)/vorticity
diff --git a/applications/utilities/postProcessing/velocityField/vorticity/Make/options b/applications/utilities/postProcessing/velocityField/vorticity/Make/options
deleted file mode 100644
index 43333e81b1b..00000000000
--- a/applications/utilities/postProcessing/velocityField/vorticity/Make/options
+++ /dev/null
@@ -1,10 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/postCalc \
-    -I$(LIB_SRC)/finiteVolume/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude
-
-EXE_LIBS = \
-    $(FOAM_LIBBIN)/postCalc.o \
-    -lgenericPatchFields \
-    -lfiniteVolume \
-    -lmeshTools
diff --git a/applications/utilities/postProcessing/velocityField/vorticity/vorticity.C b/applications/utilities/postProcessing/velocityField/vorticity/vorticity.C
deleted file mode 100644
index 7ecf36a5292..00000000000
--- a/applications/utilities/postProcessing/velocityField/vorticity/vorticity.C
+++ /dev/null
@@ -1,101 +0,0 @@
-/*---------------------------------------------------------------------------* \
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    vorticity
-
-Description
-    Calculates and writes the vorticity of velocity field U.
-
-    The -noWrite option just outputs the max/min values without writing
-    the field.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "fvc.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
-{
-    bool writeResults = !args.optionFound("noWrite");
-
-    IOobject Uheader
-    (
-        "U",
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (Uheader.headerOk())
-    {
-        Info<< "    Reading U" << endl;
-        volVectorField U(Uheader, mesh);
-
-        Info<< "    Calculating vorticity" << endl;
-        volVectorField vorticity
-        (
-            IOobject
-            (
-                "vorticity",
-                runTime.timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            fvc::curl(U)
-        );
-
-        volScalarField magVorticity
-        (
-            IOobject
-            (
-                "magVorticity",
-                runTime.timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            mag(vorticity)
-        );
-
-        Info<< "vorticity max/min : "
-            << max(magVorticity).value() << " "
-            << min(magVorticity).value() << endl;
-
-        if (writeResults)
-        {
-            vorticity.write();
-            magVorticity.write();
-        }
-    }
-    else
-    {
-        Info<< "    No U" << endl;
-    }
-
-    Info<< "\nEnd\n" << endl;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/thermophysical/adiabaticFlameT/adiabaticFlameT.C b/applications/utilities/thermophysical/adiabaticFlameT/adiabaticFlameT.C
index 2e41a7870e3..7cc7e44c7c5 100644
--- a/applications/utilities/thermophysical/adiabaticFlameT/adiabaticFlameT.C
+++ b/applications/utilities/thermophysical/adiabaticFlameT/adiabaticFlameT.C
@@ -35,6 +35,7 @@ Description
 #include "dictionary.H"
 #include "IFstream.H"
 #include "OSspecific.H"
+#include "etcFiles.H"
 
 #include "specie.H"
 #include "perfectGas.H"
diff --git a/applications/utilities/thermophysical/equilibriumFlameT/equilibriumFlameT.C b/applications/utilities/thermophysical/equilibriumFlameT/equilibriumFlameT.C
index cd1c35f07e5..e95e74819af 100644
--- a/applications/utilities/thermophysical/equilibriumFlameT/equilibriumFlameT.C
+++ b/applications/utilities/thermophysical/equilibriumFlameT/equilibriumFlameT.C
@@ -36,6 +36,7 @@ Description
 #include "dictionary.H"
 #include "IFstream.H"
 #include "OSspecific.H"
+#include "etcFiles.H"
 #include "IOmanip.H"
 
 #include "specie.H"
diff --git a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/mixtureAdiabaticFlameT.C b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/mixtureAdiabaticFlameT.C
index c755532d657..5f7f61d4b8a 100644
--- a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/mixtureAdiabaticFlameT.C
+++ b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/mixtureAdiabaticFlameT.C
@@ -34,6 +34,7 @@ Description
 #include "dictionary.H"
 #include "IFstream.H"
 #include "OSspecific.H"
+#include "etcFiles.H"
 
 #include "specie.H"
 #include "perfectGas.H"
diff --git a/bin/Co b/bin/Co
new file mode 100755
index 00000000000..a340dbcc0ba
--- /dev/null
+++ b/bin/Co
@@ -0,0 +1,39 @@
+#!/bin/sh
+#------------------------------------------------------------------------------
+# =========                 |
+# \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
+#  \\    /   O peration     |
+#   \\  /    A nd           | Copyright (C) 2016 OpenFOAM Foundation
+#    \\/     M anipulation  |
+#-------------------------------------------------------------------------------
+# License
+#     This file is part of OpenFOAM.
+#
+#     OpenFOAM is free software: you can redistribute it and/or modify it
+#     under the terms of the GNU General Public License as published by
+#     the Free Software Foundation, either version 3 of the License, or
+#     (at your option) any later version.
+#
+#     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
+#     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+#     for more details.
+#
+#     You should have received a copy of the GNU General Public License
+#     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Script
+#     Co
+#
+# Description
+#     Script to suggest using the new "-postProcess" solver option.
+#
+#------------------------------------------------------------------------------
+Script=${0##*/}
+
+echo $Script "has been superceded by the -postProcess solver option:"
+echo "<solverName> -func CourantNo"
+echo "e.g."
+echo "pimpleFoam -postProcess -func CourantNo"
+
+#------------------------------------------------------------------------------
diff --git a/bin/Lambda2 b/bin/Lambda2
new file mode 120000
index 00000000000..7b00da8e40e
--- /dev/null
+++ b/bin/Lambda2
@@ -0,0 +1 @@
+supercededByPostProcess
\ No newline at end of file
diff --git a/bin/Mach b/bin/Mach
new file mode 100755
index 00000000000..85f5b2848ae
--- /dev/null
+++ b/bin/Mach
@@ -0,0 +1,39 @@
+#!/bin/sh
+#------------------------------------------------------------------------------
+# =========                 |
+# \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
+#  \\    /   O peration     |
+#   \\  /    A nd           | Copyright (C) 2016 OpenFOAM Foundation
+#    \\/     M anipulation  |
+#-------------------------------------------------------------------------------
+# License
+#     This file is part of OpenFOAM.
+#
+#     OpenFOAM is free software: you can redistribute it and/or modify it
+#     under the terms of the GNU General Public License as published by
+#     the Free Software Foundation, either version 3 of the License, or
+#     (at your option) any later version.
+#
+#     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
+#     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+#     for more details.
+#
+#     You should have received a copy of the GNU General Public License
+#     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Script
+#     Mach
+#
+# Description
+#     Script to suggest using the new "-postProcess" solver option.
+#
+#------------------------------------------------------------------------------
+Script=${0##*/}
+
+echo $Script "has been superceded by the -postProcess solver option:"
+echo "<solverName> -func MachNo"
+echo "e.g."
+echo "sonicFoam -postProcess -func MachNo"
+
+#------------------------------------------------------------------------------
diff --git a/bin/Pe b/bin/Pe
new file mode 100755
index 00000000000..6313220895c
--- /dev/null
+++ b/bin/Pe
@@ -0,0 +1,39 @@
+#!/bin/sh
+#------------------------------------------------------------------------------
+# =========                 |
+# \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
+#  \\    /   O peration     |
+#   \\  /    A nd           | Copyright (C) 2016 OpenFOAM Foundation
+#    \\/     M anipulation  |
+#-------------------------------------------------------------------------------
+# License
+#     This file is part of OpenFOAM.
+#
+#     OpenFOAM is free software: you can redistribute it and/or modify it
+#     under the terms of the GNU General Public License as published by
+#     the Free Software Foundation, either version 3 of the License, or
+#     (at your option) any later version.
+#
+#     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
+#     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+#     for more details.
+#
+#     You should have received a copy of the GNU General Public License
+#     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Script
+#     Pe
+#
+# Description
+#     Script to suggest using the new "-postProcess" solver option.
+#
+#------------------------------------------------------------------------------
+Script=${0##*/}
+
+echo $Script "has been superceded by the -postProcess solver option:"
+echo "<solverName> -func PecletNo"
+echo "e.g."
+echo "pimpleFoam -postProcess -func PecletNo"
+
+#------------------------------------------------------------------------------
diff --git a/bin/Q b/bin/Q
new file mode 120000
index 00000000000..7b00da8e40e
--- /dev/null
+++ b/bin/Q
@@ -0,0 +1 @@
+supercededByPostProcess
\ No newline at end of file
diff --git a/bin/enstrophy b/bin/enstrophy
new file mode 120000
index 00000000000..7b00da8e40e
--- /dev/null
+++ b/bin/enstrophy
@@ -0,0 +1 @@
+supercededByPostProcess
\ No newline at end of file
diff --git a/bin/execFlowFunctionObjects b/bin/execFlowFunctionObjects
index 519f1ad5ce9..79e41175277 100755
--- a/bin/execFlowFunctionObjects
+++ b/bin/execFlowFunctionObjects
@@ -31,7 +31,7 @@
 #
 #------------------------------------------------------------------------------
 
-echo "execFlowFunctionObjects has been replaced by the \
+echo "execFlowFunctionObjects has been superceded by the \
 '-postProcess' solver command-line option, e.g."
 
 echo "simpleFoam -help -postProcess"
diff --git a/bin/flowType b/bin/flowType
new file mode 120000
index 00000000000..7b00da8e40e
--- /dev/null
+++ b/bin/flowType
@@ -0,0 +1 @@
+supercededByPostProcess
\ No newline at end of file
diff --git a/bin/foamCalc b/bin/foamCalc
new file mode 100755
index 00000000000..0f2ede771c0
--- /dev/null
+++ b/bin/foamCalc
@@ -0,0 +1,37 @@
+#!/bin/sh
+#------------------------------------------------------------------------------
+# =========                 |
+# \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
+#  \\    /   O peration     |
+#   \\  /    A nd           | Copyright (C) 2016 OpenFOAM Foundation
+#    \\/     M anipulation  |
+#-------------------------------------------------------------------------------
+# License
+#     This file is part of OpenFOAM.
+#
+#     OpenFOAM is free software: you can redistribute it and/or modify it
+#     under the terms of the GNU General Public License as published by
+#     the Free Software Foundation, either version 3 of the License, or
+#     (at your option) any later version.
+#
+#     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
+#     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+#     for more details.
+#
+#     You should have received a copy of the GNU General Public License
+#     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Script
+#     foamCalc
+#
+# Description
+#     Replacement foamCalc to suggest using the new "postProcess" utility.
+#
+#------------------------------------------------------------------------------
+
+echo "foamCalc has been superceded by the postProcess utility:"
+echo "postProcess -help"
+postProcess -help
+
+#------------------------------------------------------------------------------
diff --git a/bin/supercededByPostProcess b/bin/supercededByPostProcess
new file mode 100755
index 00000000000..f9fc9cdbe28
--- /dev/null
+++ b/bin/supercededByPostProcess
@@ -0,0 +1,37 @@
+#!/bin/sh
+#------------------------------------------------------------------------------
+# =========                 |
+# \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
+#  \\    /   O peration     |
+#   \\  /    A nd           | Copyright (C) 2016 OpenFOAM Foundation
+#    \\/     M anipulation  |
+#-------------------------------------------------------------------------------
+# License
+#     This file is part of OpenFOAM.
+#
+#     OpenFOAM is free software: you can redistribute it and/or modify it
+#     under the terms of the GNU General Public License as published by
+#     the Free Software Foundation, either version 3 of the License, or
+#     (at your option) any later version.
+#
+#     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
+#     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+#     for more details.
+#
+#     You should have received a copy of the GNU General Public License
+#     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Script
+#     supercededByPostProcess
+#
+# Description
+#     Script to suggest using the new "postProcess" utility.
+#
+#------------------------------------------------------------------------------
+Script=${0##*/}
+
+echo $Script "has been superceded by the postProcess utility:"
+echo "postProcess -func" $Script
+
+#------------------------------------------------------------------------------
diff --git a/bin/vorticity b/bin/vorticity
new file mode 120000
index 00000000000..7b00da8e40e
--- /dev/null
+++ b/bin/vorticity
@@ -0,0 +1 @@
+supercededByPostProcess
\ No newline at end of file
diff --git a/etc/caseDicts/postProcessing/README b/etc/caseDicts/postProcessing/README
index 3015d18df1e..4e265159e37 100644
--- a/etc/caseDicts/postProcessing/README
+++ b/etc/caseDicts/postProcessing/README
@@ -32,7 +32,7 @@ Solution:
   sub-dictionary in the case controlDict file, e.g.
   functions
   {
-      #include "flowRatePatch"
+      #includeFunc flowRatePatch
       ... other function objects here ...
   }
 
diff --git a/etc/caseDicts/postProcessing/faceSource/faceZoneSource.cfg b/etc/caseDicts/postProcessing/faceSource/faceZoneSource.cfg
index b63c882f06a..33e20231b1e 100644
--- a/etc/caseDicts/postProcessing/faceSource/faceZoneSource.cfg
+++ b/etc/caseDicts/postProcessing/faceSource/faceZoneSource.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
+#includeFunc faceSource.cfg
 
 source faceZone;
 
diff --git a/etc/caseDicts/postProcessing/faceSource/patchAverage b/etc/caseDicts/postProcessing/faceSource/patchAverage
index 2923f108ba3..b6d3f3ca217 100644
--- a/etc/caseDicts/postProcessing/faceSource/patchAverage
+++ b/etc/caseDicts/postProcessing/faceSource/patchAverage
@@ -12,7 +12,7 @@ patchAverage
     fields (p);
 
     operation average;
-    #includeEtc "caseDicts/postProcessing/faceSource/patchSource.cfg";
+    #includeFunc patchSource.cfg;
 }
 
 
diff --git a/etc/caseDicts/postProcessing/faceSource/patchSource.cfg b/etc/caseDicts/postProcessing/faceSource/patchSource.cfg
index d5bd7fd1afe..c4502acff94 100644
--- a/etc/caseDicts/postProcessing/faceSource/patchSource.cfg
+++ b/etc/caseDicts/postProcessing/faceSource/patchSource.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
+#includeFunc faceSource.cfg
 
 source     patch;
 sourceName $patch;
diff --git a/etc/caseDicts/postProcessing/faceSource/surfaceSource.cfg b/etc/caseDicts/postProcessing/faceSource/surfaceSource.cfg
index 4bcbde878d6..c740c0ee0c5 100644
--- a/etc/caseDicts/postProcessing/faceSource/surfaceSource.cfg
+++ b/etc/caseDicts/postProcessing/faceSource/surfaceSource.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
+#includeFunc faceSource.cfg
 
 source sampledSurface;
 
diff --git a/etc/caseDicts/postProcessing/fields/CourantNo b/etc/caseDicts/postProcessing/fields/CourantNo
new file mode 100644
index 00000000000..4a6b84b8f45
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/CourantNo
@@ -0,0 +1,20 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| =========                 |                                                 |
+| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
+|  \\    /   O peration     | Version:  dev                                   |
+|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
+|    \\/     M anipulation  |                                                 |
+\*---------------------------------------------------------------------------*/
+
+CourantNo
+{
+    type            CourantNo;
+    libs            ("libfieldFunctionObjects.so");
+
+    field           phi;
+
+    executeControl  writeTime;
+    writeControl    writeTime;
+}
+
+// ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/fields/Lambda2 b/etc/caseDicts/postProcessing/fields/Lambda2
index 71327211066..5bd9299695b 100644
--- a/etc/caseDicts/postProcessing/fields/Lambda2
+++ b/etc/caseDicts/postProcessing/fields/Lambda2
@@ -9,7 +9,9 @@
 Lambda2
 {
     type            Lambda2;
-    libs            ("libutilityFunctionObjects.so");
+    libs            ("libfieldFunctionObjects.so");
+
+    field           U;
 
     executeControl  writeTime;
     writeControl    writeTime;
diff --git a/etc/caseDicts/postProcessing/fields/MachNo b/etc/caseDicts/postProcessing/fields/MachNo
new file mode 100644
index 00000000000..792e050838a
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/MachNo
@@ -0,0 +1,20 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| =========                 |                                                 |
+| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
+|  \\    /   O peration     | Version:  dev                                   |
+|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
+|    \\/     M anipulation  |                                                 |
+\*---------------------------------------------------------------------------*/
+
+MachNo
+{
+    type            MachNo;
+    libs            ("libfieldFunctionObjects.so");
+
+    field           U;
+
+    executeControl  writeTime;
+    writeControl    writeTime;
+}
+
+// ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/fields/PecletNo b/etc/caseDicts/postProcessing/fields/PecletNo
new file mode 100644
index 00000000000..5aa3082cf6e
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/PecletNo
@@ -0,0 +1,20 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| =========                 |                                                 |
+| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
+|  \\    /   O peration     | Version:  dev                                   |
+|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
+|    \\/     M anipulation  |                                                 |
+\*---------------------------------------------------------------------------*/
+
+PecletNo
+{
+    type            PecletNo;
+    libs            ("libfieldFunctionObjects.so");
+
+    field           phi;
+
+    executeControl  writeTime;
+    writeControl    writeTime;
+}
+
+// ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/fields/Q b/etc/caseDicts/postProcessing/fields/Q
index 14c9ee8aac9..bdfee511caa 100644
--- a/etc/caseDicts/postProcessing/fields/Q
+++ b/etc/caseDicts/postProcessing/fields/Q
@@ -9,7 +9,9 @@
 Q
 {
     type            Q;
-    libs ("libfieldFunctionObjects.so");
+    libs            ("libfieldFunctionObjects.so");
+
+    field           U;
 
     executeControl  writeTime;
     writeControl    writeTime;
diff --git a/etc/caseDicts/postProcessing/fields/components b/etc/caseDicts/postProcessing/fields/components
index 1005c03bac7..9993be4dbbe 100644
--- a/etc/caseDicts/postProcessing/fields/components
+++ b/etc/caseDicts/postProcessing/fields/components
@@ -9,7 +9,9 @@
 components
 {
     type            components;
-    libs ("libfieldFunctionObjects.so");
+    libs            ("libfieldFunctionObjects.so");
+
+    field           <fieldName>;
 
     executeControl  writeTime;
     writeControl    writeTime;
diff --git a/etc/caseDicts/postProcessing/fields/div b/etc/caseDicts/postProcessing/fields/div
index 0be18a78a7e..c6ccf6644a1 100644
--- a/etc/caseDicts/postProcessing/fields/div
+++ b/etc/caseDicts/postProcessing/fields/div
@@ -9,7 +9,9 @@
 div
 {
     type            div;
-    libs ("libfieldFunctionObjects.so");
+    libs            ("libfieldFunctionObjects.so");
+
+    field           <fieldName>;
 
     executeControl  writeTime;
     writeControl    writeTime;
diff --git a/etc/caseDicts/postProcessing/fields/enstrophy b/etc/caseDicts/postProcessing/fields/enstrophy
new file mode 100644
index 00000000000..45d7a1b02bb
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/enstrophy
@@ -0,0 +1,20 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| =========                 |                                                 |
+| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
+|  \\    /   O peration     | Version:  dev                                   |
+|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
+|    \\/     M anipulation  |                                                 |
+\*---------------------------------------------------------------------------*/
+
+enstrophy
+{
+    type            enstrophy;
+    libs            ("libfieldFunctionObjects.so");
+
+    field           U;
+
+    executeControl  writeTime;
+    writeControl    writeTime;
+}
+
+// ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/fields/flowType b/etc/caseDicts/postProcessing/fields/flowType
new file mode 100644
index 00000000000..44f5d695bdc
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/flowType
@@ -0,0 +1,20 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| =========                 |                                                 |
+| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
+|  \\    /   O peration     | Version:  dev                                   |
+|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
+|    \\/     M anipulation  |                                                 |
+\*---------------------------------------------------------------------------*/
+
+flowType
+{
+    type            flowType;
+    libs            ("libfieldFunctionObjects.so");
+
+    field           U;
+
+    executeControl  writeTime;
+    writeControl    writeTime;
+}
+
+// ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/fields/grad b/etc/caseDicts/postProcessing/fields/grad
new file mode 100644
index 00000000000..a1df8b379f6
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/grad
@@ -0,0 +1,20 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| =========                 |                                                 |
+| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
+|  \\    /   O peration     | Version:  dev                                   |
+|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
+|    \\/     M anipulation  |                                                 |
+\*---------------------------------------------------------------------------*/
+
+grad
+{
+    type            grad;
+    libs            ("libfieldFunctionObjects.so");
+
+    field           <fieldName>;
+
+    executeControl  writeTime;
+    writeControl    writeTime;
+}
+
+// ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/fields/mag b/etc/caseDicts/postProcessing/fields/mag
new file mode 100644
index 00000000000..43874441681
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/mag
@@ -0,0 +1,20 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| =========                 |                                                 |
+| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
+|  \\    /   O peration     | Version:  dev                                   |
+|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
+|    \\/     M anipulation  |                                                 |
+\*---------------------------------------------------------------------------*/
+
+mag
+{
+    type            mag;
+    libs            ("libfieldFunctionObjects.so");
+
+    field           <fieldName>;
+
+    executeControl  writeTime;
+    writeControl    writeTime;
+}
+
+// ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/fields/magSqr b/etc/caseDicts/postProcessing/fields/magSqr
new file mode 100644
index 00000000000..49dccdb6301
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/magSqr
@@ -0,0 +1,20 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| =========                 |                                                 |
+| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
+|  \\    /   O peration     | Version:  dev                                   |
+|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
+|    \\/     M anipulation  |                                                 |
+\*---------------------------------------------------------------------------*/
+
+magSqr
+{
+    type            magSqr;
+    libs            ("libfieldFunctionObjects.so");
+
+    field           <fieldName>;
+
+    executeControl  writeTime;
+    writeControl    writeTime;
+}
+
+// ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/fields/randomise b/etc/caseDicts/postProcessing/fields/randomise
index cd873d76549..840b614b324 100644
--- a/etc/caseDicts/postProcessing/fields/randomise
+++ b/etc/caseDicts/postProcessing/fields/randomise
@@ -8,7 +8,9 @@
 
 randomise
 {
-    #includeEtc "caseDicts/postProcessing/fields/randomise.cfg"
+    #includeFunc "randomise.cfg"
+
+    field           <fieldName>;
 
     // Set the magnitude of the perturbation
     magPerturbation <scalar>;
diff --git a/etc/caseDicts/postProcessing/fields/vorticity b/etc/caseDicts/postProcessing/fields/vorticity
new file mode 100644
index 00000000000..6377bc2012d
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/vorticity
@@ -0,0 +1,20 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| =========                 |                                                 |
+| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
+|  \\    /   O peration     | Version:  dev                                   |
+|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
+|    \\/     M anipulation  |                                                 |
+\*---------------------------------------------------------------------------*/
+
+vorticity
+{
+    type            vorticity;
+    libs            ("libfieldFunctionObjects.so");
+
+    field           U;
+
+    executeControl  writeTime;
+    writeControl    writeTime;
+}
+
+// ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/flowRate/flowRatePatch b/etc/caseDicts/postProcessing/flowRate/flowRatePatch
index 7eb8d0873c4..1a6e27d8be3 100644
--- a/etc/caseDicts/postProcessing/flowRate/flowRatePatch
+++ b/etc/caseDicts/postProcessing/flowRate/flowRatePatch
@@ -14,7 +14,7 @@ flowRatePatch
 {
     patch <patchName>;
 
-    #includeEtc "caseDicts/postProcessing/flowRate/flowRatePatch.cfg"
+    #includeFunc flowRatePatch.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/flowRate/flowRatePatch.cfg b/etc/caseDicts/postProcessing/flowRate/flowRatePatch.cfg
index 7ab9aee3e14..67d6a3f3ed5 100644
--- a/etc/caseDicts/postProcessing/flowRate/flowRatePatch.cfg
+++ b/etc/caseDicts/postProcessing/flowRate/flowRatePatch.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/faceSource/patchSource.cfg"
+#includeFunc patchSource.cfg
 
 fields (phi);
 operation sum;
diff --git a/etc/caseDicts/postProcessing/flowRate/volFlowRateSurface b/etc/caseDicts/postProcessing/flowRate/volFlowRateSurface
index 1f64e1e5b25..8525079f05a 100644
--- a/etc/caseDicts/postProcessing/flowRate/volFlowRateSurface
+++ b/etc/caseDicts/postProcessing/flowRate/volFlowRateSurface
@@ -14,7 +14,7 @@ volFlowRateSurface
 {
     triSurface <triSurfaceFile>;
 
-    #includeEtc "caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg"
+    #includeFunc volFlowRateSurface.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg b/etc/caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg
index 6ec52f78ab3..fe6d1b987fa 100644
--- a/etc/caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg
+++ b/etc/caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/faceSource/surfaceSource.cfg"
+#includeFunc surfaceSource.cfg
 
 fields (U);
 operation areaNormalIntegrate;
diff --git a/etc/caseDicts/postProcessing/forces/forceCoeffs.cfg b/etc/caseDicts/postProcessing/forces/forceCoeffs.cfg
index d9d83a75d3d..561b6fd8686 100644
--- a/etc/caseDicts/postProcessing/forces/forceCoeffs.cfg
+++ b/etc/caseDicts/postProcessing/forces/forceCoeffs.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
+#includeFunc forces.cfg
 
 type        forceCoeffs;
 rhoInf      1;           // Redundant for incompressible
diff --git a/etc/caseDicts/postProcessing/forces/forceCoeffsCompressible b/etc/caseDicts/postProcessing/forces/forceCoeffsCompressible
index dbd6124827f..1200131acd7 100644
--- a/etc/caseDicts/postProcessing/forces/forceCoeffsCompressible
+++ b/etc/caseDicts/postProcessing/forces/forceCoeffsCompressible
@@ -21,7 +21,7 @@ forceCoeffs
     CofR        (0 0 0);
     pitchAxis   (0 1 0);
 
-    #includeEtc "caseDicts/postProcessing/forces/forceCoeffsCompressible.cfg"
+    #includeFunc forceCoeffsCompressible.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/forces/forceCoeffsCompressible.cfg b/etc/caseDicts/postProcessing/forces/forceCoeffsCompressible.cfg
index 87a8667d875..1da340d3d14 100644
--- a/etc/caseDicts/postProcessing/forces/forceCoeffsCompressible.cfg
+++ b/etc/caseDicts/postProcessing/forces/forceCoeffsCompressible.cfg
@@ -6,6 +6,6 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/forces/forceCoeffs.cfg"
+#includeFunc forceCoeffs.cfg
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/forces/forceCoeffsIncompressible b/etc/caseDicts/postProcessing/forces/forceCoeffsIncompressible
index 89926a516fb..9283f9778e7 100644
--- a/etc/caseDicts/postProcessing/forces/forceCoeffsIncompressible
+++ b/etc/caseDicts/postProcessing/forces/forceCoeffsIncompressible
@@ -20,7 +20,7 @@ forceCoeffs
     CofR        (0 0 0);
     pitchAxis   (0 1 0);
 
-    #includeEtc "caseDicts/postProcessing/forces/forceCoeffs.cfg"
+    #includeFunc forceCoeffs.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/forces/forcesCompressible b/etc/caseDicts/postProcessing/forces/forcesCompressible
index 1792b0c3819..6a836135a2d 100644
--- a/etc/caseDicts/postProcessing/forces/forcesCompressible
+++ b/etc/caseDicts/postProcessing/forces/forcesCompressible
@@ -13,7 +13,7 @@ forces
     CofR        (0 0 0);
     pitchAxis   (0 1 0);
 
-    #includeEtc "caseDicts/postProcessing/forces/forcesCompressible.cfg"
+    #includeFunc forcesCompressible.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/forces/forcesCompressible.cfg b/etc/caseDicts/postProcessing/forces/forcesCompressible.cfg
index 66604a4a09e..c371556f8a9 100644
--- a/etc/caseDicts/postProcessing/forces/forcesCompressible.cfg
+++ b/etc/caseDicts/postProcessing/forces/forcesCompressible.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
+#includeFunc forces.cfg
 
 rhoInf          1;  // Redundant
 
diff --git a/etc/caseDicts/postProcessing/forces/forcesIncompressible b/etc/caseDicts/postProcessing/forces/forcesIncompressible
index 0b91e37f517..6692b1ecf20 100644
--- a/etc/caseDicts/postProcessing/forces/forcesIncompressible
+++ b/etc/caseDicts/postProcessing/forces/forcesIncompressible
@@ -8,7 +8,7 @@
 
 forces
 {
-    #includeEtc "caseDicts/postProcessing/forces/forces.cfg"
+    #includeFunc forces.cfg
 
     rhoInf      1.225;    // Fluid density
     patches     (patch1 patch2);
diff --git a/etc/caseDicts/postProcessing/graphs/sampleDict b/etc/caseDicts/postProcessing/graphs/sampleDict
index 7731f411f3b..c1268621873 100644
--- a/etc/caseDicts/postProcessing/graphs/sampleDict
+++ b/etc/caseDicts/postProcessing/graphs/sampleDict
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
+#includeFunc sampleDict.cfg
 
 sets
 (
diff --git a/etc/caseDicts/postProcessing/graphs/singleGraph b/etc/caseDicts/postProcessing/graphs/singleGraph
index 836d7a82c91..d9541186349 100644
--- a/etc/caseDicts/postProcessing/graphs/singleGraph
+++ b/etc/caseDicts/postProcessing/graphs/singleGraph
@@ -12,10 +12,10 @@ graph
     end     (1 1e-06 0);
     fields  (U p);
 
-    #includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
+    #includeFunc sampleDict.cfg
 
     // Must be last entry
-    #includeEtc "caseDicts/postProcessing/graphs/graph.cfg"
+    #includeFunc graph.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/minMax/cellMax b/etc/caseDicts/postProcessing/minMax/cellMax
index 815a7f7f344..5eb6de159c8 100644
--- a/etc/caseDicts/postProcessing/minMax/cellMax
+++ b/etc/caseDicts/postProcessing/minMax/cellMax
@@ -8,7 +8,7 @@
 
 cellMax
 {
-    #includeEtc "caseDicts/postProcessing/minMax/cellMinMax.cfg"
+    #includeFunc cellMinMax.cfg
 
     fields (U p);
 }
diff --git a/etc/caseDicts/postProcessing/minMax/cellMin b/etc/caseDicts/postProcessing/minMax/cellMin
index aea52c7b69c..5dfc71282b9 100644
--- a/etc/caseDicts/postProcessing/minMax/cellMin
+++ b/etc/caseDicts/postProcessing/minMax/cellMin
@@ -8,7 +8,7 @@
 
 cellMin
 {
-    #includeEtc "caseDicts/postProcessing/minMax/cellMin.cfg"
+    #includeFunc cellMin.cfg
 
     fields (U p);
 }
diff --git a/etc/caseDicts/postProcessing/minMax/cellMin.cfg b/etc/caseDicts/postProcessing/minMax/cellMin.cfg
index dc0e49df238..52583d15454 100644
--- a/etc/caseDicts/postProcessing/minMax/cellMin.cfg
+++ b/etc/caseDicts/postProcessing/minMax/cellMin.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/minMax/cellMinMax.cfg"
+#includeFunc cellMinMax.cfg
 operation       min;
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/minMax/faceMax b/etc/caseDicts/postProcessing/minMax/faceMax
index d8b4f6fd094..5372527386b 100644
--- a/etc/caseDicts/postProcessing/minMax/faceMax
+++ b/etc/caseDicts/postProcessing/minMax/faceMax
@@ -8,7 +8,7 @@
 
 faceMax
 {
-    #includeEtc "caseDicts/postProcessing/minMax/faceMinMax.cfg"
+    #includeFunc faceMinMax.cfg
 
     fields (U p);
 }
diff --git a/etc/caseDicts/postProcessing/minMax/faceMin b/etc/caseDicts/postProcessing/minMax/faceMin
index 0c82ec01ddf..f100563ca8d 100644
--- a/etc/caseDicts/postProcessing/minMax/faceMin
+++ b/etc/caseDicts/postProcessing/minMax/faceMin
@@ -8,7 +8,7 @@
 
 faceMin
 {
-    #includeEtc "caseDicts/postProcessing/minMax/faceMin.cfg"
+    #includeFunc faceMin.cfg
 
     fields (U p);
 }
diff --git a/etc/caseDicts/postProcessing/minMax/faceMin.cfg b/etc/caseDicts/postProcessing/minMax/faceMin.cfg
index f2bf1aeeef0..6875f0244b2 100644
--- a/etc/caseDicts/postProcessing/minMax/faceMin.cfg
+++ b/etc/caseDicts/postProcessing/minMax/faceMin.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/minMax/faceMinMax.cfg"
+#includeFunc faceMinMax.cfg
 operation       min;
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/minMax/minMaxComponents b/etc/caseDicts/postProcessing/minMax/minMaxComponents
index 71db684633f..3af6c8a7a51 100644
--- a/etc/caseDicts/postProcessing/minMax/minMaxComponents
+++ b/etc/caseDicts/postProcessing/minMax/minMaxComponents
@@ -8,7 +8,7 @@
 
 minMaxComponents
 {
-    #includeEtc "caseDicts/postProcessing/minMax/minMaxComponents.cfg"
+    #includeFunc minMaxComponents.cfg
 
     mode components;
 }
diff --git a/etc/caseDicts/postProcessing/minMax/minMaxComponents.cfg b/etc/caseDicts/postProcessing/minMax/minMaxComponents.cfg
index f18af3c91f9..cc1d5ab3889 100644
--- a/etc/caseDicts/postProcessing/minMax/minMaxComponents.cfg
+++ b/etc/caseDicts/postProcessing/minMax/minMaxComponents.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/minMax/fieldMinMax.cfg"
+#includeFunc fieldMinMax.cfg
 mode components;
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/minMax/minMaxMagnitude b/etc/caseDicts/postProcessing/minMax/minMaxMagnitude
index 3691baa8c09..7197b3dc4ff 100644
--- a/etc/caseDicts/postProcessing/minMax/minMaxMagnitude
+++ b/etc/caseDicts/postProcessing/minMax/minMaxMagnitude
@@ -8,7 +8,7 @@
 
 minMaxMagnitude
 {
-    #includeEtc "caseDicts/postProcessing/minMax/fieldMinMax.cfg"
+    #includeFunc fieldMinMax.cfg
 
     fields (U p);
 }
diff --git a/etc/caseDicts/postProcessing/numerical/residuals b/etc/caseDicts/postProcessing/numerical/residuals
index d4e937ecc72..feb2a5924ff 100644
--- a/etc/caseDicts/postProcessing/numerical/residuals
+++ b/etc/caseDicts/postProcessing/numerical/residuals
@@ -8,7 +8,7 @@
 
 residuals
 {
-    #includeEtc "caseDicts/postProcessing/numerical/residuals.cfg"
+    #includeFunc residuals.cfg
 
     fields (p U);
 }
diff --git a/etc/caseDicts/postProcessing/pressure/pressure.cfg b/etc/caseDicts/postProcessing/pressure/pressure.cfg
index 39a2fa68198..49f3577853d 100644
--- a/etc/caseDicts/postProcessing/pressure/pressure.cfg
+++ b/etc/caseDicts/postProcessing/pressure/pressure.cfg
@@ -15,7 +15,7 @@ FoamFile
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 type            pressure;
-libs            ("libutilityFunctionObjects.so");
+libs            ("libfieldFunctionObjects.so");
 
 executeControl  writeTime;
 writeControl    writeTime;
diff --git a/etc/caseDicts/postProcessing/pressure/pressureDifference.cfg b/etc/caseDicts/postProcessing/pressure/pressureDifference.cfg
index 9636eac4d51..b64268ed316 100644
--- a/etc/caseDicts/postProcessing/pressure/pressureDifference.cfg
+++ b/etc/caseDicts/postProcessing/pressure/pressureDifference.cfg
@@ -17,13 +17,13 @@ log             false;
 
 source1
 {
-    #includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
+    #includeFunc faceSource.cfg
     operation       areaAverage;
     fields          (p);
 }
 source2
 {
-    #includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
+    #includeFunc faceSource.cfg
     operation       areaAverage;
     fields          (p);
 }
diff --git a/etc/caseDicts/postProcessing/pressure/pressureDifferencePatch b/etc/caseDicts/postProcessing/pressure/pressureDifferencePatch
index 8bb8360cb7e..dc76efaf318 100644
--- a/etc/caseDicts/postProcessing/pressure/pressureDifferencePatch
+++ b/etc/caseDicts/postProcessing/pressure/pressureDifferencePatch
@@ -11,7 +11,7 @@ pressureDifferencePatch
     patch1 <patch1>;
     patch2 <patch2>;
 
-    #includeEtc "caseDicts/postProcessing/pressure/pressureDifferencePatch.cfg"
+    #includeFunc pressureDifferencePatch.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/pressure/pressureDifferencePatch.cfg b/etc/caseDicts/postProcessing/pressure/pressureDifferencePatch.cfg
index 01a239236fb..d9e9b2f404d 100644
--- a/etc/caseDicts/postProcessing/pressure/pressureDifferencePatch.cfg
+++ b/etc/caseDicts/postProcessing/pressure/pressureDifferencePatch.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
+#includeFunc pressureDifference.cfg
 
 source1
 {
diff --git a/etc/caseDicts/postProcessing/pressure/pressureDifferenceSurface b/etc/caseDicts/postProcessing/pressure/pressureDifferenceSurface
index e83ccdabc8c..dc2a39451a8 100644
--- a/etc/caseDicts/postProcessing/pressure/pressureDifferenceSurface
+++ b/etc/caseDicts/postProcessing/pressure/pressureDifferenceSurface
@@ -11,8 +11,7 @@ pressureDifferenceSurface
     triSurface1 <triSurface1>;
     triSurface2 <triSurface2>;
 
-    #includeEtc
-        "caseDicts/postProcessing/pressure/pressureDifferenceSurface.cfg"
+    #includeFunc pressureDifferenceSurface.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/pressure/pressureDifferenceSurface.cfg b/etc/caseDicts/postProcessing/pressure/pressureDifferenceSurface.cfg
index c1df7cff5bc..4a57c5a7cfb 100644
--- a/etc/caseDicts/postProcessing/pressure/pressureDifferenceSurface.cfg
+++ b/etc/caseDicts/postProcessing/pressure/pressureDifferenceSurface.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
+#includeFunc pressureDifference.cfg
 
 source1
 {
diff --git a/etc/caseDicts/postProcessing/pressure/staticPressure b/etc/caseDicts/postProcessing/pressure/staticPressure
index 97f79325b27..37bde327a45 100644
--- a/etc/caseDicts/postProcessing/pressure/staticPressure
+++ b/etc/caseDicts/postProcessing/pressure/staticPressure
@@ -8,9 +8,9 @@
 
 staticPressure
 {
-    #includeEtc "caseDicts/postProcessing/pressure/staticPressure.cfg"
+    #includeFunc staticPressure.cfg
 
-    rho 1.2; // Density to scale
+    rhoInf 1.2; // Density to scale
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/pressure/staticPressure.cfg b/etc/caseDicts/postProcessing/pressure/staticPressure.cfg
index 5283b1ee123..7d9cbddfab6 100644
--- a/etc/caseDicts/postProcessing/pressure/staticPressure.cfg
+++ b/etc/caseDicts/postProcessing/pressure/staticPressure.cfg
@@ -6,11 +6,10 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/pressure/pressure.cfg"
+#includeFunc pressure.cfg
 
 calcTotal     no;
 calcCoeff     no;
 rho           rhoInf;
-rhoInf        $rho;
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/pressure/totalPressureCompressible b/etc/caseDicts/postProcessing/pressure/totalPressureCompressible
index b2a67de034e..950bff3ecc1 100644
--- a/etc/caseDicts/postProcessing/pressure/totalPressureCompressible
+++ b/etc/caseDicts/postProcessing/pressure/totalPressureCompressible
@@ -8,8 +8,7 @@
 
 totalPressure
 {
-    #includeEtc
-        "caseDicts/postProcessing/pressure/totalPressureCompressible.cfg"
+    #includeFunc totalPressureCompressible.cfg
 
     pRef    0;
 }
diff --git a/etc/caseDicts/postProcessing/pressure/totalPressureCompressible.cfg b/etc/caseDicts/postProcessing/pressure/totalPressureCompressible.cfg
index 6a86d3949fc..28ab16cda16 100644
--- a/etc/caseDicts/postProcessing/pressure/totalPressureCompressible.cfg
+++ b/etc/caseDicts/postProcessing/pressure/totalPressureCompressible.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/pressure/pressure.cfg"
+#includeFunc pressure.cfg
 
 calcTotal     no;
 calcCoeff     no;
diff --git a/etc/caseDicts/postProcessing/pressure/totalPressureIncompressible b/etc/caseDicts/postProcessing/pressure/totalPressureIncompressible
index b4daf266341..6f9f0de9001 100644
--- a/etc/caseDicts/postProcessing/pressure/totalPressureIncompressible
+++ b/etc/caseDicts/postProcessing/pressure/totalPressureIncompressible
@@ -8,11 +8,10 @@
 
 totalPressure
 {
-    #includeEtc
-        "caseDicts/postProcessing/pressure/totalPressureIncompressible.cfg"
+    #includeFunc totalPressureIncompressible.cfg
 
-    pRef  0.0;
-    rho   1.2;
+    pRef    0.0;
+    rhoInf  1.2;
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/pressure/totalPressureIncompressible.cfg b/etc/caseDicts/postProcessing/pressure/totalPressureIncompressible.cfg
index c5f2833ac53..4be65223eef 100644
--- a/etc/caseDicts/postProcessing/pressure/totalPressureIncompressible.cfg
+++ b/etc/caseDicts/postProcessing/pressure/totalPressureIncompressible.cfg
@@ -6,11 +6,10 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/pressure/pressure.cfg"
+#includeFunc pressure.cfg
 
 calcTotal     yes;
 calcCoeff     no;
 rho           rhoInf;
-rhoInf        $rho;
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/probes/boundaryCloud b/etc/caseDicts/postProcessing/probes/boundaryCloud
index 72b0da5b76c..195bd472416 100644
--- a/etc/caseDicts/postProcessing/probes/boundaryCloud
+++ b/etc/caseDicts/postProcessing/probes/boundaryCloud
@@ -19,7 +19,7 @@ boundaryCloud
 
     patches     (".*");
 
-    #includeEtc "caseDicts/postProcessing/probes/boundaryCloud.cfg"
+    #includeFunc boundaryCloud.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/probes/boundaryCloud.cfg b/etc/caseDicts/postProcessing/probes/boundaryCloud.cfg
index d90c94122bd..10d23ab346d 100644
--- a/etc/caseDicts/postProcessing/probes/boundaryCloud.cfg
+++ b/etc/caseDicts/postProcessing/probes/boundaryCloud.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/probes/cloud.cfg"
+#includeFunc cloud.cfg
 
 sets
 (
diff --git a/etc/caseDicts/postProcessing/probes/internalCloud b/etc/caseDicts/postProcessing/probes/internalCloud
index e5ba0c2541d..7fdeb0c13aa 100644
--- a/etc/caseDicts/postProcessing/probes/internalCloud
+++ b/etc/caseDicts/postProcessing/probes/internalCloud
@@ -14,7 +14,7 @@ internalCloud
         (0 0 0)
     );
 
-    #includeEtc "caseDicts/postProcessing/probes/internalCloud.cfg"
+    #includeFunc internalCloud.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/probes/internalCloud.cfg b/etc/caseDicts/postProcessing/probes/internalCloud.cfg
index 19bf54f8983..9179ce273e8 100644
--- a/etc/caseDicts/postProcessing/probes/internalCloud.cfg
+++ b/etc/caseDicts/postProcessing/probes/internalCloud.cfg
@@ -6,7 +6,7 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-#includeEtc "caseDicts/postProcessing/probes/cloud.cfg"
+#includeFunc cloud.cfg
 
 sets
 (
diff --git a/etc/caseDicts/postProcessing/probes/probes b/etc/caseDicts/postProcessing/probes/probes
index f5936b06b3b..a2d4a4fed02 100644
--- a/etc/caseDicts/postProcessing/probes/probes
+++ b/etc/caseDicts/postProcessing/probes/probes
@@ -8,7 +8,7 @@
 
 probes
 {
-    #includeEtc "caseDicts/postProcessing/probes/probes.cfg"
+    #includeFunc probes.cfg
 
     fields (p U);
     probeLocations
diff --git a/etc/caseDicts/postProcessing/scalarTransport/scalarTransport b/etc/caseDicts/postProcessing/scalarTransport/scalarTransport
index c1204f7e731..2eba2a4a565 100644
--- a/etc/caseDicts/postProcessing/scalarTransport/scalarTransport
+++ b/etc/caseDicts/postProcessing/scalarTransport/scalarTransport
@@ -8,7 +8,7 @@
 
 T
 {
-    #includeEtc "caseDicts/postProcessing/scalarTransport/scalarTransport.cfg"
+    #includeFunc scalarTransport.cfg
 
     userDT true;
     DT     1e-09;
diff --git a/etc/caseDicts/postProcessing/scalarTransport/scalarTransportDict b/etc/caseDicts/postProcessing/scalarTransport/scalarTransportDict
index 32b4bf14032..dea72251df2 100644
--- a/etc/caseDicts/postProcessing/scalarTransport/scalarTransportDict
+++ b/etc/caseDicts/postProcessing/scalarTransport/scalarTransportDict
@@ -20,6 +20,6 @@ writeInterval   1e-2;
 // transportProperties settings
 DT      DT [ 0 2 -1 0 0 0 0 ] 1e-9;
 
-#includeEtc "caseDicts/postProcessing/scalarTransport/scalarTransportDict.cfg"
+#includeFunc scalarTransportDict.cfg
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/visualization/streamlines b/etc/caseDicts/postProcessing/visualization/streamlines
index c194eb7efe1..b9d625f5b64 100644
--- a/etc/caseDicts/postProcessing/visualization/streamlines
+++ b/etc/caseDicts/postProcessing/visualization/streamlines
@@ -14,7 +14,7 @@ streamlines
     fields  (U p);
 
     // Must be last entry
-    #includeEtc "caseDicts/postProcessing/visualization/streamlines.cfg"
+    #includeFunc streamlines.cfg
 }
 
 // ************************************************************************* //
diff --git a/etc/caseDicts/postProcessing/visualization/surfaces b/etc/caseDicts/postProcessing/visualization/surfaces
index 3b820bd51ee..60b6432f8b1 100644
--- a/etc/caseDicts/postProcessing/visualization/surfaces
+++ b/etc/caseDicts/postProcessing/visualization/surfaces
@@ -8,7 +8,7 @@
 
 surfaces
 {
-    #includeEtc "caseDicts/postProcessing/visualization/surfaces.cfg"
+    #includeFunc surfaces.cfg
 
     fields       (p U);
 
diff --git a/etc/config.csh/aliases b/etc/config.csh/aliases
index bef648240c9..6d922a435f5 100644
--- a/etc/config.csh/aliases
+++ b/etc/config.csh/aliases
@@ -33,13 +33,13 @@
 # Change compiled version aliases
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 alias wmSet 'source $WM_PROJECT_DIR/etc/cshrc'
-alias wm64 'wmSET WM_ARCH_OPTION=64'
-alias wm32 'wmSET WM_ARCH_OPTION=32'
-alias wmSP 'wmSET WM_PRECISION_OPTION=SP'
-alias wmDP 'wmSET WM_PRECISION_OPTION=DP'
+alias wm64 'wmSet WM_ARCH_OPTION=64'
+alias wm32 'wmSet WM_ARCH_OPTION=32'
+alias wmSP 'wmSet WM_PRECISION_OPTION=SP'
+alias wmDP 'wmSet WM_PRECISION_OPTION=DP'
 
 # Refresh the environment
-alias wmRefresh 'wmSET $FOAM_SETTINGS'
+alias wmRefresh 'wmSet $FOAM_SETTINGS'
 
 # Clear env
 alias wmUnset 'source $WM_PROJECT_DIR/etc/config.csh/unset'
diff --git a/etc/config.csh/unset b/etc/config.csh/unset
index bdebc037666..86e06808e3a 100644
--- a/etc/config.csh/unset
+++ b/etc/config.csh/unset
@@ -152,16 +152,16 @@ unset cleaned foamClean foamOldDirs
 #------------------------------------------------------------------------------
 # Cleanup aliases
 
-unalias wmSET
+unalias wmSet
 unalias wm64
 unalias wm32
 unalias wmSP
 unalias wmDP
 
-unalias wmUNSET
+unalias wmUnset
 
-unalias wmSchedON
-unalias wmSchedOFF
+unalias wmSchedOn
+unalias wmSchedOff
 unalias foamPV
 
 unalias src
diff --git a/etc/config.sh/aliases b/etc/config.sh/aliases
index 1fb545497ea..28a504a2573 100644
--- a/etc/config.sh/aliases
+++ b/etc/config.sh/aliases
@@ -33,13 +33,13 @@
 # Change compiled version aliases
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 alias wmSet='. $WM_PROJECT_DIR/etc/bashrc'
-alias wm64='wmSET WM_ARCH_OPTION=64'
-alias wm32='wmSET WM_ARCH_OPTION=32'
-alias wmSP='wmSET WM_PRECISION_OPTION=SP'
-alias wmDP='wmSET WM_PRECISION_OPTION=DP'
+alias wm64='wmSet WM_ARCH_OPTION=64'
+alias wm32='wmSet WM_ARCH_OPTION=32'
+alias wmSP='wmSet WM_PRECISION_OPTION=SP'
+alias wmDP='wmSet WM_PRECISION_OPTION=DP'
 
 # Refresh the environment
-alias wmRefresh='wmSET $FOAM_SETTINGS'
+alias wmRefresh='wmSet $FOAM_SETTINGS'
 
 # Clear env
 alias wmUnset='. $WM_PROJECT_DIR/etc/config.sh/unset'
diff --git a/etc/config.sh/unset b/etc/config.sh/unset
index 8e2b541b34b..0023fded3f7 100644
--- a/etc/config.sh/unset
+++ b/etc/config.sh/unset
@@ -138,16 +138,16 @@ unset cleaned foamClean foamOldDirs
 #------------------------------------------------------------------------------
 # Cleanup aliases
 
-unalias wmSET
+unalias wmSet
 unalias wm64
 unalias wm32
 unalias wmSP
 unalias wmDP
 
-unalias wmUNSET
+unalias wmUnset
 
-unalias wmSchedON
-unalias wmSchedOFF
+unalias wmSchedOn
+unalias wmSchedOff
 unset foamPV
 
 unalias src
diff --git a/src/Allwmake b/src/Allwmake
index eb70924aeb6..8571acd0c19 100755
--- a/src/Allwmake
+++ b/src/Allwmake
@@ -76,7 +76,7 @@ wmake $targetType engine
 wmake $targetType fvOptions
 wmake $targetType regionCoupled
 
-postProcessing/Allwmake $targetType $*
+functionObjects/Allwmake $targetType $*
 
 wmake $targetType sixDoFRigidBodyMotion
 wmake $targetType rigidBodyDynamics
diff --git a/src/OSspecific/POSIX/signals/sigStopAtWriteNow.C b/src/OSspecific/POSIX/signals/sigStopAtWriteNow.C
index 61a968be175..a601a24052b 100644
--- a/src/OSspecific/POSIX/signals/sigStopAtWriteNow.C
+++ b/src/OSspecific/POSIX/signals/sigStopAtWriteNow.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
diff --git a/src/OpenFOAM/Make/files b/src/OpenFOAM/Make/files
index d67b35953c1..c264836fb3b 100644
--- a/src/OpenFOAM/Make/files
+++ b/src/OpenFOAM/Make/files
@@ -3,6 +3,7 @@ global/global.Cver
 /* global/constants/dimensionedConstants.C in global.Cver */
 global/argList/argList.C
 global/clock/clock.C
+global/etcFiles/etcFiles.C
 
 bools = primitives/bools
 $(bools)/bool/bool.C
@@ -186,6 +187,7 @@ $(functionEntries)/codeStream/codeStream.C
 $(functionEntries)/functionEntry/functionEntry.C
 $(functionEntries)/includeEntry/includeEntry.C
 $(functionEntries)/includeEtcEntry/includeEtcEntry.C
+$(functionEntries)/includeFuncEntry/includeFuncEntry.C
 $(functionEntries)/includeIfPresentEntry/includeIfPresentEntry.C
 $(functionEntries)/inputModeEntry/inputModeEntry.C
 $(functionEntries)/removeEntry/removeEntry.C
diff --git a/src/OpenFOAM/db/dictionary/functionEntries/includeEtcEntry/includeEtcEntry.C b/src/OpenFOAM/db/dictionary/functionEntries/includeEtcEntry/includeEtcEntry.C
index 4831eb85f42..ee591a1b87d 100644
--- a/src/OpenFOAM/db/dictionary/functionEntries/includeEtcEntry/includeEtcEntry.C
+++ b/src/OpenFOAM/db/dictionary/functionEntries/includeEtcEntry/includeEtcEntry.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2015 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2015-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -24,11 +24,10 @@ License
 \*---------------------------------------------------------------------------*/
 
 #include "includeEtcEntry.H"
-#include "dictionary.H"
+#include "etcFiles.H"
 #include "IFstream.H"
-#include "addToMemberFunctionSelectionTable.H"
 #include "stringOps.H"
-#include "OSspecific.H"
+#include "addToMemberFunctionSelectionTable.H"
 
 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
 
diff --git a/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.C b/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.C
new file mode 100644
index 00000000000..c33e3a887db
--- /dev/null
+++ b/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.C
@@ -0,0 +1,152 @@
+/*---------------------------------------------------------------------------*\
+  =========                 |
+  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
+   \\    /   O peration     |
+    \\  /    A nd           | Copyright (C) 2016 OpenFOAM Foundation
+     \\/     M anipulation  |
+-------------------------------------------------------------------------------
+License
+    This file is part of OpenFOAM.
+
+    OpenFOAM is free software: you can redistribute it and/or modify it
+    under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+    for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
+
+\*---------------------------------------------------------------------------*/
+
+#include "includeFuncEntry.H"
+#include "functionObjectList.H"
+#include "dictionary.H"
+#include "IFstream.H"
+#include "addToMemberFunctionSelectionTable.H"
+
+// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
+
+const Foam::word Foam::functionEntries::includeFuncEntry::typeName
+(
+    Foam::functionEntries::includeFuncEntry::typeName_()
+);
+
+// Don't lookup the debug switch here as the debug switch dictionary
+// might include includeFuncEntry
+int Foam::functionEntries::includeFuncEntry::debug(0);
+
+bool Foam::functionEntries::includeFuncEntry::report(false);
+
+
+namespace Foam
+{
+namespace functionEntries
+{
+    addToMemberFunctionSelectionTable
+    (
+        functionEntry,
+        includeFuncEntry,
+        execute,
+        dictionaryIstream
+    );
+
+    addToMemberFunctionSelectionTable
+    (
+        functionEntry,
+        includeFuncEntry,
+        execute,
+        primitiveEntryIstream
+    );
+}
+}
+
+// * * * * * * * * * * * Protected Member Functions  * * * * * * * * * * * * //
+
+Foam::fileName Foam::functionEntries::includeFuncEntry::funcPath
+(
+    const word& fName,
+    const dictionary& dict
+)
+{
+    // Search the system and etc directories for the file and return the path
+    return functionObjectList::findDict(fName);
+}
+
+
+// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
+
+bool Foam::functionEntries::includeFuncEntry::execute
+(
+    dictionary& parentDict,
+    Istream& is
+)
+{
+    const word fName(is);
+    const fileName fPath(funcPath(fName, parentDict));
+    IFstream ifs(fPath);
+
+    if (ifs)
+    {
+        if (Foam::functionEntries::includeFuncEntry::report)
+        {
+            Info<< fPath << endl;
+        }
+        parentDict.read(ifs);
+        return true;
+    }
+    else
+    {
+        FatalIOErrorInFunction
+        (
+            is
+        )   << "Cannot open functionObject file "
+            << (ifs.name().size() ? ifs.name() : fileName(fName))
+            << " while reading dictionary " << parentDict.name()
+            << exit(FatalIOError);
+
+        return false;
+    }
+}
+
+
+bool Foam::functionEntries::includeFuncEntry::execute
+(
+    const dictionary& parentDict,
+    primitiveEntry& entry,
+    Istream& is
+)
+{
+    const word fName(is);
+    const fileName fPath(funcPath(fName, parentDict));
+    IFstream ifs(fPath);
+
+    if (ifs)
+    {
+        if (Foam::functionEntries::includeFuncEntry::report)
+        {
+            Info<< fPath << endl;
+        }
+        entry.read(parentDict, ifs);
+        return true;
+    }
+    else
+    {
+        FatalIOErrorInFunction
+        (
+            is
+        )   << "Cannot open functionObject file "
+            << (ifs.name().size() ? ifs.name() : fileName(fName))
+            << " while reading dictionary " << parentDict.name()
+            << exit(FatalIOError);
+
+        return false;
+    }
+}
+
+
+// ************************************************************************* //
diff --git a/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.H b/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.H
new file mode 100644
index 00000000000..9cae7830626
--- /dev/null
+++ b/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.H
@@ -0,0 +1,132 @@
+/*---------------------------------------------------------------------------*\
+  =========                 |
+  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
+   \\    /   O peration     |
+    \\  /    A nd           | Copyright (C) 2016 OpenFOAM Foundation
+     \\/     M anipulation  |
+-------------------------------------------------------------------------------
+License
+    This file is part of OpenFOAM.
+
+    OpenFOAM is free software: you can redistribute it and/or modify it
+    under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+    for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
+
+Class
+    Foam::functionEntries::includeFuncEntry
+
+Description
+    Specify a functionObject dictionary file to include, expects the
+    functionObject name to follow (without quotes).
+
+    Search for functionObject dictionary file in
+    user/group/shipped directories.
+    The search scheme allows for version-specific and
+    version-independent files using the following hierarchy:
+    - \b user settings:
+      - ~/.OpenFOAM/\<VERSION\>/caseDicts/postProcessing
+      - ~/.OpenFOAM/caseDicts/postProcessing
+    - \b group (site) settings (when $WM_PROJECT_SITE is set):
+      - $WM_PROJECT_SITE/\<VERSION\>/caseDicts/postProcessing
+      - $WM_PROJECT_SITE/caseDicts/postProcessing
+    - \b group (site) settings (when $WM_PROJECT_SITE is not set):
+      - $WM_PROJECT_INST_DIR/site/\<VERSION\>/caseDicts/postProcessing
+      - $WM_PROJECT_INST_DIR/site/caseDicts/postProcessing
+    - \b other (shipped) settings:
+      - $WM_PROJECT_DIR/etc/caseDicts/postProcessing
+
+    An example of the \c \#includeFunc directive:
+    \verbatim
+        #includeFunc <funcName>
+    \endverbatim
+
+See Also
+    functionObjectList::findDict
+
+SourceFiles
+    includeFuncEntry.C
+
+\*---------------------------------------------------------------------------*/
+
+#ifndef includeFuncEntry_H
+#define includeFuncEntry_H
+
+#include "functionEntry.H"
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+namespace Foam
+{
+namespace functionEntries
+{
+
+/*---------------------------------------------------------------------------*\
+                        Class includeFuncEntry Declaration
+\*---------------------------------------------------------------------------*/
+
+class includeFuncEntry
+:
+    public functionEntry
+{
+    // Private Member Functions
+
+        //- Disallow default bitwise copy construct
+        includeFuncEntry(const includeFuncEntry&);
+
+        //- Disallow default bitwise assignment
+        void operator=(const includeFuncEntry&);
+
+        //- Return the path to the functionObject dictionary path
+        static fileName funcPath
+        (
+            const word& fName,
+            const dictionary& dict
+        );
+
+
+public:
+
+    // Static data members
+
+        //- Report which file is included to stdout
+        static bool report;
+
+
+    //- Runtime type information
+    ClassName("includeFunc");
+
+
+    // Member Functions
+
+        //- Execute the functionEntry in a sub-dict context
+        static bool execute(dictionary& parentDict, Istream&);
+
+        //- Execute the functionEntry in a primitiveEntry context
+        static bool execute
+        (
+            const dictionary& parentDict,
+            primitiveEntry&,
+            Istream&
+        );
+};
+
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+} // End namespace functionEntries
+} // End namespace Foam
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+#endif
+
+// ************************************************************************* //
diff --git a/src/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.C b/src/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.C
index f617f56de29..1537c8c4c2c 100644
--- a/src/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.C
+++ b/src/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.C
@@ -29,6 +29,7 @@ License
 #include "IFstream.H"
 #include "OFstream.H"
 #include "OSspecific.H"
+#include "etcFiles.H"
 #include "dictionary.H"
 
 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C
index 292167048da..041c3b98e44 100644
--- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C
+++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C
@@ -28,6 +28,18 @@ License
 #include "mapPolyMesh.H"
 #include "argList.H"
 #include "timeControlFunctionObject.H"
+#include "IFstream.H"
+#include "dictionaryEntry.H"
+#include "stringOps.H"
+#include "etcFiles.H"
+
+/* * * * * * * * * * * * * * * Static Member Data  * * * * * * * * * * * * * */
+
+Foam::fileName Foam::functionObjectList::functionObjectDictPath
+(
+    "caseDicts/postProcessing"
+);
+
 
 // * * * * * * * * * * * * Private Member Functions  * * * * * * * * * * * * //
 
@@ -59,6 +71,125 @@ Foam::functionObject* Foam::functionObjectList::remove
 }
 
 
+Foam::fileName Foam::functionObjectList::findDict(const word& funcName)
+{
+    // First check if there is a functionObject dictionary file in the
+    // case system directory
+    fileName dictFile = stringOps::expand("$FOAM_CASE")/"system"/funcName;
+
+    if (isFile(dictFile))
+    {
+        return dictFile;
+    }
+    else
+    {
+        fileNameList etcDirs(findEtcDirs(functionObjectDictPath));
+
+        forAll(etcDirs, i)
+        {
+            dictFile = search(funcName, etcDirs[i]);
+            if (!dictFile.empty())
+            {
+                return dictFile;
+            }
+        }
+    }
+
+    return fileName::null;
+}
+
+
+void Foam::functionObjectList::readFunctionObject
+(
+    const word& funcNameArgs0,
+    dictionary& functionsDict,
+    HashSet<word>& selectedFields
+)
+{
+    // Parse the optional functionObject arguments
+    // e.g. 'Q(U)' -> funcName = Q; args = (U);
+
+    word funcNameArgs(funcNameArgs0);
+    string::stripInvalid<word>(funcNameArgs);
+
+    word funcName(funcNameArgs);
+    wordList args;
+
+    word::size_type start = 0;
+    word::size_type i = 0;
+
+    for
+    (
+        word::const_iterator iter = funcNameArgs.begin();
+        iter != funcNameArgs.end();
+        ++iter
+    )
+    {
+        char c = *iter;
+
+        if (c == '(')
+        {
+            funcName.resize(i);
+            start = i+1;
+        }
+        else if (c == ',')
+        {
+            args.append(funcNameArgs(start, i - start));
+            start = i+1;
+        }
+        else if (c == ')')
+        {
+            args.append(funcNameArgs(start, i - start));
+            break;
+        }
+
+        ++i;
+    }
+
+    // Search for the functionObject dictionary
+    fileName path = findDict(funcName);
+
+    if (path == fileName::null)
+    {
+        WarningInFunction
+            << "Cannot find functionObject file " << funcName << endl;
+        return;
+    }
+
+    // Read the functionObject dictionary
+    IFstream fileStream(path);
+    dictionary funcsDict(fileStream);
+    dictionary& funcDict = funcsDict.subDict(funcName);
+
+    // Insert the 'field' or 'fields' entry corresponding to the optional
+    // arguments or read the 'field' or 'fields' entry and add the required
+    // fields to selectedFields
+    if (args.size() == 1)
+    {
+        funcDict.set("field", args[0]);
+        selectedFields.insert(args[0]);
+    }
+    else if (args.size() > 1)
+    {
+        funcDict.set("fields", args);
+        selectedFields.insert(args);
+    }
+    else if (funcDict.found("field"))
+    {
+        selectedFields.insert(word(funcDict.lookup("field")));
+    }
+    else if (funcDict.found("fields"))
+    {
+        selectedFields.insert(wordList(funcDict.lookup("fields")));
+    }
+
+    // Merge this functionObject dictionary into functionsDict
+    dictionary funcArgsDict;
+    funcArgsDict.add(funcNameArgs, funcDict);
+    functionsDict.subDict("functions").merge(funcArgsDict);
+}
+
+
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
 Foam::functionObjectList::functionObjectList
@@ -98,35 +229,65 @@ Foam::autoPtr<Foam::functionObjectList> Foam::functionObjectList::New
 (
     const argList& args,
     const Time& runTime,
-    dictionary& functionObjectsDict
+    dictionary& functionsDict,
+    HashSet<word>& selectedFields
 )
 {
-    autoPtr<functionObjectList> functionObjectsPtr;
+    autoPtr<functionObjectList> functionsPtr;
+
+    functionsDict.add
+    (
+        dictionaryEntry("functions", functionsDict, dictionary::null)
+    );
 
-    if (args.optionFound("dict"))
+    if
+    (
+        args.optionFound("dict")
+     || args.optionFound("func")
+     || args.optionFound("funcs")
+    )
     {
-        functionObjectsDict = IOdictionary
-        (
-            IOobject
+        if (args.optionFound("dict"))
+        {
+            functionsDict.merge
             (
-                args["dict"],
-                runTime,
-                IOobject::MUST_READ_IF_MODIFIED
-            )
-        );
+                IOdictionary
+                (
+                    IOobject
+                    (
+                        args["dict"],
+                        runTime,
+                        IOobject::MUST_READ_IF_MODIFIED
+                    )
+                )
+            );
+        }
 
-        functionObjectsPtr.reset
-        (
-            new functionObjectList(runTime, functionObjectsDict)
-        );
+        if (args.optionFound("func"))
+        {
+            readFunctionObject(args["func"], functionsDict, selectedFields);
+        }
+
+        if (args.optionFound("funcs"))
+        {
+            wordList funcs(args.optionLookup("funcs")());
+
+            forAll(funcs, i)
+            {
+                readFunctionObject(funcs[i], functionsDict, selectedFields);
+            }
+        }
+
+        functionsPtr.reset(new functionObjectList(runTime, functionsDict));
     }
     else
     {
-        functionObjectsPtr.reset(new functionObjectList(runTime));
+        functionsPtr.reset(new functionObjectList(runTime));
     }
-    functionObjectsPtr->start();
 
-    return functionObjectsPtr;
+    functionsPtr->start();
+
+    return functionsPtr;
 }
 
 
diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H
index 7cb6d4173ad..b69d0d7aae7 100644
--- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H
+++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H
@@ -44,6 +44,7 @@ SourceFiles
 #include "functionObject.H"
 #include "SHA1Digest.H"
 #include "HashTable.H"
+#include "HashSet.H"
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
@@ -90,6 +91,13 @@ class functionObjectList
         //  Returns a NULL pointer (and index -1) if it didn't exist.
         functionObject* remove(const word&, label& oldIndex);
 
+        static void readFunctionObject
+        (
+            const word& funcNameArgs0,
+            dictionary& functionsDict,
+            HashSet<word>& selectedFields
+        );
+
         //- Disallow default bitwise copy construct
         functionObjectList(const functionObjectList&);
 
@@ -99,13 +107,20 @@ class functionObjectList
 
 public:
 
+    // Static data members
+
+        //- Default relative path to the directory structure
+        //  containing the functionObject dictionary files
+        static fileName functionObjectDictPath;
+
+
     // Constructors
 
-        //- Construct from Time and the execution setting
+        //- Construct from Time and the execution setting.
         //  The functionObject specifications are read from the controlDict
         functionObjectList
         (
-            const Time&,
+            const Time& runTime,
             const bool execution=true
         );
 
@@ -119,13 +134,12 @@ public:
         //    or not. Default: true.
         functionObjectList
         (
-            const Time& t,
+            const Time& runTime,
             const dictionary& parentDict,
             const bool execution=true
         );
 
         //- Construct and return a functionObjectList for an application.
-        //
         //  If the "dict" argument is specified the functionObjectList is
         //  constructed from that dictionary which is returned as
         //  functionObjectsDict otherwise the functionObjectList is constructed
@@ -134,7 +148,8 @@ public:
         (
             const argList& args,
             const Time& runTime,
-            dictionary& functionObjectsDict
+            dictionary& functionObjectsDict,
+            HashSet<word>& selectedFields
         );
 
 
@@ -159,6 +174,26 @@ public:
         //- Find the ID of a given function object by name
         label findObjectID(const word& name) const;
 
+        //- Search for functionObject dictionary file in
+        //  user/group/shipped directories.
+        //  The search scheme allows for version-specific and
+        //  version-independent files using the following hierarchy:
+        //  - \b user settings:
+        //    - ~/.OpenFOAM/\<VERSION\>/caseDicts/postProcessing
+        //    - ~/.OpenFOAM/caseDicts/postProcessing
+        //  - \b group (site) settings (when $WM_PROJECT_SITE is set):
+        //    - $WM_PROJECT_SITE/\<VERSION\>/caseDicts/postProcessing
+        //    - $WM_PROJECT_SITE/caseDicts/postProcessing
+        //  - \b group (site) settings (when $WM_PROJECT_SITE is not set):
+        //    - $WM_PROJECT_INST_DIR/site/\<VERSION\>/caseDicts/postProcessing
+        //    - $WM_PROJECT_INST_DIR/site/caseDicts/postProcessing
+        //  - \b other (shipped) settings:
+        //    - $WM_PROJECT_DIR/etc/caseDicts/postProcessing
+        //
+        //  \return The path of the functionObject dictionary file if found
+        //  otherwise null
+        static fileName findDict(const word& funcName);
+
         //- Read and set the function objects if their data have changed
         bool read();
 
diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/postProcess.H b/src/OpenFOAM/db/functionObjects/functionObjectList/postProcess.H
index a736546f2cf..16607129613 100644
--- a/src/OpenFOAM/db/functionObjects/functionObjectList/postProcess.H
+++ b/src/OpenFOAM/db/functionObjects/functionObjectList/postProcess.H
@@ -71,7 +71,7 @@ if (argList::postProcess(argc, argv))
 {
     Foam::timeSelector::addOptions();
     #include "addRegionOption.H"
-    #include "addDictOption.H"
+    #include "addFunctionObjectOptions.H"
 
     #include "setRootCase.H"
     #include INCLUDE_FILE(CREATE_TIME)
@@ -84,12 +84,14 @@ if (argList::postProcess(argc, argv))
 
     // Externally stored dictionary for functionObjectList
     // if not constructed from runTime
-    dictionary functionObjectsDict;
+    dictionary functionsDict;
+
+    HashSet<word> selectedFields;
 
     // Construct functionObjectList
-    autoPtr<functionObjectList> functionObjectsPtr
+    autoPtr<functionObjectList> functionsPtr
     (
-        functionObjectList::New(args, runTime, functionObjectsDict)
+        functionObjectList::New(args, runTime, functionsDict, selectedFields)
     );
 
     forAll(timeDirs, timeI)
@@ -101,8 +103,13 @@ if (argList::postProcess(argc, argv))
         if (mesh.readUpdate() != polyMesh::UNCHANGED)
         {
             // Update functionObjects if mesh changes
-            functionObjectsPtr =
-                functionObjectList::New(args, runTime, functionObjectsDict);
+            functionsPtr = functionObjectList::New
+            (
+                args,
+                runTime,
+                functionsDict,
+                selectedFields
+            );
         }
 
         FatalIOError.throwExceptions();
@@ -119,7 +126,7 @@ if (argList::postProcess(argc, argv))
             #include INCLUDE_FILE(CREATE_FIELDS_3)
             #endif
 
-            functionObjectsPtr->execute(true);
+            functionsPtr->execute(true);
         }
         catch (IOerror& err)
         {
diff --git a/src/OpenFOAM/fields/ReadFields/ReadFields.H b/src/OpenFOAM/fields/ReadFields/ReadFields.H
index bb464c8ba51..af90731616a 100644
--- a/src/OpenFOAM/fields/ReadFields/ReadFields.H
+++ b/src/OpenFOAM/fields/ReadFields/ReadFields.H
@@ -47,6 +47,7 @@ namespace Foam
 
 class regIOobject;
 class IOobjectList;
+class objectRegistry;
 
 //- Read all fields of the specified type.
 //  Returns names of fields read.
diff --git a/src/OpenFOAM/global/debug/debug.C b/src/OpenFOAM/global/debug/debug.C
index b2f0dfd2fb0..1c90bda00db 100644
--- a/src/OpenFOAM/global/debug/debug.C
+++ b/src/OpenFOAM/global/debug/debug.C
@@ -29,7 +29,7 @@ Description
 #include "debug.H"
 #include "dictionary.H"
 #include "IFstream.H"
-#include "OSspecific.H"
+#include "etcFiles.H"
 #include "Ostream.H"
 #include "demandDrivenData.H"
 #include "simpleObjectRegistry.H"
diff --git a/src/OpenFOAM/include/OSspecific.H b/src/OpenFOAM/include/OSspecific.H
index dc59042f229..c40aebb598d 100644
--- a/src/OpenFOAM/include/OSspecific.H
+++ b/src/OpenFOAM/include/OSspecific.H
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
diff --git a/src/OpenFOAM/include/addFunctionObjectOptions.H b/src/OpenFOAM/include/addFunctionObjectOptions.H
new file mode 100644
index 00000000000..cacca9d5fb6
--- /dev/null
+++ b/src/OpenFOAM/include/addFunctionObjectOptions.H
@@ -0,0 +1,26 @@
+#include "addDictOption.H"
+Foam::argList::addOption
+(
+    "field",
+    "name",
+    "specify the name of the field to be processed, e.g. U"
+);
+Foam::argList::addOption
+(
+    "fields",
+    "list",
+    "specify a list of fields to be processed, e.g. '(U T p)' - "
+    "regular expressions not currently supported"
+);
+Foam::argList::addOption
+(
+    "func",
+    "name",
+    "specify the name of the functionObject to execute, e.g. Q"
+);
+Foam::argList::addOption
+(
+    "funcs",
+    "list",
+    "specify the names of the functionObjects to execute, e.g. '(Q div(U))'"
+);
diff --git a/src/OpenFOAM/meshes/meshShapes/cellModeller/globalCellModeller.C b/src/OpenFOAM/meshes/meshShapes/cellModeller/globalCellModeller.C
index 04652de8883..92f66696a75 100644
--- a/src/OpenFOAM/meshes/meshShapes/cellModeller/globalCellModeller.C
+++ b/src/OpenFOAM/meshes/meshShapes/cellModeller/globalCellModeller.C
@@ -27,7 +27,7 @@ Description
 \*---------------------------------------------------------------------------*/
 
 #include "cellModeller.H"
-#include "OSspecific.H"
+#include "etcFiles.H"
 #include "IFstream.H"
 
 // * * * * * * * * * * * * * * * Static data * * * * * * * * * * * * * * * * //
diff --git a/src/OpenFOAM/primitives/strings/stringOps/stringOps.C b/src/OpenFOAM/primitives/strings/stringOps/stringOps.C
index 52387922b18..4dc7c08f0fe 100644
--- a/src/OpenFOAM/primitives/strings/stringOps/stringOps.C
+++ b/src/OpenFOAM/primitives/strings/stringOps/stringOps.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -26,6 +26,7 @@ License
 #include "stringOps.H"
 #include "typeInfo.H"
 #include "OSspecific.H"
+#include "etcFiles.H"
 #include "OStringStream.H"
 
 
diff --git a/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H b/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H
index fc7d98d4c5c..511754910a6 100644
--- a/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H
+++ b/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H
@@ -36,6 +36,7 @@ SourceFiles
 #define gaussConvectionScheme_H
 
 #include "convectionScheme.H"
+#include "etcFiles.H"
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
diff --git a/src/postProcessing/functionObjects/Allwmake b/src/functionObjects/Allwmake
similarity index 93%
rename from src/postProcessing/functionObjects/Allwmake
rename to src/functionObjects/Allwmake
index 9eaf5762e82..7e4c72f3cee 100755
--- a/src/postProcessing/functionObjects/Allwmake
+++ b/src/functionObjects/Allwmake
@@ -10,5 +10,6 @@ wmake $targetType field
 wmake $targetType forces
 wmake $targetType lagrangian
 wmake $targetType utilities
+wmake $targetType solvers
 
 #------------------------------------------------------------------------------
diff --git a/src/postProcessing/functionObjects/field/CourantNo/CourantNo.C b/src/functionObjects/field/CourantNo/CourantNo.C
similarity index 95%
rename from src/postProcessing/functionObjects/field/CourantNo/CourantNo.C
rename to src/functionObjects/field/CourantNo/CourantNo.C
index 31fa4f19168..2f7c7358013 100644
--- a/src/postProcessing/functionObjects/field/CourantNo/CourantNo.C
+++ b/src/functionObjects/field/CourantNo/CourantNo.C
@@ -68,10 +68,10 @@ Foam::functionObjects::CourantNo::byRho
 
 bool Foam::functionObjects::CourantNo::calc()
 {
-    if (foundObject<surfaceScalarField>(phiName_))
+    if (foundObject<surfaceScalarField>(fieldName_))
     {
         const surfaceScalarField& phi =
-            lookupObject<surfaceScalarField>(phiName_);
+            lookupObject<surfaceScalarField>(fieldName_);
 
         tmp<volScalarField::Internal> Coi
         (
@@ -138,8 +138,9 @@ Foam::functionObjects::CourantNo::CourantNo
     const dictionary& dict
 )
 :
-    fieldExpression(name, runTime, dict, "phi", "Co")
+    fieldExpression(name, runTime, dict, "phi")
 {
+    setResultName("Co", "phi");
     read(dict);
 }
 
@@ -156,7 +157,6 @@ bool Foam::functionObjects::CourantNo::read(const dictionary& dict)
 {
     fieldExpression::read(dict);
 
-    phiName_ = dict.lookupOrDefault<word>("phi", "phi");
     rhoName_ = dict.lookupOrDefault<word>("rho", "rho");
 
     return true;
diff --git a/src/postProcessing/functionObjects/field/CourantNo/CourantNo.H b/src/functionObjects/field/CourantNo/CourantNo.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/CourantNo/CourantNo.H
rename to src/functionObjects/field/CourantNo/CourantNo.H
diff --git a/src/postProcessing/functionObjects/field/Lambda2/Lambda2.C b/src/functionObjects/field/Lambda2/Lambda2.C
similarity index 96%
rename from src/postProcessing/functionObjects/field/Lambda2/Lambda2.C
rename to src/functionObjects/field/Lambda2/Lambda2.C
index 0587d7be427..20cc6a77716 100644
--- a/src/postProcessing/functionObjects/field/Lambda2/Lambda2.C
+++ b/src/functionObjects/field/Lambda2/Lambda2.C
@@ -83,8 +83,10 @@ Foam::functionObjects::Lambda2::Lambda2
     const dictionary& dict
 )
 :
-    fieldExpression(name, runTime, dict, "U", "Lambda2")
-{}
+    fieldExpression(name, runTime, dict, "U")
+{
+    setResultName(typeName, "U");
+}
 
 
 // * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/field/Lambda2/Lambda2.H b/src/functionObjects/field/Lambda2/Lambda2.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/Lambda2/Lambda2.H
rename to src/functionObjects/field/Lambda2/Lambda2.H
diff --git a/src/postProcessing/functionObjects/field/MachNo/MachNo.C b/src/functionObjects/field/MachNo/MachNo.C
similarity index 96%
rename from src/postProcessing/functionObjects/field/MachNo/MachNo.C
rename to src/functionObjects/field/MachNo/MachNo.C
index a362e508f1f..b3fbccee6fa 100644
--- a/src/postProcessing/functionObjects/field/MachNo/MachNo.C
+++ b/src/functionObjects/field/MachNo/MachNo.C
@@ -82,8 +82,10 @@ Foam::functionObjects::MachNo::MachNo
     const dictionary& dict
 )
 :
-    fieldExpression(name, runTime, dict, "U", "Ma")
-{}
+    fieldExpression(name, runTime, dict, "U")
+{
+    setResultName("Ma", "U");
+}
 
 
 // * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/field/MachNo/MachNo.H b/src/functionObjects/field/MachNo/MachNo.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/MachNo/MachNo.H
rename to src/functionObjects/field/MachNo/MachNo.H
diff --git a/src/postProcessing/functionObjects/field/Make/files b/src/functionObjects/field/Make/files
similarity index 93%
rename from src/postProcessing/functionObjects/field/Make/files
rename to src/functionObjects/field/Make/files
index ee5a6334910..50ffce51de6 100644
--- a/src/postProcessing/functionObjects/field/Make/files
+++ b/src/functionObjects/field/Make/files
@@ -27,7 +27,7 @@ wallBoundedStreamLine/wallBoundedStreamLineParticle.C
 wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.C
 wallBoundedStreamLine/wallBoundedParticle.C
 
-surfaceInterpolateFields/surfaceInterpolateFields.C
+surfaceInterpolate/surfaceInterpolate.C
 
 regionSizeDistribution/regionSizeDistribution.C
 histogram/histogram.C
@@ -50,4 +50,7 @@ blendingFactor/blendingFactor.C
 pressure/pressure.C
 MachNo/MachNo.C
 
+turbulenceFields/turbulenceFields.C
+yPlus/yPlus.C
+
 LIB = $(FOAM_LIBBIN)/libfieldFunctionObjects
diff --git a/src/postProcessing/functionObjects/field/Make/options b/src/functionObjects/field/Make/options
similarity index 68%
rename from src/postProcessing/functionObjects/field/Make/options
rename to src/functionObjects/field/Make/options
index 5e97121147d..59922f16102 100644
--- a/src/postProcessing/functionObjects/field/Make/options
+++ b/src/functionObjects/field/Make/options
@@ -8,13 +8,18 @@ EXE_INC = \
     -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
     -I$(LIB_SRC)/transportModels \
     -I$(LIB_SRC)/transportModels/compressible/lnInclude \
-    -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude
+    -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
+    -I$(LIB_SRC)/TurbulenceModels/incompressible/lnInclude \
+    -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude
 
 LIB_LIBS = \
     -lfiniteVolume \
     -lfluidThermophysicalModels \
-    -lcompressibleTransportModels \
+    -lincompressibleTransportModels \
     -lturbulenceModels \
+    -lcompressibleTransportModels \
+    -lincompressibleTurbulenceModels \
+    -lcompressibleTurbulenceModels \
     -lmeshTools \
     -lsurfMesh \
     -llagrangian \
diff --git a/src/postProcessing/functionObjects/field/PecletNo/PecletNo.C b/src/functionObjects/field/PecletNo/PecletNo.C
similarity index 85%
rename from src/postProcessing/functionObjects/field/PecletNo/PecletNo.C
rename to src/functionObjects/field/PecletNo/PecletNo.C
index 69c4ee48ae5..3650448e847 100644
--- a/src/postProcessing/functionObjects/field/PecletNo/PecletNo.C
+++ b/src/functionObjects/field/PecletNo/PecletNo.C
@@ -50,7 +50,7 @@ namespace functionObjects
 
 bool Foam::functionObjects::PecletNo::calc()
 {
-    if (foundObject<surfaceScalarField>(phiName_))
+    if (foundObject<surfaceScalarField>(fieldName_))
     {
         tmp<volScalarField> nuEff
         (
@@ -61,7 +61,7 @@ bool Foam::functionObjects::PecletNo::calc()
         );
 
         const surfaceScalarField& phi =
-            mesh_.lookupObject<surfaceScalarField>(phiName_);
+            mesh_.lookupObject<surfaceScalarField>(fieldName_);
 
         return store
         (
@@ -90,9 +90,9 @@ Foam::functionObjects::PecletNo::PecletNo
     const dictionary& dict
 )
 :
-    fieldExpression(name, runTime, dict, "phi", "Pe")
+    fieldExpression(name, runTime, dict, "phi")
 {
-    read(dict);
+    setResultName("Pe", "phi");
 }
 
 
@@ -102,16 +102,4 @@ Foam::functionObjects::PecletNo::~PecletNo()
 {}
 
 
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-bool Foam::functionObjects::PecletNo::read(const dictionary& dict)
-{
-    fieldExpression::read(dict);
-
-    phiName_ = dict.lookupOrDefault<word>("phi", "phi");
-
-    return true;
-}
-
-
 // ************************************************************************* //
diff --git a/src/postProcessing/functionObjects/field/PecletNo/PecletNo.H b/src/functionObjects/field/PecletNo/PecletNo.H
similarity index 93%
rename from src/postProcessing/functionObjects/field/PecletNo/PecletNo.H
rename to src/functionObjects/field/PecletNo/PecletNo.H
index 3ff90f0cd4e..bd333a1a131 100644
--- a/src/postProcessing/functionObjects/field/PecletNo/PecletNo.H
+++ b/src/functionObjects/field/PecletNo/PecletNo.H
@@ -60,12 +60,6 @@ class PecletNo
 :
     public fieldExpression
 {
-    // Private data
-
-        //- Name of flux field, default is "phi"
-        word phiName_;
-
-
     // Private Member Functions
 
         //- Calculate the Peclet number field and return true if successful
@@ -92,12 +86,6 @@ public:
 
     //- Destructor
     virtual ~PecletNo();
-
-
-    // Member Functions
-
-        //- Read the PecletNo data
-        virtual bool read(const dictionary&);
 };
 
 
diff --git a/src/postProcessing/functionObjects/field/Q/Q.C b/src/functionObjects/field/Q/Q.C
similarity index 92%
rename from src/postProcessing/functionObjects/field/Q/Q.C
rename to src/functionObjects/field/Q/Q.C
index be54432d901..a3012cd03ba 100644
--- a/src/postProcessing/functionObjects/field/Q/Q.C
+++ b/src/functionObjects/field/Q/Q.C
@@ -79,17 +79,7 @@ Foam::functionObjects::Q::Q
 :
     fieldExpression(name, runTime, dict, "U")
 {
-    if (resultName_.empty())
-    {
-        if (fieldName_ != "U")
-        {
-            resultName_ = "Q(" + fieldName_ + ')';
-        }
-        else
-        {
-            resultName_ = 'Q';
-        }
-    }
+    setResultName(typeName, "U");
 }
 
 
diff --git a/src/postProcessing/functionObjects/field/Q/Q.H b/src/functionObjects/field/Q/Q.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/Q/Q.H
rename to src/functionObjects/field/Q/Q.H
diff --git a/src/postProcessing/functionObjects/field/blendingFactor/blendingFactor.C b/src/functionObjects/field/blendingFactor/blendingFactor.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/blendingFactor/blendingFactor.C
rename to src/functionObjects/field/blendingFactor/blendingFactor.C
diff --git a/src/postProcessing/functionObjects/field/blendingFactor/blendingFactor.H b/src/functionObjects/field/blendingFactor/blendingFactor.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/blendingFactor/blendingFactor.H
rename to src/functionObjects/field/blendingFactor/blendingFactor.H
diff --git a/src/postProcessing/functionObjects/field/blendingFactor/blendingFactorTemplates.C b/src/functionObjects/field/blendingFactor/blendingFactorTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/blendingFactor/blendingFactorTemplates.C
rename to src/functionObjects/field/blendingFactor/blendingFactorTemplates.C
diff --git a/src/postProcessing/functionObjects/field/components/components.C b/src/functionObjects/field/components/components.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/components/components.C
rename to src/functionObjects/field/components/components.C
diff --git a/src/postProcessing/functionObjects/field/components/components.H b/src/functionObjects/field/components/components.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/components/components.H
rename to src/functionObjects/field/components/components.H
diff --git a/src/postProcessing/functionObjects/field/components/componentsTemplates.C b/src/functionObjects/field/components/componentsTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/components/componentsTemplates.C
rename to src/functionObjects/field/components/componentsTemplates.C
diff --git a/src/postProcessing/functionObjects/field/div/div.C b/src/functionObjects/field/div/div.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/div/div.C
rename to src/functionObjects/field/div/div.C
diff --git a/src/postProcessing/functionObjects/field/div/div.H b/src/functionObjects/field/div/div.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/div/div.H
rename to src/functionObjects/field/div/div.H
diff --git a/src/postProcessing/functionObjects/field/div/divTemplates.C b/src/functionObjects/field/div/divTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/div/divTemplates.C
rename to src/functionObjects/field/div/divTemplates.C
diff --git a/src/postProcessing/functionObjects/field/doc/fieldFunctionObjectsDoc.H b/src/functionObjects/field/doc/fieldFunctionObjectsDoc.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/doc/fieldFunctionObjectsDoc.H
rename to src/functionObjects/field/doc/fieldFunctionObjectsDoc.H
diff --git a/src/postProcessing/functionObjects/field/enstrophy/enstrophy.C b/src/functionObjects/field/enstrophy/enstrophy.C
similarity index 96%
rename from src/postProcessing/functionObjects/field/enstrophy/enstrophy.C
rename to src/functionObjects/field/enstrophy/enstrophy.C
index 6c62c7294ab..5100e3c8e09 100644
--- a/src/postProcessing/functionObjects/field/enstrophy/enstrophy.C
+++ b/src/functionObjects/field/enstrophy/enstrophy.C
@@ -75,8 +75,10 @@ Foam::functionObjects::enstrophy::enstrophy
     const dictionary& dict
 )
 :
-    fieldExpression(name, runTime, dict, "U", "enstrophy")
-{}
+    fieldExpression(name, runTime, dict, "U")
+{
+    setResultName(typeName, "U");
+}
 
 
 // * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/field/enstrophy/enstrophy.H b/src/functionObjects/field/enstrophy/enstrophy.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/enstrophy/enstrophy.H
rename to src/functionObjects/field/enstrophy/enstrophy.H
diff --git a/src/postProcessing/functionObjects/field/fieldAverage/controlDict b/src/functionObjects/field/fieldAverage/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldAverage/controlDict
rename to src/functionObjects/field/fieldAverage/controlDict
diff --git a/src/postProcessing/functionObjects/field/fieldAverage/fieldAverage.C b/src/functionObjects/field/fieldAverage/fieldAverage.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldAverage/fieldAverage.C
rename to src/functionObjects/field/fieldAverage/fieldAverage.C
diff --git a/src/postProcessing/functionObjects/field/fieldAverage/fieldAverage.H b/src/functionObjects/field/fieldAverage/fieldAverage.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldAverage/fieldAverage.H
rename to src/functionObjects/field/fieldAverage/fieldAverage.H
diff --git a/src/postProcessing/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.C b/src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.C
rename to src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.C
diff --git a/src/postProcessing/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.H b/src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.H
rename to src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItem.H
diff --git a/src/postProcessing/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItemIO.C b/src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItemIO.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItemIO.C
rename to src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItemIO.C
diff --git a/src/postProcessing/functionObjects/field/fieldAverage/fieldAverageTemplates.C b/src/functionObjects/field/fieldAverage/fieldAverageTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldAverage/fieldAverageTemplates.C
rename to src/functionObjects/field/fieldAverage/fieldAverageTemplates.C
diff --git a/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.C b/src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.C
rename to src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.C
diff --git a/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.H b/src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.H
rename to src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.H
diff --git a/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C b/src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
rename to src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
diff --git a/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/postProcessingDict b/src/functionObjects/field/fieldCoordinateSystemTransform/postProcessingDict
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/postProcessingDict
rename to src/functionObjects/field/fieldCoordinateSystemTransform/postProcessingDict
diff --git a/src/postProcessing/functionObjects/field/fieldExpression/fieldExpression.C b/src/functionObjects/field/fieldExpression/fieldExpression.C
similarity index 88%
rename from src/postProcessing/functionObjects/field/fieldExpression/fieldExpression.C
rename to src/functionObjects/field/fieldExpression/fieldExpression.C
index 2eb9331b6ba..fa7a26d03b6 100644
--- a/src/postProcessing/functionObjects/field/fieldExpression/fieldExpression.C
+++ b/src/functionObjects/field/fieldExpression/fieldExpression.C
@@ -46,6 +46,31 @@ bool Foam::functionObjects::fieldExpression::calc()
 }
 
 
+void Foam::functionObjects::fieldExpression::setResultName
+(
+    const word& typeName,
+    const word& defaultArg
+)
+{
+    if (fieldName_.empty())
+    {
+        fieldName_ = defaultArg;
+    }
+
+    if (resultName_.empty())
+    {
+        if (fieldName_ != defaultArg)
+        {
+            resultName_ = typeName + '(' + fieldName_ + ')';
+        }
+        else
+        {
+            resultName_ = typeName;
+        }
+    }
+}
+
+
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
 Foam::functionObjects::fieldExpression::fieldExpression
diff --git a/src/postProcessing/functionObjects/field/fieldExpression/fieldExpression.H b/src/functionObjects/field/fieldExpression/fieldExpression.H
similarity index 97%
rename from src/postProcessing/functionObjects/field/fieldExpression/fieldExpression.H
rename to src/functionObjects/field/fieldExpression/fieldExpression.H
index f5d0befd365..786927d5580 100644
--- a/src/postProcessing/functionObjects/field/fieldExpression/fieldExpression.H
+++ b/src/functionObjects/field/fieldExpression/fieldExpression.H
@@ -73,6 +73,8 @@ protected:
 
         virtual bool calc();
 
+        void setResultName(const word& typeName, const word& defaultArg);
+
 
 private:
 
diff --git a/src/postProcessing/functionObjects/field/fieldMinMax/controlDict b/src/functionObjects/field/fieldMinMax/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldMinMax/controlDict
rename to src/functionObjects/field/fieldMinMax/controlDict
diff --git a/src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMax.C b/src/functionObjects/field/fieldMinMax/fieldMinMax.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMax.C
rename to src/functionObjects/field/fieldMinMax/fieldMinMax.C
diff --git a/src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMax.H b/src/functionObjects/field/fieldMinMax/fieldMinMax.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMax.H
rename to src/functionObjects/field/fieldMinMax/fieldMinMax.H
diff --git a/src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C b/src/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C
rename to src/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C
diff --git a/src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.C b/src/functionObjects/field/fieldValues/cellSource/cellSource.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.C
rename to src/functionObjects/field/fieldValues/cellSource/cellSource.C
diff --git a/src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.H b/src/functionObjects/field/fieldValues/cellSource/cellSource.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.H
rename to src/functionObjects/field/fieldValues/cellSource/cellSource.H
diff --git a/src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSourceI.H b/src/functionObjects/field/fieldValues/cellSource/cellSourceI.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSourceI.H
rename to src/functionObjects/field/fieldValues/cellSource/cellSourceI.H
diff --git a/src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSourceTemplates.C b/src/functionObjects/field/fieldValues/cellSource/cellSourceTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSourceTemplates.C
rename to src/functionObjects/field/fieldValues/cellSource/cellSourceTemplates.C
diff --git a/src/postProcessing/functionObjects/field/fieldValues/controlDict b/src/functionObjects/field/fieldValues/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/controlDict
rename to src/functionObjects/field/fieldValues/controlDict
diff --git a/src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.C b/src/functionObjects/field/fieldValues/faceSource/faceSource.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.C
rename to src/functionObjects/field/fieldValues/faceSource/faceSource.C
diff --git a/src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.H b/src/functionObjects/field/fieldValues/faceSource/faceSource.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.H
rename to src/functionObjects/field/fieldValues/faceSource/faceSource.H
diff --git a/src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSourceI.H b/src/functionObjects/field/fieldValues/faceSource/faceSourceI.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSourceI.H
rename to src/functionObjects/field/fieldValues/faceSource/faceSourceI.H
diff --git a/src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSourceTemplates.C b/src/functionObjects/field/fieldValues/faceSource/faceSourceTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSourceTemplates.C
rename to src/functionObjects/field/fieldValues/faceSource/faceSourceTemplates.C
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValue.C b/src/functionObjects/field/fieldValues/fieldValue/fieldValue.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValue.C
rename to src/functionObjects/field/fieldValues/fieldValue/fieldValue.C
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValue.H b/src/functionObjects/field/fieldValues/fieldValue/fieldValue.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValue.H
rename to src/functionObjects/field/fieldValues/fieldValue/fieldValue.H
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValueI.H b/src/functionObjects/field/fieldValues/fieldValue/fieldValueI.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValueI.H
rename to src/functionObjects/field/fieldValues/fieldValue/fieldValueI.H
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValueNew.C b/src/functionObjects/field/fieldValues/fieldValue/fieldValueNew.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValueNew.C
rename to src/functionObjects/field/fieldValues/fieldValue/fieldValueNew.C
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValueTemplates.C b/src/functionObjects/field/fieldValues/fieldValue/fieldValueTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValueTemplates.C
rename to src/functionObjects/field/fieldValues/fieldValue/fieldValueTemplates.C
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.C b/src/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.C
rename to src/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.C
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.H b/src/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.H
rename to src/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.H
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDeltaTemplates.C b/src/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDeltaTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDeltaTemplates.C
rename to src/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDeltaTemplates.C
diff --git a/src/postProcessing/functionObjects/field/flowType/flowType.C b/src/functionObjects/field/flowType/flowType.C
similarity index 97%
rename from src/postProcessing/functionObjects/field/flowType/flowType.C
rename to src/functionObjects/field/flowType/flowType.C
index a867c850fad..11d053f6a14 100644
--- a/src/postProcessing/functionObjects/field/flowType/flowType.C
+++ b/src/functionObjects/field/flowType/flowType.C
@@ -87,8 +87,10 @@ Foam::functionObjects::flowType::flowType
     const dictionary& dict
 )
 :
-    fieldExpression(name, runTime, dict, "U", "flowType")
-{}
+    fieldExpression(name, runTime, dict, "U")
+{
+    setResultName(typeName, "U");
+}
 
 
 // * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/field/flowType/flowType.H b/src/functionObjects/field/flowType/flowType.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/flowType/flowType.H
rename to src/functionObjects/field/flowType/flowType.H
diff --git a/src/postProcessing/functionObjects/field/grad/grad.C b/src/functionObjects/field/grad/grad.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/grad/grad.C
rename to src/functionObjects/field/grad/grad.C
diff --git a/src/postProcessing/functionObjects/field/grad/grad.H b/src/functionObjects/field/grad/grad.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/grad/grad.H
rename to src/functionObjects/field/grad/grad.H
diff --git a/src/postProcessing/functionObjects/field/grad/gradTemplates.C b/src/functionObjects/field/grad/gradTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/grad/gradTemplates.C
rename to src/functionObjects/field/grad/gradTemplates.C
diff --git a/src/postProcessing/functionObjects/field/histogram/histogram.C b/src/functionObjects/field/histogram/histogram.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/histogram/histogram.C
rename to src/functionObjects/field/histogram/histogram.C
diff --git a/src/postProcessing/functionObjects/field/histogram/histogram.H b/src/functionObjects/field/histogram/histogram.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/histogram/histogram.H
rename to src/functionObjects/field/histogram/histogram.H
diff --git a/src/postProcessing/functionObjects/field/mag/mag.C b/src/functionObjects/field/mag/mag.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/mag/mag.C
rename to src/functionObjects/field/mag/mag.C
diff --git a/src/postProcessing/functionObjects/field/mag/mag.H b/src/functionObjects/field/mag/mag.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/mag/mag.H
rename to src/functionObjects/field/mag/mag.H
diff --git a/src/postProcessing/functionObjects/field/mag/magTemplates.C b/src/functionObjects/field/mag/magTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/mag/magTemplates.C
rename to src/functionObjects/field/mag/magTemplates.C
diff --git a/src/postProcessing/functionObjects/field/magSqr/magSqr.C b/src/functionObjects/field/magSqr/magSqr.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/magSqr/magSqr.C
rename to src/functionObjects/field/magSqr/magSqr.C
diff --git a/src/postProcessing/functionObjects/field/magSqr/magSqr.H b/src/functionObjects/field/magSqr/magSqr.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/magSqr/magSqr.H
rename to src/functionObjects/field/magSqr/magSqr.H
diff --git a/src/postProcessing/functionObjects/field/magSqr/magSqrTemplates.C b/src/functionObjects/field/magSqr/magSqrTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/magSqr/magSqrTemplates.C
rename to src/functionObjects/field/magSqr/magSqrTemplates.C
diff --git a/src/postProcessing/functionObjects/field/nearWallFields/controlDict b/src/functionObjects/field/nearWallFields/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/field/nearWallFields/controlDict
rename to src/functionObjects/field/nearWallFields/controlDict
diff --git a/src/postProcessing/functionObjects/field/nearWallFields/findCellParticle.C b/src/functionObjects/field/nearWallFields/findCellParticle.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/nearWallFields/findCellParticle.C
rename to src/functionObjects/field/nearWallFields/findCellParticle.C
diff --git a/src/postProcessing/functionObjects/field/nearWallFields/findCellParticle.H b/src/functionObjects/field/nearWallFields/findCellParticle.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/nearWallFields/findCellParticle.H
rename to src/functionObjects/field/nearWallFields/findCellParticle.H
diff --git a/src/postProcessing/functionObjects/field/nearWallFields/findCellParticleCloud.C b/src/functionObjects/field/nearWallFields/findCellParticleCloud.C
similarity index 95%
rename from src/postProcessing/functionObjects/field/nearWallFields/findCellParticleCloud.C
rename to src/functionObjects/field/nearWallFields/findCellParticleCloud.C
index 0d5fdf5ea46..387621742e1 100644
--- a/src/postProcessing/functionObjects/field/nearWallFields/findCellParticleCloud.C
+++ b/src/functionObjects/field/nearWallFields/findCellParticleCloud.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2013 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2013-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
diff --git a/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.C b/src/functionObjects/field/nearWallFields/nearWallFields.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.C
rename to src/functionObjects/field/nearWallFields/nearWallFields.C
diff --git a/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.H b/src/functionObjects/field/nearWallFields/nearWallFields.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.H
rename to src/functionObjects/field/nearWallFields/nearWallFields.H
diff --git a/src/postProcessing/functionObjects/field/nearWallFields/nearWallFieldsTemplates.C b/src/functionObjects/field/nearWallFields/nearWallFieldsTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/nearWallFields/nearWallFieldsTemplates.C
rename to src/functionObjects/field/nearWallFields/nearWallFieldsTemplates.C
diff --git a/src/postProcessing/functionObjects/field/pressure/pressure.C b/src/functionObjects/field/pressure/pressure.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/pressure/pressure.C
rename to src/functionObjects/field/pressure/pressure.C
diff --git a/src/postProcessing/functionObjects/field/pressure/pressure.H b/src/functionObjects/field/pressure/pressure.H
similarity index 99%
rename from src/postProcessing/functionObjects/field/pressure/pressure.H
rename to src/functionObjects/field/pressure/pressure.H
index 4970c5aa585..1f662eb6db6 100644
--- a/src/postProcessing/functionObjects/field/pressure/pressure.H
+++ b/src/functionObjects/field/pressure/pressure.H
@@ -25,7 +25,7 @@ Class
     Foam::functionObjects::pressure
 
 Group
-    grpForcesFunctionObjects
+    grpFieldFunctionObjects
 
 Description
     This function object includes tools to manipulate the pressure into
diff --git a/src/postProcessing/functionObjects/field/processorField/postProcessingDict b/src/functionObjects/field/processorField/postProcessingDict
similarity index 100%
rename from src/postProcessing/functionObjects/field/processorField/postProcessingDict
rename to src/functionObjects/field/processorField/postProcessingDict
diff --git a/src/postProcessing/functionObjects/field/processorField/processorField.C b/src/functionObjects/field/processorField/processorField.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/processorField/processorField.C
rename to src/functionObjects/field/processorField/processorField.C
diff --git a/src/postProcessing/functionObjects/field/processorField/processorField.H b/src/functionObjects/field/processorField/processorField.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/processorField/processorField.H
rename to src/functionObjects/field/processorField/processorField.H
diff --git a/src/postProcessing/functionObjects/field/randomise/randomise.C b/src/functionObjects/field/randomise/randomise.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/randomise/randomise.C
rename to src/functionObjects/field/randomise/randomise.C
diff --git a/src/postProcessing/functionObjects/field/randomise/randomise.H b/src/functionObjects/field/randomise/randomise.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/randomise/randomise.H
rename to src/functionObjects/field/randomise/randomise.H
diff --git a/src/postProcessing/functionObjects/field/randomise/randomiseTemplates.C b/src/functionObjects/field/randomise/randomiseTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/randomise/randomiseTemplates.C
rename to src/functionObjects/field/randomise/randomiseTemplates.C
diff --git a/src/postProcessing/functionObjects/field/readFields/postProcessingDict b/src/functionObjects/field/readFields/postProcessingDict
similarity index 100%
rename from src/postProcessing/functionObjects/field/readFields/postProcessingDict
rename to src/functionObjects/field/readFields/postProcessingDict
diff --git a/src/postProcessing/functionObjects/field/readFields/readFields.C b/src/functionObjects/field/readFields/readFields.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/readFields/readFields.C
rename to src/functionObjects/field/readFields/readFields.C
diff --git a/src/postProcessing/functionObjects/field/readFields/readFields.H b/src/functionObjects/field/readFields/readFields.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/readFields/readFields.H
rename to src/functionObjects/field/readFields/readFields.H
diff --git a/src/postProcessing/functionObjects/field/readFields/readFieldsTemplates.C b/src/functionObjects/field/readFields/readFieldsTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/readFields/readFieldsTemplates.C
rename to src/functionObjects/field/readFields/readFieldsTemplates.C
diff --git a/src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistribution.C b/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistribution.C
rename to src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.C
diff --git a/src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H b/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H
rename to src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H
diff --git a/src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistributionTemplates.C b/src/functionObjects/field/regionSizeDistribution/regionSizeDistributionTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistributionTemplates.C
rename to src/functionObjects/field/regionSizeDistribution/regionSizeDistributionTemplates.C
diff --git a/src/postProcessing/functionObjects/field/streamLine/controlDict b/src/functionObjects/field/streamLine/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/field/streamLine/controlDict
rename to src/functionObjects/field/streamLine/controlDict
diff --git a/src/postProcessing/functionObjects/field/streamLine/streamLine.C b/src/functionObjects/field/streamLine/streamLine.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/streamLine/streamLine.C
rename to src/functionObjects/field/streamLine/streamLine.C
diff --git a/src/postProcessing/functionObjects/field/streamLine/streamLine.H b/src/functionObjects/field/streamLine/streamLine.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/streamLine/streamLine.H
rename to src/functionObjects/field/streamLine/streamLine.H
diff --git a/src/postProcessing/functionObjects/field/streamLine/streamLineParticle.C b/src/functionObjects/field/streamLine/streamLineParticle.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/streamLine/streamLineParticle.C
rename to src/functionObjects/field/streamLine/streamLineParticle.C
diff --git a/src/postProcessing/functionObjects/field/streamLine/streamLineParticle.H b/src/functionObjects/field/streamLine/streamLineParticle.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/streamLine/streamLineParticle.H
rename to src/functionObjects/field/streamLine/streamLineParticle.H
diff --git a/src/postProcessing/functionObjects/field/streamLine/streamLineParticleCloud.C b/src/functionObjects/field/streamLine/streamLineParticleCloud.C
similarity index 96%
rename from src/postProcessing/functionObjects/field/streamLine/streamLineParticleCloud.C
rename to src/functionObjects/field/streamLine/streamLineParticleCloud.C
index 26f5358ec17..566a1279982 100644
--- a/src/postProcessing/functionObjects/field/streamLine/streamLineParticleCloud.C
+++ b/src/functionObjects/field/streamLine/streamLineParticleCloud.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
diff --git a/src/postProcessing/functionObjects/field/streamLine/streamLineParticleCloud.H b/src/functionObjects/field/streamLine/streamLineParticleCloud.H
similarity index 97%
rename from src/postProcessing/functionObjects/field/streamLine/streamLineParticleCloud.H
rename to src/functionObjects/field/streamLine/streamLineParticleCloud.H
index c36fe7e8ce0..9fdbad50f5d 100644
--- a/src/postProcessing/functionObjects/field/streamLine/streamLineParticleCloud.H
+++ b/src/functionObjects/field/streamLine/streamLineParticleCloud.H
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
diff --git a/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.C b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.C
similarity index 86%
rename from src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.C
rename to src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.C
index 096d16a525e..ed486a637c8 100644
--- a/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.C
+++ b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.C
@@ -23,7 +23,7 @@ License
 
 \*---------------------------------------------------------------------------*/
 
-#include "surfaceInterpolateFields.H"
+#include "surfaceInterpolate.H"
 #include "surfaceFields.H"
 #include "addToRunTimeSelectionTable.H"
 
@@ -33,12 +33,12 @@ namespace Foam
 {
 namespace functionObjects
 {
-    defineTypeNameAndDebug(surfaceInterpolateFields, 0);
+    defineTypeNameAndDebug(surfaceInterpolate, 0);
 
     addToRunTimeSelectionTable
     (
         functionObject,
-        surfaceInterpolateFields,
+        surfaceInterpolate,
         dictionary
     );
 }
@@ -47,7 +47,7 @@ namespace functionObjects
 
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
-Foam::functionObjects::surfaceInterpolateFields::surfaceInterpolateFields
+Foam::functionObjects::surfaceInterpolate::surfaceInterpolate
 (
     const word& name,
     const Time& runTime,
@@ -63,13 +63,13 @@ Foam::functionObjects::surfaceInterpolateFields::surfaceInterpolateFields
 
 // * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
 
-Foam::functionObjects::surfaceInterpolateFields::~surfaceInterpolateFields()
+Foam::functionObjects::surfaceInterpolate::~surfaceInterpolate()
 {}
 
 
 // * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
 
-bool Foam::functionObjects::surfaceInterpolateFields::read
+bool Foam::functionObjects::surfaceInterpolate::read
 (
     const dictionary& dict
 )
@@ -80,7 +80,7 @@ bool Foam::functionObjects::surfaceInterpolateFields::read
 }
 
 
-bool Foam::functionObjects::surfaceInterpolateFields::execute
+bool Foam::functionObjects::surfaceInterpolate::execute
 (
     const bool postProcess
 )
@@ -106,7 +106,7 @@ bool Foam::functionObjects::surfaceInterpolateFields::execute
 }
 
 
-bool Foam::functionObjects::surfaceInterpolateFields::write
+bool Foam::functionObjects::surfaceInterpolate::write
 (
     const bool postProcess
 )
diff --git a/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.H b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H
similarity index 87%
rename from src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.H
rename to src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H
index 1a20882c6c1..aa4405fb1cf 100644
--- a/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.H
+++ b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H
@@ -22,7 +22,7 @@ License
     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
 
 Class
-    Foam::surfaceInterpolateFields
+    Foam::surfaceInterpolate
 
 Group grpFieldFunctionObjects
 
@@ -40,9 +40,9 @@ Description
 
     Example of function object specification:
     \verbatim
-    surfaceInterpolateFields1
+    surfaceInterpolate1
     {
-        type        surfaceInterpolateFields;
+        type        surfaceInterpolate;
         libs ("libfieldFunctionObjects.so");
         ...
         fields      ((p pNear)(U UNear));
@@ -62,12 +62,12 @@ SeeAlso
     Foam::functionObjects::timeControl
 
 SourceFiles
-    surfaceInterpolateFields.C
+    surfaceInterpolate.C
 
 \*---------------------------------------------------------------------------*/
 
-#ifndef functionObjects_surfaceInterpolateFields_H
-#define functionObjects_surfaceInterpolateFields_H
+#ifndef functionObjects_surfaceInterpolate_H
+#define functionObjects_surfaceInterpolate_H
 
 #include "fvMeshFunctionObject.H"
 #include "surfaceFieldsFwd.H"
@@ -87,10 +87,10 @@ namespace functionObjects
 {
 
 /*---------------------------------------------------------------------------*\
-                  Class surfaceInterpolateFields Declaration
+                  Class surfaceInterpolate Declaration
 \*---------------------------------------------------------------------------*/
 
-class surfaceInterpolateFields
+class surfaceInterpolate
 :
     public fvMeshFunctionObject
 {
@@ -123,23 +123,23 @@ private:
     // Private member functions
 
         //- Disallow default bitwise copy construct
-        surfaceInterpolateFields(const surfaceInterpolateFields&);
+        surfaceInterpolate(const surfaceInterpolate&);
 
         //- Disallow default bitwise assignment
-        void operator=(const surfaceInterpolateFields&);
+        void operator=(const surfaceInterpolate&);
 
 
 public:
 
     //- Runtime type information
-    TypeName("surfaceInterpolateFields");
+    TypeName("surfaceInterpolate");
 
 
     // Constructors
 
         //- Construct for given objectRegistry and dictionary.
         //  Allow the possibility to load fields from files
-        surfaceInterpolateFields
+        surfaceInterpolate
         (
             const word& name,
             const Time& runTime,
@@ -148,7 +148,7 @@ public:
 
 
     //- Destructor
-    virtual ~surfaceInterpolateFields();
+    virtual ~surfaceInterpolate();
 
 
     // Member Functions
@@ -172,7 +172,7 @@ public:
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 #ifdef NoRepository
-    #include "surfaceInterpolateFieldsTemplates.C"
+    #include "surfaceInterpolateTemplates.C"
 #endif
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFieldsTemplates.C b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolateTemplates.C
similarity index 96%
rename from src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFieldsTemplates.C
rename to src/functionObjects/field/surfaceInterpolate/surfaceInterpolateTemplates.C
index 3ed285f2209..320bbd1d050 100644
--- a/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFieldsTemplates.C
+++ b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolateTemplates.C
@@ -23,14 +23,14 @@ License
 
 \*---------------------------------------------------------------------------*/
 
-#include "surfaceInterpolateFields.H"
+#include "surfaceInterpolate.H"
 #include "volFields.H"
 #include "linear.H"
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 template<class Type>
-void Foam::functionObjects::surfaceInterpolateFields::interpolateFields
+void Foam::functionObjects::surfaceInterpolate::interpolateFields
 (
     PtrList<GeometricField<Type, fvsPatchField, surfaceMesh>>& sflds
 ) const
diff --git a/src/postProcessing/functionObjects/utilities/turbulenceFields/postProcessingDict b/src/functionObjects/field/turbulenceFields/postProcessingDict
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/turbulenceFields/postProcessingDict
rename to src/functionObjects/field/turbulenceFields/postProcessingDict
diff --git a/src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFields.C b/src/functionObjects/field/turbulenceFields/turbulenceFields.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFields.C
rename to src/functionObjects/field/turbulenceFields/turbulenceFields.C
diff --git a/src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFields.H b/src/functionObjects/field/turbulenceFields/turbulenceFields.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFields.H
rename to src/functionObjects/field/turbulenceFields/turbulenceFields.H
diff --git a/src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFieldsTemplates.C b/src/functionObjects/field/turbulenceFields/turbulenceFieldsTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFieldsTemplates.C
rename to src/functionObjects/field/turbulenceFields/turbulenceFieldsTemplates.C
diff --git a/src/postProcessing/functionObjects/field/vorticity/vorticity.C b/src/functionObjects/field/vorticity/vorticity.C
similarity index 96%
rename from src/postProcessing/functionObjects/field/vorticity/vorticity.C
rename to src/functionObjects/field/vorticity/vorticity.C
index 6e0c1f6526d..567799d7e86 100644
--- a/src/postProcessing/functionObjects/field/vorticity/vorticity.C
+++ b/src/functionObjects/field/vorticity/vorticity.C
@@ -75,8 +75,10 @@ Foam::functionObjects::vorticity::vorticity
     const dictionary& dict
 )
 :
-    fieldExpression(name, runTime, dict, "U", "vorticity")
-{}
+    fieldExpression(name, runTime, dict, "U")
+{
+    setResultName(typeName, "U");
+}
 
 
 // * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/field/vorticity/vorticity.H b/src/functionObjects/field/vorticity/vorticity.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/vorticity/vorticity.H
rename to src/functionObjects/field/vorticity/vorticity.H
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/controlDict b/src/functionObjects/field/wallBoundedStreamLine/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/controlDict
rename to src/functionObjects/field/wallBoundedStreamLine/controlDict
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.C b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.C
rename to src/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.C
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.H b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.H
rename to src/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.H
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedParticleTemplates.C b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedParticleTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedParticleTemplates.C
rename to src/functionObjects/field/wallBoundedStreamLine/wallBoundedParticleTemplates.C
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C
rename to src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H
rename to src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.C b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.C
similarity index 100%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.C
rename to src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.C
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.H b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.H
similarity index 100%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.H
rename to src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticle.H
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.C b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.C
similarity index 96%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.C
rename to src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.C
index dbe7ce82766..b594620c32d 100644
--- a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.C
+++ b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2012 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H
similarity index 97%
rename from src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H
rename to src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H
index b91e9b5d8fa..8ce123d6a55 100644
--- a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H
+++ b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2012 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
diff --git a/src/postProcessing/functionObjects/utilities/yPlus/yPlus.C b/src/functionObjects/field/yPlus/yPlus.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/yPlus/yPlus.C
rename to src/functionObjects/field/yPlus/yPlus.C
diff --git a/src/postProcessing/functionObjects/utilities/yPlus/yPlus.H b/src/functionObjects/field/yPlus/yPlus.H
similarity index 99%
rename from src/postProcessing/functionObjects/utilities/yPlus/yPlus.H
rename to src/functionObjects/field/yPlus/yPlus.H
index 363cd8074bd..ce4bc069d66 100644
--- a/src/postProcessing/functionObjects/utilities/yPlus/yPlus.H
+++ b/src/functionObjects/field/yPlus/yPlus.H
@@ -25,7 +25,7 @@ Class
     Foam::functionObjects::yPlus
 
 Group
-    grpUtilitiesFunctionObjects
+    grpFieldFunctionObjects
 
 Description
     Evaluates and outputs turbulence y+ for  models.  Values written to
diff --git a/src/postProcessing/functionObjects/forces/Make/files b/src/functionObjects/forces/Make/files
similarity index 100%
rename from src/postProcessing/functionObjects/forces/Make/files
rename to src/functionObjects/forces/Make/files
diff --git a/src/postProcessing/functionObjects/forces/Make/options b/src/functionObjects/forces/Make/options
similarity index 100%
rename from src/postProcessing/functionObjects/forces/Make/options
rename to src/functionObjects/forces/Make/options
diff --git a/src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.C b/src/functionObjects/forces/forceCoeffs/forceCoeffs.C
similarity index 100%
rename from src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.C
rename to src/functionObjects/forces/forceCoeffs/forceCoeffs.C
diff --git a/src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.H b/src/functionObjects/forces/forceCoeffs/forceCoeffs.H
similarity index 100%
rename from src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.H
rename to src/functionObjects/forces/forceCoeffs/forceCoeffs.H
diff --git a/src/postProcessing/functionObjects/forces/forces/forces.C b/src/functionObjects/forces/forces/forces.C
similarity index 100%
rename from src/postProcessing/functionObjects/forces/forces/forces.C
rename to src/functionObjects/forces/forces/forces.C
diff --git a/src/postProcessing/functionObjects/forces/forces/forces.H b/src/functionObjects/forces/forces/forces.H
similarity index 100%
rename from src/postProcessing/functionObjects/forces/forces/forces.H
rename to src/functionObjects/forces/forces/forces.H
diff --git a/src/postProcessing/functionObjects/forces/forcesFunctionObjectsDoc.H b/src/functionObjects/forces/forcesFunctionObjectsDoc.H
similarity index 94%
rename from src/postProcessing/functionObjects/forces/forcesFunctionObjectsDoc.H
rename to src/functionObjects/forces/forcesFunctionObjectsDoc.H
index b171ef92891..d68a9767f87 100644
--- a/src/postProcessing/functionObjects/forces/forcesFunctionObjectsDoc.H
+++ b/src/functionObjects/forces/forcesFunctionObjectsDoc.H
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2012 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2012-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
diff --git a/src/postProcessing/functionObjects/forces/wallShearStress/wallShearStress.C b/src/functionObjects/forces/wallShearStress/wallShearStress.C
similarity index 100%
rename from src/postProcessing/functionObjects/forces/wallShearStress/wallShearStress.C
rename to src/functionObjects/forces/wallShearStress/wallShearStress.C
diff --git a/src/postProcessing/functionObjects/forces/wallShearStress/wallShearStress.H b/src/functionObjects/forces/wallShearStress/wallShearStress.H
similarity index 100%
rename from src/postProcessing/functionObjects/forces/wallShearStress/wallShearStress.H
rename to src/functionObjects/forces/wallShearStress/wallShearStress.H
diff --git a/src/postProcessing/functionObjects/lagrangian/Make/files b/src/functionObjects/lagrangian/Make/files
similarity index 84%
rename from src/postProcessing/functionObjects/lagrangian/Make/files
rename to src/functionObjects/lagrangian/Make/files
index 368d9dffe6e..93227fe85df 100644
--- a/src/postProcessing/functionObjects/lagrangian/Make/files
+++ b/src/functionObjects/lagrangian/Make/files
@@ -1,4 +1,5 @@
 cloudInfo/cloudInfo.C
 icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.C
+dsmcFields/dsmcFields.C
 
 LIB = $(FOAM_LIBBIN)/liblagrangianFunctionObjects
diff --git a/src/postProcessing/functionObjects/lagrangian/Make/options b/src/functionObjects/lagrangian/Make/options
similarity index 93%
rename from src/postProcessing/functionObjects/lagrangian/Make/options
rename to src/functionObjects/lagrangian/Make/options
index f99c39cb4bd..7a7bf38ba33 100644
--- a/src/postProcessing/functionObjects/lagrangian/Make/options
+++ b/src/functionObjects/lagrangian/Make/options
@@ -5,6 +5,7 @@ EXE_INC = \
     -I$(LIB_SRC)/meshTools/lnInclude \
     -I$(LIB_SRC)/lagrangian/basic/lnInclude \
     -I$(LIB_SRC)/lagrangian/intermediate/lnInclude \
+    -I$(LIB_SRC)/lagrangian/DSMC/lnInclude \
     -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
     -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude
 
diff --git a/src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfo.C b/src/functionObjects/lagrangian/cloudInfo/cloudInfo.C
similarity index 100%
rename from src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfo.C
rename to src/functionObjects/lagrangian/cloudInfo/cloudInfo.C
diff --git a/src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfo.H b/src/functionObjects/lagrangian/cloudInfo/cloudInfo.H
similarity index 100%
rename from src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfo.H
rename to src/functionObjects/lagrangian/cloudInfo/cloudInfo.H
diff --git a/src/postProcessing/functionObjects/lagrangian/cloudInfo/postProcessingDict b/src/functionObjects/lagrangian/cloudInfo/postProcessingDict
similarity index 100%
rename from src/postProcessing/functionObjects/lagrangian/cloudInfo/postProcessingDict
rename to src/functionObjects/lagrangian/cloudInfo/postProcessingDict
diff --git a/src/postProcessing/functionObjects/utilities/dsmcFields/dsmcFields.C b/src/functionObjects/lagrangian/dsmcFields/dsmcFields.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/dsmcFields/dsmcFields.C
rename to src/functionObjects/lagrangian/dsmcFields/dsmcFields.C
diff --git a/src/postProcessing/functionObjects/utilities/dsmcFields/dsmcFields.H b/src/functionObjects/lagrangian/dsmcFields/dsmcFields.H
similarity index 98%
rename from src/postProcessing/functionObjects/utilities/dsmcFields/dsmcFields.H
rename to src/functionObjects/lagrangian/dsmcFields/dsmcFields.H
index 9aa5125d44a..7ef4359e29e 100644
--- a/src/postProcessing/functionObjects/utilities/dsmcFields/dsmcFields.H
+++ b/src/functionObjects/lagrangian/dsmcFields/dsmcFields.H
@@ -25,7 +25,7 @@ Class
     Foam::functionObjects::dsmcFields
 
 Group
-    grpUtilitiesFunctionObjects
+    grpLagrangianFunctionObjects
 
 Description
     Calculate intensive fields:
diff --git a/src/postProcessing/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.C b/src/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.C
similarity index 100%
rename from src/postProcessing/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.C
rename to src/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.C
diff --git a/src/postProcessing/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.H b/src/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.H
similarity index 100%
rename from src/postProcessing/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.H
rename to src/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.H
diff --git a/src/postProcessing/functionObjects/lagrangian/lagrangianFunctionObjectsDoc.H b/src/functionObjects/lagrangian/lagrangianFunctionObjectsDoc.H
similarity index 100%
rename from src/postProcessing/functionObjects/lagrangian/lagrangianFunctionObjectsDoc.H
rename to src/functionObjects/lagrangian/lagrangianFunctionObjectsDoc.H
diff --git a/src/functionObjects/solvers/Make/files b/src/functionObjects/solvers/Make/files
new file mode 100644
index 00000000000..2b8e8f8d8e1
--- /dev/null
+++ b/src/functionObjects/solvers/Make/files
@@ -0,0 +1,3 @@
+scalarTransport/scalarTransport.C
+
+LIB = $(FOAM_LIBBIN)/libsolverFunctionObjects
diff --git a/applications/utilities/postProcessing/velocityField/Pe/Make/options b/src/functionObjects/solvers/Make/options
similarity index 83%
rename from applications/utilities/postProcessing/velocityField/Pe/Make/options
rename to src/functionObjects/solvers/Make/options
index 94361e96877..be705a6cbc7 100644
--- a/applications/utilities/postProcessing/velocityField/Pe/Make/options
+++ b/src/functionObjects/solvers/Make/options
@@ -1,5 +1,4 @@
 EXE_INC = \
-    -I$(LIB_SRC)/postProcessing/postCalc \
     -I$(LIB_SRC)/transportModels \
     -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
     -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
@@ -10,17 +9,14 @@ EXE_INC = \
     -I$(LIB_SRC)/finiteVolume/lnInclude \
     -I$(LIB_SRC)/meshTools/lnInclude
 
-EXE_LIBS = \
-    $(FOAM_LIBBIN)/postCalc.o \
+LIB_LIBS = \
+    -lfvOptions \
+    -lfluidThermophysicalModels \
+    -lincompressibleTransportModels \
+    -lcompressibleTransportModels \
     -lturbulenceModels \
     -lincompressibleTurbulenceModels \
     -lcompressibleTurbulenceModels \
-    -lincompressibleTransportModels \
-    -lcompressibleTransportModels \
-    -lfluidThermophysicalModels \
     -lspecie \
     -lfiniteVolume \
-    -lfvOptions \
-    -lgenericPatchFields \
-    -lmeshTools \
-    -lsampling
+    -lmeshTools
diff --git a/src/postProcessing/functionObjects/utilities/scalarTransport/scalarTransport.C b/src/functionObjects/solvers/scalarTransport/scalarTransport.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/scalarTransport/scalarTransport.C
rename to src/functionObjects/solvers/scalarTransport/scalarTransport.C
diff --git a/src/postProcessing/functionObjects/utilities/scalarTransport/scalarTransport.H b/src/functionObjects/solvers/scalarTransport/scalarTransport.H
similarity index 99%
rename from src/postProcessing/functionObjects/utilities/scalarTransport/scalarTransport.H
rename to src/functionObjects/solvers/scalarTransport/scalarTransport.H
index 9f3ea589b95..1208388ffea 100644
--- a/src/postProcessing/functionObjects/utilities/scalarTransport/scalarTransport.H
+++ b/src/functionObjects/solvers/scalarTransport/scalarTransport.H
@@ -25,7 +25,7 @@ Class
     Foam::functionObjects::scalarTransport
 
 Group
-    grpUtilitiesFunctionObjects
+    grpSolversFunctionObjects
 
 Description
     This function object evolves a passive scalar transport equation.  The
diff --git a/src/postProcessing/functionObjects/utilities/Make/files b/src/functionObjects/utilities/Make/files
similarity index 76%
rename from src/postProcessing/functionObjects/utilities/Make/files
rename to src/functionObjects/utilities/Make/files
index e9578cdb676..c064190a489 100644
--- a/src/postProcessing/functionObjects/utilities/Make/files
+++ b/src/functionObjects/utilities/Make/files
@@ -8,10 +8,4 @@ removeRegisteredObject/removeRegisteredObject.C
 writeDictionary/writeDictionary.C
 writeRegisteredObject/writeRegisteredObject.C
 
-scalarTransport/scalarTransport.C
-dsmcFields/dsmcFields.C
-
-turbulenceFields/turbulenceFields.C
-yPlus/yPlus.C
-
 LIB = $(FOAM_LIBBIN)/libutilityFunctionObjects
diff --git a/src/postProcessing/postCalc/Make/options b/src/functionObjects/utilities/Make/options
similarity index 100%
rename from src/postProcessing/postCalc/Make/options
rename to src/functionObjects/utilities/Make/options
diff --git a/src/postProcessing/functionObjects/utilities/abort/abort.C b/src/functionObjects/utilities/abort/abort.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/abort/abort.C
rename to src/functionObjects/utilities/abort/abort.C
diff --git a/src/postProcessing/functionObjects/utilities/abort/abort.H b/src/functionObjects/utilities/abort/abort.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/abort/abort.H
rename to src/functionObjects/utilities/abort/abort.H
diff --git a/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C b/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C
rename to src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C
diff --git a/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H b/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H
rename to src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H
diff --git a/src/postProcessing/functionObjects/utilities/doc/utilitiesFunctionObjectsDoc.H b/src/functionObjects/utilities/doc/utilitiesFunctionObjectsDoc.H
similarity index 95%
rename from src/postProcessing/functionObjects/utilities/doc/utilitiesFunctionObjectsDoc.H
rename to src/functionObjects/utilities/doc/utilitiesFunctionObjectsDoc.H
index 992ed19dbe7..fc49205801a 100644
--- a/src/postProcessing/functionObjects/utilities/doc/utilitiesFunctionObjectsDoc.H
+++ b/src/functionObjects/utilities/doc/utilitiesFunctionObjectsDoc.H
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2012-2013 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2012-2016 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
diff --git a/src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.C b/src/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.C
rename to src/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.C
diff --git a/src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H b/src/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H
rename to src/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H
diff --git a/src/postProcessing/functionObjects/utilities/residuals/residuals.C b/src/functionObjects/utilities/residuals/residuals.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/residuals/residuals.C
rename to src/functionObjects/utilities/residuals/residuals.C
diff --git a/src/postProcessing/functionObjects/utilities/residuals/residuals.H b/src/functionObjects/utilities/residuals/residuals.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/residuals/residuals.H
rename to src/functionObjects/utilities/residuals/residuals.H
diff --git a/src/postProcessing/functionObjects/utilities/residuals/residualsTemplates.C b/src/functionObjects/utilities/residuals/residualsTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/residuals/residualsTemplates.C
rename to src/functionObjects/utilities/residuals/residualsTemplates.C
diff --git a/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C b/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C
rename to src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C
diff --git a/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H b/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H
rename to src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H
diff --git a/src/postProcessing/functionObjects/utilities/systemCall/Make/files b/src/functionObjects/utilities/systemCall/Make/files
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/systemCall/Make/files
rename to src/functionObjects/utilities/systemCall/Make/files
diff --git a/src/postProcessing/functionObjects/utilities/systemCall/Make/options b/src/functionObjects/utilities/systemCall/Make/options
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/systemCall/Make/options
rename to src/functionObjects/utilities/systemCall/Make/options
diff --git a/src/postProcessing/functionObjects/utilities/systemCall/controlDict b/src/functionObjects/utilities/systemCall/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/systemCall/controlDict
rename to src/functionObjects/utilities/systemCall/controlDict
diff --git a/src/postProcessing/functionObjects/utilities/systemCall/systemCall.C b/src/functionObjects/utilities/systemCall/systemCall.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/systemCall/systemCall.C
rename to src/functionObjects/utilities/systemCall/systemCall.C
diff --git a/src/postProcessing/functionObjects/utilities/systemCall/systemCall.H b/src/functionObjects/utilities/systemCall/systemCall.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/systemCall/systemCall.H
rename to src/functionObjects/utilities/systemCall/systemCall.H
diff --git a/src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/controlDict b/src/functionObjects/utilities/timeActivatedFileUpdate/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/controlDict
rename to src/functionObjects/utilities/timeActivatedFileUpdate/controlDict
diff --git a/src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.C b/src/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.C
rename to src/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.C
diff --git a/src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H b/src/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H
rename to src/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H
diff --git a/src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionary.C b/src/functionObjects/utilities/writeDictionary/writeDictionary.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionary.C
rename to src/functionObjects/utilities/writeDictionary/writeDictionary.C
diff --git a/src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionary.H b/src/functionObjects/utilities/writeDictionary/writeDictionary.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionary.H
rename to src/functionObjects/utilities/writeDictionary/writeDictionary.H
diff --git a/src/postProcessing/functionObjects/utilities/writeRegisteredObject/controlDict b/src/functionObjects/utilities/writeRegisteredObject/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/writeRegisteredObject/controlDict
rename to src/functionObjects/utilities/writeRegisteredObject/controlDict
diff --git a/src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.C b/src/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.C
rename to src/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.C
diff --git a/src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.H b/src/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.H
rename to src/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.H
diff --git a/src/fvMotionSolver/Make/options b/src/fvMotionSolver/Make/options
index 29e44696101..c4bc7921795 100644
--- a/src/fvMotionSolver/Make/options
+++ b/src/fvMotionSolver/Make/options
@@ -4,7 +4,7 @@ EXE_INC = \
     -I$(LIB_SRC)/dynamicMesh/lnInclude \
     -I$(LIB_SRC)/finiteVolume/lnInclude \
     -I$(LIB_SRC)/fileFormats/lnInclude \
-    -I$(LIB_SRC)/postProcessing/functionObjects/forces/lnInclude \
+    -I$(LIB_SRC)/functionObjects/forces/lnInclude \
 
 LIB_LIBS = \
     -ltriSurface \
diff --git a/src/postProcessing/Allwmake b/src/postProcessing/Allwmake
deleted file mode 100755
index 8b292497bd0..00000000000
--- a/src/postProcessing/Allwmake
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-cd ${0%/*} || exit 1    # Run from this directory
-
-# Parse arguments for library compilation
-targetType=libso
-. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
-set -x
-
-wmake ${1:-libo} postCalc
-wmake $targetType foamCalcFunctions
-
-functionObjects/Allwmake $targetType $*
-
-#------------------------------------------------------------------------------
diff --git a/src/postProcessing/foamCalcFunctions/Make/files b/src/postProcessing/foamCalcFunctions/Make/files
deleted file mode 100644
index 8fa83c42e0c..00000000000
--- a/src/postProcessing/foamCalcFunctions/Make/files
+++ /dev/null
@@ -1,14 +0,0 @@
-calcType/calcType.C
-calcType/calcTypeNew.C
-
-field/components/components.C
-field/mag/mag.C
-field/magSqr/magSqr.C
-field/magGrad/magGrad.C
-field/div/div.C
-field/randomise/randomise.C
-field/interpolate/interpolate.C
-
-basic/addSubtract/addSubtract.C
-
-LIB = $(FOAM_LIBBIN)/libfoamCalcFunctions
diff --git a/src/postProcessing/foamCalcFunctions/Make/options b/src/postProcessing/foamCalcFunctions/Make/options
deleted file mode 100644
index a3ae8da8331..00000000000
--- a/src/postProcessing/foamCalcFunctions/Make/options
+++ /dev/null
@@ -1,7 +0,0 @@
-EXE_INC = \
-    -I$(LIB_SRC)/finiteVolume/lnInclude \
-    -I$(LIB_SRC)/meshTools/lnInclude
-
-LIB_LIBS = \
-    -lfiniteVolume \
-    -lmeshTools
diff --git a/src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C b/src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
deleted file mode 100644
index 720f5d11450..00000000000
--- a/src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
+++ /dev/null
@@ -1,299 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "addSubtract.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    namespace calcTypes
-    {
-        defineTypeNameAndDebug(addSubtract, 0);
-        addToRunTimeSelectionTable(calcType, addSubtract, dictionary);
-    }
-}
-
-
-// * * * * * * * * * * * * * Private Member Functions  * * * * * * * * * * * //
-
-void Foam::calcTypes::addSubtract::writeAddSubtractFields
-(
-    const Time& runTime,
-    const fvMesh& mesh,
-    const IOobject& baseFieldHeader
-)
-{
-    bool processed = false;
-
-    IOobject addSubtractFieldHeader
-    (
-        addSubtractFieldName_,
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (addSubtractFieldHeader.headerOk())
-    {
-        writeAddSubtractField<scalar>
-        (
-            baseFieldHeader,
-            addSubtractFieldHeader,
-            mesh,
-            processed
-        );
-        writeAddSubtractField<vector>
-        (
-            baseFieldHeader,
-            addSubtractFieldHeader,
-            mesh,
-            processed
-        );
-        writeAddSubtractField<sphericalTensor>
-        (
-            baseFieldHeader,
-            addSubtractFieldHeader,
-            mesh,
-            processed
-        );
-        writeAddSubtractField<symmTensor>
-        (
-            baseFieldHeader,
-            addSubtractFieldHeader,
-            mesh,
-            processed
-        );
-        writeAddSubtractField<tensor>
-        (
-            baseFieldHeader,
-            addSubtractFieldHeader,
-            mesh,
-            processed
-        );
-
-        if (!processed)
-        {
-            FatalError
-                << "Unable to process " << baseFieldName_
-                << " + " << addSubtractFieldName_ << nl
-                << "No call to addSubtract for fields of type "
-                << baseFieldHeader.headerClassName() << " + "
-                << addSubtractFieldHeader.headerClassName() << nl << nl
-                << exit(FatalError);
-        }
-    }
-    else
-    {
-        FatalErrorInFunction
-            << "Unable to read addSubtract field: " << addSubtractFieldName_
-            << nl << exit(FatalError);
-    }
-}
-
-
-void Foam::calcTypes::addSubtract::writeAddSubtractValues
-(
-    const Time& runTime,
-    const fvMesh& mesh,
-    const IOobject& baseFieldHeader
-)
-{
-    bool processed = false;
-
-    writeAddSubtractValue<scalar>
-    (
-        baseFieldHeader,
-        addSubtractValueStr_,
-        mesh,
-        processed
-    );
-    writeAddSubtractValue<vector>
-    (
-        baseFieldHeader,
-        addSubtractValueStr_,
-        mesh,
-        processed
-    );
-    writeAddSubtractValue<sphericalTensor>
-    (
-        baseFieldHeader,
-        addSubtractValueStr_,
-        mesh,
-        processed
-    );
-    writeAddSubtractValue<symmTensor>
-    (
-        baseFieldHeader,
-        addSubtractValueStr_,
-        mesh,
-        processed
-    );
-    writeAddSubtractValue<tensor>
-    (
-        baseFieldHeader,
-        addSubtractValueStr_,
-        mesh,
-        processed
-    );
-
-    if (!processed)
-    {
-        FatalErrorInFunction
-            << "Unable to process " << baseFieldName_
-            << " + " << addSubtractValueStr_ << nl
-            << "No call to addSubtract for fields of type "
-            << baseFieldHeader.headerClassName() << nl << nl
-            << exit(FatalError);
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
-
-Foam::calcTypes::addSubtract::addSubtract()
-:
-    calcType(),
-    baseFieldName_(""),
-    calcType_(FIELD),
-    addSubtractFieldName_(""),
-    addSubtractValueStr_(""),
-    resultName_(""),
-    calcMode_(ADD)
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
-
-Foam::calcTypes::addSubtract::~addSubtract()
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-void Foam::calcTypes::addSubtract::init()
-{
-    argList::validArgs.append("add");
-    argList::validArgs.append("baseField");
-    argList::validArgs.append("calcMode");
-    argList::validOptions.insert("field", "field");
-    argList::validOptions.insert("value", "valueString");
-    argList::validOptions.insert("result", "field");
-}
-
-
-void Foam::calcTypes::addSubtract::preCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    baseFieldName_ = args[2];
-    const word calcModeName = args[3];
-
-    if (calcModeName == "add")
-    {
-        calcMode_ = ADD;
-    }
-    else if (calcModeName == "subtract")
-    {
-        calcMode_ = SUBTRACT;
-    }
-    else
-    {
-        FatalErrorInFunction
-            << "Invalid calcMode: " << calcModeName << nl
-            << "    Valid calcModes are add and subtract" << nl
-            << exit(FatalError);
-    }
-
-    if (args.optionReadIfPresent("field", addSubtractFieldName_))
-    {
-        calcType_ = FIELD;
-    }
-    else if (args.optionReadIfPresent("value", addSubtractValueStr_))
-    {
-        calcType_ = VALUE;
-    }
-    else
-    {
-        FatalErrorInFunction
-            << "addSubtract requires either -field or -value option"
-            << nl << exit(FatalError);
-    }
-
-    args.optionReadIfPresent("resultName", resultName_);
-}
-
-
-void Foam::calcTypes::addSubtract::calc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    IOobject baseFieldHeader
-    (
-        baseFieldName_,
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    if (baseFieldHeader.headerOk())
-    {
-        switch (calcType_)
-        {
-            case FIELD:
-            {
-                writeAddSubtractFields(runTime, mesh, baseFieldHeader);
-                break;
-            }
-            case VALUE:
-            {
-                writeAddSubtractValues(runTime, mesh, baseFieldHeader);
-                break;
-            }
-            default:
-            {
-                FatalErrorInFunction
-                    << "unknown calcType " << calcType_ << nl
-                    << abort(FatalError);
-            }
-        }
-    }
-    else
-    {
-        FatalErrorInFunction
-            << "Unable to read base field: " << baseFieldName_
-            << nl << exit(FatalError);
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.H b/src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.H
deleted file mode 100644
index 0458adcee65..00000000000
--- a/src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.H
+++ /dev/null
@@ -1,217 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Class
-    Foam::calcTypes::addSubtract
-
-Description
-    adds/subtracts a field or value to/from a base field.
-
-    New field name specified by -resultName option, or automatically as:
-        \<baseFieldName\>_add_<addSubtractFieldName>
-        \<baseFieldName\>_add_value
-        \<baseFieldName\>_subtract_<addSubtractFieldName>
-        \<baseFieldName\>_subtract_value
-
-    Example usage:
-        addSubtract p add -value 100000 -resultName pAbs
-        addSubtract U subtract -field U0
-
-SourceFiles
-    addSubtract.C
-    writeaddSubtractField.C
-    writeaddSubtractValue.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef addSubtract_H
-#define addSubtract_H
-
-#include "calcType.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-namespace calcTypes
-{
-
-/*---------------------------------------------------------------------------*\
-                          Class addSubtract Declaration
-\*---------------------------------------------------------------------------*/
-
-class addSubtract
-:
-    public calcType
-{
-public:
-
-    enum calcTypes
-    {
-        FIELD,
-        VALUE
-    };
-
-    enum calcModes
-    {
-        ADD,
-        SUBTRACT
-    };
-
-
-private:
-
-    // Private data
-
-        //- Name of base field (to addSubtract to)
-        word baseFieldName_;
-
-        //- Calc type as given by enumerations above
-        calcTypes calcType_;
-
-        //- Name of field to add/subtract
-        word addSubtractFieldName_;
-
-        //- String representation of value to add/subtract
-        string addSubtractValueStr_;
-
-        //- Name of result field
-        word resultName_;
-
-        //- Mode - addSubtract/subtract
-        calcModes calcMode_;
-
-
-    // Private Member Functions
-
-        // Output
-
-            //- Calc and output field addSubtractitions
-            void writeAddSubtractFields
-            (
-                const Time& runTime,
-                const fvMesh& mesh,
-                const IOobject& baseFieldHeader
-            );
-
-            //- Calc and output field and value addSubtractitions
-            void writeAddSubtractValues
-            (
-                const Time& runTime,
-                const fvMesh& mesh,
-                const IOobject& baseFieldHeader
-            );
-
-
-        //- Disallow default bitwise copy construct
-        addSubtract(const addSubtract&);
-
-        //- Disallow default bitwise assignment
-        void operator=(const addSubtract&);
-
-
-protected:
-
-    // Member Functions
-
-        // Calculation routines
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            virtual void init();
-
-            //- Pre-time loop calculations
-            virtual void preCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            virtual void calc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-
-        // I-O
-
-            //- Write addSubtract field
-            template<class Type>
-            void writeAddSubtractField
-            (
-                const IOobject& baseHeader,
-                const IOobject& addSubtractHeader,
-                const fvMesh& mesh,
-                bool& processed
-            );
-
-            //- Write addSubtract value
-            template<class Type>
-            void writeAddSubtractValue
-            (
-                const IOobject& baseHeader,
-                const string& valueStr,
-                const fvMesh& mesh,
-                bool& processed
-            );
-
-
-public:
-
-    //- Runtime type information
-    TypeName("addSubtract");
-
-
-    // Constructors
-
-        //- Construct null
-        addSubtract();
-
-
-    //- Destructor
-    virtual ~addSubtract();
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace calcTypes
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#ifdef NoRepository
-    #include "writeAddSubtractField.C"
-    #include "writeAddSubtractValue.C"
-#endif
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/basic/addSubtract/writeAddSubtractField.C b/src/postProcessing/foamCalcFunctions/basic/addSubtract/writeAddSubtractField.C
deleted file mode 100644
index 8304569ae4a..00000000000
--- a/src/postProcessing/foamCalcFunctions/basic/addSubtract/writeAddSubtractField.C
+++ /dev/null
@@ -1,94 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2013 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-template<class Type>
-void Foam::calcTypes::addSubtract::writeAddSubtractField
-(
-    const IOobject& baseHeader,
-    const IOobject& addHeader,
-    const fvMesh& mesh,
-    bool& processed
-)
-{
-    typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
-
-    if
-    (
-        baseHeader.headerClassName() == fieldType::typeName
-     && baseHeader.headerClassName() == addHeader.headerClassName()
-    )
-    {
-        if (resultName_ == "")
-        {
-            if (calcMode_ == ADD)
-            {
-                resultName_ = baseHeader.name() + "_add_" + addHeader.name();
-            }
-            else
-            {
-                resultName_ = baseHeader.name() + "_subtract_"
-                    + addHeader.name();
-            }
-        }
-
-        Info<< "    Reading " << baseHeader.name() << endl;
-        fieldType baseField(baseHeader, mesh);
-
-        Info<< "    Reading " << addHeader.name() << endl;
-        fieldType addField(addHeader, mesh);
-
-        if (baseField.dimensions() == addField.dimensions())
-        {
-            Info<< "    Calculating " << resultName_ << endl;
-
-            fieldType newField
-            (
-                IOobject
-                (
-                    resultName_,
-                    mesh.time().timeName(),
-                    mesh,
-                    IOobject::NO_READ
-                ),
-                calcMode_ == ADD
-              ? (baseField + addField)()
-              : (baseField - addField)()
-            );
-            newField.write();
-        }
-        else
-        {
-            Info<< "    Cannot calculate " << resultName_ << nl
-                << "    - inconsistent dimensions: "
-                << baseField.dimensions() << " - " << addField.dimensions()
-                << endl;
-        }
-
-        processed = true;
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/foamCalcFunctions/basic/addSubtract/writeAddSubtractValue.C b/src/postProcessing/foamCalcFunctions/basic/addSubtract/writeAddSubtractValue.C
deleted file mode 100644
index b1ec01bdd99..00000000000
--- a/src/postProcessing/foamCalcFunctions/basic/addSubtract/writeAddSubtractValue.C
+++ /dev/null
@@ -1,93 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "volFields.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-template<class Type>
-void Foam::calcTypes::addSubtract::writeAddSubtractValue
-(
-    const IOobject& baseHeader,
-    const string& valueStr,
-    const fvMesh& mesh,
-    bool& processed
-)
-{
-    typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
-
-    if (baseHeader.headerClassName() == fieldType::typeName)
-    {
-        if (resultName_ == "")
-        {
-            if (calcMode_ == ADD)
-            {
-                resultName_ = baseHeader.name() + "_add_value";
-            }
-            else
-            {
-                resultName_ = baseHeader.name() + "_subtract_value";
-            }
-        }
-
-        Type value;
-        IStringStream(valueStr)() >> value;
-
-        Info<< "    Reading " << baseHeader.name() << endl;
-        fieldType baseField(baseHeader, mesh);
-
-        fieldType newField
-        (
-            IOobject
-            (
-                resultName_,
-                mesh.time().timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            baseField
-        );
-
-        Info<< "    Calculating " << resultName_ << endl;
-        if (calcMode_ == ADD)
-        {
-            newField == baseField
-                + dimensioned<Type>("value", baseField.dimensions(), value);
-        }
-        else
-        {
-            newField == baseField
-                - dimensioned<Type>("value", baseField.dimensions(), value);
-        }
-
-        newField.write();
-
-        processed = true;
-    }
-
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/calcType/calcType.C b/src/postProcessing/foamCalcFunctions/calcType/calcType.C
deleted file mode 100644
index b78de6d9932..00000000000
--- a/src/postProcessing/foamCalcFunctions/calcType/calcType.C
+++ /dev/null
@@ -1,159 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calcType.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    defineTypeNameAndDebug(calcType, 0);
-    defineRunTimeSelectionTable(calcType, dictionary);
-}
-
-
-// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
-
-Foam::calcType::calcType()
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
-
-Foam::calcType::~calcType()
-{}
-
-
-// * * * * * * * * * * * * Protected Member Functions  * * * * * * * * * * * //
-
-void Foam::calcType::init()
-{}
-
-
-void Foam::calcType::preCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-void Foam::calcType::calc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-void Foam::calcType::postCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-void Foam::calcType::tryInit()
-{
-    FatalIOError.throwExceptions();
-
-    try
-    {
-        init();
-    }
-    catch(IOerror& err)
-    {
-        Warning<< err << endl;
-    }
-}
-
-
-void Foam::calcType::tryPreCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    FatalIOError.throwExceptions();
-
-    try
-    {
-        preCalc(args, runTime, mesh);
-    }
-    catch(IOerror& err)
-    {
-        Warning<< err << endl;
-    }
-}
-
-
-void Foam::calcType::tryCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    FatalIOError.throwExceptions();
-
-    try
-    {
-        calc(args, runTime, mesh);
-    }
-    catch(IOerror& err)
-    {
-        Warning<< err << endl;
-    }
-}
-
-
-void Foam::calcType::tryPostCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    FatalIOError.throwExceptions();
-
-    try
-    {
-        postCalc(args, runTime, mesh);
-    }
-    catch(IOerror& err)
-    {
-        Warning<< err << endl;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/calcType/calcType.H b/src/postProcessing/foamCalcFunctions/calcType/calcType.H
deleted file mode 100644
index 33ae4da26a8..00000000000
--- a/src/postProcessing/foamCalcFunctions/calcType/calcType.H
+++ /dev/null
@@ -1,179 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Namespace
-    Foam::calcTypes
-
-Description
-    Namespace for post-processing calculation functions
-
-
-Class
-    Foam::calcType
-
-Description
-    Base class for post-processing calculation functions
-
-SourceFiles
-    calcType.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef calcType_H
-#define calcType_H
-
-#include "argList.H"
-#include "fvMesh.H"
-#include "runTimeSelectionTables.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-/*---------------------------------------------------------------------------*\
-                          Class calcType Declaration
-\*---------------------------------------------------------------------------*/
-
-class calcType
-{
-    // Private Member Functions
-
-        //- Disallow default bitwise copy construct
-        calcType(const calcType&);
-
-        //- Disallow default bitwise assignment
-        void operator=(const calcType&);
-
-
-protected:
-
-    // Protected Member Functions
-
-        // Calculation routines
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            virtual void init();
-
-            //- Pre-time loop calculations
-            virtual void preCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            virtual void calc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Post-time loop calculations
-            virtual void postCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-
-public:
-
-    //- Runtime type information
-    TypeName("calcType");
-
-
-    // Declare runtime constructor selection table
-
-        declareRunTimeSelectionTable
-        (
-            autoPtr,
-            calcType,
-            dictionary,
-            (),
-            ()
-        );
-
-
-    // Constructors
-
-        //- Construct null
-        calcType();
-
-
-    // Selectors
-
-        static autoPtr<calcType> New(const word& calcTypeName);
-
-
-    //- Destructor
-    virtual ~calcType();
-
-
-    // Member Functions
-
-        // Calculation routines - wrapped by exception handling loop
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            void tryInit();
-
-            //- Pre-time loop calculations
-            void tryPreCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            void tryCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Post-time loop calculations
-            void tryPostCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/calcType/calcTypeNew.C b/src/postProcessing/foamCalcFunctions/calcType/calcTypeNew.C
deleted file mode 100644
index 89f9db57d63..00000000000
--- a/src/postProcessing/foamCalcFunctions/calcType/calcTypeNew.C
+++ /dev/null
@@ -1,65 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "calcType.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-Foam::autoPtr<Foam::calcType> Foam::calcType::New
-(
-    const word& calcTypeName
-)
-{
-    Info<< "Selecting calcType " << calcTypeName << endl;
-
-    dictionaryConstructorTable::iterator cstrIter =
-        dictionaryConstructorTablePtr_->find(calcTypeName);
-
-    if (cstrIter == dictionaryConstructorTablePtr_->end())
-    {
-        // special treatment for -help
-        // exit without stack trace
-        if (calcTypeName == "-help")
-        {
-            FatalErrorInFunction
-                << "Valid calcType selections are:" << nl
-                << dictionaryConstructorTablePtr_->sortedToc() << nl
-                << exit(FatalError);
-        }
-        else
-        {
-            FatalErrorInFunction
-                << "Unknown calcType type " << calcTypeName << nl
-                << "Valid calcType selections are:" << nl
-                << dictionaryConstructorTablePtr_->sortedToc() << nl
-                << abort(FatalError);
-        }
-    }
-
-    return autoPtr<calcType>(cstrIter()());
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/components/components.C b/src/postProcessing/foamCalcFunctions/field/components/components.C
deleted file mode 100644
index ea459965e9c..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/components/components.C
+++ /dev/null
@@ -1,116 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "components.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    namespace calcTypes
-    {
-        defineTypeNameAndDebug(components, 0);
-        addToRunTimeSelectionTable(calcType, components, dictionary);
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
-
-Foam::calcTypes::components::components()
-:
-    calcType()
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
-
-Foam::calcTypes::components::~components()
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-void Foam::calcTypes::components::init()
-{
-    argList::validArgs.append("components");
-    argList::validArgs.append("field");
-}
-
-
-void Foam::calcTypes::components::preCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-void Foam::calcTypes::components::calc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    const word fieldName = args[2];
-
-    IOobject fieldHeader
-    (
-        fieldName,
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    // Check field exists
-    if (fieldHeader.headerOk())
-    {
-        bool processed = false;
-
-        writeComponentFields<vector>(fieldHeader, mesh, processed);
-        writeComponentFields<sphericalTensor>(fieldHeader, mesh, processed);
-        writeComponentFields<symmTensor>(fieldHeader, mesh, processed);
-        writeComponentFields<tensor>(fieldHeader, mesh, processed);
-
-        if (!processed)
-        {
-            FatalError
-                << "Unable to process " << fieldName << nl
-                << "No call to components for fields of type "
-                << fieldHeader.headerClassName() << nl << nl
-                << exit(FatalError);
-        }
-    }
-    else
-    {
-        Info<< "    No " << fieldName << endl;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/components/components.H b/src/postProcessing/foamCalcFunctions/field/components/components.H
deleted file mode 100644
index e32b50925cf..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/components/components.H
+++ /dev/null
@@ -1,137 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Class
-    Foam::calcTypes::components
-
-Description
-    Writes scalar fields corresponding to each component of the supplied
-    field (name) for each time.
-
-SourceFiles
-    components.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef components_H
-#define components_H
-
-#include "calcType.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-namespace calcTypes
-{
-
-/*---------------------------------------------------------------------------*\
-                         Class components Declaration
-\*---------------------------------------------------------------------------*/
-
-class components
-:
-    public calcType
-{
-    // Private Member Functions
-
-        //- Disallow default bitwise copy construct
-        components(const components&);
-
-        //- Disallow default bitwise assignment
-        void operator=(const components&);
-
-
-protected:
-
-    // Member Functions
-
-        // Calculation routines
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            virtual void init();
-
-            //- Pre-time loop calculations
-            virtual void preCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            virtual void calc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-
-        // I-O
-
-            //- Write component fields
-            template<class Type>
-            void writeComponentFields
-            (
-                const IOobject& header,
-                const fvMesh& mesh,
-                bool& processed
-            );
-
-
-public:
-
-    //- Runtime type information
-    TypeName("components");
-
-
-    // Constructors
-
-        //- Construct null
-        components();
-
-
-    //- Destructor
-    virtual ~components();
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace calcTypes
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#ifdef NoRepository
-    #include "writeComponentFields.C"
-#endif
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/components/writeComponentFields.C b/src/postProcessing/foamCalcFunctions/field/components/writeComponentFields.C
deleted file mode 100644
index 82b234f60ff..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/components/writeComponentFields.C
+++ /dev/null
@@ -1,69 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "volFields.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-template<class Type>
-void Foam::calcTypes::components::writeComponentFields
-(
-    const IOobject& header,
-    const fvMesh& mesh,
-    bool& processed
-)
-{
-    typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
-
-    if (header.headerClassName() == fieldType::typeName)
-    {
-        Info<< "    Reading " << header.name() << endl;
-        fieldType field(header, mesh);
-
-        for (direction i=0; i<Type::nComponents; i++)
-        {
-            Info<< "    Calculating " << header.name()
-                << Type::componentNames[i] << endl;
-
-            volScalarField componentField
-            (
-                IOobject
-                (
-                    header.name() + word(Type::componentNames[i]),
-                    mesh.time().timeName(),
-                    mesh,
-                    IOobject::NO_READ
-                ),
-                field.component(i)
-            );
-            componentField.write();
-        }
-
-        processed = true;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/div/div.C b/src/postProcessing/foamCalcFunctions/field/div/div.C
deleted file mode 100644
index 9cc574900d9..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/div/div.C
+++ /dev/null
@@ -1,114 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "div.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    namespace calcTypes
-    {
-        defineTypeNameAndDebug(div, 0);
-        addToRunTimeSelectionTable(calcType, div, dictionary);
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
-
-Foam::calcTypes::div::div()
-:
-    calcType()
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
-
-Foam::calcTypes::div::~div()
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-void Foam::calcTypes::div::init()
-{
-    argList::validArgs.append("div");
-    argList::validArgs.append("field");
-}
-
-
-void Foam::calcTypes::div::preCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-void Foam::calcTypes::div::calc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    const word fieldName = args[2];
-
-    IOobject fieldHeader
-    (
-        fieldName,
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    // Check field exists
-    if (fieldHeader.headerOk())
-    {
-        bool processed = false;
-
-        writeDivField<surfaceScalarField>(fieldHeader, mesh, processed);
-        writeDivField<volVectorField>(fieldHeader, mesh, processed);
-
-        if (!processed)
-        {
-                FatalError
-                    << "Unable to process " << fieldName << nl
-                    << "No call to div for fields of type "
-                    << fieldHeader.headerClassName() << nl << nl
-                    << exit(FatalError);
-        }
-    }
-    else
-    {
-        Info<< "    No " << fieldName << endl;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/div/div.H b/src/postProcessing/foamCalcFunctions/field/div/div.H
deleted file mode 100644
index e17a9c841cb..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/div/div.H
+++ /dev/null
@@ -1,137 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Class
-    Foam::calcTypes::div
-
-Description
-    Writes scalar fields corresponding to the divergence of the supplied
-    field (name) for each time.
-
-SourceFiles
-    div.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef div_H
-#define div_H
-
-#include "calcType.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-namespace calcTypes
-{
-
-/*---------------------------------------------------------------------------*\
-                          Class div Declaration
-\*---------------------------------------------------------------------------*/
-
-class div
-:
-    public calcType
-{
-    // Private Member Functions
-
-        //- Disallow default bitwise copy construct
-        div(const div&);
-
-        //- Disallow default bitwise assignment
-        void operator=(const div&);
-
-
-protected:
-
-    // Member Functions
-
-        // Calculation routines
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            virtual void init();
-
-            //- Pre-time loop calculations
-            virtual void preCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            virtual void calc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-
-        // I-O
-
-            //- Write div fields
-            template<class Type>
-            void writeDivField
-            (
-                const IOobject& header,
-                const fvMesh& mesh,
-                bool& processed
-            );
-
-
-public:
-
-    //- Runtime type information
-    TypeName("div");
-
-
-    // Constructors
-
-        //- Construct null
-        div();
-
-
-    //- Destructor
-    virtual ~div();
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace calcTypes
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#ifdef NoRepository
-    #include "writeDivField.C"
-#endif
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/div/writeDivField.C b/src/postProcessing/foamCalcFunctions/field/div/writeDivField.C
deleted file mode 100644
index 9cb87d180f5..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/div/writeDivField.C
+++ /dev/null
@@ -1,62 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "fvcDiv.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-template<class Type>
-void Foam::calcTypes::div::writeDivField
-(
-    const IOobject& header,
-    const fvMesh& mesh,
-    bool& processed
-)
-{
-    if (header.headerClassName() == Type::typeName)
-    {
-        Info<< "    Reading " << header.name() << endl;
-        Type field(header, mesh);
-
-        Info<< "    Calculating div" << header.name() << endl;
-        volScalarField divField
-        (
-            IOobject
-            (
-                "div" + header.name(),
-                mesh.time().timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            fvc::div(field)
-        );
-        divField.write();
-
-        processed = true;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/interpolate/interpolate.C b/src/postProcessing/foamCalcFunctions/field/interpolate/interpolate.C
deleted file mode 100644
index 0baac4164ad..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/interpolate/interpolate.C
+++ /dev/null
@@ -1,117 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "interpolate.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    namespace calcTypes
-    {
-        defineTypeNameAndDebug(interpolate, 0);
-        addToRunTimeSelectionTable(calcType, interpolate, dictionary);
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
-
-Foam::calcTypes::interpolate::interpolate()
-:
-    calcType()
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
-
-Foam::calcTypes::interpolate::~interpolate()
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-void Foam::calcTypes::interpolate::init()
-{
-    Foam::argList::validArgs.append("interpolate");
-    argList::validArgs.append("field");
-}
-
-
-void Foam::calcTypes::interpolate::preCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-void Foam::calcTypes::interpolate::calc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    const word fieldName = args[2];
-
-    IOobject fieldHeader
-    (
-        fieldName,
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    // Check field exists
-    if (fieldHeader.headerOk())
-    {
-        bool processed = false;
-
-        writeInterpolateField<scalar>(fieldHeader, mesh, processed);
-        writeInterpolateField<vector>(fieldHeader, mesh, processed);
-        writeInterpolateField<sphericalTensor>(fieldHeader, mesh, processed);
-        writeInterpolateField<symmTensor>(fieldHeader, mesh, processed);
-        writeInterpolateField<tensor>(fieldHeader, mesh, processed);
-
-        if (!processed)
-        {
-            FatalError
-                << "Unable to process " << fieldName << nl
-                << "No call to interpolate for fields of type "
-                << fieldHeader.headerClassName() << nl << nl
-                << exit(FatalError);
-        }
-    }
-    else
-    {
-        Info<< "    No " << fieldName << endl;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/interpolate/interpolate.H b/src/postProcessing/foamCalcFunctions/field/interpolate/interpolate.H
deleted file mode 100644
index d69df830184..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/interpolate/interpolate.H
+++ /dev/null
@@ -1,136 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Class
-    Foam::calcTypes::interpolate
-
-Description
-    Interpolates volume fields to surface fields for each time.
-
-SourceFiles
-    interpolate.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef interpolate_H
-#define interpolate_H
-
-#include "calcType.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-namespace calcTypes
-{
-
-/*---------------------------------------------------------------------------*\
-                          Class interpolate Declaration
-\*---------------------------------------------------------------------------*/
-
-class interpolate
-:
-    public calcType
-{
-    // Private Member Functions
-
-        //- Disallow default bitwise copy construct
-        interpolate(const interpolate&);
-
-        //- Disallow default bitwise assignment
-        void operator=(const interpolate&);
-
-
-protected:
-
-    // Member Functions
-
-        // Calculation routines
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            virtual void init();
-
-            //- Pre-time loop calculations
-            virtual void preCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            virtual void calc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-
-        // I-O
-
-            //- Write interpolate fields
-            template<class Type>
-            void writeInterpolateField
-            (
-                const IOobject& header,
-                const fvMesh& mesh,
-                bool& processed
-            );
-
-
-public:
-
-    //- Runtime type information
-    TypeName("interpolate");
-
-
-    // Constructors
-
-        //- Construct null
-        interpolate();
-
-
-    //- Destructor
-    virtual ~interpolate();
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace calcTypes
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#ifdef NoRepository
-    #include "writeInterpolateField.C"
-#endif
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/interpolate/writeInterpolateField.C b/src/postProcessing/foamCalcFunctions/field/interpolate/writeInterpolateField.C
deleted file mode 100644
index 31d4f453736..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/interpolate/writeInterpolateField.C
+++ /dev/null
@@ -1,65 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "surfaceInterpolate.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-template<class Type>
-void Foam::calcTypes::interpolate::writeInterpolateField
-(
-    const IOobject& header,
-    const fvMesh& mesh,
-    bool& processed
-)
-{
-    typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
-    typedef GeometricField<Type, fvsPatchField, surfaceMesh> surfaceFieldType;
-
-    if (header.headerClassName() == fieldType::typeName)
-    {
-        Info<< "    Reading " << header.name() << endl;
-        fieldType field(header, mesh);
-
-        Info<< "    Calculating interpolate" << header.name() << endl;
-        surfaceFieldType interpolateField
-        (
-            IOobject
-            (
-                "interpolate" + header.name(),
-                mesh.time().timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            fvc::interpolate(field)
-        );
-        interpolateField.write();
-
-        processed = true;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/mag/mag.C b/src/postProcessing/foamCalcFunctions/field/mag/mag.C
deleted file mode 100644
index 5021f29e9f6..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/mag/mag.C
+++ /dev/null
@@ -1,117 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "mag.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    namespace calcTypes
-    {
-        defineTypeNameAndDebug(mag, 0);
-        addToRunTimeSelectionTable(calcType, mag, dictionary);
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
-
-Foam::calcTypes::mag::mag()
-:
-    calcType()
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
-
-Foam::calcTypes::mag::~mag()
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-void Foam::calcTypes::mag::init()
-{
-    argList::validArgs.append("mag");
-    argList::validArgs.append("field");
-}
-
-
-void Foam::calcTypes::mag::preCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-void Foam::calcTypes::mag::calc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    const word fieldName = args[2];
-
-    IOobject fieldHeader
-    (
-        fieldName,
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    // Check field exists
-    if (fieldHeader.headerOk())
-    {
-        bool processed = false;
-
-        writeMagField<scalar>(fieldHeader, mesh, processed);
-        writeMagField<vector>(fieldHeader, mesh, processed);
-        writeMagField<sphericalTensor>(fieldHeader, mesh, processed);
-        writeMagField<symmTensor>(fieldHeader, mesh, processed);
-        writeMagField<tensor>(fieldHeader, mesh, processed);
-
-        if (!processed)
-        {
-            FatalError
-                << "Unable to process " << fieldName << nl
-                << "No call to mag for fields of type "
-                << fieldHeader.headerClassName() << nl << nl
-                << exit(FatalError);
-        }
-    }
-    else
-    {
-        Info<< "    No " << fieldName << endl;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/mag/mag.H b/src/postProcessing/foamCalcFunctions/field/mag/mag.H
deleted file mode 100644
index 5590ab09401..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/mag/mag.H
+++ /dev/null
@@ -1,136 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Class
-    Foam::calcTypes::mag
-
-Description
-    Calculates and writes the magnitude of a field for each time
-
-SourceFiles
-    mag.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef mag_H
-#define mag_H
-
-#include "calcType.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-namespace calcTypes
-{
-
-/*---------------------------------------------------------------------------*\
-                           Class mag Declaration
-\*---------------------------------------------------------------------------*/
-
-class mag
-:
-    public calcType
-{
-    // Private Member Functions
-
-        //- Disallow default bitwise copy construct
-        mag(const mag&);
-
-        //- Disallow default bitwise assignment
-        void operator=(const mag&);
-
-
-protected:
-
-    // Member Functions
-
-        // Calculation routines
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            virtual void init();
-
-            //- Pre-time loop calculations
-            virtual void preCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            virtual void calc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-
-        // I-O
-
-            //- Write component fields
-            template<class Type>
-            void writeMagField
-            (
-                const IOobject& header,
-                const fvMesh& mesh,
-                bool& processed
-            );
-
-
-public:
-
-    //- Runtime type information
-    TypeName("mag");
-
-
-    // Constructors
-
-        //- Construct null
-        mag();
-
-
-    //- Destructor
-    virtual ~mag();
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace calcTypes
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#ifdef NoRepository
-    #include "writeMagField.C"
-#endif
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/mag/writeMagField.C b/src/postProcessing/foamCalcFunctions/field/mag/writeMagField.C
deleted file mode 100644
index e33c0a9837a..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/mag/writeMagField.C
+++ /dev/null
@@ -1,64 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "fvcGrad.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-template<class Type>
-void Foam::calcTypes::mag::writeMagField
-(
-    const IOobject& header,
-    const fvMesh& mesh,
-    bool& processed
-)
-{
-    typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
-
-    if (header.headerClassName() == fieldType::typeName)
-    {
-        Info<< "    Reading " << header.name() << endl;
-        fieldType field(header, mesh);
-
-        Info<< "    Calculating mag" << header.name() << endl;
-        volScalarField magField
-        (
-            IOobject
-            (
-                "mag" + header.name(),
-                mesh.time().timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            Foam::mag(field)
-        );
-        magField.write();
-
-        processed = true;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.C b/src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.C
deleted file mode 100644
index 3dc90cefeeb..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.C
+++ /dev/null
@@ -1,114 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "magGrad.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    namespace calcTypes
-    {
-        defineTypeNameAndDebug(magGrad, 0);
-        addToRunTimeSelectionTable(calcType, magGrad, dictionary);
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
-
-Foam::calcTypes::magGrad::magGrad()
-:
-    calcType()
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
-
-Foam::calcTypes::magGrad::~magGrad()
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-void Foam::calcTypes::magGrad::init()
-{
-    argList::validArgs.append("magGrad");
-    argList::validArgs.append("field");
-}
-
-
-void Foam::calcTypes::magGrad::preCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-void Foam::calcTypes::magGrad::calc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    const word fieldName = args[2];
-
-    IOobject fieldHeader
-    (
-        fieldName,
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    // Check field exists
-    if (fieldHeader.headerOk())
-    {
-        bool processed = false;
-
-        writeMagGradField<scalar>(fieldHeader, mesh, processed);
-        writeMagGradField<vector>(fieldHeader, mesh, processed);
-
-        if (!processed)
-        {
-            FatalError
-                << "Unable to process " << fieldName << nl
-                << "No call to magGrad for fields of type "
-                << fieldHeader.headerClassName() << nl << nl
-                << exit(FatalError);
-        }
-    }
-    else
-    {
-        Info<< "    No " << fieldName << endl;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.H b/src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.H
deleted file mode 100644
index 3ced8127817..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.H
+++ /dev/null
@@ -1,137 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Class
-    Foam::calcTypes::magGrad
-
-Description
-    Writes scalar fields corresponding to the magnitude ot the gradient
-    of the supplied field (name) for each time.
-
-SourceFiles
-    magGrad.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef magGrad_H
-#define magGrad_H
-
-#include "calcType.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-namespace calcTypes
-{
-
-/*---------------------------------------------------------------------------*\
-                          Class magGrad Declaration
-\*---------------------------------------------------------------------------*/
-
-class magGrad
-:
-    public calcType
-{
-    // Private Member Functions
-
-        //- Disallow default bitwise copy construct
-        magGrad(const magGrad&);
-
-        //- Disallow default bitwise assignment
-        void operator=(const magGrad&);
-
-
-protected:
-
-    // Member Functions
-
-        // Calculation routines
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            virtual void init();
-
-            //- Pre-time loop calculations
-            virtual void preCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            virtual void calc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-
-        // I-O
-
-            //- Write magGrad fields
-            template<class Type>
-            void writeMagGradField
-            (
-                const IOobject& header,
-                const fvMesh& mesh,
-                bool& processed
-            );
-
-
-public:
-
-    //- Runtime type information
-    TypeName("magGrad");
-
-
-    // Constructors
-
-        //- Construct null
-        magGrad();
-
-
-    //- Destructor
-    virtual ~magGrad();
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace calcTypes
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#ifdef NoRepository
-    #include "writeMagGradField.C"
-#endif
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/magGrad/writeMagGradField.C b/src/postProcessing/foamCalcFunctions/field/magGrad/writeMagGradField.C
deleted file mode 100644
index cfc9ccc6cb0..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/magGrad/writeMagGradField.C
+++ /dev/null
@@ -1,64 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "fvcGrad.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-template<class Type>
-void Foam::calcTypes::magGrad::writeMagGradField
-(
-    const IOobject& header,
-    const fvMesh& mesh,
-    bool& processed
-)
-{
-    typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
-
-    if (header.headerClassName() == fieldType::typeName)
-    {
-        Info<< "    Reading " << header.name() << endl;
-        fieldType field(header, mesh);
-
-        Info<< "    Calculating magGrad" << header.name() << endl;
-        volScalarField magGradField
-        (
-            IOobject
-            (
-                "magGrad" + header.name(),
-                mesh.time().timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            Foam::mag(fvc::grad(field))
-        );
-        magGradField.write();
-
-        processed = true;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/magSqr/magSqr.C b/src/postProcessing/foamCalcFunctions/field/magSqr/magSqr.C
deleted file mode 100644
index 93c740b7146..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/magSqr/magSqr.C
+++ /dev/null
@@ -1,118 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "magSqr.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    namespace calcTypes
-    {
-        defineTypeNameAndDebug(magSqr, 0);
-        addToRunTimeSelectionTable(calcType, magSqr, dictionary);
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
-
-Foam::calcTypes::magSqr::magSqr()
-:
-    calcType()
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
-
-Foam::calcTypes::magSqr::~magSqr()
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-void Foam::calcTypes::magSqr::init()
-{
-    argList::validArgs.append("magSqr");
-    argList::validArgs.append("field");
-}
-
-
-void Foam::calcTypes::magSqr::preCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-void Foam::calcTypes::magSqr::calc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    const word fieldName = args[2];
-
-    IOobject fieldHeader
-    (
-        fieldName,
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    // Check field exists
-    if (fieldHeader.headerOk())
-    {
-        bool processed = false;
-
-        writeMagSqrField<scalar>(fieldHeader, mesh, processed);
-        writeMagSqrField<vector>(fieldHeader, mesh, processed);
-        writeMagSqrField<sphericalTensor>(fieldHeader, mesh, processed);
-        writeMagSqrField<symmTensor>(fieldHeader, mesh, processed);
-        writeMagSqrField<tensor>(fieldHeader, mesh, processed);
-
-        if (!processed)
-        {
-            FatalError
-                << "Unable to process " << fieldName << nl
-                << "No call to magSqr for fields of type "
-                << fieldHeader.headerClassName() << nl << nl
-               << exit(FatalError);
-        }
-    }
-    else
-    {
-        Info<< "    No " << fieldName << endl;
-    }
-}
-
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/magSqr/magSqr.H b/src/postProcessing/foamCalcFunctions/field/magSqr/magSqr.H
deleted file mode 100644
index 8750f4c206f..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/magSqr/magSqr.H
+++ /dev/null
@@ -1,136 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Class
-    Foam::calcTypes::magSqr
-
-Description
-    Calculates and writes the magnitude-sqaured of a field for each time
-
-SourceFiles
-    magSqr.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef magSqr_H
-#define magSqr_H
-
-#include "calcType.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-namespace calcTypes
-{
-
-/*---------------------------------------------------------------------------*\
-                          Class magSqr Declaration
-\*---------------------------------------------------------------------------*/
-
-class magSqr
-:
-    public calcType
-{
-    // Private Member Functions
-
-        //- Disallow default bitwise copy construct
-        magSqr(const magSqr&);
-
-        //- Disallow default bitwise assignment
-        void operator=(const magSqr&);
-
-
-protected:
-
-    // Member Functions
-
-        // Calculation routines
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            virtual void init();
-
-            //- Pre-time loop calculations
-            virtual void preCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            virtual void calc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-
-        // I-O
-
-            //- Write component fields
-            template<class Type>
-            void writeMagSqrField
-            (
-                const IOobject& header,
-                const fvMesh& mesh,
-                bool& processed
-            );
-
-
-public:
-
-    //- Runtime type information
-    TypeName("magSqr");
-
-
-    // Constructors
-
-        //- Construct null
-        magSqr();
-
-
-    //- Destructor
-    virtual ~magSqr();
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace calcTypes
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#ifdef NoRepository
-    #include "writeMagSqrField.C"
-#endif
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/magSqr/writeMagSqrField.C b/src/postProcessing/foamCalcFunctions/field/magSqr/writeMagSqrField.C
deleted file mode 100644
index 22a56292afb..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/magSqr/writeMagSqrField.C
+++ /dev/null
@@ -1,64 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "volFields.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-template<class Type>
-void Foam::calcTypes::magSqr::writeMagSqrField
-(
-    const IOobject& header,
-    const fvMesh& mesh,
-    bool& processed
-)
-{
-    typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
-
-    if (header.headerClassName() == fieldType::typeName)
-    {
-        Info<< "    Reading " << header.name() << endl;
-        fieldType field(header, mesh);
-
-        Info<< "    Calculating magSqr" << header.name() << endl;
-        volScalarField magSqrField
-        (
-            IOobject
-            (
-                "magSqr" + header.name(),
-                mesh.time().timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            Foam::magSqr(field)
-        );
-        magSqrField.write();
-
-        processed = true;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/randomise/randomise.C b/src/postProcessing/foamCalcFunctions/field/randomise/randomise.C
deleted file mode 100644
index 080e7b5c44d..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/randomise/randomise.C
+++ /dev/null
@@ -1,148 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "randomise.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    namespace calcTypes
-    {
-        defineTypeNameAndDebug(randomise, 0);
-        addToRunTimeSelectionTable(calcType, randomise, dictionary);
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
-
-Foam::calcTypes::randomise::randomise()
-:
-    calcType()
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
-
-Foam::calcTypes::randomise::~randomise()
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
-
-void Foam::calcTypes::randomise::init()
-{
-    argList::validArgs.append("randomise");
-    argList::validArgs.append("perturbation");
-    argList::validArgs.append("field");
-}
-
-
-void Foam::calcTypes::randomise::preCalc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{}
-
-
-void Foam::calcTypes::randomise::calc
-(
-    const argList& args,
-    const Time& runTime,
-    const fvMesh& mesh
-)
-{
-    const scalar pertMag = args.argRead<scalar>(2);
-    const word fieldName = args[3];
-
-    Random rand(1234567);
-
-    IOobject fieldHeader
-    (
-        fieldName,
-        runTime.timeName(),
-        mesh,
-        IOobject::MUST_READ
-    );
-
-    // Check field exists
-    if (fieldHeader.headerOk())
-    {
-        bool processed = false;
-
-        writeRandomField<vector>
-        (
-            fieldHeader,
-            pertMag,
-            rand,
-            mesh,
-            processed
-        );
-        writeRandomField<sphericalTensor>
-        (
-            fieldHeader,
-            pertMag,
-            rand,
-            mesh,
-            processed
-        );
-        writeRandomField<symmTensor>
-        (
-            fieldHeader,
-            pertMag,
-            rand,
-            mesh,
-            processed
-        );
-        writeRandomField<tensor>
-        (
-            fieldHeader,
-            pertMag,
-            rand,
-            mesh,
-            processed
-        );
-
-        if (!processed)
-        {
-            FatalError
-                << "Unable to process " << fieldName << nl
-                << "No call to randomise for fields of type "
-                << fieldHeader.headerClassName() << nl << nl
-                << exit(FatalError);
-        }
-    }
-    else
-    {
-        Info<< "    No " << fieldName << endl;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/randomise/randomise.H b/src/postProcessing/foamCalcFunctions/field/randomise/randomise.H
deleted file mode 100644
index eb7dcdd849f..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/randomise/randomise.H
+++ /dev/null
@@ -1,139 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Class
-    Foam::calcTypes::randomise
-
-Description
-    Adds a random component to a field, with a given perturbation magnitude.
-
-SourceFiles
-    randomise.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef randomise_H
-#define randomise_H
-
-#include "calcType.H"
-#include "Random.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-namespace calcTypes
-{
-
-/*---------------------------------------------------------------------------*\
-                         Class randomise Declaration
-\*---------------------------------------------------------------------------*/
-
-class randomise
-:
-    public calcType
-{
-    // Private Member Functions
-
-        //- Disallow default bitwise copy construct
-        randomise(const randomise&);
-
-        //- Disallow default bitwise assignment
-        void operator=(const randomise&);
-
-
-protected:
-
-    // Member Functions
-
-        // Calculation routines
-
-            //- Initialise - typically setting static variables,
-            //  e.g. command line arguments
-            virtual void init();
-
-            //- Pre-time loop calculations
-            virtual void preCalc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-            //- Time loop calculations
-            virtual void calc
-            (
-                const argList& args,
-                const Time& runTime,
-                const fvMesh& mesh
-            );
-
-
-        // I-O
-
-            //- Write component fields
-            template<class Type>
-            void writeRandomField
-            (
-                const IOobject& header,
-                const scalar pertMag,
-                Random& rand,
-                const fvMesh& mesh,
-                bool& processed
-            );
-
-
-public:
-
-    //- Runtime type information
-    TypeName("randomise");
-
-
-    // Constructors
-
-        //- Construct null
-        randomise();
-
-
-    //- Destructor
-    virtual ~randomise();
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace calcTypes
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#ifdef NoRepository
-    #include "writeRandomField.C"
-#endif
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/foamCalcFunctions/field/randomise/writeRandomField.C b/src/postProcessing/foamCalcFunctions/field/randomise/writeRandomField.C
deleted file mode 100644
index 771a8659d94..00000000000
--- a/src/postProcessing/foamCalcFunctions/field/randomise/writeRandomField.C
+++ /dev/null
@@ -1,76 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-\*---------------------------------------------------------------------------*/
-
-#include "volFields.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-template<class Type>
-void Foam::calcTypes::randomise::writeRandomField
-(
-    const IOobject& header,
-    const scalar pertMag,
-    Random& rand,
-    const fvMesh& mesh,
-    bool& processed
-)
-{
-    typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
-
-    if (header.headerClassName() == fieldType::typeName)
-    {
-        Info<< "    Reading " << header.name() << endl;
-        fieldType field(header, mesh);
-
-        forAll(field, celli)
-        {
-            Type rndPert;
-            rand.randomise(rndPert);
-            rndPert = 2.0*rndPert - pTraits<Type>::one;
-            rndPert /= mag(rndPert);
-            field[celli] += pertMag*rndPert;
-        }
-
-        fieldType randomisedField
-        (
-            IOobject
-            (
-                header.name() + "Random",
-                mesh.time().timeName(),
-                mesh,
-                IOobject::NO_READ
-            ),
-            field
-        );
-
-        Info<< "    Writing " << header.name() << "Random" << endl;
-        randomisedField.write();
-
-        processed = true;
-    }
-}
-
-
-// ************************************************************************* //
diff --git a/src/postProcessing/postCalc/Make/files b/src/postProcessing/postCalc/Make/files
deleted file mode 100644
index fc955741b36..00000000000
--- a/src/postProcessing/postCalc/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-postCalc.C
-
-LIB = $(FOAM_LIBBIN)/postCalc
diff --git a/src/postProcessing/postCalc/calc.H b/src/postProcessing/postCalc/calc.H
deleted file mode 100644
index de0bad426ec..00000000000
--- a/src/postProcessing/postCalc/calc.H
+++ /dev/null
@@ -1,51 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-InNamespace
-    Foam
-
-Description
-    Function prototype for all simple post-processing functions
-    e.g. calcDivPhi, calcMagU etc.
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef calc_H
-#define calc_H
-
-#include "argList.H"
-#include "Time.H"
-#include "fvMesh.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    void calc(const argList& args, const Time& runTime, const fvMesh& mesh);
-}
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/src/postProcessing/postCalc/postCalc.C b/src/postProcessing/postCalc/postCalc.C
deleted file mode 100644
index d0d32d62a17..00000000000
--- a/src/postProcessing/postCalc/postCalc.C
+++ /dev/null
@@ -1,90 +0,0 @@
-/*---------------------------------------------------------------------------*\
-  =========                 |
-  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
-   \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
-     \\/     M anipulation  |
--------------------------------------------------------------------------------
-License
-    This file is part of OpenFOAM.
-
-    OpenFOAM is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
-
-Application
-    postCalc
-
-Description
-    Generic wrapper for calculating a quantity at each time
-
-\*---------------------------------------------------------------------------*/
-
-#include "calc.H"
-#include "timeSelector.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-    void tryCalc(const argList& args, const Time& runTime, const fvMesh& mesh)
-    {
-        FatalIOError.throwExceptions();
-
-        try
-        {
-            calc(args, runTime, mesh);
-        }
-        catch(IOerror& err)
-        {
-            Warning<< err << endl;
-        }
-    }
-}
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-int main(int argc, char *argv[])
-{
-    Foam::timeSelector::addOptions();
-    #include "addRegionOption.H"
-    Foam::argList::addBoolOption
-    (
-        "noWrite",
-        "suppress writing results"
-    );
-    #include "addDictOption.H"
-
-    #include "setRootCase.H"
-    #include "createTime.H"
-    Foam::instantList timeDirs = Foam::timeSelector::select0(runTime, args);
-    #include "createNamedMesh.H"
-
-    forAll(timeDirs, timeI)
-    {
-        runTime.setTime(timeDirs[timeI], timeI);
-
-        Foam::Info<< "Time = " << runTime.timeName() << Foam::endl;
-
-        mesh.readUpdate();
-
-        Foam::tryCalc(args, runTime, mesh);
-
-        Foam::Info<< Foam::endl;
-    }
-
-    return 0;
-}
-
-
-// ************************************************************************* //
diff --git a/src/rigidBodyMeshMotion/Make/options b/src/rigidBodyMeshMotion/Make/options
index 92a8f72b4d2..eb48d3524fb 100644
--- a/src/rigidBodyMeshMotion/Make/options
+++ b/src/rigidBodyMeshMotion/Make/options
@@ -2,7 +2,7 @@ EXE_INC = -ggdb3 -DFULLDEBUG \
     -I$(LIB_SRC)/rigidBodyDynamics/lnInclude \
     -I$(LIB_SRC)/finiteVolume/lnInclude \
     -I$(LIB_SRC)/meshTools/lnInclude \
-    -I$(LIB_SRC)/postProcessing/functionObjects/forces/lnInclude \
+    -I$(LIB_SRC)/functionObjects/forces/lnInclude \
     -I$(LIB_SRC)/fileFormats/lnInclude \
     -I$(LIB_SRC)/dynamicMesh/lnInclude
 
diff --git a/src/sixDoFRigidBodyMotion/Make/options b/src/sixDoFRigidBodyMotion/Make/options
index f2367d2e1d4..11834cbddf8 100644
--- a/src/sixDoFRigidBodyMotion/Make/options
+++ b/src/sixDoFRigidBodyMotion/Make/options
@@ -1,7 +1,7 @@
 EXE_INC = \
     -I$(LIB_SRC)/finiteVolume/lnInclude \
     -I$(LIB_SRC)/meshTools/lnInclude \
-    -I$(LIB_SRC)/postProcessing/functionObjects/forces/lnInclude \
+    -I$(LIB_SRC)/functionObjects/forces/lnInclude \
     -I$(LIB_SRC)/fileFormats/lnInclude \
     -I$(LIB_SRC)/dynamicMesh/lnInclude
 
diff --git a/tutorials/compressible/rhoCentralDyMFoam/movingCone/system/cuttingPlane b/tutorials/compressible/rhoCentralDyMFoam/movingCone/system/cuttingPlane
index a1cfdee93ec..6373b8aa819 100644
--- a/tutorials/compressible/rhoCentralDyMFoam/movingCone/system/cuttingPlane
+++ b/tutorials/compressible/rhoCentralDyMFoam/movingCone/system/cuttingPlane
@@ -11,7 +11,7 @@ cuttingPlane
     type            surfaces;
     libs ("libsampling.so");
 
-    writeControl   writeTime;
+    writeControl    writeTime;
 
     surfaceFormat   vtk;
     fields          ( p U );
diff --git a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/controlDict b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/controlDict
index af81fb869a3..7844e3ac026 100644
--- a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/controlDict
+++ b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/controlDict
@@ -54,9 +54,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ( "libfieldFunctionObjects.so" );
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
 
         fields
         (
diff --git a/tutorials/compressible/sonicDyMFoam/movingCone/system/cuttingPlane b/tutorials/compressible/sonicDyMFoam/movingCone/system/cuttingPlane
index a1cfdee93ec..6373b8aa819 100644
--- a/tutorials/compressible/sonicDyMFoam/movingCone/system/cuttingPlane
+++ b/tutorials/compressible/sonicDyMFoam/movingCone/system/cuttingPlane
@@ -11,7 +11,7 @@ cuttingPlane
     type            surfaces;
     libs ("libsampling.so");
 
-    writeControl   writeTime;
+    writeControl    writeTime;
 
     surfaceFormat   vtk;
     fields          ( p U );
diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun b/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun
index 20ffce0a150..7e02aa1ed65 100755
--- a/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun
+++ b/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun
@@ -9,7 +9,7 @@ application=`getApplication`
 runApplication blockMesh
 runApplication setFields
 runApplication $application
-runApplication foamCalc mag U
+runApplication postProcess -func 'mag(U)'
 runApplication sample
 
 #------------------------------------------------------------------------------
diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict b/tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict
index 56c198065e6..5690ad6976f 100644
--- a/tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict
+++ b/tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict
@@ -31,6 +31,6 @@ sets
     }
 );
 
-fields          (T magU p);
+fields          (T mag(U) p);
 
 // ************************************************************************* //
diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict
index 75c6aedf9c6..dba292f8180 100644
--- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict
+++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict
@@ -52,8 +52,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
 
         fields
         (
@@ -116,9 +116,8 @@ functions
     dsmcFields1
     {
         type            dsmcFields;
-        libs ( "libutilityFunctionObjects.so" );
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("liblagrangianFunctionObjects.so");
+        writeControl    writeTime;
     }
 }
 
diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict
index c1a97cd71f6..784e7586f3d 100644
--- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict
+++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict
@@ -52,8 +52,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
         restartOnOutput   off;
 
         fields
@@ -117,9 +117,8 @@ functions
     dsmcFields1
     {
         type            dsmcFields;
-        libs ( "libutilityFunctionObjects.so" );
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("liblagrangianFunctionObjects.so");
+        writeControl    writeTime;
     }
 }
 
diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict
index eb5e78206aa..0bc64456c71 100644
--- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict
+++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict
@@ -52,8 +52,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
 
         fields
         (
@@ -113,12 +113,12 @@ functions
             }
         );
     }
+
     dsmcFields1
     {
         type            dsmcFields;
-        libs ( "libutilityFunctionObjects.so" );
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("liblagrangianFunctionObjects.so");
+        writeControl    writeTime;
     }
 }
 
diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict
index f89ed2f0162..0f6825eac96 100644
--- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict
+++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict
@@ -52,8 +52,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
 
         fields
         (
@@ -117,18 +117,16 @@ functions
     dsmcFields1
     {
         type            dsmcFields;
-        libs ( "libutilityFunctionObjects.so" );
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("liblagrangianFunctionObjects.so");
+        writeControl    writeTime;
     }
 
     forces1
     {
         type            forces;
-        enabled         true;
-        libs ( "libforces.so" );
-        writeControl   writeTime;
-        patches         ( obstacle );
+        libs            ("libforces.so");
+        writeControl    writeTime;
+        patches         (obstacle);
         directForceDensity true;
         fDName          fDMean;
         CofR            (0 0 0);
diff --git a/tutorials/electromagnetics/mhdFoam/hartmann/Allrun b/tutorials/electromagnetics/mhdFoam/hartmann/Allrun
index bb8053763d9..fad602889c9 100755
--- a/tutorials/electromagnetics/mhdFoam/hartmann/Allrun
+++ b/tutorials/electromagnetics/mhdFoam/hartmann/Allrun
@@ -9,7 +9,7 @@ application=`getApplication`
 
 runApplication blockMesh
 runApplication $application
-runApplication foamCalc components U
+runApplication postProcess -func 'components(U)'
 runApplication sample
 
 #------------------------------------------------------------------------------
diff --git a/tutorials/incompressible/pimpleDyMFoam/movingCone/system/cuttingPlane b/tutorials/incompressible/pimpleDyMFoam/movingCone/system/cuttingPlane
index a1cfdee93ec..6373b8aa819 100644
--- a/tutorials/incompressible/pimpleDyMFoam/movingCone/system/cuttingPlane
+++ b/tutorials/incompressible/pimpleDyMFoam/movingCone/system/cuttingPlane
@@ -11,7 +11,7 @@ cuttingPlane
     type            surfaces;
     libs ("libsampling.so");
 
-    writeControl   writeTime;
+    writeControl    writeTime;
 
     surfaceFormat   vtk;
     fields          ( p U );
diff --git a/tutorials/incompressible/pimpleDyMFoam/propeller/system/Q b/tutorials/incompressible/pimpleDyMFoam/propeller/system/Q
index 1c385eae6ef..9d8ff222f82 100644
--- a/tutorials/incompressible/pimpleDyMFoam/propeller/system/Q
+++ b/tutorials/incompressible/pimpleDyMFoam/propeller/system/Q
@@ -6,16 +6,15 @@
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 
-// Calculate Q (from U)
+// Calculate Q(U)
 Q
 {
-    // Where to load it from
-    libs ("libfieldFunctionObjects.so");
-
     type Q;
 
-    // Output every
-    writeControl writeTime;
+    libs ("libfieldFunctionObjects.so");
+
+    executeControl  writeTime;
+    writeControl    writeTime;
 }
 
 
diff --git a/tutorials/incompressible/pimpleDyMFoam/propeller/system/surfaces b/tutorials/incompressible/pimpleDyMFoam/propeller/system/surfaces
index 5d6e5879879..00101c0397b 100644
--- a/tutorials/incompressible/pimpleDyMFoam/propeller/system/surfaces
+++ b/tutorials/incompressible/pimpleDyMFoam/propeller/system/surfaces
@@ -10,7 +10,7 @@ surfaces
 {
     type            surfaces;
     libs ("libsampling.so");
-    writeControl   writeTime;
+    writeControl    writeTime;
 
     surfaceFormat   vtk;
     fields          (p U Q);
diff --git a/tutorials/incompressible/pimpleFoam/TJunction/system/controlDict b/tutorials/incompressible/pimpleFoam/TJunction/system/controlDict
index 0151f88dca5..c1fd57f2efc 100644
--- a/tutorials/incompressible/pimpleFoam/TJunction/system/controlDict
+++ b/tutorials/incompressible/pimpleFoam/TJunction/system/controlDict
@@ -62,7 +62,7 @@ functions
         name            probes;
 
         // Write at same frequency as fields
-        writeControl   writeTime;
+        writeControl    writeTime;
         writeInterval  1;
 
         // Fields to be probed
diff --git a/tutorials/incompressible/pimpleFoam/TJunctionFan/system/controlDict b/tutorials/incompressible/pimpleFoam/TJunctionFan/system/controlDict
index 1fdcaebb0b4..a227e63934d 100644
--- a/tutorials/incompressible/pimpleFoam/TJunctionFan/system/controlDict
+++ b/tutorials/incompressible/pimpleFoam/TJunctionFan/system/controlDict
@@ -62,7 +62,7 @@ functions
         name            probes;
 
         // Write at same frequency as fields
-        writeControl   writeTime;
+        writeControl    writeTime;
         writeInterval  1;
 
         // Fields to be probed
diff --git a/tutorials/incompressible/pimpleFoam/channel395/system/controlDict b/tutorials/incompressible/pimpleFoam/channel395/system/controlDict
index 5e66d134cee..90fe520d655 100644
--- a/tutorials/incompressible/pimpleFoam/channel395/system/controlDict
+++ b/tutorials/incompressible/pimpleFoam/channel395/system/controlDict
@@ -50,9 +50,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ( "libfieldFunctionObjects.so" );
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
 
         fields
         (
diff --git a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/controlDict b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/controlDict
index 81ed6433926..7b513596480 100644
--- a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/controlDict
+++ b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/controlDict
@@ -52,7 +52,7 @@ functions
     streamLines
     {
         type            streamLine;
-        writeControl   writeTime;
+        writeControl    writeTime;
         setFormat       vtk;
         trackForward    true;
         fields          (p U);
@@ -73,7 +73,7 @@ functions
     {
         type            surfaces;
         libs ( "libsampling.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         surfaceFormat   vtk;
         fields          ( p U );
         interpolationScheme cellPoint;
diff --git a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/cuttingPlane b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/cuttingPlane
index 558bf223ce0..6b099000356 100644
--- a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/cuttingPlane
+++ b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/cuttingPlane
@@ -10,7 +10,7 @@ cuttingPlane
 {
     type            surfaces;
     libs ("libsampling.so");
-    writeControl   writeTime;
+    writeControl    writeTime;
 
     surfaceFormat   vtk;
     fields          ( p U );
diff --git a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/streamLines b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/streamLines
index 9dfff44aeb9..80dd5a310c2 100644
--- a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/streamLines
+++ b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/system/streamLines
@@ -11,7 +11,7 @@ streamLines
     type            streamLine;
 
     // Output every
-    writeControl   writeTime;
+    writeControl    writeTime;
     // writeInterval 10;
 
     setFormat       vtk; //gnuplot; //xmgr; //raw; //jplot; //csv; //ensight;
diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict
index d935938c765..3a1c3f17f72 100644
--- a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict
+++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict
@@ -50,10 +50,9 @@ functions
     probes
     {
         type            probes;
-        libs ("libsampling.so");
-        enabled         true;
-        writeControl   timeStep;
-        writeInterval  1;
+        libs            ("libsampling.so");
+        writeControl    timeStep;
+        writeInterval   1;
 
         fields
         (
@@ -76,9 +75,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ("libfieldFunctionObjects.so");
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
 
         fields
         (
@@ -105,9 +103,8 @@ functions
         type surfaces;
 
         // Where to load it from (if not already in solver)
-        libs ("libsampling.so");
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("libsampling.so");
+        writeControl    writeTime;
 
         interpolationScheme cellPoint;
 
diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyMapped/system/controlDict b/tutorials/incompressible/pisoFoam/les/pitzDailyMapped/system/controlDict
index d935938c765..3a1c3f17f72 100644
--- a/tutorials/incompressible/pisoFoam/les/pitzDailyMapped/system/controlDict
+++ b/tutorials/incompressible/pisoFoam/les/pitzDailyMapped/system/controlDict
@@ -50,10 +50,9 @@ functions
     probes
     {
         type            probes;
-        libs ("libsampling.so");
-        enabled         true;
-        writeControl   timeStep;
-        writeInterval  1;
+        libs            ("libsampling.so");
+        writeControl    timeStep;
+        writeInterval   1;
 
         fields
         (
@@ -76,9 +75,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ("libfieldFunctionObjects.so");
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
 
         fields
         (
@@ -105,9 +103,8 @@ functions
         type surfaces;
 
         // Where to load it from (if not already in solver)
-        libs ("libsampling.so");
-        enabled         true;
-        writeControl   writeTime;
+        libs            ("libsampling.so");
+        writeControl    writeTime;
 
         interpolationScheme cellPoint;
 
diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/cuttingPlane b/tutorials/incompressible/simpleFoam/motorBike/system/cuttingPlane
index 558bf223ce0..6b099000356 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/system/cuttingPlane
+++ b/tutorials/incompressible/simpleFoam/motorBike/system/cuttingPlane
@@ -10,7 +10,7 @@ cuttingPlane
 {
     type            surfaces;
     libs ("libsampling.so");
-    writeControl   writeTime;
+    writeControl    writeTime;
 
     surfaceFormat   vtk;
     fields          ( p U );
diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/streamLines b/tutorials/incompressible/simpleFoam/motorBike/system/streamLines
index 6b87e7f63e1..6e6918f36a8 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/system/streamLines
+++ b/tutorials/incompressible/simpleFoam/motorBike/system/streamLines
@@ -14,7 +14,7 @@ streamLines
     type            streamLine;
 
     // Output every
-    writeControl   writeTime;
+    writeControl    writeTime;
     // writeInterval 10;
 
     setFormat       vtk; //gnuplot; //xmgr; //raw; //jplot; //csv; //ensight;
diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/wallBoundedStreamLines b/tutorials/incompressible/simpleFoam/motorBike/system/wallBoundedStreamLines
index 526775898de..26cecc44783 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/system/wallBoundedStreamLines
+++ b/tutorials/incompressible/simpleFoam/motorBike/system/wallBoundedStreamLines
@@ -15,7 +15,7 @@ near
     type nearWallFields;
 
     // Output every
-    writeControl   writeTime;
+    writeControl    writeTime;
 
     // Calculate every
     executeControl   writeTime;
@@ -43,7 +43,7 @@ wallBoundedStreamLines
     type            wallBoundedStreamLine;
 
     // Output every
-    writeControl   writeTime;
+    writeControl    writeTime;
 
     setFormat       vtk; //gnuplot; //xmgr; //raw; //jplot;
 
diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict b/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict
index 2636d7bd483..3b60eb97cf1 100644
--- a/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict
+++ b/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict
@@ -55,7 +55,7 @@ functions
         libs ("libfieldFunctionObjects.so");
 
         // Output every
-        writeControl   writeTime;
+        writeControl    writeTime;
         // writeInterval 10;
 
         setFormat       vtk; //gnuplot;//xmgr;//raw;//jplot;//csv;//ensight;
diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict
index 31b1f7ff22d..8daa2f853f2 100644
--- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict
+++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict
@@ -55,7 +55,7 @@ functions
         libs ("libfieldFunctionObjects.so");
 
         // Output every
-        writeControl   writeTime;
+        writeControl    writeTime;
         // writeInterval 10;
 
         setFormat       vtk; //gnuplot;//xmgr;//raw;//jplot;//csv;//ensight;
diff --git a/tutorials/lagrangian/reactingParcelFoam/verticalChannel/system/controlDict b/tutorials/lagrangian/reactingParcelFoam/verticalChannel/system/controlDict
index 6121a89143b..935559ccc15 100644
--- a/tutorials/lagrangian/reactingParcelFoam/verticalChannel/system/controlDict
+++ b/tutorials/lagrangian/reactingParcelFoam/verticalChannel/system/controlDict
@@ -56,9 +56,8 @@ functions
     faceSource1
     {
         type            faceSource;
-        libs ("libfieldFunctionObjects.so");
-        enabled         yes;
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
         log             yes;
         valueOutput     no;
         source          patch;
diff --git a/tutorials/lagrangian/reactingParcelFoam/verticalChannelLTS/system/controlDict b/tutorials/lagrangian/reactingParcelFoam/verticalChannelLTS/system/controlDict
index 6b2dc4faaee..5dc1e71c2d8 100644
--- a/tutorials/lagrangian/reactingParcelFoam/verticalChannelLTS/system/controlDict
+++ b/tutorials/lagrangian/reactingParcelFoam/verticalChannelLTS/system/controlDict
@@ -51,9 +51,8 @@ functions
     faceSource1
     {
         type            faceSource;
-        libs ("libfieldFunctionObjects.so");
-        enabled         yes;
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
         log             yes;
         valueOutput     no;
         source          patch;
diff --git a/tutorials/lagrangian/simpleReactingParcelFoam/verticalChannel/system/controlDict b/tutorials/lagrangian/simpleReactingParcelFoam/verticalChannel/system/controlDict
index 85cbcd795db..9b6fa3b8441 100644
--- a/tutorials/lagrangian/simpleReactingParcelFoam/verticalChannel/system/controlDict
+++ b/tutorials/lagrangian/simpleReactingParcelFoam/verticalChannel/system/controlDict
@@ -53,7 +53,7 @@ functions
         type            faceSource;
         libs ("libfieldFunctionObjects.so");
         enabled         yes;
-        writeControl   writeTime;
+        writeControl    writeTime;
         log             yes;
         valueOutput     no;
         source          patch;
diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict b/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict
index c5ef129b1aa..f69bf214d5a 100644
--- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict
+++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict
@@ -54,9 +54,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ( "libfieldFunctionObjects.so" );
-        enabled         false;
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
         fields
         (
             U
diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict
index 8bd22cef0b7..6a43f403ab7 100644
--- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict
+++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict
@@ -54,9 +54,8 @@ functions
     fieldAverage1
     {
         type            fieldAverage;
-        libs ( "libfieldFunctionObjects.so" );
-        enabled         false;
-        writeControl   writeTime;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    writeTime;
         fields
         (
             U
diff --git a/tutorials/multiphase/compressibleInterDyMFoam/ras/sloshingTank2D/system/controlDict b/tutorials/multiphase/compressibleInterDyMFoam/ras/sloshingTank2D/system/controlDict
index 9c73195f268..78c5db3ab01 100644
--- a/tutorials/multiphase/compressibleInterDyMFoam/ras/sloshingTank2D/system/controlDict
+++ b/tutorials/multiphase/compressibleInterDyMFoam/ras/sloshingTank2D/system/controlDict
@@ -58,7 +58,7 @@ functions
     {
         type            probes;
         libs ("libsampling.so");
-        writeControl   writeTime;
+        writeControl    writeTime;
         probeLocations
         (
             (0 9.95 19.77)
@@ -75,7 +75,7 @@ functions
     {
         type            surfaces;
         libs ("libsampling.so");
-        writeControl   writeTime;
+        writeControl    writeTime;
         surfaceFormat   raw;
         fields
         (
diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/controlDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/controlDict
index dc1ec8c127d..194bfd02fe8 100644
--- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/controlDict
+++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/controlDict
@@ -58,7 +58,7 @@ functions
     {
         type            probes;
         libs ("libsampling.so");
-        writeControl   writeTime;
+        writeControl    writeTime;
         probeLocations
         (
             (0 9.95 19.77)
@@ -75,7 +75,7 @@ functions
     {
         type            surfaces;
         libs ("libsampling.so");
-        writeControl   writeTime;
+        writeControl    writeTime;
         surfaceFormat   raw;
         fields
         (
diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/controlDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/controlDict
index 4f211ef3841..175f54794cd 100644
--- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/controlDict
+++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            probes;
         libs ("libsampling.so");
-        writeControl   writeTime;
+        writeControl    writeTime;
         probeLocations
         (
             (0 9.95 19.77)
@@ -74,7 +74,7 @@ functions
     {
         type            surfaces;
         libs ("libsampling.so");
-        writeControl   writeTime;
+        writeControl    writeTime;
         surfaceFormat   raw;
         fields
         (
diff --git a/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/system/controlDict b/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/system/controlDict
index 8336493c6a6..e6cd8a70047 100644
--- a/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/system/controlDict
+++ b/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/system/controlDict b/tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/system/controlDict
index 31a100e56b3..98467170571 100644
--- a/tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/system/controlDict
+++ b/tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            forces;
         libs ("libforces.so");
-        writeControl   writeTime;
+        writeControl    writeTime;
         patches         (floatingObject);
         rho             rhoInf;
         log             yes;
@@ -69,7 +69,6 @@ functions
     {
         type            faceSource;
         libs ("libfieldFunctionObjects.so");
-        enabled         yes;
         writeControl   timeStep;
         writeInterval  1;
         log             yes;
diff --git a/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/system/controlDict b/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/system/controlDict
index 0d70bd5321b..53157df907d 100644
--- a/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/system/controlDict
+++ b/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/system/controlDict
@@ -56,7 +56,7 @@ functions
     forces
     {
         type            forces;
-        libs ("libforces.so");
+        libs            ("libforces.so");
         writeControl    writeTime;
         patches         (floatingObject);
         rho             rhoInf;
@@ -68,10 +68,9 @@ functions
     poolHeight
     {
         type            faceSource;
-        libs ("libfieldFunctionObjects.so");
-        enabled         yes;
-        writeControl   timeStep;
-        writeInterval  1;
+        libs            ("libfieldFunctionObjects.so");
+        writeControl    timeStep;
+        writeInterval   1;
         log             yes;
         writeTotalArea  no;
         valueOutput     no;
diff --git a/tutorials/multiphase/reactingMultiphaseEulerFoam/laminar/bubbleColumn/system/controlDict b/tutorials/multiphase/reactingMultiphaseEulerFoam/laminar/bubbleColumn/system/controlDict
index 4952298b153..987fa05c0a0 100644
--- a/tutorials/multiphase/reactingMultiphaseEulerFoam/laminar/bubbleColumn/system/controlDict
+++ b/tutorials/multiphase/reactingMultiphaseEulerFoam/laminar/bubbleColumn/system/controlDict
@@ -57,7 +57,7 @@ functions0
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/reactingTwoPhaseEulerFoam/LES/bubbleColumn/system/controlDict b/tutorials/multiphase/reactingTwoPhaseEulerFoam/LES/bubbleColumn/system/controlDict
index bda032fbbb8..ab77d7aa4a8 100644
--- a/tutorials/multiphase/reactingTwoPhaseEulerFoam/LES/bubbleColumn/system/controlDict
+++ b/tutorials/multiphase/reactingTwoPhaseEulerFoam/LES/bubbleColumn/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/bubbleColumn/system/controlDict b/tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/bubbleColumn/system/controlDict
index bda032fbbb8..ab77d7aa4a8 100644
--- a/tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/bubbleColumn/system/controlDict
+++ b/tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/bubbleColumn/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/fluidisedBed/system/controlDict b/tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/fluidisedBed/system/controlDict
index 0171ad9a96d..998a61a7574 100644
--- a/tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/fluidisedBed/system/controlDict
+++ b/tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/fluidisedBed/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.particles
diff --git a/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumn/system/controlDict b/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumn/system/controlDict
index bda032fbbb8..ab77d7aa4a8 100644
--- a/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumn/system/controlDict
+++ b/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumn/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumnIATE/system/controlDict b/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumnIATE/system/controlDict
index bda032fbbb8..ab77d7aa4a8 100644
--- a/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumnIATE/system/controlDict
+++ b/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumnIATE/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/fluidisedBed/system/controlDict b/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/fluidisedBed/system/controlDict
index bd01b0bd4ff..17459a91c5c 100644
--- a/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/fluidisedBed/system/controlDict
+++ b/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/fluidisedBed/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.particles
diff --git a/tutorials/multiphase/twoPhaseEulerFoam/LES/bubbleColumn/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/LES/bubbleColumn/system/controlDict
index 732ef998792..c47d61162c3 100644
--- a/tutorials/multiphase/twoPhaseEulerFoam/LES/bubbleColumn/system/controlDict
+++ b/tutorials/multiphase/twoPhaseEulerFoam/LES/bubbleColumn/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn/system/controlDict
index 732ef998792..c47d61162c3 100644
--- a/tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn/system/controlDict
+++ b/tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/system/controlDict
index 9ccb4f9d351..500eeb0e9af 100644
--- a/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/system/controlDict
+++ b/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.particles
diff --git a/tutorials/multiphase/twoPhaseEulerFoam/laminar/bubbleColumn/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/laminar/bubbleColumn/system/controlDict
index 732ef998792..c47d61162c3 100644
--- a/tutorials/multiphase/twoPhaseEulerFoam/laminar/bubbleColumn/system/controlDict
+++ b/tutorials/multiphase/twoPhaseEulerFoam/laminar/bubbleColumn/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/twoPhaseEulerFoam/laminar/bubbleColumnIATE/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/laminar/bubbleColumnIATE/system/controlDict
index 732ef998792..c47d61162c3 100644
--- a/tutorials/multiphase/twoPhaseEulerFoam/laminar/bubbleColumnIATE/system/controlDict
+++ b/tutorials/multiphase/twoPhaseEulerFoam/laminar/bubbleColumnIATE/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.air
diff --git a/tutorials/multiphase/twoPhaseEulerFoam/laminar/fluidisedBed/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/laminar/fluidisedBed/system/controlDict
index 565b7fedf86..b78dca22431 100644
--- a/tutorials/multiphase/twoPhaseEulerFoam/laminar/fluidisedBed/system/controlDict
+++ b/tutorials/multiphase/twoPhaseEulerFoam/laminar/fluidisedBed/system/controlDict
@@ -57,7 +57,7 @@ functions
     {
         type            fieldAverage;
         libs ( "libfieldFunctionObjects.so" );
-        writeControl   writeTime;
+        writeControl    writeTime;
         fields
         (
             U.particles
-- 
GitLab