某三层框架结构,层高4米,结构平面图所示,其主要承重构件的截面尺寸及材料力学性能参数如下:框架柱:混凝土柱外环梁:混凝土梁楼面梁:工字钢,高H=500mm,宽B=200mm,翼缘t1=16mm,腹板t2=10mm楼面板:100mm混凝土楼面板材料特性:混凝土C30,弹模E=N/m2,(长度单位为mm时,E=3.0e10=3.0e4MPa)泊松比=0.2,密度=2500Kg/m3;型钢钢材,弹模E=2.1e11N/m2=2.1e5MPa,泊松比=0.3,密度=7800Kg/m3;finish/clear/PNUM,KP,1!设置编号显示风格p90,1,显示编号和颜色/PNUM,LINE,1/PNUM,AREA,1/NUMBER,0!设置显示实体编号时,编号与颜色是否一起显示/TITLE,5.4mx5.4mFrameStructureAnalysis!定义项目名/Color,PBAK,BLAC!控制背景颜色,黑色,p100/REPlot!重新显示/Prep7!!!!定义单元类型ET,1,BEAM4!框架柱单元ET,2,BEAM4!外环梁单元ET,3,BEAM4!楼面梁单元ET,4,SHELL63!楼面板单元!!!!定义材料属性MP,EX,1,3.0e+10!C30混凝土弹模MP,PRXY,1,0.20!泊松比MP,DENS,1,2500!密度!MP,EX,2,2.1e+11!型钢弹模MP,PRXY,2,0.30!泊松比MP,DENS,2,7850!密度!!!!定义实常数,R,1,0.25,1/192,1/192,0.25,0.25,,!框架柱单元,为什么tkz取一半的厚度RMORE,,2/192,,,,,!R,2,.15,0.001125,0.001125,.25,.15,,!外环梁单元RMORE,,0.00425,,,,,!R,3,0.01108,0.21372e-04,0.46037e-03,0.25,0.10,,!楼面梁单元RMORE,,0.48174e-03,,,,,!R,4,0.1,0.1,0.1,0.1,,,!楼面板单元!!!!建立关键点K,1,0,0!生成Z1柱脚关键点K,4,16.2,0,0!生成Z4柱脚关键点KFILL,1,4!生成第1排柱脚关键点KGEN,3,1,4,,,5.4,!生成底层柱脚全部关键点KGEN,3,1,12,,,,4.0,100!生成全部关键点!!!!建立框架柱线元*DO,I,1,12,1!生成底层框架柱线元L,I,I+100,2*ENDDOLGEN,3,1,12,,,,4,!生成第2,3层框架柱线元LATT,1,1,1!指定框架柱线元属性LESIZE,ALL,,,2,,1,,,1,!指定框架柱线元网格划分!!!!建立外环梁线元NUMSTR,LINE,101!对自动编号系统指定一个开始编号*DO,I,1,3,1!生成底层外环梁线元L,I+100,I+101,1L,I+108,I+109,1*ENDDOL,101,105,1L,105,109,1L,104,108,1L,108,112,1LGEN,3,101,110,,,,4,!生成第2,3层外环梁线元!LATT,1,2,2!指定外环梁线元属性LESIZE,ALL,,,2,,1,,,1,!指定外环梁线元网格划分LMESH,ALL!划分外环梁单元LSEL,U,,,ALL!清空被选中的所有线元!!!!建立楼面梁线元NUMSTR,LINE,201L,102,106,1!生成底层楼面梁线元L,106,110,1L,103,107,1L,102,106,1L,107,111,1L,105,106,1L,106,107,1L,107,108,1LGEN,3,201,208,,,,4,!生成第2,3层楼面梁线元!LATT,2,3,3!指定楼面梁线元属性LESIZE,ALL,,,2,,1,,,1,!指定楼面梁线元网格划分LMESH,ALL!划分楼面梁单元!!!!建立楼面板面元ALLSEL,ALL!选中所有元素*DO,I,1,3,1!生成底层楼面板面元A,I+100,I+101,I+105,I+104A,I+104,I+105,I+109,I+108*ENDDOAGEN,3,1,6,,,,4,!生成第2,3层楼面板面元!AATT,1,4,4!指定楼面梁线元属性LSLA,S!选取与面元相关的所有线元LESIZE,ALL,,,2,,1,,,1,!指定楼面梁线元网格划分AMESH,ALL!划分楼面梁单元!NUMMRG,NODE,,,,LOW!合并节点NUMCMP,NODE!压缩节点编号/ESHAPE,1EPLOT!!!施加位移约束NSEL,S,LOC,Z,0,0!选取底层所有节点D,ALL,,,,,,ALL,,,,,!约束所有自由度!SFA,ALL,1,PRES,5000!荷载1ALLSEL,ALL/VIEW,1,1,1,1!改变视角从新绘图/ANGLE,1,270,XM,0EPLOTsave/SOLUOUTPR,BASIC,LAST!设置打印输出选项SOLVESFDEL,ALL,PRES!删除以前的载荷\SFA,ALL,1,PRES,10000!荷载2SOLVEFINISH/POST1LCDEF,1,1!将第一个载荷步结果定义为载荷工况1LCDEF,2,2!将第二个载荷步结果定义为载荷工况2LCFACT,1.2!放大系数,比例因子1.2LCFACT,1.4!放大系数,比例因子1.4LCASE,1!读入工况1,DATABASE=1LCOPER,ADD,2!荷载组合,DATABASE=DATABASE+2LCWRITE,3!将组合后的结果定义为载荷工况3SET,1!读取第一个载荷步的结果p294PLNSOL,U,Z!显示Y方向的位移云图SET,2!读取第二个载荷步的结果PLNSOL,U,Z!显示Y方向的位移云图LCASE,3!读取载荷工况3的结果PLNSOL,U,Z!显示Y方向的位移云图/post1PLNSOL,S,EQV,0!图形显示节点解p300,等效应力,仅显示结构变形图,PLNSOL,U,SUM!显示结构位移矢量和ANCNTR,10,0.5!在POST1中生成结构变形等值线的动画p107LCDEF,1,1,1!!!!!!指定第1荷载步第1子步为荷载组1LCDEF,2,2,1!!!!!!指定第2荷载步第1子步为荷载组2LCDEF,3,3,1!!!!!!指定第3荷载步第1子步为荷载组3!荷载组数据操作:LCFACT,1,1.2!!!!!!指定第1荷载组缩放因子为1.2,定义缩放系数LCFACT,2,2.0!!!!!!指定第2荷载组缩放因子为2.0LCFACT,3,0.3!!!!!!指定第3荷载组缩放因子为0.3!组合工况运算:LCASE,1!!!!!!将荷载组1结果读入至当前数据库LCOPER,ADD,2!!!!!!当前数据库结果+荷载组2的数据,荷载工况运算LCOPER,ADD,3!!!!!!当前数据库结果+荷载组3的数据!组合结果=1.2*荷载1+2.0*荷载2+0.3*荷载3排版后命令流finish/clear/Prep7ET,1,BEAM4!框架柱单元ET,2,BEAM4!外环梁单元ET,3,BEAM4!楼面梁单元ET,4,SHELL63!楼面板单元MP,EX,1,3.0e+10!C30混凝土弹模MP,PRXY,1,0.20!泊松比MP,DENS,1,2500!密度MP,EX,2,2.1e+11!型钢弹模MP,PRXY,2,0.30!泊松比MP,DENS,2,7850!密度R,1,.25,1/192,1/192,.25,.25,,!框架柱单元RMORE,,2/192,,,,,R,2,.15,0.001125,0.001125,.25,.15,,!外环梁单元RMORE,,0.00425,,,,,R,3,0.01108,0.21372e-04,0.46037e-03,0.25,0.10,,!楼面梁单元RMORE,,0.48174e-03,,,,,R,4,0.1,0.1,0.1,0.1,,,!楼面板单元K,1,0,0!生成Z1柱脚关键点K,4,16.2,0,0!生成Z4柱脚关键点KFILL,1,4!生成第1排柱脚关键点KGEN,3,1,4,,,5.4,!生成底层柱脚全部关键点KGEN,3,1,12,,,,4.0,100!生成全部关键点*DO,I,1,12,1!生成底层框架柱线元L,I,I+100,2*ENDDOLGEN,3,1,12,,,,4,!生成第2,3层框架柱线元LATT,1,1,1!指定框架柱线元属LESIZE,ALL,,,2,,1,,,1,!指定框架柱线元网格划分NUMSTR,LINE,101*DO,I,1,3,1!生成底层外环梁线元L,I+100,I+101,1L,I+108,I+109,1*ENDDOL,101,105,1L,105,109,1L,104,108,1L,108,112,1LGEN,3,101,110,,,,4!生成第2,3层外环梁线元LATT,1,2,2!指定外环梁线元属性LESIZE,ALL,,,2,,1,,,1,!指定外环梁线元网格划分LMESH,ALL!划分外环梁单元LSEL,U,,,ALL!清空被选中的所有线元NUMSTR,LINE,201L,102,106,1!生成底层楼面梁线元L,106,110,1L,103,107,1L,102,106,1L,107,111,L,105,106,1L,106,107,1L,107,108,1LGEN,3,201,208,,,,4,!生成第2,3层楼面梁线元LATT,2,3,3!指定楼面梁线元属性LESIZE,ALL,,,2,,1,,,1,!指定楼面梁线元网格划分LMESH,ALL!划分楼面梁单元ALLSEL,ALL!选中所有元素*DO,I,1,3,1!生成底层楼面板面元A,I+100,I+101,I+105,I+104A,I+104,I+105,I+109,I+108*ENDDOAGEN,3,1,6,,,,4,!生成第2,3层楼面板面元AATT,1,4,4!指定楼面梁线元属性LSLA,S!选取与面元相关的所有线元LESIZE,ALL,,,2,,1,,,1,!指定楼面梁线元网格划分AMESH,ALL!划分楼面梁单元NUMMRG,NODE,,,,LOW!合并节点NUMCMP,NODE!压缩节点编号/ESHAPE,1EPLOTNSEL,S,LOC,Z,0,0!选取底层所有节点D,ALL,,,,,,ALL,,,,,!约束所有自由度SFA,ALL,1,PRES,5000ALLSEL,ALL/VIEW,1,1,1,1!改变视角从新绘图/ANGLE,1,270,XM,0EPLOTsave/SOLUOUTPR,BASIC,LAST!设置打印输出选项SOLVESFDEL,ALL,PRES!删除以前的载荷SFA,ALL,1,PRES,10000SOLVEFINISH/POST1LCDEF,1,1!将第一个载荷步结果定义为载荷工况1LCDEF,2,2!将第二个载荷步结果定义为载荷工况2LCFACT,1,1.2!放大系数,比例因子1.2LCFACT,2,1.4!放大系数,比例因子1.4LCASE,1!读入工况1,DATABASE=1LCOPER,ADD,2!荷载组合,DATABASE=DATABASE+2LCWRITE,3!将组合后的结果定义为载荷工况3(为什么不存在)SET,1!读取第一个载荷步的结果PLNSOL,U,Z!显示Y方向的位移云图SET,2!读取第二个载荷步的结果PLNSOL,U,Z!显示Y方向的位移云图LCASE,3!读取载荷工况3的结果PLNSOL,U,Z!显示Y方向的位移云图/post1PLNSOL,S,EQV,0,1PLNSOL,U,SUMANCNTR,10,0.5LCDEF,1,1,1!!!!!!指定第1荷载步第1子步为荷载组1LCDEF,2,2,1!!!!!!指定第2荷载步第1子步为荷载组2LCDEF,3,3,1!!!!!!指定第3荷载步第1子步为荷载组3LCFACT