gambit学习手记(转贴朋友总结的)
为表示对这个论坛的支持!今天把USER'S GUIDE 一章发上来,以后陆续会把其他的发上来
USER'S GUIDE
{1}introduction
一.format
1.Graphic format
1)Control 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
2)Graphics 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
2)Specifying 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)定义相对于参考系统的三坐标轴的参数
4)Moving, 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
有下面三步骤:
① translate 相对与整体坐标系不变方向的移动实体
② rotate 改变实体的方向,通过旋转使得所选的两个点共线
③ Plane-align 绕所选的两个点形成的向量旋转,使得共面
查看更多评论 >