声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 7301|回复: 32

[综合讨论] 上传两个ansys实例(框架Frame和斜拉桥)

  [复制链接]
发表于 2009-5-20 15:20 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
帮助别人就是帮助自己!
        现在上传一些个人积累的很喜欢的资料,希望可以帮助到渴望帮助的兄弟姐妹!!!

[ 本帖最后由 xuruikl 于 2009-9-20 20:24 编辑 ]

Ansys(斜拉桥).txt

3.26 KB, 下载次数: 479

ANSYS程序Frame.txt

7.72 KB, 下载次数: 370

评分

2

查看全部评分

回复
分享到:

使用道具 举报

发表于 2009-5-21 15:59 | 显示全部楼层

回复 楼主 clearreal 的帖子

我是初学者,正在研究加载的问题,感觉实例最直接,十分感谢详细的注释!
发表于 2009-5-25 15:56 | 显示全部楼层
谢谢!一直在找斜拉桥的实例,终于等到了
发表于 2009-6-2 12:23 | 显示全部楼层
有没有普通 混凝土梁桥的算例, 单跨不复杂的就行,学习一下,
最好是包括桥面板的,谢谢


发表于 2010-7-6 11:50 | 显示全部楼层
书上的例题 不错  值得学习。
发表于 2010-10-9 12:21 | 显示全部楼层
楼主的精神值得学习
发表于 2010-10-10 23:28 | 显示全部楼层
例子应该不错吧
发表于 2010-10-10 23:41 | 显示全部楼层
下载下来怎么打开后什么都不是啊
发表于 2010-10-11 10:45 | 显示全部楼层
bingo_1124 发表于 2010-10-10 23:41
下载下来怎么打开后什么都不是啊

呵呵,txt文件打不开,不是在搞笑吧
发表于 2010-10-14 15:44 | 显示全部楼层
初学者,顶一下!
发表于 2010-11-23 21:28 | 显示全部楼层
haobuhaone ?一看便知!嘻嘻!谢谢
发表于 2010-11-24 07:03 | 显示全部楼层
vibration2008 发表于 2009-6-2 12:23
有没有普通 混凝土梁桥的算例, 单跨不复杂的就行,学习一下,
最好是包括桥面板的,谢谢

这个光混凝土的
  1. !---------支座处量高
  2. H=2
  3. !---------跨中梁高
  4. h_m=1.3
  5. !---------翼板厚
  6. d1=0.2
  7. !---------顶板厚
  8. d3=0.2
  9. !---------底板厚
  10. d2=0.3
  11. !---------顶板内部倒角
  12. t1=0.1
  13. k1=0.2
  14. !---------顶板外部倒角
  15. t2=0.2
  16. k2=0.6
  17. !---------内箱宽
  18. w=0.8
  19. !---------支座处内箱高
  20. u=1.5
  21. !---------腹板宽
  22. bw=0.4
  23. !---------桥面宽
  24. B=3.8
  25. !---------第一层线性温度变化厚度
  26. ht1=0.1
  27. !---------中跨跨径
  28. l1=50
  29. !---------边跨跨径
  30. l2=25
  31. !---------支座不变高距离
  32. l3=2
  33. !



  34. !----------进入前处理
  35. /prep7
  36. !----------定义单元
  37. et,1,solid45
  38. !----------定义材料泊松比
  39. mp,prxy,1,0.2
  40. !----------定义密度
  41. mp,dens,1,2402
  42. !----------定义杨氏模量
  43. mp,ex,1,3.25e10
  44. !----------定义线膨胀系数
  45. mp,alpx,1,0.99e-5
  46. !!----------建立模型
  47. !----------建立关键点
  48. k,1,0,0,-(l1+2*l2)/2
  49. k,2,w/2,0,-(l1+2*l2)/2
  50. k,3,w/2+bw,0,-(l1+2*l2)/2
  51. k,4,w/2+bw,H-d1-t2,-(l1+2*l2)/2
  52. k,5,w/2+bw+k2,H-d1,-(l1+2*l2)/2
  53. k,6,B/2,H-d1,-(l1+2*l2)/2
  54. k,7,B/2,H,-(l1+2*l2)/2
  55. k,8,0,H,-(l1+2*l2)/2
  56. k,9,-B/2,H,-(l1+2*l2)/2
  57. k,10,-B/2,H-d1,-(l1+2*l2)/2
  58. k,11,-(w/2+bw+k2),H-d1,-(l1+2*l2)/2
  59. k,12,-(w/2+bw),H-d1-t2,-(l1+2*l2)/2
  60. k,13,-(w/2+bw),0,-(l1+2*l2)/2
  61. k,14,-w/2,0,-(l1+2*l2)/2

  62. k,15,w/2,H-d3-t1,-(l1+2*l2)/2
  63. k,16,w/2-k1,H-d3,-(l1+2*l2)/2
  64. k,17,0,H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p(w/2-k1,H-d3,-(l1+2*l2)/2),kp(0,H-d3,-(l1+2*l2)/2)
  85. l,kp(0,H-d3,-(l1+2*l2)/2),kp(-(w/2-k1),H-d3,-(l1+2*l2)/2)
  86. l,kp(-(w/2-k1),H-d3,-(l1+2*l2)/2),kp(-w/2,H-d3-t1,-(l1+2*l2)/2)
  87. l,kp(-w/2,H-d3-t1,-(l1+2*l2)/2),kp(-w/2,0,-(l1+2*l2)/2)




  88. l,kp(0,H,-(l1+2*l2)/2),kp(0,H-d3,-(l1+2*l2)/2)
  89. l,kp(0,H-d3,-(l1+2*l2)/2),kp(0,0,-(l1+2*l2)/2)
  90. !----------建立面
  91. al,1,2,3,4,5,6,7,21,22
  92. al,22,21,8,9,10,11,12,13,14
  93. al,1,15,16,17,22
  94. al,22,18,19,20,14

  95. asba,1,3,,delete,delete
  96. asba,2,4,,delete,delete


  97. kwpave,kp(0,H,-(l1+2*l2)/2)
  98. wprota,90,90,90
  99. wpave,,H-ht1
  100. asbw,all,delete
  101. wpave,,H-d1
  102. asbw,all,delete
  103. wpave,,H-d1-ht1
  104. asbw,all,delete
  105. wpave,,H-d1-2*ht1
  106. asbw,all,delete
  107. aglue,all
  108. wprota,90,90
  109. wpave,w/2-k1
  110. asbw,all,delete
  111. wpave,-(w/2-k1)
  112. asbw,all,delete
  113. wpave,w/2
  114. asbw,all,delete
  115. wpave,-w/2
  116. asbw,all,delete
  117. wpave,w/2+bw/2
  118. asbw,all,delete
  119. wpave,-(w/2+bw/2)
  120. asbw,all,delete
  121. wpave,w/2+bw
  122. asbw,all,delete
  123. wpave,-(w/2+bw)
  124. asbw,all,delete
  125. wpave,w/2+bw+k2/2
  126. asbw,all,delete
  127. wpave,-(w/2+bw+k2/2)
  128. asbw,all,delete
  129. wpave,w/2+bw+k2
  130. asbw,all,delete
  131. wpave,-(w/2+bw+k2)
  132. asbw,all,delete


  133. !----------建立拉伸母线
  134. num_k_1=kpinqr(0,14)
  135. k,num_k_1+1,0,0,-(l1+2*l2)/2
  136. k,num_k_1+2,0,0,(l1+2*l2)/2
  137. l,num_k_1+1,num_k_1+2
  138. !----------拉伸体
  139. ksel,s,,,num_k_1+1,num_k_1+2,1
  140. lslk,s,1
  141. *get,num_l_1,line,,num,max
  142. alls
  143. vdrag,all,,,,,,num_l_1

  144. wprota,,90,90
  145. wpave,,,l1/2-l3/2
  146. vsbw,all,delete
  147. wpave,,,l1/2
  148. vsbw,all,delete
  149. wpave,,,l1/2+l3/2
  150. vsbw,all,delete
  151. wpave,,,-l1/2+l3/2
  152. vsbw,all,delete
  153. wpave,,,-l1/2
  154. vsbw,all,delete
  155. wpave,,,-l1/2-l3/2
  156. vsbw,all,delete
  157. alls
  158. !--------中跨底板下沿
  159. !--------抛物线模拟精度
  160. l_div=0.2                 !-----------需能被l1-2*l3/2及l2-l3/2整除

  161. *dim,z_1,array,1/l_div*(l1-2*l3/2)+1,1
  162. *dim,y_1,array,1/l_div*(l1-2*l3/2)+1,1
  163. *do,i,1,1/l_div*(l1-2*l3/2)+1,1
  164. z_1(i)=-(l1/2-l3/2)+l_div*(i-1)
  165. num_temp=(H-h_m)/(l1/2-l3/2)/(l1/2-l3/2)
  166. y_1(i)=-num_temp*z_1(i)*z_1(i)+(H-h_m)
  167. *enddo
  168. alls
  169. num_k_2=kpinqr(0,14)
  170. *do,i,1,1/l_div*(l1-2*l3/2)+1,1
  171. k,num_k_2+1+i,1,y_1(i),z_1(i)
  172. *enddo

  173. *do,i,1,1/l_div*(l1-2*l3/2),1
  174. l,num_k_2+1+i,num_k_2+2+i
  175. *enddo


  176. alls
  177. num_k_3=kpinqr(0,14)
  178. k,num_k_3+1,-1,,-(l1/2-l3/2)
  179. l,num_k_2+2,num_k_3+1
  180. ksel,s,,,num_k_2+2
  181. ksel,a,,,num_k_3+1
  182. lslk,s,1
  183. *get,num_l_2,line,,num,max
  184. ksel,s,,,num_k_2+1,num_k_3
  185. lslk,s,1
  186. adrag,all,,,,,,num_l_2
  187. asll
  188. cm,a_sub_1,area
  189. alls
  190. vsel,s,loc,z,-l1/2,l1/2
  191. vsba,all,a_sub_1,,delete,delete


  192. ksel,s,loc,y,0,(H-h_m)
  193. lslk,s,1
  194. asll,s,1
  195. vsla,s,1
  196. vdele,all,,,1
  197. alls
  198. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!建议将体切开
  199. !--------------save as

  200. !--------边跨底板下沿(-Z侧)

  201. alls
  202. *dim,z_2_1,array,1/l_div*(l2-l3/2)+1,1
  203. *dim,y_2_1,array,1/l_div*(l2-l3/2)+1,1
  204. *do,i,1,1/l_div*(l2-l3/2)+1,1
  205. z_2_1(i)=-(l1/2+l2)+l_div*(i-1)
  206. num_temp=(H-h_m)/(l2-l3/2)/(l2-l3/2)
  207. y_2_1(i)=-num_temp*(z_2_1(i)+l1/2+l3/2)*(z_2_1(i)+l1/2+l2+l2-l3/2)
  208. *enddo
  209. alls
  210. num_k_4=kpinqr(0,14)
  211. *do,i,1,1/l_div*(l2-l3/2)+1,1
  212. k,num_k_4+1+i,1,y_2_1(i),z_2_1(i)
  213. *enddo

  214. *do,i,1,1/l_div*(l2-l3/2),1
  215. l,num_k_4+1+i,num_k_4+2+i
  216. *enddo


  217. alls
  218. num_k_5=kpinqr(0,14)
  219. k,num_k_5+1,-1,,-(l1/2+l3/2)
  220. l,num_k_5,num_k_5+1
  221. ksel,s,,,num_k_5
  222. ksel,a,,,num_k_5+1
  223. lslk,s,1
  224. *get,num_l_3,line,,num,max
  225. ksel,s,,,num_k_4+1,num_k_5
  226. lslk,s,1
  227. adrag,all,,,,,,num_l_3
  228. asll
  229. cm,a_sub_2,area
  230. alls
  231. vsel,s,loc,z,-(l1/2+l2),-l1/2
  232. vsba,all,a_sub_2,,delete,delete


  233. ksel,s,loc,y,0,(H-h_m)
  234. lslk,s,1
  235. asll,s,1
  236. vsla,s,1
  237. vdele,all,,,1



  238. !--------边跨底板下沿(+Z侧)

  239. alls
  240. *dim,z_3_1,array,1/l_div*(l2-l3/2)+1,1
  241. *dim,y_3_1,array,1/l_div*(l2-l3/2)+1,1
  242. *do,i,1,1/l_div*(l2-l3/2)+1,1
  243. z_3_1(i)=(l1/2+l2)-l_div*(i-1)
  244. num_temp=(H-h_m)/(l2-l3/2)/(l2-l3/2)
  245. y_3_1(i)=-num_temp*(z_3_1(i)-(l1/2+l3/2))*(z_3_1(i)-(l1/2+l2+l2-l3/2))
  246. *enddo
  247. alls
  248. num_k_6=kpinqr(0,14)
  249. *do,i,1,1/l_div*(l2-l3/2)+1,1
  250. k,num_k_6+1+i,1,y_3_1(i),z_3_1(i)
  251. *enddo

  252. *do,i,1,1/l_div*(l2-l3/2),1
  253. l,num_k_6+1+i,num_k_6+2+i
  254. *enddo


  255. alls
  256. num_k_7=kpinqr(0,14)
  257. k,num_k_7+1,-1,,l1/2+l3/2
  258. l,num_k_7,num_k_7+1
  259. ksel,s,,,num_k_7
  260. ksel,a,,,num_k_7+1
  261. lslk,s,1
  262. *get,num_l_4,line,,num,max
  263. ksel,s,,,num_k_6+1,num_k_7
  264. lslk,s,1
  265. adrag,all,,,,,,num_l_4
  266. asll
  267. cm,a_sub_3,area
  268. alls
  269. vsel,s,loc,z,l1/2+l2,l1/2
  270. vsba,all,a_sub_3,,delete,delete


  271. ksel,s,loc,y,0,(H-h_m)
  272. lslk,s,1
  273. asll,s,1
  274. vsla,s,1
  275. vdele,all,,,1


  276. !--------跨中底板上沿
  277. alls
  278. *dim,z_2,array,1/l_div*(l1-2*l3/2)+1,1
  279. *dim,y_2,array,1/l_div*(l1-2*l3/2)+1,1
  280. *do,i,1,1/l_div*(l1-2*l3/2)+1,1
  281. z_2(i)=-(l1/2-l3/2)+l_div*(i-1)
  282. num_temp=(H-h_m)/(l1/2-l3/2)/(l1/2-l3/2)
  283. y_2(i)=-num_temp*z_2(i)*z_2(i)+(H-h_m)+d2
  284. *enddo
  285. alls
  286. num_k1_2=kpinqr(0,14)
  287. *do,i,1,1/l_div*(l1-2*l3/2)+1,1
  288. k,num_k1_2+1+i,1,y_2(i),z_2(i)
  289. *enddo

  290. *do,i,1,1/l_div*(l1-2*l3/2),1
  291. l,num_k1_2+1+i,num_k1_2+2+i
  292. *enddo


  293. alls
  294. num_k1_3=kpinqr(0,14)
  295. k,num_k1_3+1,-1,d2,-(l1/2-l3/2)
  296. l,num_k1_2+2,num_k1_3+1
  297. ksel,s,,,num_k1_2+2
  298. ksel,a,,,num_k1_3+1
  299. lslk,s,1
  300. *get,num_l1_2,line,,num,max
  301. ksel,s,,,num_k1_2+1,num_k1_3
  302. lslk,s,1
  303. adrag,all,,,,,,num_l1_2
  304. asll
  305. cm,a_sub_1,area
  306. alls
  307. vsel,s,loc,z,-l1/2,l1/2
  308. vsba,all,a_sub_1,,delete,delete



  309. !--------边跨底板上沿(-Z侧)

  310. alls
  311. *dim,z_2_2,array,1/l_div*(l2-l3/2)+1,1
  312. *dim,y_2_2,array,1/l_div*(l2-l3/2)+1,1
  313. *do,i,1,1/l_div*(l2-l3/2)+1,1
  314. z_2_2(i)=-(l1/2+l2)+l_div*(i-1)
  315. num_temp=(H-h_m)/(l2-l3/2)/(l2-l3/2)
  316. y_2_2(i)=-num_temp*(z_2_2(i)+l1/2+l3/2)*(z_2_2(i)+l1/2+l2+l2-l3/2)+d2
  317. *enddo
  318. alls
  319. num_k1_4=kpinqr(0,14)
  320. *do,i,1,1/l_div*(l2-l3/2)+1,1
  321. k,num_k1_4+1+i,1,y_2_2(i),z_2_2(i)
  322. *enddo

  323. *do,i,1,1/l_div*(l2-l3/2),1
  324. l,num_k1_4+1+i,num_k1_4+2+i
  325. *enddo


  326. alls
  327. num_k1_5=kpinqr(0,14)
  328. k,num_k1_5+1,-1,d2,-(l1/2+l3/2)
  329. l,num_k1_5,num_k1_5+1
  330. ksel,s,,,num_k1_5
  331. ksel,a,,,num_k1_5+1
  332. lslk,s,1
  333. *get,num_l1_3,line,,num,max
  334. ksel,s,,,num_k1_4+1,num_k1_5
  335. lslk,s,1
  336. adrag,all,,,,,,num_l1_3
  337. asll
  338. cm,a_sub_2,area
  339. alls
  340. vsel,s,loc,z,-(l1/2+l2),-l1/2
  341. vsba,all,a_sub_2,,delete,delete


  342. ksel,s,loc,y,0,(H-h_m)
  343. lslk,s,1
  344. asll,s,1
  345. vsla,s,1
  346. vdele,all,,,1



  347. !--------边跨底板上沿(+Z侧)

  348. alls
  349. *dim,z_3_2,array,1/l_div*(l2-l3/2)+1,1
  350. *dim,y_3_2,array,1/l_div*(l2-l3/2)+1,1
  351. *do,i,1,1/l_div*(l2-l3/2)+1,1
  352. z_3_2(i)=(l1/2+l2)-l_div*(i-1)
  353. num_temp=(H-h_m)/(l2-l3/2)/(l2-l3/2)
  354. y_3_2(i)=-num_temp*(z_3_2(i)-(l1/2+l3/2))*(z_3_2(i)-(l1/2+l2+l2-l3/2))+d2
  355. *enddo
  356. alls
  357. num_k1_6=kpinqr(0,14)
  358. *do,i,1,1/l_div*(l2-l3/2)+1,1
  359. k,num_k1_6+1+i,1,y_3_2(i),z_3_2(i)
  360. *enddo

  361. *do,i,1,1/l_div*(l2-l3/2),1
  362. l,num_k1_6+1+i,num_k1_6+2+i
  363. *enddo


  364. alls
  365. num_k1_7=kpinqr(0,14)
  366. k,num_k1_7+1,-1,d2,l1/2+l3/2
  367. l,num_k1_7,num_k1_7+1
  368. ksel,s,,,num_k1_7
  369. ksel,a,,,num_k1_7+1
  370. lslk,s,1
  371. *get,num_l1_4,line,,num,max
  372. ksel,s,,,num_k1_6+1,num_k1_7
  373. lslk,s,1
  374. adrag,all,,,,,,num_l1_4
  375. asll
  376. cm,a_sub_3,area
  377. alls
  378. vsel,s,loc,z,l1/2+l2,l1/2
  379. vsba,all,a_sub_3,,delete,delete


  380. ksel,s,loc,y,0,(H-h_m)
  381. lslk,s,1
  382. asll,s,1
  383. vsla,s,1
  384. vdele,all,,,1



  385. alls
  386. ldele,num_l_1,,,1
  387. ldele,num_l_2,,,1
  388. ldele,num_l_3,,,1
  389. ldele,num_l_4,,,1

  390. ldele,num_l1_2,,,1
  391. ldele,num_l1_3,,,1
  392. ldele,num_l1_4,,,1
  393. nummrg,all
  394. numcmp,all

  395. !!!!!!!!!!!!!!!!!!!!!!!!!!!save as




  396. alls
  397. ksel,s,loc,x,w/2+bw
  398. ksel,r,loc,y,0
  399. ksel,r,loc,z,0
  400. *get,n_l_1,kp,,num,max

  401. ksel,s,loc,x,-0.8
  402. ksel,r,loc,y,0
  403. ksel,r,loc,z,0
  404. *get,n_l_2,kp,,num,max
  405. alls
  406. l,n_l_1,n_l_2

  407. ksel,s,loc,y,0,1
  408. ksel,r,loc,x,0.8
  409. lslk,s,1
  410. asll,s,1
  411. vdrag,all,,,,,,2696
  412. vovlap,all


  413. !----------定义单元尺寸
  414. esize,0.11,0
  415. !----------单元网格划分
  416. alls
  417. ksel,s,loc,y,0,1
  418. lslk,s,1
  419. asll,s,1
  420. vsla,s,1
  421. vsweep,all

  422. esize,0.1,0
  423. vsel,s,loc,y,1,2
  424. vsweep,all
  425. alls
  426. vsweep,all
复制代码
发表于 2011-8-5 16:14 | 显示全部楼层
书上的例题 不错  值得学习。
发表于 2011-9-17 17:54 | 显示全部楼层
谢谢!一直在找斜拉桥的实例,终于等到了
发表于 2011-10-17 14:57 | 显示全部楼层
谢谢楼主,正好是我需要的!
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-12-26 20:50 , Processed in 0.102321 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表