foamRestoreFields.C File Reference

Adjust (restore) field names by removing the ending. The fields are selected automatically or can be specified as optional command arguments. More...

Go to the source code of this file.

Detailed Description

Adjust (restore) field names by removing the ending. The fields are selected automatically or can be specified as optional command arguments.

Original source file foamRestoreFields.C

The operation 'mean' renames files ending with 'Mean' and makes a backup of existing names, using the '.orig' ending.

The operation 'orig' renames files ending with '.orig'.

Usage
foamRestoreFields [OPTION]

Options:

  • -method mean | orig
    The renaming method.
  • -processor
    Use processor directories, taking information from processor0/
  • -dry-run
    Test without actually moving/renaming files.
  • -verbose
    Additional verbosity.

Definition in file foamRestoreFields.C.