当前位置:文档之家› 一个螺栓连接模拟例子(包含预紧力)

一个螺栓连接模拟例子(包含预紧力)

螺栓连接模拟(命令流)/PREP7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!参数定义!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!hc=400 ! 柱截面高度bc=200 ! 柱截面宽度tcf=10 ! 柱翼缘厚度tcw=8 ! 柱腹板厚度lc=1100 ! 柱构件伸出长度tep=20 ! 端板厚度bep=bc+20 !端板宽度HEP1= hc+200 !端板高度tst=10 ! 端板外伸部分加劲肋厚度hst=80 !端板外伸部分加劲肋高度bst=bc/2-5 ! 端板外伸部分加劲肋高度lbt=2*tep ! 螺栓杆长度dbt=20 ! 螺栓杆直径或有效直径dbth=31.4 ! 螺栓头和螺母直径lbth=12.5 !螺栓头厚度preten=155000 !螺栓施工预拉力miu=.4 !端板间抗滑移系数hb=400 ! 梁截面高度bb=200 ! 梁截面宽度tbf=8 ! 梁翼缘厚度tbw=6 ! 梁腹板厚度lb1=870 ! 梁构件伸出长度lb2=200 ! 梁构件伸出的水平加载断长度hb1=362 ! 梁最左端高度dh0=dbt+2 !螺栓孔直径randa=0.05 ! 梁的坡度aa=50 !螺栓中心到梁翼缘边缘(非受力方向)的距离aa1=50 ! 螺栓中心到梁翼缘边缘(受力方向的距离ab=120 ! 一二排螺栓间距displa=-50 ! 施加的位移荷载大小!!!!!!!!!!! 建模开始!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 梁模型!!!!!!!!!!block,o,tep, -hep1/2,hep1/2,0,bep/2block,-tep,0,-hep1/2-100+4*tcf,hep1/2,0,bep/2k,20,tep,hb/2k,21,tep,hb/2-tbfk,22,tep+lb1,hb/2-tbf+lb1*randak,23,tep+lb1,hb/2+lb1*randak,24,tep,hb/2,bb/2k,25,tep,hb/2-tbf,bb/2k,26,tep+lb1,hb/2-tbf+lb1*randa,bb/2k,27,tep+lb1,hb/2+ lb1*randa,bb/2v,20,21,22,23,24,25,26,27k,28,tep,hb/2-tbfk,29,tep,-hb/2+tbfk,30,tep+lb1,-hb/2+tbf+lb1*randak,31,tep+lb1,hb/2-tbf+lb1*randak,32,tep,hb/2-tbf,tbw/2k,33,tep,-hb/2+tbf ,tbw/2k,34,tep+lb1,-hb/2+tbf+lb1*randa ,tbw/2k,35,tep+lb1,hb/2-tbf+lb1*randa,tbw/2v,28,29,30,31,32,33,34,35block,tep+lb1,tep+lb1+lb2,hb/2-tbf+lb1*randa,hb/2+lb1*randa,0,bb/2 block,tep+lb1,tep+lb1+lb2, -hb/2+tbf+lb1*randa,hb/2- tbf+lb1*randa,0,tbw/2vgen,2,3,5,2,,-hb+tbf,, ,0!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 颜色区分volumn!!!!!!!/PNUM,KP,0/PNUM,LINE,0/PNUM,AREA,0/PNUM,VOLU,1/PNUM,NODE,0/PNUM,TABN,0/PNUM,SVAL,0/NUMBER,1/PNUM,ELEM,0/REPLOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 柱模型!!!!!!!!!!!!!!!!!端板对接斜坡!!!!!!!!!!!!!!!!!!!! !!!!!! 端板对接斜坡!!!!!!!!!!!!!!!!!!!! k,80,-tep,-hep1/2-100+4*tcfk,81,-tep,-hep1/2-100k,82,-tep+tcf, -hep1/2-100k,83,0,-hep1/2-100+4*tcfk,84,-tep,-hep1/2-100+4*tcf,bep/2 k,85,-tep,-hep1/2-100,bep/2k,86,-tep+tcf, -hep1/2-100,bep/2k,87,0,-hep1/2-100+4*tcf,bep/2v,80,81,82,83,84,85,86,87!!!!!! 柱翼缘!!!!!!!!!!!!!!!!!!!!block,-tep,-tep+tcf,-hep1/2-100,-hb/2-lc,0,bc/2block,-tep-hc+tcf,-tep-hc+2*tcf,-hb/2-lc,hb/ 2-(hc-2*tcf)*randa,0,bc/2 !!!!!! 柱腹板!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!k,89,-tep-hc+2*tcf,-hb/2-lck,90,-tep,-hb/2-lck,92,-tep-hc+2*tcf,hb/2-(hc-2*tcf)*randa-tbfk,91,-tep,hb/2-tbfk,93,-tep-hc+2*tcf,-hb/2-lc,tcw/2k,94,-tep,-hb/2-lc,tcw/2k,96,-tep-hc+2*tcf,hb/2-(hc-2*t cf)*randa-tbf,tcw/2k,95,-tep,hb/2-tbf,tcw/2v,89,90,91,92,93,94,95,96k,98, -tep,hb/2k,97, -tep-hc+2*tcf,hb/2-(hc-2*tcf)*randak,100, -tep,hb/2,bb/2k,99, -tep-hc+2*tcf,hb/2-(hc-2*tcf)*randa,bb/2v,91,92,97,98,95,96,99,100block,-tep-hc+2*tcf,-tep,-hb/2,-hb/2+tst,tcw/2,tcw/2+bst !!!!!! 端板外伸加劲肋!!!!!!!!!!!!!!!!!!!!k,109,tep,hb/2k,110,tep+hst,hb/2+hst*randak,111,tep,hb/2+hstk,112,tep,hb/2,tst/2k,113,tep+hst,hb/2+hst*randa,tst/2k,114,tep,hb/2+hst,tst/2V, 109,110,111,112,113,114k,115,tep,-hb/2k,116,tep+hst,-hb/2+hst*randak,117,tep,-hb/2-hstk,118,tep,-hb/2,tst/2k,119,tep+hst,-hb/2+hst*randa ,tst/2k,120,tep,-hb/2-hst,tst/2V, 115,116,117,118,119,120k,121,-tep,hb/2k,122,-tep-hst,hb/2-hst*randak,123,-tep,hb/2+hstk,124,-tep,hb/2,tst/2k,125,-tep-hst,hb/2-hst*randa ,tst/2k,126,-tep,hb/2+hst ,tst/2v, 121,122,123,124,125,126!!!!!! 梁加劲肋!!!!!!!!!!!!!!!!!!!!wpoff,tep+lb1+lb2/2,-hb/2+tbf+lb1*randa,0block,-tst/2,tst/2,0,hb-2*tbf,tbw/2,tbw/2+bstblock,75-tst/2,tst/2+75,0,hb-2*tbf,tbw/2,tbw/2+bst block,-75-tst/2,-75+tst/2,0,hb-2*tbf,tbw/2,tbw/2+bst wplane,,0,hb/2+100-aa,bep/2-aa1,0,hb/2+aa+10,bep/2-aa1, 0,hb/2-aa+100+10,bep/2-aa1+10!!!!!! 端板打孔!!!!!!!!!!!!!!!!!!!cylind,dh0/2,,-tep-10,tep+10,0,360vsel,S,LOC,Y,hb/2+100-aavgen,2,all, , ,,-ab , , ,0vgen,2,all, , ,,-(hep1-2*aa-ab) , , ,0cm,bolt,volu!!!!布尔运算!!!!!!!vsel,s,loc,x,-tep+5,tepVSEL,U, , ,boltcm,endplate,volucmsel,allVSBV,endplate,bolt,keep!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!! 建螺栓!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!cylind,dbt/2,,-tep,tep,0,360 cylind,dbth/2,,-tep-lbth,-tep,0,360 cylind,dbth/2,,tep,tep+lbth,0,360 wpoff,-ab,0cylind,dbt/2,,-tep,tep,0,360 cylind,dbth/2,,-tep-lbth,-tep,0,360 cylind,dbth/2,,tep,tep+lbth,0,360 wpoff,-(hep1-2*aa-ab),0cylind,dbt/2,,-tep,tep,0,360 cylind,dbth/2,,-tep-lbth,-tep,0,360 cylind,dbth/2,,tep,tep+lbth,0,360 wpoff,abcylind,dbt/2,,-tep,tep,0,360 cylind,dbth/2,,-tep-lbth,-tep,0,360 cylind,dbth/2,,tep,tep+lbth,0,360 allsel,all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!粘贴柱腹板翼缘端板和相应的加劲肋!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!vsel,s,loc,x,-tep-hc,0vsel,u,loc,x,0,tepVGLUE,all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!粘贴梁腹板翼缘端板和相应的加劲肋!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!vsel,s,loc,x,0,lb1+lb2+tepvsel,u,loc,x,-tep,0VGLUE,all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!粘贴螺栓!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!vsel,s,loc,z,bep/2-aa1VGLUE,allcm,bolt,voluALLSEL,ALL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!定义材料和单元属性!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 下面定义材料1,Q345钢材用于梁柱端板!!!!!!!!! !!!!!!!!!!!!!!!!et,1,solid92mp,ex,1,206e3mp,prxy,1,0.3tb,biso,1,1,2tbtemp,0tbdata,,345,0,,,,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 下面定义材料2,用于高强螺栓!!!!!!!!!!!!!!!!!!!!!!!!!mp,ex,2,206e3mp,prxy,2,0.3tb,biso,2,1,2tbtemp,0tbdata,,940,0,,,,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! 给单元附材料号和属性!!!!!!!!! !!!!!!!!!!!!!!!!!!!!高强螺栓附属性!!!!!!!! cmsel,s,boltVATT, 2,,1,0!!!!!!!!!!!!!!!!!!!!梁柱端板附属性!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ALLSEL,ALLcmsel,u,boltVATT, 1,,1,0!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!网格划分!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!mesh 螺栓杆!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!cmsel,s,boltvsel,r,loc,x,0LSEL,s,radius,,dbt/2LESIZE,all, , ,4, , , , ,1LSEL,s,length,,2*tep LESIZE,all, , ,10, , , , ,1 MSHAPE,1,3DMSHKEY,0VMESH,all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!mesh 螺栓头和螺母!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! cmsel,s,boltvsel,u,loc,x,0LSEL,s,radius,,dbth/2 LESIZE,all, , ,4, , , , ,1LSEL,s,radius,,dh0/2 LESIZE,all, , ,8, , , , ,1LSEL,s,length,,lbthLESIZE,all, , ,2, , , , ,1 VMESH,all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!mesh 端板!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 先建endplate 的component!!!!!!!!!!!!!!!!!!! allsel,allvsel,s,loc,x,-tep+tcf/2,tepvsel,u,loc,x,0cm,endplate,voluESIZE,bep/10VMESH,all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!mesh 柱!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!vsel,s,loc,x,-tep-hc,0vsel,r,loc,z,0,tcfvsel,u,loc,y,hb/2,hb/2+hstcm,col_web,volueSIZE,hc/8VMESH,allvsel,s,loc,x,-tep-hc,0cmsel,u,boltcmsel,u,endplatecmsel,u,col_webeSIZE,bc/6VMESH,all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!mesh 梁!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! vsel,s,loc,x,tep,tep+lb1+lb2 cmsel,u,boltlsel,s,loc,x,tep+lb1+lb2 LSEL,r,length,,bb/2 LESIZE,all,bb/6lsel,s,loc,x,tep+lb1+lb2 LSEL,r,length,,hb-2*tbf LESIZE,all,hb/8VMESH,all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!接触建立!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! allsel,allcmsel,s,endplateASLV,Sasel,r,loc,xasel,u,loc,y,-hep/2,-hep/2-10cm,target1,areaallsel,allcmsel,s,endplateASLV,Sasel,r,loc,xasel,r,loc,y,-hep/2,-hep/2-10 cm,contact1,areacmsel,s,target1cmsel,a,contact1MP,MU,1,miuMAT,1R,3REAL,3ET,3,170ET,4,174KEYOPT,4,9,0ASEL,S,,,target1TYPE,3NSLA,S,1ESLN,S,0ESURF,ALLASEL,S,,,contact1TYPE,4NSLA,S,1ESLN,S,0ESURF,ALLALLSEL!!!!对高强螺栓psmesh!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!cmsel,s,boltvsel,r,loc,x,cm,boltshank1,voluPSMESH,1,bolt1, ,v,1, 0,x,PSMESH,2,bolt2, ,V,22, 0,x,PSMESH,3,bolt3, ,V,27, 0,x,PSMESH,4,bolt4, ,V,30, 0,x,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!下面施加荷载和位移条件进行求解!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!下面施加loadstep 1, 边界约束条件、柱轴向压力和螺栓预拉力!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!ALLSEL,ALLFINISH/SOLUANTYPE,0NLGEOM,1auto,onNSUBST,10,0,0OUTRES,alL,1NEQIT,200CNVTOL,F, ,0.01,2, , !gai bian shou lian biao zhunASEL,S,LOC,Z,DA,all,SYMMnsel,s,loc,y,-(hb/2+lc+1)D,all, ALLALLSEL,ALLSLOAD,ALL,9,LOCK,FORC,preten, 1,2 !预紧力载荷FINISH/SOLULSWRITE,1,solvesave!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!下面施加loadstep 2, 粱端荷载!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!ALLSEL,ALLFINISH/SOLUANTYPE,,REST,,,0!*NLGEOM,1NSUBST,20,5000,1OUTRES,alL,1ALLSEL,ALLnum=node(tep+lb1+lb2/2,hb/2+(lb1+lb2/2)*randa,0) D,num, uy,displaLSWRITE,2,ALLSEL,ALLEPLOT SAVE solve save。

相关主题