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

netgenNeutralToFoam.C File Reference

Converts neutral file format as written by Netgen v4.4. More...


Detailed Description

Converts neutral file format as written by Netgen v4.4.

Example:

9 1.000000 1.000000 1.000000 0.000000 1.000000 1.000000 0.000000 0.000000 1.000000 1.000000 0.000000 1.000000 0.000000 1.000000 0.000000 1.000000 1.000000 0.000000 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.500000 0.500000 0.500000 12 1 7893 1 5968 1 5921 1 4976 1 7869 1 4619 1 5982 1 4129 1 1659 1 2349 1 8932 1 4937 12 1124 1342 2568 2786 3146 3764 5215 5651 5328 5582 6437 6873

NOTE:

  • reverse order of boundary faces using geometric test. (not very space efficient)
  • order of tet vertices only tested on one file.
  • all patch/cell/vertex numbers offset by one.
Usage
  • netgenNeutralToFoam [OPTIONS] <Neutral file>
Parameters:
\<Neutralfile>
Todo:
Detailed description of argument.
Parameters:
-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 netgenNeutralToFoam.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/OpenFOAM/db/IOstreams/Fstreams/IFstream.H"
#include "src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H"
#include "src/OpenFOAM/meshes/meshShapes/cellModeller/cellModeller.H"
#include "src/OpenFOAM/meshes/meshShapes/triFace/triFace.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
Include dependency graph for netgenNeutralToFoam.C:

Go to the source code of this file.