---
name: "freefoam-writeMeshObj"
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-writeMeshObj"
---

# freefoam-writeMeshObj(1)

For mesh debugging: writes mesh as three separate OBJ files which can be viewed with e.g. javaview.

## NAME

freefoam-writeMeshObj - For mesh debugging: writes mesh as three separate OBJ files which can be viewed with e.g. javaview.

## SYNOPSIS

**freefoam writeMeshObj** \[-latestTime\] \[-patchFaces\] \[-cellSet *\<cellSet name\>*\] \[-cell *\<cell label\>*\] \[-noZero\] \[-face *\<face label\>*\] \[-srcDoc\] \[-point *\<point label\>*\] \[-doc\] \[-time *\<time\>*\] \[-constant\] \[-parallel\] \[-faceSet *\<faceSet name\>*\] \[-case *\<dir\>*\] \[-help\]

## DESCRIPTION

meshPoints\_XXX.obj : all points and edges as lines. meshFaceCentres\_XXX.obj : all face centres. meshCellCentres\_XXX.obj : all cell centres.

patch\_YYY\_XXX.obj : all face centres of patch YYY

Optional: - patch faces (as polygons) : patchFaces\_YYY\_XXX.obj - non-manifold edges : patchEdges\_YYY\_XXX.obj

## OPTIONS

**-face** *\<face label\>*

Export face with specified label.

- **-patchFaces**

  Also export patch faces.

**-cell** *\<cell label\>*

Export cell with specified label.

**-point** *\<point label\>*

Export point with specified label.

**-cellSet** *\<cellSet name\>*

Only apply to named cell set.

**-faceSet** *\<faceSet name\>*

Only apply to named face set.

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