Difference between revisions of "GambitToFoam"

From OpenFOAMWiki
 
m
 
(4 intermediate revisions by 3 users not shown)
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 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
 +
'''-noFunctionObjects'''
 +
: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.
 +
 
 +
[[Category:Mesh conversion utilities]]

Latest revision as of 09:39, 24 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

-noFunctionObjects

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.