FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

writeMeshObj.C File Reference

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


Detailed Description

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

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
Usage
  • writeMeshObj [OPTIONS]
Parameters:
-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.

Definition in file writeMeshObj.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/timeSelector.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H"
#include "src/meshTools/meshTools/meshTools.H"
#include "src/meshTools/sets/topoSets/cellSet.H"
#include "src/meshTools/sets/topoSets/faceSet.H"
#include "src/OpenFOAM/include/addRegionOption.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createNamedPolyMesh.H"
Include dependency graph for writeMeshObj.C:

Go to the source code of this file.