foamFormatConvert.C File Reference

Converts all IOobjects associated with a case into the format specified in the controlDict. More...

Go to the source code of this file.

Detailed Description

Converts all IOobjects associated with a case into the format specified in the controlDict.

Original source file foamFormatConvert.C

Mainly used to convert binary mesh/field files to ASCII.

Problem: any zero-size List written binary gets written as '0'. When reading the file as a dictionary this is interpreted as a label. This is (usually) not a problem when doing patch fields since these get the 'uniform', 'nonuniform' prefix. However zone contents are labelLists not labelFields and these go wrong. For now hacked a solution where we detect the keywords in zones and redo the dictionary entries to be labelLists.

Usage
  • foamFormatConvert [OPTION]
Parameters
-noConstant
Exclude the constant/ directory from the times list
-enableFunctionEntries
By default all dictionary preprocessing of fields is disabled

Definition in file foamFormatConvert.C.