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

mshToFoam.C File Reference

Converts .msh file generated by the Adventure system. More...


Detailed Description

Converts .msh file generated by the Adventure system.

Note:
The .msh format does not contain any boundary information. It is purely a description of the internal mesh.

Can read both linear-tet format (i.e. 4 verts per tet) and linear-hex format (8 verts per hex) (if provided with the -hex option)

Will bomb out if not supplied with the correct option for the file format

Not extensively tested.

Usage
  • mshToFoam [OPTIONS] <.msh file>
Parameters:
\<.mshfile>
Todo:
Detailed description of argument.
Parameters:
-hex
Read hex cells.
-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 mshToFoam.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/containers/Lists/ListOps/ListOps.H"
#include "src/OpenFOAM/meshes/meshShapes/cellModeller/cellModeller.H"
#include <fstream>
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
Include dependency graph for mshToFoam.C:

Go to the source code of this file.