第1章-ANSYS Wokkbench2013
第1章-ANSYS Wokkbench2013
第1章-ANSYS Wokkbench2013
Chapter 1
ANSYS Workbench
Reference:
2013/2/25 Training File of ANSYS Inc. 1-1
ANSYS Workbench
數值力學模擬
2013/2/25 1-2
What is Workbench
Next Generation engineering simulation
environment from ANSYS
A platform that combines the strength of core solvers with
product management tools for better project and data
management
Integration framework
○ Integrates existing ANSYS technologies/applications
○ Allows for rapid integration of 3rd party applications
Application framework
○ Develop new, state of the art user interface, applications, UI tool
kits
Common tools and services
○ Native data management
○ Parameter management and design points, units, expressions
and journaling, scripting and batch execution
數值力學模擬
2013/2/25 1-3
The Workbench Environment
For most situations the Workbench GUI is divided
into 2 primary sections (there are other optional
sections we’ll see in a moment):
數值力學模擬
2013/2/25 1-4
The Workbench Applications
數值力學模擬
2013/2/25 1-5
The Toolbox
The toolbox contains 4 subgroups:
數值力學模擬
2013/2/25 1-6
The Toolbox
- Predefined Templates
- Individual applications to build or use Analysis Systems (AS)
- Predefined/user-defined AS for coupled applications
- Parametric management and optimization tools
數值力學模擬
2013/2/25 1-7
The Toolbox
The systems and
components displayed in
the toolbox will depend on
the installed products.
數值力學模擬
2013/2/25 1-8
The Project Schematic
Workbench project schematic 是一個定義系統或系
統群族的圖形介面表現。
工作流程是由左至右。
Workbench 本 身 就 有 幾 個 應 用 程 式 , 如 Project
Schematic, Engineering Data and Design
Exploration
其他的應用程式要在獨立的視窗開啟,如Mechanical
(formerly Simulation), Mechanical APDL (formerly
ANSYS), ANSYS Fluent, ANSYS CFX, Etc . . .
Cells的區塊可以利用滑鼠右鍵(RMB)刪除
數值力學模擬
2013/2/25 1-9
Engineering Data
數值力學模擬
2013/2/25 1-10
The Project Schematic
舉 一 個 Fluid Flow
(FLUENT) analysis 的
例子,在Workbench有
兩種方式可以進行分析
從 toolbox 拖 曳
(dragged)一個流場
分析案到schematic上,
即可開始分析
分析從上而下進行
數值力學模擬
2013/2/25 1-11
Meshing as a Component System
第二種方式是Component
Systems拖曳出一個Mesh,
進行網格建置
也可以在Component
Systems直接案滑鼠右鍵
(RMB)兩下產生Mesh.
數值力學模擬
2013/2/25 1-12
The Project Schematic
在Component Systems裡拖曳出一個CFX並接在A3 Cell裡,
進行網格建置
也可以在A3 Cell上按RMB選擇CFX進行連接
Linkage
RMB
數值力學模擬
2013/2/25 1-13
Workbench File 管理 (1/4)
Workbench creates a project file and a series of subdirectories to
manage all associated files.
Users should allow Workbench to manage the content of these
directories. Please do NOT manually modify the content or
structure of the project directories.
When a project is saved a project file is created (.wbpj), using the
user specified file name (e.g. MyFile.wbpj).
A project directory will be created using the project name. In the
above example the directory would be MyFile_files.
A number of subdirectories will be created in the project directory
(explained next).
數值力學模擬
2013/2/25 1-14
Workbench File 管理 (2/4)
Directory Structure:
dpn: this is the design point directory. This
essentially is the state of all parameters for a
particular analysis. In the case of a single
analysis there will be only one “dp0” directory.
global: contains subdirectories for each
application in the analysis. In the example at
right the “Mech” directory will contain the
database, and other associated files from the
Mechanical application.
SYS: the “SYS” directory will contain
subdirectories for each system type in the project
(e.g. Mechanical, Fluent, CFX, etc.). Each
system subdirectory contains solver specific files.
For example the MECH subdirectory would
contain the results file, the ds.dat file, solve.out
file and so on.
user_files: contains input files, user macro files
etc. that may be associated with a project.
數值力學模擬
2013/2/25 1-15
Workbench File 管理(3/4)
From the Workbench “View” menu activate the
“Files” option to display a window containing file
details and locations.
數值力學模擬
2013/2/25 1-16
Workbench File 管理(4/4)
數值力學模擬
2013/2/25 1-17
Importing Models
Models developed before Release 12.0 of Workbench can
be imported using the Import icon. They will be converted to
a WB 12.0 version
(V 11.0)
數值力學模擬
2013/2/25 1-18
Exporting Project Components
Project components can be exported from within the particular
application. This is similar to saving from within an 11.0 Workbench
App:
數值力學模擬
2013/2/25 1-19
Workshop 1-1
模擬練習
Reference:
Training File of ANSYS Inc. 2-20
定義問題
模擬水流經一個簡單的彎管
Wall
Symmetry
plane
Outlet
Wall
Inlet
數值力學模擬
啟動 ANSYS Workbench
數值力學模擬
開啟CFX分析專案
拖曳一個分析按到圖形視窗
數值力學模擬
2-23
啟動 DesignModeler
點 兩 下Geometry 圖示 ,
開啟 DesignModeler 界面,
並設定 Units 為 Inch.
( 若 忘 記 設 定 單 位 , 於
DesignModeler 界 面 點 選
Tools>Options, 點選Unit, 並
且設定 Length Unit 為Inch,選
擇OK, 接著選擇 File>New)
數值力學模擬
選擇 XY Viewer
以滑鼠左鍵點選 XYPlane 作為工作平面,並且點選 +Z 為視角方向
數值力學模擬
修改內定值設定
點選 Tools>Options 開啟 Options 視窗,於新開啟的視窗點擊 Grid
Defaults(Inches) 並且更改 Minimum Axes Length 為 10,接著點擊 OK.
數值力學模擬
顯示方格平面
以滑鼠左鍵點選
Sketching tab接著點
選 Settings, 於
Settings下點選 Grid,
點選 Show in 2D 與
Snap, 點擊 Minor-
Steps per Major 且設
定該值為 1
數值力學模擬
產生水平管截面
利用滑鼠左鍵點擊 Draw並且選擇 Polyline ,沿著+Y axis移動滑鼠
游標 , 當游標到達第一個方格位置時自動拘束條件 C 將被顯示 ,
點擊滑鼠左鍵,沿著 +X direction 移動直到游標到達第八個格線,
此時顯示 H , 再次點擊左鍵。
數值力學模擬
產生水平管截面
沿著 +Y 方向移動游標, 當移至第四個格線時 V 會顯示, 並且點
擊左鍵繼續下一個點
數值力學模擬
產生水平管截面
沿著 -X 方向移動游標至 Y axis, 此時將會顯示 H 及 C ,且點擊左
鍵
數值力學模擬
產生水平管截面
點擊右鍵出現功能選單,點選 Open End
數值力學模擬
產生垂直管截面
數值力學模擬
產生內部弧線
點擊 關掉座標系統 ,
點選 Draw選擇 Arc by
Tangent,並且移動游
標至 [-1 0 0] 的點 當 P
出現時點擊左鍵,移動
游標至 [0 1 0] 的點,
當 P 及 T 同時顯示時點
擊左鍵 定義內部弧線
數值力學模擬
產生外部弧線
使用同樣方法建立外部弧線
數值力學模擬
產生三維幾何
點擊 Modeling 且點
擊 Extrude,於
Details View 中的
Extrude1,設定
Base Object 為
Sketch1, 設定
Operation 為 Add
Material,設定
Direction 為 Normal,
設定掃出長度 FD1
為 1.0 in,點擊
Generate 產生固體
數值力學模擬
檢視三維幾何
滑鼠中鍵選轉幾何
數值力學模擬
開啟Mesh
• 點擊 Mesh
• 並設定單位
數值力學模擬
調整網格大小及產生網格
選擇Mesh,並在下方Details視窗設定Relevance為80
在Mesh上按滑鼠右鍵,產生Mesh
數值力學模擬
2-38
定義 2D 區域
• 選取選擇面的選項
•在要設定邊界條件的面上按滑鼠右
鍵,選擇Create Named Selection
•輸入 INLET,按OK
數值力學模擬
定義 2D 區域 SYMMET2
SYMMET1
• 同樣地步驟定義下列 2D Regions:
– OUTLET on the high X-face
– SYMMET1 on the high Z-face
– SYMMET2 on the low Z-face
OUTLET
數值力學模擬
開啟CFX
•回到Project Schematic畫面中,並點擊兩下Setup,啟動CFX-Pre
CFX-Pre
數值力學模擬