GambitToFoam

From OpenFOAMWiki
Revision as of 10:39, 24 August 2012 by Fcollonv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.