三跨连续梁受力分析
(2009-09-07 22:21:51)
标签:
连续梁ansys有限元内力图杂谈 |
分类: xuedongjie@163.com |
!第1章 大型有限元软件ANSYS简介
!(三跨连续梁受力分析ANSYS命令流程序)
!采用记事本进行编辑,其文件名为CH1Examp1.txt,其命令流程序如下:
!1. 定义基本参数
/TITLE,Mechanical analysis on three spans continuum
beam
/NOPR
/PMETH,OFF,0
KEYW,PR_SET,1
KEYW,PR_STRUC,1
/COM,
/COM,Preferences for GUI filtering have been set to display:
/COM,
!*
/PREP7
ET,1,BEAM3
R,1,0.18,0.0054,0.6, , , ,
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,EX,1,,30e9
MPDATA,PRXY,1,,0.2
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,DENS,1,,2500 !输入密度
!*
SAVE !保存数据库
!2. 建立有限元模型
K,1,0,0,0,
K,2,8,0,0,
K,3,20,0,0,
K,4,28,0,0,
/REP,FAST
/PNUM,KP,1
LSTR,
LSTR,
LSTR,
SAVE
LESIZE,ALL,1, , , ,1, , ,1, !设置单元大小
FLST,2,3,4,ORDE,2
FITEM,2,1
FITEM,2,-3
LMESH,P51X !划分网格
/PNUM,ELEM,1!显示单元内容
/REPLOT
SAVE
!3. 加载与求解
FINISH
/SOL
FLST,2,1,3,ORDE,1
FITEM,2,1
/GO
DK,P51X, ,0, ,0,UX,UY, , , , ,
FLST,2,3,3,ORDE,2
FITEM,2,2
FITEM,2,-4
/GO
DK,P51X, ,0, ,0,UY, , , , ,
,
FLST,2,1,1,ORDE,1
FITEM,2,16
FLST,2,7,1,ORDE,2
FITEM,2,3
FITEM,2,-9
/GO
F,P51X,FY,-20000
FLST,2,2,1,ORDE,2
FITEM,2,1
FITEM,2,-2
/GO
F,P51X,FY,-10000
FLST,2,1,1,ORDE,1
FITEM,2,16
/GO
F,P51X,FY,-100000
/STATUS,SOLU
SOLVE
FINISH
!4. 进入后处理
/POST1
PLDISP,1!绘制变形图
AVPRIN,0, ,
ETABLE, ,SMISC, 6
AVPRIN,0, ,
ETABLE, ,SMISC, 12
AVPRIN,0, ,
ETABLE, ,SMISC,2
AVPRIN,0, ,
ETABLE, ,SMISC, 8
AVPRIN,0, ,
ETABLE, ,SMISC, 1
AVPRIN,0, ,
ETABLE, ,SMISC, 7
PLLS,SMIS6,SMIS12,-1,0
PLLS,SMIS2,SMIS8,1,0
PLLS,SMIS1,SMIS7,1,0
SAVE
Finish
!5. 考虑自重的内力和变形分析
/SOLU
ACEL,0,10,0, !施加重力加速度
/STATUS,SOLU
SOLVE
FINISH
/POST1
PLDISP,1 !绘制变形图
ETABLE,REFL !更新
PLLS,SMIS6,SMIS12,-1,0
PLLS,SMIS2,SMIS8,1,0
SAVE
FINISH
/EXIT,ALL