GHAMBIT学习手记.doc
《GHAMBIT学习手记.doc》由会员分享,可在线阅读,更多相关《GHAMBIT学习手记.doc(21页珍藏版)》请在三一文库上搜索。
1、近来在学GAMBIT,现把学习的笔记发上来。希望对大家有帮助,表表心意,同时也是对这个论坛的支持!今天把USERS GUIDE 一章发上来,以后陆续会把其他的发上来 USERS GUIDE 1introduction一.format1.Graphic format 1)Control elementsallow you to perform operations such as executing actions and operations, choosing from among a given set of options,and inputting alphanumeric data2
2、)toolpad command buttons located on the upper and lower right portions of the GUI 2.Layout format 二.font 2STARTING GAMBIT 一.Startup Command Options1)gambit -doc 启动本地网页浏览器打开用户手册 example:gambit -doc2)gambit -help 显示可用的启动选项 example:gambit -help3) gambit -dev (driver)4) gambit -def (filename)5) gambit -
3、geom 按像素定义启动窗口大小 example:gambit -geom 1000 8006)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 jxw10)gambit -old example: gambit -id gambit_data/3_pipe
4、-old note: gambit_data目录必须在ntx86二.GAMBIT File Organization1)Session Files .jou.trn.dbs 2)Directory Structureworking Directory 存放.jou .trn .dbs文件的临时目录,程序保存退出后删除Source Directory 与gambit启动目录是相同的位置,如d:gambit_v1.3ntbinntx86Scratch Directory 与gambit启动目录是相同的位置,如d:gambit_v1.3ntbinntx86home Directory 3GUI一.G
5、UI Components 二.GUI Control Elements 三.Using the Mouse1)mouse on Menus and forms require only left and right buttonsleft 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 mutual
6、ly 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
7、 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+
8、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-cl
9、ick 可以除去前一次的选择,重新选择临近的对象) ii)Executing actions Shift-right-click =apply 四.Using the Global Control Toolpad 4GAMBIT MENU COMMANDS 一)file1)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 FLU
10、ENT/UNS RAMPANT FLUENT 5 GRD FLUENT 4 msh NEKTON cdb ANSYS neu POLYFLOW Generic GAMBIT MODELING GUIDE 1INTRODUCTION 2CREATING THE GEOMETRY 一.General Operations1)Labeling Entities Item Real Entity Virtual Entity Faceted EntityVertex vertex v_vertex f_vertexEdge edge v_edge f_edgeFace face v_face f_fa
11、ceVolume volume v_volume f_volumeGroup group N/A N/ACoordinate 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
12、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)
13、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 relati
14、ve to the first copy 只有线在拷贝时才有Copy Mesh option iii)对齐是以存在的点为基准的(relative to vertices) 有下面三步骤: translate 相对与整体坐标系不变方向的移动实体 rotate 改变实体的方向,通过旋转使得所选的两个点共线 Plane-align 绕所选的两个点形成的向量旋转,使得共面二.Vertex1)生成点 i)Create Real Vertex(只产生real vertex) 定义点在坐标系统中的位置 在网格中ctrl+right click生成的也为real 点 ii)Create Vertex On E
15、dge (可以产生real or virtual vertex) 生成的real vertex是独立于边的,其可以进行“move等操作 生成的virtual vertex是于边相关的,其不可以进行“move等操作,除非选中”connnected geometry“ iii)Create Vertex On Face (可以产生real or virtual vertex) 产生的点的性质同上 iv)Create Virtual Vertex on Volume virtual vertex是与体相关的。 v) Create Vertices At Edge Intersections(可以产生
16、real or virtual vertex) Vertices created by means of this command are not connected to either of the edges used to define the points of intersection. The types of edges (real or non-real) used to define the points of intersection do not affect the types of vertices 如果指定的两条边相交或者靠近在其中一条边的端点处,那么是否在交点处产
17、生一个点取决与选边的秩序。 2)Slide Virtual Vertex交互式的在virtual vertex宿主边或面上移动这个点移动Virtual Vertex的目的就是改变与这个点想联的更高级拓扑实体的形状 3)Connect/Disconnect Vertices i)Connect Vertices 先选择要连接的点(可以是real and virtual vertex)选择连接的类型 Specifying a Real Connection 删除所有同一个位置的点,只剩下一个,然后把保留下来的点连上与删除点有关的所有更高级拓扑实体中(只能连接real vertex) Specify
18、ing a Virtual (Forced) Connection 可以连接real and virtual vertex 执行操作后,生成一个virtual vertex替换所指定的点,如果指定的点为一条边的端点,那么生成一条virtual edge替换原来的边,同时生成的新边按照生成的点定位。如果边与面或者体相联,那么生成一virtual face or volume替换原来的面或者体 Specifying a Virtual (Tolerance) Connection 与相似,只是只能联结距离在指定范围之内的点 Specifying a Real and Virtual (Tolera
19、nce) Connection ii)Disconnect About Real Vertex GAMBIT does not allow you to disconnect topology around a vertex that constitutes part of an individual face or volume 4) Modify Vertex Color/Label i)Modify Vertex Color ii)Modify Vertex Label 5)Move/Copy/Align Vertices 6)Convert Vertices 把non-real ver
20、tex 转变成 real vertex 7)7 Summarize/Check/Query Vertices and Total EntitiesTopology 代表实体之间的空间关系. Geometry 代表模型的靠近和形状特征 8)Delete Vertices 三.边 1)Create Edge i)Create Straight Edge生成real edge 必须指定real vertex而生成virtual edge可以是任何real 和virtual vertex的组合 host? ii)Create Real Circular Arcmethod one:定义一个中心,再指定
21、两个基本点(始点和末点,这两个点必须到中心点等距)可以指定否生成优弧还是劣弧 method two:指定圆弧上的三个点method three:指定半径,起始角,结束角,中心点(optional。默认是以坐标系原点为圆心),平面 iii)Create Real Full Circle method one:定义一个中心,再指定两个基本点(始点和末点,这两个点必须到中心点等距)method two:指定圆上的三个点 iv)Create Real Elliptical Arc指定 中心点 ,major 点,on edge 点 ,起始和结束角度中心点到major 点的距离为长半轴距离,关于 on e
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- GHAMBIT 学习 手记
链接地址:https://www.31doc.com/p-4293751.html