ANSYS-结构稳态(静力)分析之经典实例-命令流格式
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
ANSYS 结构稳态(静力)分析之经典实例-命令流格式.txt两人之间的感情就像织毛衣,建立
的时候一针一线,小心而漫长,拆除的时候只要轻轻一拉。。。。/FILNAME,Allen-wrench,1 ! Jobname to use for all subsequent files
/TITLE,Static analysis of an Allen wrench
/UNITS,SI ! Reminder that the SI system of units is used
/SHOW ! Specify graphics driver for interactive run; for batch
! run plots are written to pm02.grph
! Define parameters for future use
EXX=2.07E11 ! Young's modulus (2.07E11 Pa = 30E6 psi)
W_HEX=.01 ! Width of hex across flats (.01m=.39in)
*AFUN,DEG ! Units for angular parametric functions定义弧度单位
W_FLAT=W_HEX*TAN(30) ! Width of flat
L_SHANK=.075 ! Length of shank (short end) (.075m=3.0in)
L_HANDLE=.2 ! Length of handle (long end) (.2m=7.9 in)
BENDRAD=.01 ! Bend radius of Allen wrench (.01m=.39 in)
L_ELEM=.0075 ! Element length (.0075 m = .30 in)
NO_D_HEX=2 ! Number of divisions on hex flat
TOL=25E-6 ! Tolerance for selecting nodes (25e-6 m = .001 in)
/PREP7
ET,1,SOLID45 ! 3维实体结构单元;Eight-node brick element
ET,2,PLANE42 ! 2维平面结构;Four-node quadrilateral (for area mesh)
MP,EX,1,EXX ! Young's modulus for material 1;杨氏模量
MP,PRXY,1,0.3 ! Poisson's ratio for material 1;泊松比
RPOLY,6,W_FLAT ! Hexagonal area创建规则的多边形
K,7 ! Keypoint at (0,0,0)
K,8,,,-L_SHANK ! Keypoint at shank-handle intersection
K,9,,L_HANDLE,-L_SHANK ! Keypoint at end of handle
L,4,1 ! Line through middle of hex shape
L,7,8 ! Line along middle of shank
L,8,9 ! Line along handle
LFILLT,8,9,BENDRAD ! Line along bend radius between shank and handle! 产生
一个倒角圆,并生成三个点
/VIEW,,1,1,1 ! Isometric view in window 1
/ANGLE,,90,XM ! Rotates model 90 degrees about X! 不用累积的旋转
/TRIAD,ltop
/PNUM,LINE,1 ! Line numbers turned on
LPLOT
! Line numbers off
!
/PNUM,KP,1
KPLOT
L,1,4 ! Hex section is cut into two quadrilaterals
ASBL,1,7,,,KEEP ! to satisfy mapped meshing requirements for bricks! 减线从面中CM,BOTAREA,AREA ! Component name BOTAREA for the two areas
! Generate area mesh for later drag
/PNUM,KP,0
LPLOT
LESIZE,1,,,NO_D_HEX ! Number of divisions along line 1 为线指定网格尺寸LESIZE,2,,,NO_D_HEX
LESIZE,6,,,NO_D_HEX
TYPE,2 ! PLANE42 elements to be meshed first
MSHAPE,0,2D ! Mapped quad mesh 指定单元要划分的形状和维数
MSHKEY,1 ! 指定了映射网格划分
SAVE ! Save database before meshing
AMESH,ALL
/TITLE,Meshed hex wrench end to be used in vdrag
EPLOT
! Now drag the 2-D mesh to produce 3-D elements
TYPE,1 ! Type pointer set to SOLID45
ESIZE,L_ELEM ! Element size
VDRAG,2,3,,,,,8,10,9 ! Drag operation to create 3-D mesh面掠生成体
/TYPE,,HIDP ! Precise hidden line display 显示要求是精确
/TITLE,Meshed hex wrench
EPLOT
CMSEL,,BOTAREA ! Select BOTAREA component and! 选择一个子集
ACLEAR,ALL ! delete the 2-D elements! 清楚选择单元的几点和单元ASEL,ALL
FINISH ! Apply loads and obtain the solution
/SOLU
ANTYPE,STATIC ! Static analysis (default)
/TITLE,Allen wrench -- Load step 1
! First fix all nodes around bottom of shank
CMSEL,,BOTAREA ! Bottom areas of shank 选择以前建立的一个单元面积的组合