---
name: "freefoam-formatConvert"
section: "1"
platform: "linux"
package: "freefoam"
version: "0.1.0+dfsg+1-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/freefoam-formatConvert"
---

# freefoam-formatConvert(1)

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

## NAME

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

## SYNOPSIS

**freefoam formatConvert** \[-help\] \[-latestTime\] \[-noZero\] \[-srcDoc\] \[-doc\] \[-time *\<time\>*\] \[-constant\] \[-parallel\] \[-case *\<dir\>*\]

## DESCRIPTION

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.

## OPTIONS

- **-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.

## SEE ALSO

An overview of FreeFOAM is given in [**freefoam**(1)](/freefoam/1.md).

## AUTHOR

OpenCFD Ltd.

## FREEFOAM

Part of the [**freefoam**(1)](/freefoam/1.md) suite.

## COPYRIGHT

• Copyright © 2008-2012 Michael Wild.

• Copyright © 1991-2010 OpenCFD Ltd.
