Download as pdf or txt
Download as pdf or txt
You are on page 1of 42

第二章

Design Simulation 基础
Design Simulation 基础

章节综述 Training Manual

ANSYS
在这一章中,介绍了用DS进行分析的基础,包括:

ANSYS Workbench

– DS的GUI和操作
– Simulation Wizard的介绍

Workbench -- Simulation
– 基本的分析过程

• 这一部分介绍的功能都能应用于DS的Entra license和上面的
license,除非是用下面左下角的表格明确指出。

Simulation
ANSYS License Availability
DesignSpace Entra x
DesignSpace x
Professional x
July 3, 2006
Structural x Inventory #002022
Mechanical/Multiphysics x WS2-2
Design Simulation 基础
A 运行 Design Simulation Training Manual

ANSYS
就象前面提到的,进入DS 有两种方法:

ANSYS Workbench

– 从ANSYS Workbench中进入 …

Workbench -- Simulation
Simulation
– … 或者直接从CAD系统中进入

July 3, 2006
Inventory #002022
图示的模型是从SolidEdge中导入的装配体 WS2-3
Design Simulation 基础
… Design Simulation 界面 Training Manual

用户界面是由下面几个部分组成:

ANSYS
ANSYS Workbench

Workbench Tabs
Menus
Toolbars

Workbench -- Simulation
Simulation
Tree Outline

Simulation
Details View Graphics Window Wizard

• 后面对每个部分都会做详细介绍。 July 3, 2006


Inventory #002022
WS2-4
Design Simulation 基础
… GUI – Workbench 标签 Training Manual

ANSYS
Workbench 标签允许用户在DS和Workbench项目页面及别的

ANSYS Workbench

模块之间在同一个环境下切换

Workbench -- Simulation
Simulation
July 3, 2006
Inventory #002022
WS2-5
Design Simulation 基础
… GUI – 菜单 Training Manual

ANSYS
菜单给出了DS 中的很多功能,对每一项都进行介绍将显的太冗

ANSYS Workbench

长,下面只介绍常用的几个菜单项:
– “File > Save” 用来保存DS数据库文件:.dsdb

Workbench -- Simulation
– “File > Clean” 用来删除数据库中的网格或结果
– “Edit > Select All” 用来选取窗口中当前的所有实体
– “Units” 用来改变单位
– “Tools > Control Panel” 用来定制或设置选项
– “Help > Help Topics” 用来激活在线文档

Simulation
July 3, 2006
Inventory #002022
WS2-6
Design Simulation 基础
… GUI – 工具条 Training Manual

ANSYS
共有四个系列的工具条,给用户提供了快速进入的功能(这些功

ANSYS Workbench

能在菜单中都能找到)。

Workbench -- Simulation
Standard Toolbar
Graphics Toolbar
Named Selection Toolbar
Context Toolbar

Simulation
– 工具条可以被拖到DS 窗口的任意位置
– “Context” 工具条(后面会介绍)会随着结构树中激活分支的不同
而改变
– 当光标移到工具条上的按钮上时,提示会出现
– 一个“Unit Conversion” 也可以使用(图上未显示)
July 3, 2006
Inventory #002022
WS2-7
Design Simulation 基础
… GUI – 工具条 Training Manual

ANSYS
标准的工具条如下所示:

ANSYS Workbench

Save .dsdb Bring up Simulation Wizard Solve Model

Workbench -- Simulation
• “Graphics” 工具条会经常地用到:

Select adjacent entities Select entities Select mode Graphics Manipulation Fit All Wireframe

Simulation
– 鼠标左键可以是“选取”模式或“图形控制”模式,上面工具条按钮的
图案画出了拾取或“图形控制”时鼠标左键的动作。
– CAD模型的选取可以是单个选取,也可以是框选,这取决于“选取模
式”按钮

July 3, 2006
Inventory #002022
WS2-8
Design Simulation 基础
… GUI – 结构树 Training Manual

结构树 为模型、材料、载荷和分析结果提供

ANSYS

ANSYS Workbench
了一种很好的组织方式
– 结构树 和一些CAD系统中的树很
相似,但除了几何模型的信息,这棵“树”

Workbench -- Simulation
还包含了和分析相关的一些项
– “Model” 分支包含了和分析有关的输入
数据,“Engineer data”分支包含了常用材
料属性和对流数据
– “Model” 分支包括的四个部分是 “Geometry,”

Simulation
“Contact” , “Mesh,”和 “Environment.”
– “Environment” 分支下又有两个分支:
载荷和“solution”分支,其中包含了
后处理的结果
– 别的分支尽管这里没有提到,也是可以使用的

July 3, 2006
Inventory #002022
WS2-9
Design Simulation 基础
… GUI – 结构树 Training Manual

ANSYS
结构树 中每一个分支都有一个按钮和图标,下面是对一些图标的

ANSYS Workbench

解释:
– 说明分支全部被定义

Workbench -- Simulation
– 说明还有没有输入的数据
– 说明需要求解
– 说明还存在问题
– “X” 说明被抑制(不能被求解)
– 说明体或零件被隐藏

Simulation
– 说明当前项待求解
– 说明映射网格划分失败

• 用户应该对这些图标很熟悉,那么他将会很容易地判断模型是否
可以进行正确地求解了

July 3, 2006
Inventory #002022
WS2-10
Design Simulation 基础
… GUI – Details View Training Manual

ANSYS
Details View 提供了输入数据的列表,会根据选取分支的不同自

ANSYS Workbench

动改变
– 白色区域: 显示当前输入的数据

Workbench -- Simulation
• 在白色文本区域内的数据可以通过点击改变
• 有些数据的输入要求用户在屏幕上选取实体
模型,然后点击“Apply”,还有的数据需要通
过键盘或从下拉菜单中选取
– 灰色区域: 显示信息数据

Simulation
• 这个区域的数据不能被编辑,显示的是结果
数据,如最大应力或网格划分产生的节点数
– 黄色区域: 未完成的信息输入
• 黄色区域的数据信息不完整,用户需要输入
完整的数据信息才能求解

July 3, 2006
Inventory #002022
WS2-11
Design Simulation 基础
… GUI – 图形窗口 Training Manual

ANSYS
图形界面显示的是几何形状和结果,它还可以显示工作表,

ANSYS Workbench

HTML报告及打印预览选项

Workbench -- Simulation
Simulation
Geometry Tab Worksheet Tab

Print Preview Tab Report Preview Tab


July 3, 2006
Inventory #002022
WS2-12
Design Simulation 基础
… GUI – Simulation Wizard Training Manual

Simulation Wizard 是一个可选的功能项,它可以提醒用户完成一个求

ANSYS
ANSYS Workbench

解步骤,很有用。
– Simulation Wizard 以清单的形式给出了
求解所需的步骤和状态

Workbench -- Simulation
– 说明此项已完成,
– 显示了需要核实的项
– 表明这一项只有在完成前面各项后
才能进行操作
– 表明和此项有关的一个分支没有完成,

Simulation
在outline tree中类似的图标为

– 说明这一项还未执行
– 说明这一项已经做好了求解的准备,
点击Standard Toolbar中的 即可

• Simulation Wizard 可以通过工具条中的 打开或关闭


July 3, 2006
Inventory #002022
WS2-13
Design Simulation 基础
B. 启动面板 Training Manual

ANSYS
当给DS导入一个CAD模型后,便打开了开始界面,它允许用户

ANSYS Workbench

选择求解的模板:

Workbench -- Simulation
Simulation
– 这个启动面板可以从 “Tools > Control Panel > Startup”菜单关掉
July 3, 2006
Inventory #002022
WS2-14
Design Simulation 基础
… 启动面板 Training Manual

ANSYS
启动面板的好处是相应的结果和Stress Wizard将会出现

ANSYS Workbench

– 模板和Stress Wizard只能用于Design Space License支持的分析
– “Stress Branch” 在下面的例子中被选中,注意,结果和Stress

Workbench -- Simulation
Wizard被自动关掉了。

Simulation
July 3, 2006
Inventory #002022
WS2-15
Design Simulation 基础
… Simulation Wizard Training Manual

ANSYS
点击 “Required Steps” 下的项目,会出现一个插图,说明怎样

ANSYS Workbench

应用这项功能
– 在下面的例题中,选了“verify Material”,出现的插图告诉用户在哪

Workbench -- Simulation
儿可以对此项进行修改

Simulation
July 3, 2006
Inventory #002022
WS2-16
Design Simulation 基础
… Simulation Wizard Training Manual

ANSYS
Simulation Wizard 对于做分析或那些不

ANSYS Workbench

是经常用DS的工程师来说是很有用的
– 减少学习周期,因为插图会告诉用户到

Workbench -- Simulation
GUI中怎样寻找对应的按钮
– 像右边的图所示,除了基本的功能,插图
也提供了一些高级功能

Simulation
July 3, 2006
Inventory #002022
WS2-17
Design Simulation 基础
C. 基本过程 Training Manual

每一个分析都包括四个主要步骤:

ANSYS

ANSYS Workbench
– 初步决定 Preliminary
• 是什么样的分析:静力、模态等等? Decisions
• 什么样的模型: 零件或是组件?

Workbench -- Simulation
• 选什么样的单元: 平面的或是实体的?
– 前处理 Preprocessing
• 导入模型
• 给零件定义材料属性
• 划分网格

Simulation
• 施加载荷和约束
• 要求结果 Solution
– 求解
– 后处理
• 观看结果
• 检验结果的正确性
Postprocessing

July 3, 2006
Inventory #002022
WS2-18
Design Simulation 基础
… 基本过程 Training Manual

ANSYS
用Stress Wizard分析的一个简单的例子在后面给出:

ANSYS Workbench

• DS中的向导帮助用户使用前面曾经提到的基本分析步骤。下面各
项将在后面的片子中介绍:

Workbench -- Simulation
– 导入几何模型
– 定义材料属性
– (划分网格)
• 如果跳过这一步,DS会使用一个默认的网格划分方案
– 施加载荷和约束

Simulation
– 要求结果
– 求解
– 看结果/后处理

July 3, 2006
Inventory #002022
WS2-19
Design Simulation 基础
… Attach Geometry Training Manual

ANSYS
前面提到过,几何模型可以通过两种方式导入

ANSYS Workbench

– 直接CAD系统
• 对(支持的)CAD系统,只使用plug-in模式

Workbench -- Simulation
– 从 Workbench Project 页面
• 对所有支持的格式,用 plug-in 或 reader 模式

Directly launches Design

Simulation
Simulation and attaches
geometry (plug-in mode)
Attaches active CAD model
(plug-in mode)
Browse for CAD file
(reader mode)

July 3, 2006
Method 1 Method 2 Inventory #002022
WS2-20
Design Simulation 基础

定义材料属性 Training Manual

ANSYS
导入模型以后,选中stess branch模块,出现了Stress Wizard

ANSYS Workbench

– 选择“Verify Materials”后,插图会显示出怎样在下拉菜单中改变材
料属性

Workbench -- Simulation
After “Verify Materials” is
selected, all of the parts

Simulation
from the “Geometry”
branch are highlighted,
and the Details view
shows how to change the
material.

July 3, 2006
Inventory #002022
WS2-21
Design Simulation 基础
…定义材料属性 Training Manual

ANSYS
注意 Details View 窗口允许用户从下拉菜单中选取一种材料

ANSYS Workbench

– 默认的材料属性是钢材,也可以改变
– 通过选取 “browse …” 用户可以选择材料属性文件 (XML 格式)

Workbench -- Simulation
Simulation
– 尽管DS支持一些材料属性,但如果还需要补充别的数据,用户需要
自己输入

July 3, 2006
Inventory #002022
WS2-22
Design Simulation 基础
…定义材料属性 Training Manual

ANSYS
对于每个零件可能要指定单独的材料属性

ANSYS Workbench

– 注意零件名是从CAD系统中得到的
• 同一个零件的不同部分是通过号码来区分的

Workbench -- Simulation
– 多个零件可以同时被选中,对数据一块修改
• 用shift和左键可以把所有的零件都选中
• 用ctrl和左键可以对零件进行多选和反选

By using a combination of Shift-

Simulation
Left mouse button and Ctrl-Left
mouse button, eight parts are
highlighted on the Outline Tree
The user can then change all
materials at once in the Details
View by selecting the material
pull-down menu.
Note that DesignSpace Entra is
limited to analysis of single
parts.
ANSYS License Availability
DesignSpace Entra
DesignSpace x July 3, 2006
Professional x
x
Inventory #002022
Structural
Mechanical/Multiphysics x WS2-23
Design Simulation 基础
…定义材料属性 Training Manual

ANSYS
材料属性在Outline Tree下的 “Engineering Data” 分支中列出

ANSYS Workbench

– 数值可以在属性窗口中修改 (Worksheet View)
– Context 工具条允许用户添加材料

Workbench -- Simulation
• 从Context中选择“Material >
New Material”

• Outline Tree中用右键点击材料,
可以导入XML文件,这样是使用
别的分析用过的材料

Simulation
• 添加材料以后,用户可以通过下
拉菜单中的选项定义材料

July 3, 2006
Inventory #002022
WS2-24
Design Simulation 基础
…定义材料属性 Training Manual

ANSYS
默认的材料属性设置在 “Tools menu > Control Panel:

ANSYS Workbench

Engineering Data”中修改
– 默认的材料属性可以将结构钢改成其它的

Workbench -- Simulation
– 下拉菜单中的各项也可以添加
– 新材料可以从不同的位置添加

Simulation
July 3, 2006
Inventory #002022
WS2-25
Design Simulation 基础
… 施加载荷和约束 Training Manual

ANSYS
• 定义材料属性后,选取Stress Wizard中的 “Insert

ANSYS Workbench
Loads” 选项
– 结构或热载荷通过 Context 工具条中的下拉菜单中施加

Workbench -- Simulation
After “Insert Loads” is

Simulation
selected, notice that the
“Environment” branch is
highlighted.
By highlighting the
“Environment” branch, the
Context toolbar and
Details view change.

July 3, 2006
Inventory #002022
WS2-26
Design Simulation 基础
…施加载荷和约束 Training Manual

ANSYS
载荷和约束都施加在几何实体上

ANSYS Workbench

• 有两种施加载荷的方式:
– 首先从图形窗口中选取实体,再从 Context 工具条中选取载荷施加

Workbench -- Simulation
Simulation
– 先从 Context 工具条中选取载荷,然后选中实体在到Detail View中
点击Apply

July 3, 2006
Inventory #002022
WS2-27
Design Simulation 基础
…施加载荷和约束 Training Manual

ANSYS
在几何实体上施加载荷后,用户可以在Detail View中输入另外的

ANSYS Workbench

数据
– 注意,在Outline tree中,施加载荷分支下的状态符号变为“完成”(

Workbench -- Simulation
对号)

Simulation
July 3, 2006
Inventory #002022
WS2-28
Design Simulation 基础
…施加载荷和约束 Training Manual

对一些结构载荷通常需要指定方向:

ANSYS

ANSYS Workbench
– Detail view窗口中的载荷选项已经完成
• 如果选取了“Components” 需要输入X,
Y,Z方向的分量

Workbench -- Simulation
• 如果选择了“Vector” 需要选取实体,并
输入载荷的数值
• 默认信息可以在 “Tools > Control Panel
> Miscellaneous > Load Orientation Type”
中修改

Simulation
– 可以参考World Coordinate 系统
• 在图形窗口中,方向以三坐标轴的形式给出,
• World Coordinate 系统的方向和坐标原点与
CAD系统的相同
• 在这种情况下,用 “Details view ”中的
“Define By: Components”然后输入载荷
在X,Y,Z方向的分量

July 3, 2006
Inventory #002022
WS2-29
Design Simulation 基础
…施加载荷和约束 Training Manual

– 另一方面,也可以参考已有的实体:

ANSYS
ANSYS Workbench
• 在 “Details” view, 选“Define By: Vector” 使用已有的模型定义矢量的
方向
• 三种类型的几何模型可以采用:

Workbench -- Simulation
– 垂直于平面,或沿柱面的轴线方向
– 沿着直边,或垂直于柱面边缘
– 两点定义矢量
• 点击 “Direction” 选择定义矢量的方向和实体,如果
矢量指向了相反的方向,用图形窗口中的箭头来调换,

Simulation
调正好以后,点击“Apply”
• 在载荷的 “Magnitude.”中输入数值

July 3, 2006
Inventory #002022
WS2-30
Design Simulation 基础
… 鼠标控制 Training Manual

ANSYS
熟悉一下图形窗口中的鼠标控制方法,是很有用的:

ANSYS Workbench

– 左键用来选中实体,或对实体进行显示操作

Workbench -- Simulation
• 左键的功能由 Graphics 工具条进行控制,
• 用户可以选一项 (点、线、面、体) 或对视角进行控制 (转动、平动、放大
或缩小)
• 选取模式可以为框选或点选
– 在单选模式下,点中拖拉左键可以多选
– 用ctrl 键加左键可以在单选模式下多选或反选

Simulation
– 在框选模式下,从左到右拖拉,可选中框内实体
– 在框选模式下,从右到左拖拉,可选中框内实体,并同时选中与框搭
接的实体

July 3, 2006
Inventory #002022
WS2-31
Design Simulation 基础
…鼠标控制 Training Manual

ANSYS
– 在选取模式下,中键转换视角

ANSYS Workbench
• 点击中键拖拉鼠标,可以转动模型
• Shift加中键可以平移模型

Workbench -- Simulation
• 中键滚轮可以对模型进行缩放
• (这种情况下,用户不用总在图形窗口和模式转换工具条之间进行
切换)
– 在图形窗口中点击右键一下,会出现常用菜单
• 点右键,同时拖动可以对关注的区域进行放大

Simulation
• 点击右键一次,选择“ fit”可以使图形大小适合窗口显示
Click-drag right mouse
button allows user to
box-zoom in region

Single-click right mouse


button provides context- July 3, 2006
sensitive pop-up menu Inventory #002022
WS2-32
Design Simulation 基础
… 施加载荷和约束 Training Manual

ANSYS
通过鼠标控制,在多个面上施加载荷或约束变的相对容易

ANSYS Workbench

– 在 下面的例子中用户可以用ctrl键和鼠标左键单个选取多个面 (变为
绿色)

Workbench -- Simulation
– 使用鼠标中键很容易得转到模型“背面”并选中确定的面

Simulation
July 3, 2006
Inventory #002022
WS2-33
Design Simulation 基础
… 插入结果 Training Manual

ANSYS
选取应力分支的模板,一些结果已经默认被要求,然而,用户可

ANSYS Workbench

以根据需要要求别的结果
– 选择 “Insert Results” 插图显示出怎样进行添加

Workbench -- Simulation
Note that the “Solution”
branch is now highlighted.

Simulation
Because the “Solution”
branch is selected, the
Context toolbar and Details
view changes.
Results, such as stress,
strain, and deformation can
be requested from the pull-
down icons on the Context
toolbar. New result items
will then appear under the
“Solution” branch.

July 3, 2006
Inventory #002022
WS2-34
Design Simulation 基础
… 求解 Training Manual

ANSYS
定义了材料,施加载荷和约束,添加结果后,模型便做好了求解

ANSYS Workbench

的准备了
– 选择Stress Wizard中的“Solve”后,出现一个插图,告诉用户,那

Workbench -- Simulation
个亮闪电的图标是用来开始求解的

Starting the solution will include

Simulation
automatically meshing the model if it
has not been done so previously.
The solution may take a few minutes
to a few hours, depending on how
large the model is and the hardware
used. A progress bar will be shown to
indicate roughly how long the solution
will take. The solution can also be
stopped via the progress bar.

July 3, 2006
Inventory #002022
WS2-35
Design Simulation 基础
…求解 Training Manual

ANSYS
对于常规ANSYS用户,会注意到求解是用的batch的模式

ANSYS Workbench

– 产生了ANSYS的输入文件,而且输出文件的详细内容也可以在
solution分支下通过选择“worksheet”平台看到

Workbench -- Simulation
In Worksheet view of the
“Solution” branch, use the
F5 key to refresh the
contents of the Output File.

Simulation
The location of the input file
“ds.dat,” output file
“solve.out,” and scratch
files are located in the TEMP
directory by default.
This solver directory can be
changed under “Tools >
Control Panel > Solution >
Solver Working Directory”

July 3, 2006
Inventory #002022
Advanced ANSYS Details WS2-36
Design Simulation 基础
… 看结果 Training Manual

ANSYS
求解完成后,用户可看到结果

ANSYS Workbench

– 结果的种类取决于分析的类型
– 云图、矢量图、动画都可以看到

Workbench -- Simulation
Simulation
To view results, as the
callout shows, the
appropriate branch needs to
be selected.

July 3, 2006
Inventory #002022
WS2-37
Design Simulation 基础
…看报告 Training Manual

ANSYS
为了得到一个HTML报告,用户可以从Standard Toolbar中添加

ANSYS Workbench

图片和注释
– 先选择一个分支,如: “Equivalent Stress”

Workbench -- Simulation
– 然后选择相应的Standard Toolbar按钮

Simulation
July 3, 2006
Inventory #002022
WS2-38
Design Simulation 基础
…看报告 Training Manual

ANSYS
添加图片和注释后,选择 “View Report”

ANSYS Workbench

– 可以输入一些初始的信息,如:作者名
– 选择“Generate Report” 产生HTML报告

Workbench -- Simulation
The HTML Report can be
selected under the
“Solution” branch via
“Report Preview” tab, as
the callout indicates.

Simulation
July 3, 2006
Inventory #002022
WS2-39
Design Simulation 基础
…看报告 Training Manual

ANSYS
HTML 的报告将会在DS中显示

ANSYS Workbench

– 添加的注释和图片将会在报告中出现

Workbench -- Simulation
Simulation
The HTML report generator includes
all input and results associated with
the simulation, providing complete
documentation of the analysis.
This provides time-saving yet
customizable report that can easily be
July 3, 2006
generated by the user. Inventory #002022
WS2-40
Design Simulation 基础
…看报告 Training Manual

ANSYS
为了防止被覆盖,用户需要对报告进行保存

ANSYS Workbench

– 报告可以以HTML的形式通过多个渠道或内部的网络服务器“发表”,
或者导入到Wold或Power point中

Workbench -- Simulation
Simulation
July 3, 2006
Inventory #002022
WS2-41
Design Simulation 基础
D. 作业2 Training Manual

作业2-DS基础练习

ANSYS

ANSYS Workbench
• 目的:
– 用Stress Wizard、set up和solve得到一个模型的应力、变形和安

Workbench -- Simulation
全系数

Simulation
July 3, 2006
Inventory #002022
WS2-42

You might also like