Converts all IOobjects associated with a case into the format specified in the controlDict. More...
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.
-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 "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/timeSelector.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/finiteVolume/fields/volFields/volFields.H"
#include "src/finiteVolume/fields/surfaceFields/surfaceFields.H"
#include "src/OpenFOAM/fields/GeometricFields/pointFields/pointFields.H"
#include "src/OpenFOAM/meshes/meshShapes/cell/cellIOList.H"
#include "src/OpenFOAM/db/IOobjectList/IOobjectList.H"
#include "src/OpenFOAM/db/IOobjects/IOPtrList/IOPtrList.H"
#include "applications/utilities/miscellaneous/foamFormatConvert/writeMeshObject.H"
#include "applications/utilities/miscellaneous/foamFormatConvert/fieldDictionary.H"
#include "src/OpenFOAM/include/addRegionOption.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
Go to the source code of this file.