alac 发表于 2006-3-28 21:50

[求助]大家好,斜拉桥的模型怎么建啊?

斜拉桥模型怎么建啊?<BR>桥身、桥墩、柱塔和拉索应该处理成什么单元,拉索和桥身怎么连接的啊?

xj2070 发表于 2006-3-28 22:06

re:斜拉桥的模型怎么建啊

桥身、桥墩、柱塔   可以用梁单元,壳单元;拉索 用link 10<BR> <BR>

alac 发表于 2006-3-28 22:15

<P>请大家指教啊<BR>谢谢!</P>

alac 发表于 2006-3-28 22:17

回复:(xj2070)re:斜拉桥的模型怎么建啊

<DIV class=quote><B>以下是引用<I>xj2070</I>在2006-3-28 22:06:49的发言:</B><BR>桥身、桥墩、柱塔   可以用梁单元,壳单元;拉索 用link 10<BR><BR></DIV>
<br>谢谢你!<BR>那节点是怎么连接的啊,刚节点还是铰接,那么多节点怎么做啊?拉索还要考虑非线性因素呢

VibInfo 发表于 2006-3-28 22:27

回复:(alac)[求助]大家好,斜拉桥的模型怎么建啊?...

<P>一个例子<BR><BR>!******************2003.10.27-13:00********************* <BR>!*************以shell单元模拟横梁-3-恒载**************** <BR>!******************配跨为曲线************************** <BR>/prep7 <BR><BR>!*******************定义节点********************** <BR><BR>!*********************塔************************** <BR>!*******************塔上部************************ <BR>*do,i,54.5,33.5,-0.5 <BR>k,110-i*2,-(82.1495+i)/7.403322,i,0 <BR>*enddo <BR><BR>!*******************塔下部************************ <BR>!*远朝 <BR>!*上 <BR>*do,i,33,0,-0.5 <BR>k,110-i*2,-15.6213*i/33.5,i,7.4839*i/33.5-7.4839 <BR>*enddo <BR>!*下 <BR>*do,i,-0.5,-2.5,-0.5 <BR>k,110-i*2,-2.7978*i/6,i,-i/2-7.4839 <BR>*enddo <BR><BR>!*近朝 <BR>!*上 <BR>*do,i,33,0,-0.5 <BR>k,182-i*2,-15.6213*i/33.5,i,-7.4839*i/33.5+7.4839 <BR>*enddo <BR>!*下 <BR>*do,i,-0.5,-2.5,-0.5 <BR>k,182-i*2,-2.7978*i/6,i,i/2+7.4839 <BR>*enddo <BR><BR>!*********桥面(配跨为曲线)****** <BR><BR>k,192,-2,0,-6 <BR>k,193,0,0,-6 <BR>k,194,2,0,-6 <BR>k,195,9,0,-6 <BR><BR>*do,i,196,205 <BR>k,i,(i-195)*9+9,0,-6 <BR>*enddo <BR>k,206,105,0,-6 <BR><BR>k,207,-2,0,6 <BR>k,208,0,0,6 <BR>k,209,2,0,6 <BR>k,210,9,0,6 <BR><BR>*do,i,211,220 <BR>k,i,(i-210)*9+9,0,6 <BR>*enddo <BR>k,221,105,0,6 <BR><BR>!****************背索锚碇******************* <BR>k,222,-31,0,14 <BR>k,223,-31,0,-14 <BR><BR>!***********************定义单元********************** <BR>!上部塔的截面几何特性 <BR>*dim,BBS,,43 <BR>*dim,HHS,,43 <BR>*dim,SSS,,43 <BR>*dim,IIYYS,,43 <BR>*dim,IIZZS,,43 <BR><BR>*do,i,1,43 <BR>BBS(i)=1.5*(i-1)/42+3 <BR>HHS(i)=(i-1)/21+3 <BR>SSS(i)=BBS(i)*HHS(i) <BR>IIzzS(i)=BBS(i)*HHS(i)**3/12 <BR>IIyyS(i)=HHS(i)*BBS(i)**3/12 <BR>*enddo <BR><BR>!**********平均********** <BR>*dim,BS,,42 <BR>*dim,HS,,42 <BR>*dim,SS,,42 <BR>*dim,IYYS,,42 <BR>*dim,IZZS,,42 <BR>*do,i,1,42 <BR>hS(i)=(hhS(i)+hhS(i+1))/2 <BR>bS(i)=(bbS(i)+bbS(i+1))/2 <BR>SS(i)=(SSS(i)+SSS(i+1))/2 <BR>IYYS(i)=(IIYYS(i)+IIYYS(i+1))/2 <BR>IZZS(i)=(IIZZS(i)+IIZZS(i+1))/2 <BR>*enddo <BR><BR>!下部塔的截面几何特性 <BR>*dim,BBX,,80 <BR>*dim,HHX,,80 <BR>*dim,SSX,,80 <BR>*dim,IIYYX,,80 <BR>*dim,IIZZX,,80 <BR><BR>*do,i,1,80 <BR>BBX(i)=2.5 <BR>HHX(i)=(i-1)*4.7164/79+5 <BR>SSX(i)=BBX(i)*HHX(i) <BR>IIzzX(i)=BBX(i)*HHX(i)**3/12 <BR>IIyyX(i)=HHX(i)*BBX(i)**3/12 <BR>*enddo <BR><BR>!**********平均********** <BR>*dim,BX,,79 <BR>*dim,HX,,79 <BR>*dim,SX,,79 <BR>*dim,IYYX,,79 <BR>*dim,IZZX,,79 <BR>*do,i,1,79 <BR>BX(i)=(BBX(i)+BBX(i+1))/2 <BR>HX(i)=(HHX(i)+HHX(i+1))/2 <BR>SX(i)=(SSX(i)+SSX(i+1))/2 <BR>IYYX(i)=(IIYYX(i)+IIYYX(i+1))/2 <BR>IZZX(i)=(IIZZX(i)+IIZZX(i+1))/2 <BR>*enddo <BR><BR>!******定义单元类型-1-42---塔上部****** <BR>*do,i,1,42 <BR>et,i,beam4 <BR>mp,ex,i,3.4e10 <BR>MP,DENS,i,2.5e3 <BR>mp,prxy,i,0.3 <BR>r,i,SS(i),IZZS(i),IYYS(i),bS(i),hS(i) <BR>*enddo <BR><BR>!******定义单元类型-43-115---塔下部****** <BR>*do,i,43,114 <BR>et,i,beam4 <BR>mp,ex,i,3.4e10 <BR>MP,DENS,i,2.5e3 <BR>mp,prxy,i,0.3 <BR>r,i,SX(i-42),IZZX(i-42),IYYX(i-42),bX(i-42),hX(i-42) <BR>*enddo <BR><BR>!******定义单元类型-115---桥面-1****** <BR>et,115,shell63 <BR>MP,EX,115,3.4e10 <BR>MP,DENS,115,2.5e3 <BR>mp,prxy,115,0.3 <BR>r,115,1,,,,, <BR><BR>!******定义单元类型-116---桥面-2****** <BR>et,116,shell63 <BR>MP,EX,116,3.4e10 <BR>MP,DENS,116,2.5e3 <BR>mp,prxy,116,0.3 <BR>r,116,4,,,,, <BR><BR>!******定义单元类型-117---桥面-3****** <BR>et,117,shell63 <BR>MP,EX,117,3.4e10 <BR>MP,DENS,117,2.5e3 <BR>mp,prxy,117,0.3 <BR>r,117,1,,,,, <BR><BR>!******定义单元类型-118-119---背索****** <BR>*dim,cable_strain_bs,,2 <BR><BR>cable_strain_bs(1)=3.978873577e-3 !2500 <BR>cable_strain_bs(2)=3.978873577e-3 !2500 <BR><BR>et,118,link10 <BR>MP,EX,118,2e11 <BR>MP,DENS,118,7.85e3 <BR>mp,prxy,118,0.3 <BR>R,118,0.031416,cable_strain_bs(1) <BR><BR>et,119,link10 <BR>MP,EX,119,2e11 <BR>MP,DENS,119,7.85e3 <BR>mp,prxy,119,0.3 <BR>R,119,0.031416,cable_strain_bs(2) <BR><BR>!******定义单元类型-120-129---主索****** <BR>*dim,cable_strain_zs,,11 <BR><BR>cable_strain_zs(1)=2.419155135e-3 !380 <BR>cable_strain_zs(2)=2.419155135e-3 !380 <BR>cable_strain_zs(3)=2.2918311805e-3 !360 <BR>cable_strain_zs(4)=2.2918311805e-3 !360 <BR>cable_strain_zs(5)=2.228169203e-3 !350 <BR>cable_strain_zs(6)=2.228169203e-3 !350 <BR>cable_strain_zs(7)=1.909859317e-3 !300 <BR>cable_strain_zs(8)=1.65521141e-3 !260 <BR>cable_strain_zs(9)=1.65521141e-3 !260 <BR>cable_strain_zs(10)=1.40056340e-3 !220 <BR>cable_strain_zs(11)=1.273239545e-3 !200 <BR><BR>*do,i,120,130 <BR>et,i,link10 <BR>MP,EX,i,2e11 <BR>MP,DENS,i,7.85e3 <BR>mp,prxy,i,0.3 <BR>R,i,0.007853982,cable_strain_zs(i-119) <BR>!定义索面积 直径=0.1米,初始应变 <BR>*enddo <BR><BR>!********定义桥面与塔的连接*********** <BR>et,131,beam4 <BR>mp,ex,131,3.4e10 <BR>MP,DENS,131,2.5e3 <BR>mp,prxy,131,0.3 <BR>r,131,16,21.3333,21.3333,4,4 <BR><BR>!*************************定义塔上部-beam4-1************** <BR>*do,i,1,42 <BR>l,i,i+1 <BR>lsel,u,type,,1,131 <BR>latt,i,i,i,,,, <BR>lesize,all,,,1,,1 <BR>lmesh,all,all <BR>alls <BR>*enddo <BR><BR>!*************************塔下部-beam4-2*************** <BR><BR>!*************************近朝************************* <BR>*do,i,43,114 <BR>l,i,i+1 <BR>lsel,u,type,,1,131 <BR>latt,i,i,i,,,, <BR>lesize,all,,,1,,1 <BR>lmesh,all,all <BR>alls <BR>*enddo <BR><BR>!*************************远朝************************* <BR>l,43,116 <BR>lsel,u,type,,1,131 <BR>latt,43,43,43,,,, <BR>lesize,all,,,1,,1 <BR>lmesh,all,all <BR>alls <BR><BR>*do,i,116,186 <BR>l,i,i+1 <BR>lsel,u,type,,1,131 <BR>latt,i-72,i-72,i-72,,,, <BR>lesize,all,,,1,,1 <BR>lmesh,all,all <BR>alls <BR>*enddo <BR><BR>!*******************定义索-link10******************** <BR>!*******************背索***************************** <BR>l,9,222 <BR>lsel,u,type,,1,131 <BR>latt,118,118,118,,,, <BR>lesize,all,,,1,,1 <BR>lmesh,all,all <BR>alls <BR><BR>l,9,223 <BR>lsel,u,type,,1,131 <BR>latt,119,119,119,,,, <BR>lesize,all,,,1,,1 <BR>lmesh,all,all <BR>alls <BR><BR>!*******************主索***************************** <BR>*do,i,1,11 <BR>l,i*4+1,206-i <BR>l,i*4+1,221-i <BR>lsel,u,type,,1,131 <BR>latt,i+119,i+119,i+119,,,, <BR>lesize,all,,,1,,1 <BR>lmesh,all,all <BR>alls <BR>*enddo <BR><BR>!****************定义桥面与塔的连接************* <BR>l,110,193 <BR>l,182,208 <BR>lsel,u,type,,1,131 <BR>latt,131,131,131,,,, <BR>lesize,all,,,1,,1 <BR>lmesh,all,all <BR>alls <BR><BR>!******************定义桥面-area-4******************** <BR><BR>wproat,0,-90,0 <BR>cyl4,-5.6695,-70,76,90,64,118.09989655,0 <BR>wproat,0,90,0 <BR><BR>a,188,192,207,191 <BR><BR>lsel,u,type,,1,131 <BR>aatt,115,115,115,,,, <BR>!lesize,all,2,,,,2 <BR>lesize,213,2,,,,2 <BR>lesize,214,2,,,,2 <BR>lesize,215,2,,,,2 <BR>lesize,216,2,,,,2 <BR>lesize,217,,,,4,2 <BR>lesize,218,2,,,,2 <BR>lesize,219,,,,4,2 <BR>alls <BR>amesh,all <BR><BR>a,192,193,208,207 <BR>a,193,194,209,208 <BR>lsel,u,type,,1,131 <BR>aatt,116,116,116,,,, <BR>lesize,all,2,,,,1 <BR>alls <BR>amesh,all <BR><BR>*do,i,1,12 <BR>a,i+193,i+194,i+209,i+208 <BR>*enddo <BR>lsel,u,type,,1,131 <BR>aatt,117,117,117,,,, <BR>lesize,all,2,,,,1 <BR>alls <BR>amesh,all <BR><BR>!*****************活载**************** <BR>!*****不计冲击力-验算最大竖向挠度***** <BR>!sfa,all,1,PRES,1834 <BR>!f,196,fy,-114286 <BR>!f,197,fy,-114286 <BR>!*************************************** <BR><BR>f,196,fy,-160000 <BR>f,197,fy,-160000 <BR><BR>finish <BR>!***********************加约束************************* <BR>/SOLU <BR>d,115,all <BR>d,187,all <BR>d,188,all <BR>d,189,all <BR>d,235,uy <BR>d,239,uy <BR>d,280,uy <BR>d,292,uy <BR>d,735,uy <BR>d,739,uy <BR><BR>!***********重力加速度********** <BR>acel,,12 <BR>sfa,all,1,PRES,2567 <BR>!acel,,10 <BR>solve <BR>finish <BR><BR>/POST1 !进入后处理模块POST1 <BR>esel,s,type,,118,130 <BR>etable,link-fx,smisc,1 <BR>esel,s,type,,1,114 <BR>etable,MXI,smisc,4 <BR>esel,s,type,,1,114 <BR>etable,MXJ,smisc,10 <BR>esel,s,type,,1,114 <BR>etable,MYI,smisc,5 <BR>esel,s,type,,1,114 <BR>etable,MYJ,smisc,11 <BR>esel,s,type,,1,114 <BR>etable,MZI,smisc,6 <BR>esel,s,type,,1,114 <BR>etable,MZJ,smisc,12 <BR>esel,s,type,,all <BR><BR></P>

alac 发表于 2006-3-28 22:31

谢谢各位!<BR>可是楼上的那些程序是什么?是APDL吗?参数化设计语言?<BR>那我应该把那些程序从哪儿输入呢?看什么才会编这些程序呢<BR>谢谢你!

alac 发表于 2006-3-28 22:37

请高手师傅接着指教哦<BR>我应该怎么用那些程序呢?以前接触的都是简单的机械建模,没接触过那么多单元,也不会使用参数化设计语言啊。 请您接着叫我哦,很感激的!

VibInfo 发表于 2006-3-28 22:41

回复:(alac)[求助]大家好,斜拉桥的模型怎么建啊?...

ansys 有一个命令输入条,在那里输入就行了<BR><BR>要学习apdl先从整理log文件入手吧<BR>命令流是学习ansys的必经之路,可以很好的理解和掌握,在以后的计算中,可以很方便的进行修改数据,改变参数。

alac 发表于 2006-3-28 23:28

log文件在哪啊?<BR>命令流去那个地方看呢,保存路径里面的记事本文件内容和辅导书上的命令流一样的地方,但不全一样而且不完全。怎么看命令流啊?

VibInfo 发表于 2006-3-29 00:01

回复:(alac)[求助]大家好,斜拉桥的模型怎么建啊?...

每运行一次ANSYS生成一段log文件,其命名为Jobname.1og,Jobname是运行ANSYS程序时给定的作业名。log文件在首次运行ANSYS时打开,退出程序时关闭,ANSYS运行中输入的每一个命令都拷贝到log文件,形成ANSYS的完整记录。<BR><BR>l1.要注意时间,因为每次做的东西都会跟在log文件后面,所以要根据时间取舍,不是所有的log文件中的内容就有用的,一开始我建议从新建一个文件开始。 <BR>2.最好每做一步看一下log文件,可以知道自己的操作对应哪些命令 <BR>3.有些关于存盘、显示视角等命令可以删除。 <BR>4.选取实体时往往会产生很多命令,可以简化。 <BR>5.整理命令流时要新建立一个文本文件,以便从log文件中拷贝所需要的。 <BR>6.File菜单中的Read input from可以读入自己所建立的命令流来执行。 <BR>7.可以增加注释语句以增强可读性 <BR>下面以一简单模型为例大致说明一下: <BR>/BATCH <BR>/COM,ANSYS RELEASE 5.7.1 UP20010418 15:42:42 09/12/2003 <BR>/input,menust,tmp ,'',,,,,,,,,,,,,,,,1 <BR>/GRA,POWER <BR>/GST,ON <BR>/PLO,INFO,3 <BR>/COL,PBAK,ON,1,BLUE <BR>这一段基本上没有用,是开始的设置,每个分析都是差不多这样,因此可以删除。 <BR>/PREP7 <BR>进入前处理器。在这一句前面可以加上fini /clear,这样可以把模型原来的内容清空。 <BR>!* <BR>ET,1,PLANE42 <BR>!* <BR>定义单元 <BR><BR>MPTEMP,,,,,,,, <BR>MPTEMP,1,0 <BR>MPDATA,EX,1,,2e11 <BR>MPDATA,PRXY,1,,0.33 <BR>MPTEMP,,,,,,,, <BR>MPTEMP,1,0 <BR>MPDATA,DENS,1,,2700 <BR>定义材料类型 <BR>K,1,0,0,, <BR>K,2,50,0,, <BR>K,3,50,10,, <BR>K,4,10,10,, <BR>K,5,10,50,, <BR>K,6,0,50,, <BR>建立关键点 <BR>FLST,2,6,3 <BR>FITEM,2,1 <BR>FITEM,2,2 <BR>FITEM,2,3 <BR>FITEM,2,4 <BR>FITEM,2,5 <BR>FITEM,2,6 <BR>A,P51X <BR>将几个关键点连接成面 <BR>这里,关键点是通过鼠标选取而得到,因此命令较多,其实这一段可以改为,A,1,2,3,4,5,6,具体如何改写可以参考FLST,FITEM命令的帮助 <BR>ESIZE,1,0, <BR>设置单元大小 <BR>CM,_Y,AREA <BR>ASEL, , , , 1 <BR>CM,_Y1,AREA <BR>CHKMSH,'AREA' <BR>CMSEL,S,_Y <BR>!* <BR>AMESH,_Y1 <BR>EPLOT <BR>这一段的含义是对所选择的面1进行网格划分,可以改写成AMESH,1。 <BR>FINISH <BR>退出前处理器 <BR>/SOLU <BR>进入求解器 <BR>FLST,2,1,4,ORDE,1 <BR>FITEM,2,5 <BR>!* <BR>/GO <BR>DL,P51X, ,ALL, <BR>给选择的线加位移约束。 <BR>可以改写成:DL,5,,ALL <BR>FLST,2,2,4,ORDE,2 <BR>FITEM,2,2 <BR>FITEM,2,-3 <BR>/GO <BR>!* <BR>SFL,P51X,PRES,1000, <BR>给选择的线加压力 <BR>可以改写成SFL,3,PRES,1000 SFL,2,PRES,1000 <BR>SOLVE <BR>求解 <BR>FINISH <BR>退出求解器 <BR>/POST1 <BR>进入后处理器 <BR>SET,FIRST <BR>读出第一个解集 <BR>PLNSOL,U,SUM,0,1 <BR>画出节点位移解。 <BR>因此整理后的命令流文件如下: <BR>fini <BR>/clear <BR>/PREP7 <BR>!定义单元 <BR>ET,1,PLANE42 <BR>!定义材料 <BR>MPTEMP,,,,,,,, <BR>MPTEMP,1,0 <BR>MPDATA,EX,1,,2e11 <BR>MPDATA,PRXY,1,,0.33 <BR>MPTEMP,,,,,,,, <BR>MPTEMP,1,0 <BR>MPDATA,DENS,1,,2700 <BR>!建立模型 <BR>K,1,0,0,, <BR>K,2,50,0,, <BR>K,3,50,10,, <BR>K,4,10,10,, <BR>K,5,10,50,, <BR>K,6,0,50,, <BR>A,1,2,3,4,5,6, <BR>!划分网格 <BR>ESIZE,1,0, <BR>AMESH,1 <BR>FINISH <BR>/SOLU <BR>!添加约束 <BR>DL,5,,ALL <BR>SFL,3,PRES,1000 <BR>SFL,2,PRES,1000 <BR>SOLVE <BR>FINISH <BR>/POST1 <BR>SET,FIRST <BR>PLNSOL,U,SUM,0,1

alac 发表于 2006-3-29 01:00

VibInfo院长好厉害了,太谢谢你了!受益匪浅啊。<BR>生成的1og文件是不是以我刚开始命名的Jobname记事本文件啊,我觉得应该是,没有显示是log文件的啊。为了保存各种图形比如网格划分、位移等值线等,我应该相应的改变工作标题吧?<BR>非常感谢大家的帮助,谢谢!

alac 发表于 2006-3-29 23:44

桥身、拉索分别用beam和link单元,然后后面的选择呢,是2D还是3D?具体应该怎么选择?<BR>拉索节点怎么确定呢,就是如何确定拉索两端位置,节点连接方式是固结吗?<BR>那桥身和柱塔如果是悬浮的怎么处理啊?

alac 发表于 2006-3-31 01:58

<P>院长接着给指点哦,谢谢了!</P>

glise 发表于 2006-3-31 06:10

回复:(alac)桥身、拉索分别用beam和link单元,然后...

<DIV class=quote><B>以下是引用<I>alac</I>在2006-3-29 23:44:07的发言:</B><BR>桥身、拉索分别用beam和link单元,然后后面的选择呢,是2D还是3D?具体应该怎么选择?<BR>拉索节点怎么确定呢,就是如何确定拉索两端位置,节点连接方式是固结吗?<BR>那桥身和柱塔如果是悬浮的怎么处理啊?</DIV>
<br>可以参考5楼给的命令流,过程给的还是挺清晰的,注解也很清楚

alac 发表于 2006-3-31 10:40

可是我不知道APDL是怎么用啊?<BR>从那输入那些命令都不知道,~~~~没用过啊?
页: [1] 2
查看完整版本: [求助]大家好,斜拉桥的模型怎么建啊?