(仅供参考)Ansys-综合实例(含40例)(个人认为很经典)
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
以上程序有意没算到 2 为了使用几个命令
1
ຫໍສະໝຸດ Baidu
Ansys 综合实例
第 2 例 工作平面的应用实例—相交圆柱体
[本例提示]通过相交圆柱体的创建,本例主要介 绍了工作平面的使用方法。通过本例,读者可以了解 并掌握工作平面与所创建体的位置、方向的关系,学 习工作平面的设置、偏移、旋转和激活为当前坐标系 的方法。
3
Ansys 综合实例
VDRAG,1,,,,,,1,2,3,4,5 /PNUM,KP,0 /PNUM,LINE,0 /PNUM,AREA,1 /PNUM,VOLU,1 CYLIND,0.0079,,0,0.04,0,360 VSEL,U,,,6 CM,VVV2,VOLU ALLS VSBV,6,VVV2 /REPLOT K,93,0.0065,0,0 K,94,0.0095,0,0.003 K,95,0,0,0 K,96,0,0,0.03 LSTR,93,94 AROTAT,6,,,,,,95,96,360 ASEL,S,,,1,4,1 VSBA,7,ALL ASEL,ALL VDELE,1,,,1 RPRISM,0.04,0.05,6,,0.0131 CONE,0.03477,0.00549,0.03,0.055,0,360 VINV,1,3 /REPLOT VPLOT FINISH
FINISH /CLEAR,NOSTART /PREP7 CYLIND,0.015,0,0,0.08,0,360 CYLIND,0.03,0,0,0.08,0,360 /VIEW,1,1,1,1 /PNUM,VOLU,1 WPOFF,0,0.05,0.03 WPROT,0,60 CYLIND,0.012,0,0,0.055,0,360 CYLIND,0.006,0,0,0.055,0,360 VSEL,S,,,2,3,1 CM,VV1,VOLU VSEL,INVE CM,VV2,VOLU VSEL,ALL VSBV,VV1,VV2 BLOCK,-0.002,0.002,-0.013,-0.009,0,0.008 WPSTYLE,,,,,,1 CSYS,4 VGEN,3,1,,,,120 VSBV,5,1 VSBV,4,2 VSBV,1,3 WPROT,0,0,90 VSBW,ALL VDELE,1,4,3 VADD,ALL VPLOT/REPLOT
FINISH /CLEAR, NOSTART /PREP7 PI=3.14159 J=0 *DO,I,0,PI,PI/10.0
J=J+1 X=I Y=SIN(I) I=I+1 K,J,X,Y *ENDDO BSPLIN,1,2,3,4,5,6 BSPLIN,6,7,8,9,10,11 csys,4 KWPAVE,11 LSYMM,y,1,2,,,,0 KWPAVE,11 LSYMM,x,3,4,,,,1
Ansys 综合实例
第一章 前处理
第 1 例 关键点和线的创建实例—正弦 曲线
FINISH /CLEAR, NOSTART /PREP7 K,100,0,0,0 CIRCLE,100,1,,,90 CSYS,1 KFILL,2,1,4,3,1 K,7,1+3.1415926/2,0,0 CSYS,0 KFILL,7,1,4,8,1 KGEN,2,7,11,1,,1 LSTR,8,13 LSTR,9,14 LSTR,10,15 LSTR,11,16 LANG,5,6,90,,0 LANG,4,5,90,,0 LANG,3,4,90,,0 LANG,2,3,90,,0 BSPLIN,1,17,18,19,20,12 LSEL,U,,,14 LDELE,ALL LSEL,ALL KWPAVE,12 CSYS,4 LSYMM,X,14 NUMMRG,KP,,,,LOWLCOMB,ALL,,0
2
Ansys 综合实例
第 3 例 复杂形状实体的创建实例—螺栓
[本例提示]在使用 ANSYS 软件进行结构分 析时,建立实体模型是最复杂最难以掌握的一个 过程。因此,有必要熟练掌握实体模型的创建。 本例使用 ANSYS 软件提供的各种建模工具,对复 杂形状实体的创建进行了练习。
/PREP7 CSYS,1 K,1,0.008,0,-0.002 K,2,0.008,90,-0.0015 K,3,0.008,180,-0.001 K,4,0.008,270,-0.0005 K,5,0.008,0,0 /VIEW,1,1,1,1 L,1,2 L,2,3 L,3,4 L,4,5 LGEN,7,ALL,,,,,0.002 NUMMRG,KP,,,,LOW LCOMB,ALL K,80,0.008+0.0015/4,90,0.012+0.002/4 K,81,0.008+2*0.0015/4,180,0.012+2*0.002/4 K,82,0.008+3*0.0015/4,270,0.012+3*0.002/4 K,83,0.008+4*0.0015/4,0,0.012+4*0.002/4 L,35,80 L,80,81 L,81,82 L,82,83 CSYS,0 K,90,0.008,0,-0.00025 K,91,0.006918,0,-0.002 K,92,0.006918,0,0 /PNUM,KP,1 /PNUM,LINE,1 GPLOT LSTR,1,90 LSTR,91,92 LANG,7,90,60,,0 LANG,7,1,120,,0 AL,6,9,10,11
4
Ansys 综合实例
第 4 例 复杂形状实体的创建实例—杯子
[本例提示]为了进一步掌握实体模型的创建方法和技巧,本例使用 ANSYS 软件提供的
各种建模工具,对复杂形状实体的创建继续进行练习。
/PREP7 K,1,0,0,0 K,2,0.0395,0,0 K,3,0.05,0.12,0 K,4,0.047,0.12,0 K,5,0.03675,0.003,0 K,6,0,0.003,0 LSTR,1,2 LSTR,2,3 LSTR,3,4 LSTR,4,5 LSTR,5,6 LSTR,6,1 LFILLT,1,2,0.02 LFILLT,4,5,0.017 AL,ALL VROTAT,ALL,,,,,,1,6,360 K,31,0,0.103,0 K,32,0.078,0.103,0 K,33,0.078,0.046,0 K,34,0,0.0011,0 LSTR,31,32 LSTR,32,33 LSTR,33,34 LFILLT,54,55,0.013 LFILLT,55,56,0.028 K,41,0,0.103+0.002,0.005 K,42,0,0.103+0.002,-0.005 K,43,0,0.103-0.002,-0.005 K,44,0,0.103-0.002,0.005 LSTR,41,42 LSTR,42,43 LSTR,43,44 LSTR,44,41 LFILLT,59,60,0.001 LFILLT,60,61,0.001 LFILLT,61,62,0.001 LFILLT,62,59,0.001 AL,59,63,60,64,61,65,62,66 VDRAG,33,,,,,,54,57,55,58,56 VSEL,S,,,5,9,4 ASEL,S,,,4,28,24 VSBA,ALL,ALL ALLSEL,ALL VDELE,10,,,1 VDELE,13,,,1 /PNUM,VOLU,1 /NUMBER,1
1
ຫໍສະໝຸດ Baidu
Ansys 综合实例
第 2 例 工作平面的应用实例—相交圆柱体
[本例提示]通过相交圆柱体的创建,本例主要介 绍了工作平面的使用方法。通过本例,读者可以了解 并掌握工作平面与所创建体的位置、方向的关系,学 习工作平面的设置、偏移、旋转和激活为当前坐标系 的方法。
3
Ansys 综合实例
VDRAG,1,,,,,,1,2,3,4,5 /PNUM,KP,0 /PNUM,LINE,0 /PNUM,AREA,1 /PNUM,VOLU,1 CYLIND,0.0079,,0,0.04,0,360 VSEL,U,,,6 CM,VVV2,VOLU ALLS VSBV,6,VVV2 /REPLOT K,93,0.0065,0,0 K,94,0.0095,0,0.003 K,95,0,0,0 K,96,0,0,0.03 LSTR,93,94 AROTAT,6,,,,,,95,96,360 ASEL,S,,,1,4,1 VSBA,7,ALL ASEL,ALL VDELE,1,,,1 RPRISM,0.04,0.05,6,,0.0131 CONE,0.03477,0.00549,0.03,0.055,0,360 VINV,1,3 /REPLOT VPLOT FINISH
FINISH /CLEAR,NOSTART /PREP7 CYLIND,0.015,0,0,0.08,0,360 CYLIND,0.03,0,0,0.08,0,360 /VIEW,1,1,1,1 /PNUM,VOLU,1 WPOFF,0,0.05,0.03 WPROT,0,60 CYLIND,0.012,0,0,0.055,0,360 CYLIND,0.006,0,0,0.055,0,360 VSEL,S,,,2,3,1 CM,VV1,VOLU VSEL,INVE CM,VV2,VOLU VSEL,ALL VSBV,VV1,VV2 BLOCK,-0.002,0.002,-0.013,-0.009,0,0.008 WPSTYLE,,,,,,1 CSYS,4 VGEN,3,1,,,,120 VSBV,5,1 VSBV,4,2 VSBV,1,3 WPROT,0,0,90 VSBW,ALL VDELE,1,4,3 VADD,ALL VPLOT/REPLOT
FINISH /CLEAR, NOSTART /PREP7 PI=3.14159 J=0 *DO,I,0,PI,PI/10.0
J=J+1 X=I Y=SIN(I) I=I+1 K,J,X,Y *ENDDO BSPLIN,1,2,3,4,5,6 BSPLIN,6,7,8,9,10,11 csys,4 KWPAVE,11 LSYMM,y,1,2,,,,0 KWPAVE,11 LSYMM,x,3,4,,,,1
Ansys 综合实例
第一章 前处理
第 1 例 关键点和线的创建实例—正弦 曲线
FINISH /CLEAR, NOSTART /PREP7 K,100,0,0,0 CIRCLE,100,1,,,90 CSYS,1 KFILL,2,1,4,3,1 K,7,1+3.1415926/2,0,0 CSYS,0 KFILL,7,1,4,8,1 KGEN,2,7,11,1,,1 LSTR,8,13 LSTR,9,14 LSTR,10,15 LSTR,11,16 LANG,5,6,90,,0 LANG,4,5,90,,0 LANG,3,4,90,,0 LANG,2,3,90,,0 BSPLIN,1,17,18,19,20,12 LSEL,U,,,14 LDELE,ALL LSEL,ALL KWPAVE,12 CSYS,4 LSYMM,X,14 NUMMRG,KP,,,,LOWLCOMB,ALL,,0
2
Ansys 综合实例
第 3 例 复杂形状实体的创建实例—螺栓
[本例提示]在使用 ANSYS 软件进行结构分 析时,建立实体模型是最复杂最难以掌握的一个 过程。因此,有必要熟练掌握实体模型的创建。 本例使用 ANSYS 软件提供的各种建模工具,对复 杂形状实体的创建进行了练习。
/PREP7 CSYS,1 K,1,0.008,0,-0.002 K,2,0.008,90,-0.0015 K,3,0.008,180,-0.001 K,4,0.008,270,-0.0005 K,5,0.008,0,0 /VIEW,1,1,1,1 L,1,2 L,2,3 L,3,4 L,4,5 LGEN,7,ALL,,,,,0.002 NUMMRG,KP,,,,LOW LCOMB,ALL K,80,0.008+0.0015/4,90,0.012+0.002/4 K,81,0.008+2*0.0015/4,180,0.012+2*0.002/4 K,82,0.008+3*0.0015/4,270,0.012+3*0.002/4 K,83,0.008+4*0.0015/4,0,0.012+4*0.002/4 L,35,80 L,80,81 L,81,82 L,82,83 CSYS,0 K,90,0.008,0,-0.00025 K,91,0.006918,0,-0.002 K,92,0.006918,0,0 /PNUM,KP,1 /PNUM,LINE,1 GPLOT LSTR,1,90 LSTR,91,92 LANG,7,90,60,,0 LANG,7,1,120,,0 AL,6,9,10,11
4
Ansys 综合实例
第 4 例 复杂形状实体的创建实例—杯子
[本例提示]为了进一步掌握实体模型的创建方法和技巧,本例使用 ANSYS 软件提供的
各种建模工具,对复杂形状实体的创建继续进行练习。
/PREP7 K,1,0,0,0 K,2,0.0395,0,0 K,3,0.05,0.12,0 K,4,0.047,0.12,0 K,5,0.03675,0.003,0 K,6,0,0.003,0 LSTR,1,2 LSTR,2,3 LSTR,3,4 LSTR,4,5 LSTR,5,6 LSTR,6,1 LFILLT,1,2,0.02 LFILLT,4,5,0.017 AL,ALL VROTAT,ALL,,,,,,1,6,360 K,31,0,0.103,0 K,32,0.078,0.103,0 K,33,0.078,0.046,0 K,34,0,0.0011,0 LSTR,31,32 LSTR,32,33 LSTR,33,34 LFILLT,54,55,0.013 LFILLT,55,56,0.028 K,41,0,0.103+0.002,0.005 K,42,0,0.103+0.002,-0.005 K,43,0,0.103-0.002,-0.005 K,44,0,0.103-0.002,0.005 LSTR,41,42 LSTR,42,43 LSTR,43,44 LSTR,44,41 LFILLT,59,60,0.001 LFILLT,60,61,0.001 LFILLT,61,62,0.001 LFILLT,62,59,0.001 AL,59,63,60,64,61,65,62,66 VDRAG,33,,,,,,54,57,55,58,56 VSEL,S,,,5,9,4 ASEL,S,,,4,28,24 VSBA,ALL,ALL ALLSEL,ALL VDELE,10,,,1 VDELE,13,,,1 /PNUM,VOLU,1 /NUMBER,1