Sciences and methods > Computational Fluid Dynamics > CFD software
 
Tehdyt toimenpiteet

Gambit

IMPORTANT: After the integration of Fluent into the ANSYS CFD bundle, Gambit has become a legacy software that is not further developed. For the time being, CSC has purchased 5 licenses for Gambit. Gambit is designed to serve as a preprocessor for CFD codes, in particular for products of Fluent.Inc (Fluent and Fidap). With its wide variety of input and output file formats, Gambit certainly also can be used as preprocessing tool for other software.

Features

Gambit provides the user with the following features:

  • geometry and mesh generation tools integrated in a single GUI (Graphical User Interface)

  • journaling to replay modeling building session

  • text based commands to be run in batch mode (parametric studies)

  • import of CAD/CAE geometry. Supported formats: Parasolid, ACIS, STEP, IGES, STL

  • advanced meshing-techniques: mapped quad/hexahedral, unstructured triangle/tetrahedral as well as hybrid meshing.

  • 2d and 3d boundary zone assignment

  • built in mesh quality examination

Interactive Sessions

Gambit is installed on CSC's platform hippu.csc.fi. The environment for using Gambit is set up by

module load fluent_legacy/gambit

Thereafter, a Gambit session is started by entering the command

gambit -id sessionname [option1 option2 ...]

Here sessionname is an alphanumeric identifier of the session. If this option is skipped, Gambit by default names the session as default-id. Amongst others, the following options can be added to the command line

-dev specifies a graphics driver name. Options are: X11, XWIN, OPEN (GL), GL, XGL, SBX, STAR
-in filename
specifies the name filename of a journal file (extension .jou) to be run in batch mode, i.e. without GUI. This is an important feature for parametric studies
-new|-old specifies whether or not Gambit is to open a new or existing session
-r [version]
launch (older) version of Gambit. Option given without version number, displays possible versions to be launched
-inputfile journalfile
runs journalfile containing text-commands (implies batch-job run without GUI)
-initfile journalfile
launches GUI but runs journalfile at startup

If not run in batch-mode, a Graphical user Interface (GUI) starts up. Functions and commands within Gambit may be alternatively accessed either via menus and buttons of the GUI, or the text-command input window below the graphics window.


Important notes on usage

  • A lock-file sessionname.lok is stored in the directory Gambit has been launched at the beginning of every session. Should Gambit - to what reason ever - crash, this file remains in the directory and prohibits a further re-launch of the session. The user has to erase the lock-file (but only the lock-file!)

  • In general it is recommended to have X11-tunneling enabled. On Windows based environments this is set in the Preferences of the ssh-client. On Linux/UNIX based systems running X11 the option -x has to be added to the ssh-command

  • If your hardware does not support accelerated graphics (OpenGL) then the option -driver x11 should be added to the Fluent launch command

Zwinger Thomas Thomas.Zwinger at csc.fi