马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
此例子是选自《ansys高级工程有限元分析范例精选》,感觉很好,贴出来<BR>!以下是防火间受热分析<BR>/prep7<BR>/title,part 1:heat transfer analysis<BR>et,1,solid70<BR>w_col=0.2039 !定义建模参数<BR>h_col=0.2062<BR>tf_col=0.0125<BR>tw_col=0.0083<BR>b_col=(w_col-tw_col)/2<BR>d_col=h_col-2*tf_col<BR>w_beam=0.165<BR>h_beam=0.3038<BR>tf_beam=0.0102<BR>tw_beam=0.0061<BR>b_beam=(w_beam-tw_beam)/2<BR>d_beam=h_beam-2*tf_beam<BR>dis_hor=5.5<BR>dis_ver=3.0<BR>pp=(w_col-w_beam)/2<BR>mptemp,,20,800,900,1000<BR>mpdata,kxx,1,,53.334,27.36,27.36,27.36<BR>mptemp<BR>mptemp,,20,100,180,260,380<BR>mpdata,c,1,,439.8,487.62,522.33,550.75,596.52<BR>mptemp,,500,600,640,720,735<BR>mpdata,c,1,,666.5,759.92,798.67,1388,5000<BR>mptemp,,750,830,900,1000<BR>mpdata,c,1,,1483,725,650,650<BR>mp,dens,1,7850<BR>n,1,-h_col/2,,-w_col/2<BR>n,2,-h_col/2,,-w_col/2+pp<BR>ngen,4,1,2,,,,,(b_col-pp)/3<BR>n,6,-h_col/2,,tw_col/2<BR>ngen,4,1,6,,,,,(b_col-pp)/3<BR>n,10,-h_col/2,,w_col/2<BR>ngen,2,10,1,10,1,tf_col<BR>ngen,10,6,15,16,1,d_col/10<BR>ngen,2,60,11,20,1,d_col<BR>ngen,2,10,71,80,1,tf_col<BR>ngen,2,100,all,,,,(dis_ver-h_beam/2)/60<BR>e,1,2,12,11,101,102,112,111<BR>egen,9,1,1<BR>e,15,16,22,21,115,116,122,121<BR>egen,10,6,10<BR>e,71,72,82,81,171,172,182,181<BR>egen,9,1,20<BR>egen,60,100,1,28,1,,,,,,0,(dis_ver-h_beam/2)/60<BR>nsel,s,node,,6001,6090,1<BR>ngen,2,100,all,,,,tf_beam<BR>egen,2,100,1653,1680,1<BR>nsel,all<BR>nsel,s,node,,6101,6190<BR>ngen,11,100,all,,,,d_beam/10<BR>egen,11,100,1681,1708,1<BR>nsel,all<BR>nsel,s,node,,7101,7190<BR>ngen,2,100,all,,,,tf_beam<BR>egen,2,100,1961,1988,1<BR>nsel,all<BR>nsel,s,node,,7201,7290<BR>ngen,7,100,all,,,,h_beam/6<BR>egen,7,100,1989,2016,1<BR>nsel,all<BR>ngen,2,10000,all,,,dis_hor<BR>egen,2,10000,1,2184,1<BR>n,20001,h_col/2,dis_ver-h_beam/2,-w_beam/2<BR>ngen,4,1,20001,,,,,b_beam/3<BR>n,20005,h_col/2,dis_ver-h_beam/2,tw_beam/2<BR>ngen,4,1,20005,,,,,b_beam/3<BR>ngen,2,10,20001,20008,1,,tf_beam<BR>ngen,10,6,20014,20015,1,,d_beam/10<BR>ngen,2,60,20011,20018,1,,d_beam<BR>ngen,2,10,20071,20078,1,,tf_beam<BR>ngen,2,100,20001,20090,,(dis_hor-h_col)/100<BR>e,20001,20002,20012,20011,20101,20102,20112,20111<BR>egen,7,1,4369<BR>e,20014,20015,20021,20020,20114,20115,20121,20120<BR>egen,10,6,4376<BR>e,20071,20072,20082,20081,20171,20172,20182,20181<BR>egen,7,1,4386<BR>egen,100,100,4369,4392,1,,,,,,(dis_hor-h_col)/100<BR>cpintf,all,0.002<BR>finish<BR>/solu<BR>antype,trans<BR>tunif,20<BR>nsel,s,node,,71,6071,100<BR>*do,i,80,90,1<BR>nsel,a,node,,i,6000+i,100<BR>*enddo<BR>cm,htbound1,node<BR>nsel,all<BR>nsel,s,node,,10020,16020,100<BR>*do,i,10001,10011,1<BR>nsel,a,node,,i,6000+i,100<BR>*enddo<BR>cm,htbound2,node<BR>nsel,all<BR>nsel,s,node,,20011,30011,100<BR>nsel,a,node,,20018,30018,100<BR>*do,i,20001,20008,1<BR>nsel,a,node,,i,10000+i,100<BR>*enddo<BR>cm,htbound3,node<BR>nsel,all<BR>nsel,s,node,,20011,30011,100<BR>nsel,a,node,,20012,30012,100<BR>nsel,a,node,,20013,30013,100<BR>nsel,a,node,,20071,30071,100<BR>nsel,a,node,,30072,30072,100<BR>nsel,a,node,,20073,30073,100<BR>*do,i,20014,20074,6<BR>nsel,a,node,,i,10000+i,100<BR>*enddo<BR>cm,htbound4,node<BR>nsel,all<BR>nsel,s,node,,20016,30016,100<BR>nsel,a,node,,20017,30017,100<BR>nsel,a,node,,20018,30018,100<BR>nsel,a,node,,20076,30076,100<BR>nsel,a,node,,20077,30077,100<BR>nsel,a,node,,20078,30078,100<BR>*do,i,20015,20075,6<BR>nsel,a,node,,i,10000+i,100<BR>*enddo<BR>cm,htbound5,node<BR>nsel,all<BR>*do,tm,60,180,60<BR>time,tm<BR>deltim,20<BR>autots,on<BR>temp=20+345*log10(8*tm/60+1)<BR>sf,htbound1,conv,25,temp !施加对流作用<BR>sf,htbound2,conv,25,temp<BR>sf,htbound3,conv,25,temp<BR>sf,htbound4,conv,25,temp<BR>sf,htbound5,conv,25,temp<BR>sf,htbound1,rdsf,0.9,1 !定义辐射场<BR>sf,htbound2,rdsf,0.9,2<BR>sf,htbound3,rdsf,0.9,3<BR>sf,htbound4,rdsf,0.9,4<BR>sf,htbound5,rdsf,0.9,5<BR>stef,5.6696e-8<BR>toffst,273<BR>spctemp,1,temp<BR>spctemp,2,temp<BR>spctemp,3,temp<BR>spctemp,4,temp<BR>spctemp,5,temp<BR>solve<BR>*enddo<BR>finish<BR>/post1<BR>plnsol,temp,,0<BR><BR>!以下是受力分析,热分析结果作为载荷读入<BR>/prep7<BR>/title,part2:structrural analysis<BR>et,1,solid45<BR>et,2,beam188<BR>fy=275e+6<BR>exx=2.1e+11<BR>mptemp<BR>mptemp,,20,100,200,300,400<BR>mpdata,ex,1,,exx,exx,0.9*exx,0.8*exx,0.7*exx<BR>mptemp,,500,600,700,800,900<BR>mpdata,ex,1,,0.6*exx,0.31*exx,0.13*exx,0.09*exx,0.0675*exx<BR>mp,nuxy,1,0.3<BR>mp,alpx,1,1.4e-5<BR>tb,miso,1,10,3<BR>tbtemp,20<BR>tbpt,,fy/exx,fy<BR>tbpt,,0.02,fy<BR>tbpt,,0.15,fy<BR>tbtemp,100<BR>tbpt,,fy/exx,fy<BR>tbpt,,0.02,fy<BR>tbpt,,0.15,fy<BR>tbtemp,200<BR>tbpt,,0.807*fy/(0.9*exx),0.807*fy<BR>tbpt,,0.02,fy<BR>tbpt,,0.15,fy<BR>tbtemp,300<BR>tbpt,,0.613*fy/(0.8*exx),0.613*fy<BR>tbpt,,0.02,fy<BR>tbpt,,0.15,fy<BR>tbtemp,400<BR>tbpt,,0.420*fy/(0.7*exx),0.420*fy<BR>tbpt,,0.02,fy<BR>tbpt,,0.15,fy<BR>tbtemp,500<BR>tbpt,,0.360*fy/(0.6*exx),0.360*fy<BR>tbpt,,0.02,0.780*fy<BR>tbpt,,0.15,0.780*fy<BR>tbtemp,600<BR>tbpt,,0.180*fy/(0.310*exx),0.180*fy<BR>tbpt,,0.02,0.470*fy<BR>tbpt,,0.15,0.470*fy<BR>tbtemp,700<BR>tbpt,,0.075*fy/(0.130*exx),0.075*fy<BR>tbpt,,0.02,0.230*fy<BR>tbpt,,0.15,0.230*fy<BR>tbtemp,800<BR>tbpt,,0.05*fy/(0.09*exx),0.05*fy<BR>tbpt,,0.02,0.110*fy<BR>tbpt,,0.15,0.110*fy<BR>tbtemp,900<BR>tbpt,,0.0375*fy/(0.0675*exx),0.0375*fy<BR>tbpt,,0.02,0.060*fy<BR>tbpt,,0.15,0.060*fy<BR>sectype,1,beam,i,column<BR>secdata,w_col,w_col,h_col,tf_col,tf_col,tw_col<BR>sectype,2,beam,i,beam<BR>secdata,w_beam,w_beam,h_beam,tf_beam,tf_beam,tw_beam<BR>k,1,,dis_ver+h_beam*1.5<BR>k,2,,2*dis_ver<BR>k,3,,3*dis_ver<BR>k,4,dis_hor,dis_ver+h_beam*1.5<BR>k,5,dis_hor,dis_ver*2<BR>k,6,dis_hor,dis_ver*3<BR>k,7,dis_hor+h_col/2,dis_ver<BR>k,8,2*dis_hor<BR>k,9,2*dis_hor,dis_ver<BR>k,10,2*dis_hor,2*dis_ver<BR>k,11,2*dis_hor,3*dis_ver<BR>k,12,3*dis_hor<BR>k,13,3*dis_hor,dis_ver<BR>k,14,3*dis_hor,2*dis_ver<BR>k,15,3*dis_hor,3*dis_ver<BR>k,100,-3,3<BR>k,200,5,20<BR>l,1,2<BR>l,2,3<BR>l,4,5<BR>l,5,6<BR>l,8,9<BR>l,9,10<BR>l,10,11<BR>l,12,13<BR>l,13,14<BR>l,14,15<BR>l,2,5<BR>l,3,6<BR>l,7,9<BR>l,5,10<BR>l,6,11<BR>l,9,13<BR>l,10,14<BR>l,11,15<BR>lsel,s,line,,1,10,1<BR>latt,1,,2,,100,,1<BR>lsel,all<BR>lsel,s,line,,11,18,1<BR>latt,1,,2,,200,,2<BR>lsel,all<BR>lesize,all,0.3<BR>lmesh,all<BR>cpintf,all,0.002<BR>n1=node(0,dis_ver+h_beam*1.5,0)<BR>num=0<BR>*do,k,7801,7820,1<BR>num=num+1<BR>dx=nx(k)<BR>ce,num,0,k,uy,1,n1,uy,-1,n1,rotz,-dx<BR>*enddo<BR>*do,k,7871,7890,1<BR>num=num+1<BR>dx=nx(k)<BR>ce,num,0,k,uy,1,n1,uy,-1,n1,rotz,-dx<BR>*enddo<BR>*do,k,7821,7869,6<BR>num=num+1<BR>dx=nx(k)<BR>ce,num,0,k,uy,1,n1,uy,-1,n1,rotz,-dx<BR>num=num+1<BR>dx=nx(k+1)<BR>ce,num,0,k+1,uy,1,n1,uy,-1,n1,rotz,-dx<BR>*enddo<BR>nsel,s,node,,n1<BR>nsel,a,node,,7821,7869,6<BR>nsel,a,node,,7822,7870,6<BR>cp,next,ux,all<BR>nsel,all<BR>n4=node(dis_hor,dis_ver+h_beam*1.5,0)<BR>*do,k,17801,17820,1<BR>num=num+1<BR>dx=nx(k)-dis_hor<BR>ce,num,0,k,uy,1,n4,uy,-1,n4,rotz,-dx<BR>*enddo<BR>*do,k,17871,17890,1<BR>num=num+1<BR>dx=nx(k)-dis_hor<BR>ce,num,0,k,uy,1,n4,uy,-1,n4,rotz,-dx<BR>*enddo<BR>*do,k,17821,17869,6<BR>num=num+1<BR>dx=nx(k)-dis_hor<BR>ce,num,0,k,uy,1,n4,uy,-1,nr,rotz,-dx<BR>num=num+1<BR>dx=nx(k+1)-dis_hor<BR>ce,num,0,k+1,uy,1,n4,uy,-1,nr,rotz,-dx<BR>*enddo<BR>nsel,s,node,,n4<BR>nsel,a,node,,17821,17869,6<BR>nsel,a,node,,17822,17870,6<BR>cp,next,ux,all<BR>nsel,all<BR><BR>n7=node(dis_hor+h_col/2,dis_ver,0)<BR>*do,i,16000,16100,100<BR>*do,j,81,90,1<BR>num=num+1<BR>dy=ny(i+j)-dis_ver<BR>ce,num,0,i+j,ux,1,n7,ux,-1,n7,rotz,dy<BR>*enddo<BR>*enddo<BR><BR>*do,i,17100,17200,100<BR>*do,j,81,90,1<BR>num=num+1<BR>dy=ny(i+j)-dis_ver<BR>ce,num,0,i+j,ux,1,n7,ux,-1,n7,rotz,dy<BR>*enddo<BR>*enddo<BR><BR>nsel,s,node,,n7<BR>nsel,a,node,,16285,17085,100<BR>nsel,a,node,,16285,17086,100<BR>cp,next,uy,all<BR>nsel,all<BR>fini<BR><BR>/solu<BR>antype,0<BR>tref,20<BR>nsel,s,loc,y,0<BR>d,all,all<BR>nsel,all<BR><BR>dk,13,ux<BR>dk,14,ux<BR>dk,15,ux<BR>ksel,u,kp,,100,200,100<BR>dk,all,uz<BR>dk,all,rotx<BR>dk,all,roty<BR>ksel,all<BR><BR>fk,3,fy,-75500<BR>fk,6,fy,-151000<BR>fk,11,fy,-151000<BR>fk,15,fy,-75500<BR><BR>lsel,s,line,,11,18,1<BR>sfl,all,pres,-25400<BR>lsel,all<BR><BR>nsel,s,node,,20084,30084,100<BR>nsel,a,node,,20085,30085,100<BR>sf,all,pres,25400/tw_beam<BR>nsel,all<BR><BR>time,1<BR>deltim,0.2,1e-3,0.5<BR>solve<BR><BR>*do,tm,60,180,60<BR>time,tm<BR>ldread,temp,,,tm,,,rth<BR>deltim,20,1,20<BR>solve<BR>*enddo<BR>finish<BR><BR>/post1<BR>plnsol,u,y |