Difference between revisions of "GmshToFoam"
From OpenFOAMWiki
m |
|||
Line 22: | Line 22: | ||
:Display the help and exit | :Display the help and exit | ||
+ | |||
+ | ==Bugs== | ||
+ | The ''gmshToFoam'' utility in OpenFOAM-1.6-ext has some problems with preserving defined physical surfaces. Both OpenFOAM-2.1.x and OpenFOAM-1.6-ext versions of ''gmshToFoam'' do not preserve internal physical surfaces (needed for some applications). The following tarballs compile as ''gmshToFoam2'' inside the user directory. They have the bugs removed. | ||
+ | |||
+ | {{Version2.1}} [[Media:GmshToFoam21x.tar.gz]] | ||
+ | |||
+ | {{Version1.6-ext}} [[Media:GmshToFoam16.tar.gz]] | ||
+ | |||
+ | ===References=== | ||
+ | 1. http://www.cfd-online.com/Forums/openfoam-meshing-open/106777-patches-gmshtofoam.html#post408116 | ||
+ | |||
+ | 2. http://www.openfoam.org/mantisbt/view.php?id=690 | ||
+ | |||
+ | --[[User:El Safti|El Safti]] ([[User talk:El Safti|talk]]) 21:32, 15 February 2013 (CET) | ||
[[Category:Mesh conversion utilities]] | [[Category:Mesh conversion utilities]] |
Revision as of 20:32, 15 February 2013
Contents
1 Name
gmshToFoam - Reads .msh file as written by Gmsh
2 Synopsis
gmshToFoam [OPTIONS] MESHFILE.msh
3 Description
Convert a mesh file MESHFILE.msh from Gmsh format to foam format.
-keepOrientation
- Retain the raw orientation for prisms and/or hexahedrons
-case DIR
- Execute the command on the case directory DIR. If omitted, use the current directory
-region NAME
- Specify the mesh region name. If omitted, default region used
-noFunctionObjects
- Skip the execution of the functionObjects
-help
- Display the help and exit
4 Bugs
The gmshToFoam utility in OpenFOAM-1.6-ext has some problems with preserving defined physical surfaces. Both OpenFOAM-2.1.x and OpenFOAM-1.6-ext versions of gmshToFoam do not preserve internal physical surfaces (needed for some applications). The following tarballs compile as gmshToFoam2 inside the user directory. They have the bugs removed.
Media:GmshToFoam21x.tar.gz
Media:GmshToFoam16.tar.gz
4.1 References
1. http://www.cfd-online.com/Forums/openfoam-meshing-open/106777-patches-gmshtofoam.html#post408116