Professional Documents
Culture Documents
Introduction To: Gambit
Introduction To: Gambit
com
Introduction to GAMBIT
1-1
What is GAMBIT?
Geometry And Mesh Building Intelligent Toolkit
Using ACIS solid modeling capabilities Using STEP, Parasolid, IGES, etc. import
Mesh generation for all Fluent solvers (including FIDAP and POLYFLOW)
1-2
Operation
Initial setup
Solver selection, Mesh size, Defaults, etc. Create full geometry Decompose into mesh-able sections Local meshing: Edge, Boundary layers and Size Functions Global meshing: Face and/or Volume
Meshing
Mesh export
1-3
Files (1)
# = the process number It also creates a "lock" file, ident.lok, in the working directory ident.lok prevents any user from starting up another session using the same identifier in the same directory. If the code crashes, this file needs to be manually removed. ident.dbs jou trn = = = the database. All information will be saved in this file. This file is NOT retrievable upon a crash the journal file. This file is directly accessible from the Run journal form the transcript file. Output from GAMBIT
1-4
Files (2)
ident.dbs, ident.jou and ident.trn anytime you issue a "Save" option (equivalent to any standard word processor)
Upon Save, earlier versions of ident.dbs and ident.trn will be overwritten, while new commands are appended to the file ident.jou The directory GAMBIT.# is removed The lock-file ident.lok is deleted
1-5
Startup: DEMO
Before save
After save
1-6
Journal Files
Journal File:
Created automatically by Gambit from GUI and TUI. Can be edited or created externally with text editor.
Journals are small - easy to transfer, e-mail, store Can be parameterized, comments can be added Easy recovery from a crash or power loss edit existing commands to create new ones
Uses:
1-7
All commands processed without interruption. "read pause" command will force interrupt with resume option appearing.
Includes text editor for easy modifications
Mark lines in process field to activate for processing. Editable text field. Right click text field for more options. Auto or Step through activated process lines.
1-8
GUI
Main Menu bar Operation toolpad
Command line
Description window
1-9
Global Control
Fluent Inc. 12/28/2012
1-10
Standard form of database operations Prints graphics to printer or to file PostScript, BMP, TIF, etc. Screen editor/command processor for journal files Command processing:
Print Graphics
Ability to load the current journal File browser Clean Journal removes unnecessary tags, undos, etc.
1-11 Fluent Inc. 12/28/2012
View File
View of the current output,ident.trn, the transcript file Ability to view other files as well
ACIS, Parasolid IGES, STEP, Catia V4 -add on) ICEM Input, Vertex Data CAD - Pro/E (STEP or DIRECT- add on), Optegra Visualizer, I-DEAS FTL Mesh - mesh and faceted geometry files.
Import
Export
ACIS, Parasolid IGES, STEP Mesh - Export your mesh for your Solver.
Edit Title
Title will be included on any printed graphics Ability to launch an editor within GAMBIT Ability to define, modify and list parameters
Edit File
Edit Parameters
parameters: arrays:
Parameters and arrays can also be directly defined in the journal file using an editor (preferred option)
1-13
Edit Defaults
Ability to load, modify and save a new set of defaults in $HOME/GAMBIT.ini which is loaded automatically at startup. Ten levels of undo/redo (default) Reducing number of levels also reduces memory requirements.
Undo/Redo
1-14
Solver Menu
The Solver selection will have an impact on the following input forms:
Available meshing algorithms Available element types Continuum types Boundary types Export mesh file
1-15
Command:
reset: deletes all mesh and geometry in the current model reset mesh: deletes mesh, keeps geometry
Transcript
Output from GAMBIT is printed here as well as in ident.trn Transcript window can be expanded using arrow button in top right corner Gives a short description of all global function buttons and screen areas
Description
1-16
Scale-to-Fit
Pivot anchor for view manipulation Modify (on/off) Label Visibility Rendering Show mesh Silhouette
Light source Undo/Redo Special Labels Annotate Color coding Examine Mesh Entity type Connectivity
1-17
Scale-to-fit resizes the model to fit the screen Orient Model - major axes , isometric and:
Reverse Previous Journal view
Turn on/off visibility, label, silhouette, mesh and hidden line on all or selected geometrical entities
Render Wireframe on ; shaded and hidden off Mesh Volume - off Silhouette All on Label All off Visibility All on
"All" - All entities are picked (Default) "Pick" - Individual picking including the use of pick lists
1-19
Global (4)
, Shaded
, Hidden
Change light source orientation and properties Additional information on the entity label Insert arrows and text for graphic presentations
Color Mode
Color by entity Color by connectivity
Undo/Redo
Examine Mesh
Forms (1)
Form - components
Radio buttons
Option button
Option menu
Click-to-focus non-mutually exclusive options
Text box
Check box
Command buttons
1-21
Forms (2)
Text box
Field for input of data, expressions, parameters The cursor is blinking if active
To activate - left click in the text box (click-to-focus) The order of input is not important Use "tab" to go to the next text box Use left click (click-to-focus) to go to any text box
1-22
Forms (3)
List box
To activate - left click in the list box The item is highlighted in red on the screen All previously picked items are pink
Individual pick lists for each list box Forms with several list boxes:
Depending on the form, the order of picking may be important Use Shift right-click to go to the next list box Use left click (in the list box) to go to any list box
1-23
Forms (4)
Pick Lists
The "Available" list is sorted in the order of picking Pick List functionality:
Pick or Un-pick, Selected or All entities by highlight in left column and by clicking on the arrows Highlighted "picked" entities will appear red on the screen edge.32, edge.33 Non-highlighted "picked" entities will appear pink edge.26, edge.28 Right-click in lists area provides additional options Filter can be used to control which objects are picked.
1-24
Alternative: click and hold, drag diagonally to pick several items at the same time "window picking"
Upward diagonal picking will include everything fully included in the box Lower diagonal picking will include everything partially included in the box
The latest pick is highlighted in red, previously picked items are highlighted in pink
1-26
The middle pick will behave differently depending on the mouse location:
Cycle to the next available object within picking tolerance Replace last pick with new pick at new location A Shift-Middle pick on "nothing"is equivalent to "Un-select last pick"
1-27