gambit學習手記(轉貼朋友總結的)

為表示對這個論壇的支持!今天把USER'S GUIDE 一章發上來,以后陸續會把其他的發上來


USER'S GUIDE
{1}introduction
.format
1.Graphic format


1Control elements
allow you to perform operations such as executing actions and operations, choosing from among a given set of options,
and inputting alphanumeric data
2
toolpad command buttons
located on the upper and lower right portions of the GUI


2.Layout format


.font


{2}STARTING GAMBIT
.Startup Command Options
1
gambit -doc 啟動本地網頁瀏覽器打開用戶手冊
>example:gambit -doc
2
gambit -help 顯示可用的啟動選項
>example:gambit -help
3) gambit -dev (driver)
4) gambit -def (filename)
5) gambit -geom
按像素定義啟動窗口大小
>example:gambit -geom 1000 800
6
gambit -id (id) >example:gambit
系統此時會以默認的default_id給文件一個標識

or: gambit -id jxw
7) gambit -in (filename)
8) gambit -res (filename)
9) gambit -new(
默認的啟動方式都是新文件) >example: gambit -id jxw -new=gambit -id jxw
10)gambit -old >example: gambit -id gambit_data/3_pipe -old
note: gambit_data
目錄必須在
ntx86
.GAMBIT File Organization
1)Session Files
.jou
.trn
.dbs


2)Directory Structure
working Directory
存放.jou .trn .dbs文件的臨時目錄,程序保存退出后刪除
Source Directory
gambit啟動目錄是相同的位置,如d:\gambit_v1.3\ntbin\ntx86\
Scratch Directory
gambit啟動目錄是相同的位置,如
d:\gambit_v1.3\ntbin\ntx86\
home Directory


{3}GUI
.GUI Components


.GUI Control Elements


.Using the Mouse
1
mouse on "Menus and forms " require only left and right buttons
left button:


Open the menu associated with an item on the main menu bar
Select a menu command
Execute the operation indicated on a command button
Select an option from a list of mutually exclusive radio buttons
Open the hidden menu for an option button
Select an option from an option-button menu
Open or close a pick-list form
Enable a text box for entering data
Highlight an item in a list
Relocate (drag) a form on the GUI


right button:


Open a menu of options available by means of a multifunction toolpad command button
Open a hidden menu of options


2Graphics Window 在圖形窗口鼠標可以完成三種任務
a)
產生VERTEX
Ctrl-right-click
b)
顯示圖形

Rotate Left-drag
, 繞著在屏幕平面上的某個軸旋轉,那個軸是于鼠標的移動方向垂直的。


Translate Middle-drag


Revolve Right-drag 水平方向拖動,繞垂直屏幕平面的一中心軸旋轉


Zoom and pan-zoom Right-drag 垂直方向拖動


Enlarge ctrl+Left-drag 保持比例(即局部放大,導致整體都放大)
ctrl+middle-drag
不保持比例(只局部放大)


Show previous view Double-middle-click


Journal view Double-right-click
drag left+right drag


c)task 執行任務操作
i)Picking entities
Shift-left-click
執行單純的選擇操作,在同一個位置有幾個實體時,容易選錯對象
Shift-middle-click
執行選擇操作,特別適合在一復雜位置處選擇一個自己需要的實體(通過不斷的Shift-middle-click
可以除去前一次的選擇,重新選擇臨近的對象)



ii)Executing actions
Shift-right-click =apply

.Using the Global Control Toolpad


{4}GAMBIT MENU COMMANDS
一)file
1)Export
i)Mesh Files
export GAMBIT mesh, boundary-type, and continuum-type information in a format appropriate to the currently
selected solver


FDNEUT FIDAP
msh FLUENT/UNS RAMPANT FLUENT 5
GRD FLUENT 4
msh NEKTON
cdb ANSYS
neu POLYFLOW Generic


GAMBIT MODELING GUIDE
{1}INTRODUCTION


{2}CREATING THE GEOMETRY


.General Operations
1
Labeling Entities
Item Real Entity Virtual Entity Faceted Entity

Vertex vertex v_vertex f_vertex

Edge edge v_edge f_edge

Face face v_face f_face

Volume volume v_volume f_volume

Group group N/A N/A

Coordinate System c_sys N/A N/A

默認的命名規則:代表實體類型名稱(如vertex)+.+十進制整數
example:volume.6
如果是virtual faceted實體則在前面加前綴“v_”和“f_

整數的規則:創建的下一個實體的整數至是當前存在的相同類型實體的整數值加1


2Specifying Entities
To select entities that share a common lower-topology entity, pick the lower-topology entity multiple times. For example, to pick three faces that share a common edge, pick the edge three times.


3)坐標系統
i)
定義局部坐標系統
a)
指定參考坐標系統
b)
定義相對于參考系統的三坐標軸的參數


4Moving, Copying and Aligning Entities


i)Moving (是以指定的實體為parent
a)Translate
以實體現在的位置為基準,通過定義移動的距離數值來移動


b)Rotate 以某個定義的軸旋轉實體


c)Reflect 以某個定義的對稱平面對稱實體


d)Scale 以特定的比例因子放大縮小試題


ii)Copying (是以前面產生的為parent
If you create two copies of a rectangular brick and specify that the copies are to be translated in the x, y, and z directions, GAMBIT translates the first copy relative to the parent brick and translates the second copy relative to the first copy
只有""在拷貝時才有Copy Mesh option

iii) 對齊是以存在的點為基準的( relative to vertices
有下面三步驟:
translate 相對與整體坐標系不變方向的移動實體
rotate 改變實體的方向,通過旋轉使得所選的兩個點共線
Plane-align 繞所選的兩個點形成的向量旋轉,使得共面

登錄后免費查看全文
立即登錄
App下載
技術鄰APP
工程師必備
  • 項目客服
  • 培訓客服
  • 平臺客服

TOP

8