FreeFOAM The Cross-Platform CFD Toolkit
foamFormatConvert.C File Reference

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


Detailed Description

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

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

Bugs 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 [OPTIONS]
Parameters:
-noZero
Ignore timestep 0.
-constant
Include the constant directory.
-time<time>
Apply only to specific time.
-latestTime
Only apply to latest time step.
-case<dir>
Case directory.
-parallel
Run in parallel.
-help
Display help message.
-doc
Display Doxygen API documentation page for this application.
-srcDoc
Display Doxygen source documentation page for this application.

Definition in file foamFormatConvert.C.

+ Include dependency graph for foamFormatConvert.C:

Go to the source code of this file.