声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 4058|回复: 11

[Workbench] 求教《最新经典ANSYS及WORKBENCH教程》中的一个例子

[复制链接]
发表于 2006-4-10 14:40 | 显示全部楼层 |阅读模式

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

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

x
558页的例子,一个钝头圆柱体,以马赫数0.8飞行10s后的温度及流场分布。在其命令流文件中(光盘中的fl04)将空气的属性设置为
mp,ex,1,1
请教,这是什么意思?
回复
分享到:

使用道具 举报

发表于 2006-4-11 07:33 | 显示全部楼层
你是不是命令没写全啊
 楼主| 发表于 2006-4-12 18:04 | 显示全部楼层

请大家看看详细的命令流,上机试一下

请大家看看详细的命令流,上机试一下

  1. /prep7
  2. et,1,141
  3. mp,ex,1,1
  4. mp,kxx,2,190
  5. mp,dens,2,2700
  6. mp,c,2,900

  7. x0=0
  8. x1=15
  9. x21=x1+0.2
  10. x22=x21+0.3
  11. x23=x22+1.5
  12. x3=x23+20

  13. thick=0.05
  14. y0=0
  15. y1=0.2
  16. y2=y1+0.15
  17. y3=10
  18. dt=0.0001

  19. rect,x0,x1,y0,y3
  20. rect,x23,x3,y0,y2
  21. rect,x23,x3,y2,y2+thick
  22. rect,x23,x3,y2+thick,y3
  23. rect,x22,x23,y2,y2+thick
  24. rect,x22,x23,y2+thick,y3
  25. aglue,all

  26. k,,x1+thick
  27. k,,x21,y1
  28. k,,x21,y1+thick

  29. bsplin,2,13,20
  30. bsplin,17,10,9

  31. a,2,20,17,9
  32. a,2,20,24,3

  33. lsel,s,length,,0.05
  34. lesi,all,,,4,,,,,0

  35. lsel,s,loc,x,x0+dt,x1-dt
  36. lesi,all,,,50,10

  37. lsel,s,loc,x,x1+dt,x22-dt
  38. lesi,all,,,10,1

  39. lsel,s,loc,x,x22+dt,x23-dt
  40. lesi,all,,,15,-4

  41. lsel,s,loc,x,x23+dt,x3-dt
  42. lesi,all,,,60,10

  43. lsel,s,loc,y,y2+dt,y3-dt
  44. lesi,all,,,40,10

  45. lsel,s,loc,x,x23
  46. lsel,a,loc,x,x3
  47. lsel,r,loc,y,y0+dt,y1-dt
  48. lesi,all,,,8,-3

  49. FLST,5,5,4,ORDE,5
  50. FITEM,5,1
  51. FITEM,5,4
  52. FITEM,5,7
  53. FITEM,5,11
  54. FITEM,5,15
  55. CM,_Y1,LINE
  56. LSEL, , , ,P51X
  57. *GET,_z1,LINE,,COUNT
  58. *SET,_z2,0
  59. *DO,_z5,1,_z1
  60. *SET,_z2,LSNEXT(_z2)
  61. *GET,_z3,LINE,_z2,ATTR,NDNX
  62. *GET,_z4,LINE,_z2,ATTR,SPNX
  63. *get,_z6,line,_z2,attr,kynd
  64. *IF,_z3,GT,0,THEN
  65. *IF,_z4,NE,0,THEN
  66. LESIZE,_z2,,,_z3,1/_z4,,,,_z6
  67. *ENDIF
  68. *ENDIF
  69. *ENDDO
  70. CMSEL,S,_Y1
  71. CMDELE,_Y1

  72. alls
  73. MSHAPE,0,2D
  74. MSHKEY,1

  75. asel,s,loc,x,x1,x23
  76. asel,r,loc,y,y0,y2+thick
  77. mat,2
  78. amesh,all
  79. asel,inve
  80. mat,1
  81. amesh,all

  82. nsel,s,loc,y,0
  83. d,all,vy,0

  84. nsel,s,loc,x,x23
  85. nsel,r,loc,y,y0,y2
  86. d,all,vx,0
  87. d,all,vy,0

  88. nsel,s,loc,x,x0
  89. d,all,vx,0.8*20.05*(293**0.5)
  90. d,all,vy,0
  91. d,all,temp,1.16*293
  92. d,all,pres,0

  93. nsel,s,loc,y,y3
  94. d,all,vy

  95. nsel,s,loc,x,x3
  96. d,all,pres,0

  97. lsel,s,,,8,10,2
  98. lsel,a,,,29
  99. dl,all,,temp,300,1
  100. alls
  101. tunif,293
  102. /solu

  103. FLDATA1,SOLU,TRAN,1
  104. FLDATA1,SOLU,FLOW,1
  105. FLDATA1,SOLU,TEMP,1
  106. FLDATA1,SOLU,TURB,1
  107. FLDATA1,SOLU,COMP,1
  108. FLDATA1,SOLU,VOF,0
  109. FLDATA1,SOLU,SFTS,0
  110. FLDATA1,SOLU,IVSH,0
  111. FLDATA1,SOLU,SWRL,0
  112. FLDATA1,SOLU,SPEC,0
  113. FLDATA1,SOLU,ALE,0
  114. FLDATA1,SOLU,RDSF,1

  115. /COM,,Transient Analysis,1
  116. *SET,_z4,-999
  117. *SET,_z14,1
  118. !*
  119. FLDATA4,TIME,STEP,0.01,
  120. FLDATA4,TIME,ISTEP,0
  121. FLDATA4,TIME,NUMB,1000,
  122. FLDATA4,TIME,TEND,1.0e06
  123. FLDATA4,TIME,GLOB,8,
  124. FLDATA4,TIME,VX,0.01,
  125. FLDATA4,TIME,VY,0.01,
  126. FLDATA4,TIME,VZ,0.01,
  127. FLDATA4,TIME,PRES,1e-006,
  128. FLDATA4,TIME,TEMP,1e-006,
  129. FLDATA4,TIME,ENKE,0.01,
  130. FLDATA4,TIME,ENDS,0.01,
  131. FLDATA4A,STEP,OVER,10,
  132. FLDATA4,TIME,OVER,0
  133. FLDATA4A,STEP,APPE,10,
  134. FLDATA4,TIME,APPE,1.0e6
  135. FLDATA4A,STEP,SUMF,10,
  136. FLDATA4,TIME,SUMF,1.0e6
  137. FLDATA4,TIME,BC,0
  138. FLDATA4,TIME,TEND,1000000,

  139. /COM,,Transient Analysis,1
  140. FLDATA12,PROP,DENS,4
  141. FLDATA13,VARY,DENS,1
  142. FLDATA12,PROP,VISC,4
  143. FLDATA13,VARY,VISC,0
  144. FLDATA12,PROP,COND,4
  145. FLDATA13,VARY,COND,0
  146. FLDATA12,PROP,SPHT,4
  147. FLDATA13,VARY,SPHT,0
  148. !*
  149. FLDATA7,PROT,DENS,AIR-SI
  150. FLDATA8,NOMI,DENS,-1
  151. FLDATA9,COF1,DENS,0
  152. FLDATA10,COF2,DENS,0
  153. FLDATA11,COF3,DENS,0
  154. FLDATA7,PROT,VISC,AIR-SI
  155. FLDATA8,NOMI,VISC,-1
  156. FLDATA9,COF1,VISC,0
  157. FLDATA10,COF2,VISC,0
  158. FLDATA11,COF3,VISC,0
  159. FLDATA12,PROP,IVIS
  160. FLDATA7,PROT,COND,AIR-SI
  161. FLDATA8,NOMI,COND,-1
  162. FLDATA9,COF1,COND,0
  163. FLDATA10,COF2,COND,0
  164. FLDATA11,COF3,COND,0
  165. FLDATA7,PROT,SPHT,AIR-SI
  166. FLDATA8,NOMI,SPHT,-1
  167. FLDATA9,COF1,SPHT,0
  168. FLDATA10,COF2,SPHT,0
  169. FLDATA11,COF3,SPHT,0

  170. !FLDA,STAB,VISC,10
  171. FLDA,STAB,MOME,1.0
  172. FLDA,STAB,TURB,1
  173. FLDA,STAB,PRES,1.e-3
  174. FLDA,METH,PRES,3
  175. FLDA,SRCH,PRES,10
  176. FLDA,MAXI,PRES,1000
  177. flda,capp,pres,t
  178. flda,capp,pmin,-9.5E+4
  179. solve
复制代码
发表于 2006-4-13 07:24 | 显示全部楼层
没见过,看不懂
发表于 2009-12-6 20:30 | 显示全部楼层

回复 楼主 yssure 的帖子

定义的材料属性,具体的什么意思,你输入help进行查询一下就可以,我感觉没什么难的,就是代号的含义问题。
发表于 2009-12-8 14:14 | 显示全部楼层
学习中!!
发表于 2009-12-23 11:01 | 显示全部楼层
应该是密度和弹性模量吧
发表于 2009-12-23 21:50 | 显示全部楼层

回复 楼主 yssure 的帖子

mp,ex,1,1;
ex应该是弹性模量
发表于 2010-1-16 11:37 | 显示全部楼层
我也觉得是弹性模量!前边那个mp不就是材料特性呢?!
发表于 2010-1-28 16:19 | 显示全部楼层
mp,ex,1,1  就是设置的弹性模量!!!
发表于 2011-5-5 15:35 | 显示全部楼层
回复 1 # yssure 的帖子

朋友,我也是ansysworkbench学习者,最近在学习15.1.6章节下的塑料加筋的优化例子,命令流是在光盘option1_00.inp下。如果你有这个例子的命令流,能否发份给我,不甚感激,我的QQ是516942994
发表于 2012-3-24 10:59 | 显示全部楼层
好帖




您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-11-29 17:04 , Processed in 0.068948 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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