Difference between revisions of "GambitToFoam"

From OpenFOAMWiki
(Use new structure)
Line 1: Line 1:
This application converts a Gambit mesh into the OpenFOAM format.  Note that when you export a mesh from Gambit (creating a file with a .msh extension) you should use [http://openfoamwiki.net/index.php/FluentMeshToFoam fluentMeshToFoam] instead.
+
==Name==
 +
<tt>gambitToFoam</tt> - Converts a GAMBIT mesh to OpenFOAM format
  
 +
{{VersionInfo}}{{Version2.1}}
 +
 +
==Synopsis==
 +
gambitToFoam [OPTIONS] GAMBIT_MESH
 +
 +
==Description==
 +
Convert a mesh file GAMBIT_MESH from Gambit format to foam format.
 +
 +
Note that when you export a mesh from Gambit (creating a file with a .msh extension) you should use [[FluentMeshToFoam | fluentMeshToFoam]] instead.
 +
 +
'''-scale''' ''factor''
 +
:Scale the mesh geometry by ''factor''. If not provided, use 1
 +
 +
'''-case''' ''DIR''
 +
:Execute the command on the case directory ''DIR''. If not provided, use the current directory
 +
'''-noFunctionObject'''
 +
:Skip the execution of the [[functionObjects]]
 +
'''-help'''
 +
:Display the help and exit
 +
 +
See also [http://www.openfoam.org/docs/user/mesh-conversion.php paragraph 5.5.3] of the [http://www.openfoam.org/docs/user/ User Guide].
 +
 +
 +
==What to do in Gambit==
 
To export a Gambit mesh, choose the solver to be "Generic" and then choose export mesh from the pull-down menu.
 
To export a Gambit mesh, choose the solver to be "Generic" and then choose export mesh from the pull-down menu.
 +
 
[[Category:Mesh conversion utilities]]
 
[[Category:Mesh conversion utilities]]

Revision as of 09:36, 22 August 2012

1 Name

gambitToFoam - Converts a GAMBIT mesh to OpenFOAM format

Valid versions: OF Version 21.png

2 Synopsis

gambitToFoam [OPTIONS] GAMBIT_MESH

3 Description

Convert a mesh file GAMBIT_MESH from Gambit format to foam format.

Note that when you export a mesh from Gambit (creating a file with a .msh extension) you should use fluentMeshToFoam instead.

-scale factor

Scale the mesh geometry by factor. If not provided, use 1

-case DIR

Execute the command on the case directory DIR. If not provided, use the current directory

-noFunctionObject

Skip the execution of the functionObjects

-help

Display the help and exit

See also paragraph 5.5.3 of the User Guide.


4 What to do in Gambit

To export a Gambit mesh, choose the solver to be "Generic" and then choose export mesh from the pull-down menu.