You are on page 1of 26

Fluent User Services Center Introductory GAMBIT Training

www.fluentusers.com GAMBIT 2.3 June 2006

Introduction to GAMBIT

1-1 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

What is GAMBIT?
Geometry And Mesh Building Intelligent Toolkit

A single, integrated preprocessor for CFD analysis:


z Geometry construction and import using:
ACIS solid modeling capabilities
STEP, Parasolid, IGES etc. import (generally requires cleanup)
z Mesh generation for all FLUENT solvers including FIDAP and POLYFLOW
Structured and unstructured hexahedral, tetrahedral, pyramid, and prisms.
z Mesh quality examination
z Boundary zone assignment
z Mesh export

1-2 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Problem Setup
Geometry creation
z GAMBIT modeling tools
z Import from CAD/CAE or previously generated mesh file.
z Clean up and/or decompose into meshable sections

Meshing
z Local meshing edge, boundary layers and size functions
z Global meshing face and/or volume

Examine mesh quality

Boundary and continuum zone assignment

Export the mesh to FLUENT


1-3 2006 Fluent Inc.
Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

GAMBIT Startup
GAMBIT can be launched using the icon (Windows XP/2000 only).

Gambit 2.3
Enter or browse for path to
the working directory

Enter the session ID or


select from previously
stored sessions.

Startup options
GAMBIT can also be launched from a DOS command prompt or
LINUX/UNIX prompt by typing the command
gambit sessionID

1-4 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

GAMBIT Directory and Files


When GAMBIT starts up, it creates a directory called GAMBIT.#
z # is a randomly assigned, four-digit process number
z GAMBIT also creates a lock file, sessionID.lok, in the working directory
z sessionID.lok prevents another user from starting up another session using
the same ID in the same directory.
z If GAMBIT crashes, this file must be removed manually.

Three files are created inside the GAMBIT.# directory.


sessionID.dbs The GAMBIT database. All geometry and mesh information is saved
in this file. The database is often not retrievable after a crash.

jou The journal file. All user instructions are stored in this file. The
journal file is directly accessible from the Run Journal form.

trn The transcript file. All output from the current GAMBIT session is
stored here.

1-5 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

GAMBIT Directory and Files


GAMBIT permanently saves these files to the working directory as
sessionID.dbs, sessionID.jou, and sessionID.trn any time you issue the
Save command (equivalent to any standard word processor).
z The files sessionID.dbs, sessionID.jou, sessionID.trn are overwritten
z New commands are appended to the journal file, sessionID.jou.

Upon successful exit of GAMBIT :


z The GAMBIT.# directory is removed.
z The lock file, sessionID.lok, is deleted.

1-6 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

The GAMBIT GUI


Main Menu
bar
Operation
Tool Pad

Forms
Area

Transcript Global
Window Description Control
Command line Window
1-7 2006 Fluent Inc.
Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Operation Tool Pad

Vertex Boundary Layer Boundary Types Coordinate Systems


Edge Edge Continuum Types Size Functions
Face Face G/Turbo
Volume Volume Geometry Cleanup
Group Groups Plugin Tools

1-8 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

File Menu
New, Open, Save, Save As and Exit
Print Graphics
z Prints graphics to printer or to file
z PostScript, BMP, TIF, etc.
Run Journal / Clean Journal Journal Utilities
z Screen editor/command processor for journal files
z Command processing:
Partial or global select/deselect
Automatic or stepwise journal file processing
z Ability to load the current journal file
z File browser
z Clean Journal removes unnecessary entries, error
commands, undo commands, etc. from the journal file.
View File Opens a generic file viewer
z View of the current output (the transcript file, ident.trn)
z Ability to view other files as well

1-9 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

File Menu
Import
z ACIS, Parasolid
z IGES, STEP, Catia V4, Catia V5 (add-on)
z ICEM Input, Vertex Data
z CAD
Pro/E (STEP or DIRECT (add-on)
Optegra Visualizer
I-DEAS FTL
z Mesh - mesh and faceted geometry files.
Export
z ACIS, Parasolid
z IGES, STEP
z Catia V4
z Mesh
Export the mesh for your solver.
Export 2D mesh option guarantees 2D mesh

1-10 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Edit Menu
Title
z Title will be included on any printed graphics
File Ability to launch an editor within GAMBIT
Parameters Ability to define, modify and list parameters
Defaults
z Modify a large range of environment variables that affect:
User environment
Meshing characteristics
Geometry manipulation
z Ability to load, modify and save a new set of defaults in
$HOME/GAMBIT.ini which is loaded automatically at startup.
Undo/Redo
z Ten levels of undo/redo (default)
z Reducing number of levels also reduces memory requirements.

1-11 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Solver Menu
The Solver selection will have an impact on the following input forms:
z Available meshing algorithms
z Available element types
z Continuum types
z Boundary types
z Export mesh file

Default solver is FLUENT 5/6

1-12 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Graphical User Interface


Transcript Window Description Window
Output from GAMBIT is printed here as well Gives a short description of all
as in ident.trn. The transcript window global function buttons and screen
can be expanded using the arrow button areas
in the top right corner.

Command Line
Input of (non-GUI) commands

reset: deletes all mesh and geometry


reset mesh: deletes mesh, keeps geometry

1-13 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Global Control

Light source
Scale to Fit Pivot anchor Four Split Labeling Undo
control Four View Annotation Redo

Display Modify Label, Wireframe, Color coding by


Orientation Visibility, Render, Shaded, Entity Type or Examine
Journal View Show/Hide mesh, Hidden line Connectivity Mesh
Silhouette

1-14 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Global Control Display Attributes


Specify Display Attributes form
z Modify the following attributes (defaults given)
Render Wireframe
Mesh Volume OFF
Silhouette All ON
Label All OFF
Visibility All ON

z Two ways of picking entities


All All entities are picked (Default)
Pick Individual picking including use of pick lists

1-15 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Global Control
Render Model Color Mode

Wireframe Color by entity

Shaded Color by connectivity

Hidden Undo/Redo

Modify Light/Label type

Change light source orientation


and properties
Examine Mesh
Additional information on the
entity label Display different element types by
quality, plane cuts, etc.
Insert arrows and text for graphic
presentations

1-16 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Forms
List Box (picking)
Active (yellow)
Radio Button Inactive (white)
(mutually exclusive)

Option Button
(activates a menu)

Text Box
(click to activate/edit)

Check Box
(non-mutually exclusive)

Command Buttons

1-17 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Forms
Text box
z Field for input of data, expressions, parameters
z Forms with several text boxes
The order of input is not important
Use the tab key to go to the next text box
Left-Click on any text box to activate.
List box
z The active list box is displayed in yellow
z Left-Click to activate
z Tells you the name of the most recently picked item
The item is also highlighted in red on the screen
All previously picked items are displayed in pink
z Individual pick lists for each list box
z Forms with several list boxes:
Depending on the task, the order of picking may be important
Use Shift + Right-Click to go to the next list box

1-18 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Forms
Pick Lists
z Open the Pick List by clicking on the arrow

z The "Available" list is sorted in the order of picking


z Pick List functionality:
Pick or unpick, Selected or All entities by highlight
in left column and by clicking on the arrows
Highlighted "picked" entities will appear red on the
screen
Vedge.32, edge.33
Non-highlighted picked entities will appear pink
Vedge.26, edge.28
Right-click in lists area provides additional options
Filter can be used to control which objects are
picked.

1-19 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Mouse Operations
Action Left Middle Right
Zoom / Z-axis
Drag x/y Axis Rotation Translate (pan)
Rotation
Accept / Next
Shift + Click Pick Next
Picker
Save view to
Double-Click Previous View
journal file
Click points to
Ctrl + Click Drag zoom Stretch Zoom
grid

You can toggle between picking with or without using the Shift key:
Press and hold the right mouse button and click the left button.
The cursor changes to an eye shape.
Now, Pick/Next/Accept do not require the Shift key.
The Rotate/Translate/Zoom actions require the Shift key.

1-20 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Mouse Operations Selecting Entities


Pick a single entity
z Shift + Left-Click on the entity
To pick a face or volume, Shift + Left-Click on one of the bounding edges
Pick multiple entities
z Multiple single-entity picks OR
z Click and hold, drag diagonally to pick several items at the same time
Upward diagonal drag will pick everything fully enclosed in the box.
Downward diagonal drag will pick anything inside or touching the box.
The most recent pick is highlighted in red
Previously picked items are highlighted in pink
This face
is not picked

Picking One Face Picking Five Faces


1-21 2006 Fluent Inc.
Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Mouse Operations Selecting Entities


Shift + Middle-Click = Modify Pick
z The middle mouse button will behave differently depending on the mouse
location:
Same: Cycle to the next available object within picking tolerance
New: Replace last pick with new pick at new location
Bad: Shift + Middle-Click on nothing is equivalent to deselect last pick

Shift + Right-Click = Apply or go to the next list box

1-22 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

GAMBIT Journal Files


Executable list of GAMBIT commands
z Created automatically by GAMBIT from both the GUI and TUI.
z Can be created and/or edited manually using a text editor.
z Journal files are small easy to transfer, e-mail, etc.

Uses:
z Can be parameterized, comments can be added
z Easy recovery from a power loss or crash
z Edit existing commands to create new ones

1-23 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Running GAMBIT Journal Files


Journal files can be processed in two File Run Journal
ways:
z Batch mode (Run)
All commands processed without
interruption.
"read pause" command will force
interrupt with resume option
appearing.
z Interactive mode (Edit/Run)
Includes text editor for easy
modification
VMark lines in process field
to activate for processing.
VEditable text field.
VRight click text field
for more options.
VAuto or Step through
activated process lines.

1-24 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Appendix

1-25 2006 Fluent Inc.


Fluent User Services Center Introductory GAMBIT Training
www.fluentusers.com GAMBIT 2.3 June 2006

Global Control
Scale-to-fit zoom in/out to fill the screen

Orient Model major axes , isometric and:


z Reverse
z Previous
z Journal view
Select pivot point around which the model rotates, zooms
z Body center
z Mouse position
Model display attributes
z Turn on/off visibility, label, silhouette, mesh and hidden line on all or
selected geometric entities
Preset configuration of the graphics window
z 4-view and 4-split
z Options to return to any single view
1-26 2006 Fluent Inc.

You might also like