声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1529|回复: 4

[综合讨论] ansys能算流动的流体作用下的结构振动及声辐射吗?

[复制链接]
发表于 2010-10-21 22:13 | 显示全部楼层 |阅读模式

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

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

x
请问大侠:ansys能算流动的流体作用下的结构振动及声辐射吗?
回复
分享到:

使用道具 举报

发表于 2010-10-22 15:02 | 显示全部楼层
没做过这方面的分析
不过应该是可以的,见过有人发表过相关方面的文章
另外我这里也有一个简单的例子
(Example of acoustic radiating sphere. Comparison w/ hand calculations. )
  1. /com, Sample input file for acoustics
  2. /com, Radiating sphere problem (simple case), compare w/ theory
  3. /com,
  4.   
  5. !------------------------------------------------------------
  6. ! Check if running file in batch or interactive mode
  7. ! If batch mode, redirect plots to GRPH file
  8. !------------------------------------------------------------
  9. *get,STATGUI,active,,int
  10. *if,STATGUI,eq,0,then
  11. /show,file
  12. *endif
  13. !------------------------------------------------------------
  14. ! Define variables for problem:
  15. ! Radiating Sphere of Radius SPHRRADS with uniform surface
  16. ! velocity of VELOCITY oscillating at FREQUENC
  17. !------------------------------------------------------------
  18. *set,FREQUENC,3000
  19. *set,VELOCITY,0.005
  20. *set,PI ,acos(-1)
  21. *set,SPHRRADS,0.1
  22. !------------------------------------------------------------
  23. ! Fluid properties:
  24. ! Density, Speed of sound in water, Reference pressure
  25. !------------------------------------------------------------
  26. *set,WATRDENS,1000
  27. *set,WATRSONC,1500
  28. *set,REFEPRES,1e-6
  29. !------------------------------------------------------------
  30. ! Geometry info
  31. ! Infinite radius at INFIRADS meters
  32. ! INFIXOFF, INFIYOFF not used right now...
  33. !------------------------------------------------------------
  34. *set,INFIRADS,5
  35. *set,INFIXOFF,0.0
  36. *set,INFIYOFF,0.0
  37. !------------------------------------------------------------
  38. ! Mesh info
  39. ! Use mapped mesh? YES=1 NO=0 (use NO for now)
  40. ! Elements per wavelength (EPW)
  41. !------------------------------------------------------------
  42. *set,MAPDMESH,0
  43. *set,TRIMESH ,1
  44. *set,EPW ,15
  45. !------------------------------------------------------------
  46. ! Graphics settings
  47. ! Set title and subtitles
  48. ! Make sure the legend is always on (/plopt,info,on)
  49. ! Put global triad at right top corner (/triad,rtop)
  50. ! Turn on Full Graphics because of DDTSREP#16215
  51. !------------------------------------------------------------
  52. /title,Uniformly Radiating Sphere, EPW=%EPW%
  53. /stitle,1,Sphere radius of %SPHRRADS%m
  54. /stitle,2,Frequency at %FREQUENC%Hz
  55. /stitle,3,Uniform velocity of %VELOCITY%m/s
  56. /stitle,4,Infinite Boundary of %INFIRADS%m at (%INFIXOFF%,%INFIYOFF%)
  57. /plopt,info,on
  58. /triad,rtop  
  59. /graphics,full
  60. !------------------------------------------------------------
  61. ! Enter Preprocessor
  62. !------------------------------------------------------------
  63. /prep7  
  64. !------------------------------------------------------------
  65. ! Define elements
  66. ! 1 = fluid w/ structure
  67. ! 2 = fluid no structure
  68. ! 3 = infinite fluid
  69. ! Define elements and keyopts (et) (keyopt)
  70. ! Define real constants (r)
  71. ! Define material properties (mp)
  72. !------------------------------------------------------------
  73. et,1,fluid29
  74. keyopt,1,2,0
  75. keyopt,1,3,1
  76. et,2,fluid29
  77. keyopt,2,2,1
  78. keyopt,2,3,1
  79. et,3,fluid129
  80. keyopt,3,3,1
  81. r,1,REFEPRES
  82. r,2,REFEPRES
  83. r,3,INFIRADS,0,0,  
  84. mp,dens,1,WATRDENS
  85. mp,sonc,1,WATRSONC
  86. mp,dens,2,WATRDENS
  87. mp,sonc,2,WATRSONC
  88. mp,sonc,3,WATRSONC
  89. !------------------------------------------------------------
  90. ! Create geometry
  91. ! Create five 90 degree quarter circles (pcirc)
  92. ! Merge keypoints (nummrg,kp)
  93. !------------------------------------------------------------
  94. pcirc,1,SPHRRADS,0,90,
  95. pcirc,2,1,0,90,  
  96. pcirc,3,2,0,90,  
  97. pcirc,4,3,0,90,  
  98. pcirc,5,4,0,90,  
  99. nummrg,kp  
  100. !------------------------------------------------------------
  101. ! Mesh
  102. ! Set global element size based on EPW above
  103. ! Map with quads, quad-dominant for free mesh (mshape,0)
  104. ! Mesh mapped or free (mshkey)
  105. ! Set area attributes (aatt)
  106. ! Mesh all areas (amesh)
  107. ! Set plot controls based on element type number
  108. !------------------------------------------------------------
  109. esize,(WATRSONC/FREQUENC)/EPW
  110. mshape,TRIMESH
  111. mshkey,MAPDMESH
  112. aatt,2,2,2  
  113. amesh,all
  114. /pnum,type,1
  115. /num,1
  116. /auto
  117. eplot
  118. !------------------------------------------------------------
  119. ! Rotate all nodes in cylindrical CS
  120. !------------------------------------------------------------
  121. csys,1  
  122. nrotate,all  
  123. !------------------------------------------------------------
  124. ! Change elements near center to fluid with struct present
  125. !------------------------------------------------------------
  126. type,1
  127. real,1
  128. mat,1
  129. nsel,s,loc,x,SPHRRADS
  130. esln
  131. nsle
  132. emodif,all
  133. !------------------------------------------------------------
  134. ! Apply struct boundary conditions on element type 1
  135. ! Constrain all translation DOF (the "free" DOF)
  136. ! Reapply velocity as displacement on inner nodes in radial dir. (ux)
  137. ! Apply FSI (fluid-struct interface) flag to active
  138. !------------------------------------------------------------
  139. d,all,uy
  140. d,all,ux
  141. nsel,s,loc,x,SPHRRADS
  142. d,all,ux,0,-VELOCITY/(2*PI*FREQUENC)
  143. sf,all,fsi
  144. !------------------------------------------------------------
  145. ! Mesh Infinite fluid domain
  146. ! Instead of meshing, use ESURF to generate elements on existing mesh
  147. !------------------------------------------------------------
  148. type,3
  149. real,3
  150. mat,3
  151. esel,all
  152. nsel,s,loc,x,INFIRADS,INFIRADS+0.0001
  153. esurf,all  
  154. allsel,all
  155. finish  
  156. !------------------------------------------------------------
  157. ! solution options
  158. ! Full harmonic analysis
  159. ! frequency at FREQUENC
  160. ! select everything & solve
  161. !------------------------------------------------------------
  162. /solu  
  163. antype,harm  
  164. hropt,full  
  165. hrout,on
  166. lumpm,0  
  167. !eqslv,front
  168. eqslv,sparse
  169. harfrq,FREQUENC
  170. nsubst,
  171. kbc,0  
  172. allsel,all
  173. solve  
  174. finish  
  175. !------------------------------------------------------------
  176. ! postprocessing w/ annotations
  177. ! Load real (set,1,1,1,0) and plot pressure
  178. ! Load imag (set,1,1,1,1) and plot pressure
  179. ! do a load case comb. to SRSS for pressure magnitude
  180. !------------------------------------------------------------
  181. /post1
  182. /tsp,,0.75
  183. /ann,dele
  184. /tla,-.90,.90,Plot of real part of pressure
  185. /dscale,1,off  
  186. set,1,1,1,0
  187. plnsol,pres  
  188. *if,STATGUI,eq,2,then
  189. *ask,Paused,Press Enter to Continue,'pause'
  190. *endif
  191.   
  192. /tsp,,0.75
  193. /ann,dele
  194. /tla,-.90,.90,Plot of imag part of pressure
  195. set,1,1,1,1
  196. /replot
  197. *if,STATGUI,eq,2,then
  198. *ask,Paused,Press Enter to Continue,'pause'
  199. *endif
  200.   
  201. /tsp,,0.75
  202. /ann,dele
  203. /tla,-.90,.90,Plot of magnitude of pressure
  204. lcdef,1,1,1,0
  205. lcoper,srss,1
  206. /replot
  207. *if,STATGUI,eq,2,then
  208. *ask,Paused,Press Enter to Continue,'pause'
  209. *endif
  210. /ann,dele
  211. !------------------------------------------------------------
  212. ! path operations
  213. ! this part gets ugly...
  214. !------------------------------------------------------------
  215. csys,0
  216. lsel,s,loc,x,0
  217. nsll,s,1
  218. *get,NCOUNT,node,,count
  219. csys,1
  220. nsel,s,loc,x,SPHRRADS
  221. nsel,r,loc,y,90,90.0001
  222. STRTNODE=ndnext(0)
  223. nsel,s,loc,x,INFIRADS,INFIRADS+0.0001
  224. nsel,r,loc,y,90,90.0001
  225. FININODE=ndnext(0)
  226. allsel,all
  227. path,RADIAL,2,30,(NCOUNT-1)
  228. ppath,1,STRTNODE
  229. ppath,2,FININODE
  230. avprin,0,0,  
  231. set,1,1,1,0
  232. pdef,REALPRES,pres,,noavg  
  233. set,1,1,1,1
  234. pdef,IMAGPRES,pres,,noavg
  235. !plpath,REALPRES,IMAGPRES
  236. paget,tracpoin,poin  
  237. paget,tracdata,tabl  
  238. paget,traclabl,labe  
  239. *dim,RADSPATH,table,NCOUNT,7
  240. *do,ICOUNT,1,NCOUNT
  241. WAVENUMB=2*PI*FREQUENC/WATRSONC
  242. CURRRADS=TRACDATA(ICOUNT,2,1)
  243. TEMPAMPL=WATRDENS*WATRSONC*VELOCITY*WAVENUMB*(SPHRRADS**2)/CURRRADS
  244. TEMPAMPL=TEMPAMPL/(1+(WAVENUMB*SPHRRADS)**2)
  245. TEMPAMRC=WAVENUMB*SPHRRADS*cos(WAVENUMB*(CURRRADS-SPHRRADS))
  246. TEMPAMRS=sin(WAVENUMB*(CURRRADS-SPHRRADS))
  247. TEMPAMIC=cos(WAVENUMB*(CURRRADS-SPHRRADS))
  248. TEMPAMIS=-WAVENUMB*SPHRRADS*sin(WAVENUMB*(CURRRADS-SPHRRADS))
  249. RADSPATH(ICOUNT,1)=TRACDATA(ICOUNT,2,1)
  250. RADSPATH(ICOUNT,2)=TRACDATA(ICOUNT,5,1)
  251. RADSPATH(ICOUNT,3)=TEMPAMPL*(TEMPAMRC+TEMPAMRS)
  252. RADSPATH(ICOUNT,4)=TRACDATA(ICOUNT,6,1)
  253. RADSPATH(ICOUNT,5)=TEMPAMPL*(TEMPAMIC+TEMPAMIS)
  254. RADSPATH(ICOUNT,6)=sqrt(TRACDATA(ICOUNT,5,1)**2+TRACDATA(ICOUNT,6,1)**2)
  255. TEMP1 =TEMPAMPL*(TEMPAMRC+TEMPAMRS)
  256. TEMP2 =TEMPAMPL*(TEMPAMIC+TEMPAMIS)
  257. RADSPATH(ICOUNT,7)=sqrt(TEMP1**2+TEMP2**2)
  258. *enddo
  259.   
  260. /gcolumn,1,ANSYS
  261. /gcolumn,2,Theory
  262. /axlab,x,Radial Distance  
  263. /axlab,y,Real Pressure (Pa)
  264. *vplot,RADSPATH(1,1),RADSPATH(1,2),3
  265. *if,STATGUI,eq,2,then
  266. *ask,Paused,Press Enter to Continue,'pause'
  267. *endif
  268.   
  269. /axlab,y,Imaginary Pressure (Pa)
  270. *vplot,RADSPATH(1,1),RADSPATH(1,4),5
  271. *if,STATGUI,eq,2,then
  272. *ask,Paused,Press Enter to Continue,'pause'
  273. *endif
  274.   
  275. /axlab,y,Magnitude of Pressure (Pa)
  276. *vplot,RADSPATH(1,1),RADSPATH(1,6),7
  277. *if,STATGUI,eq,2,then
  278. *ask,Paused,Press Enter to Continue,'pause'
  279. *endif
  280.   
  281. !parsav,all
  282. finish
  283. *del,TEMPAMPL
  284. *del,TEMPAMRC
  285. *del,TEMPAMRS
  286. *del,TEMPAMIC
  287. *del,TEMPAMIS
  288. *del,TEMP1
  289. *del,TEMP2
  290. *del,CURRRADS
  291. *del,WAVENUMB
  292.   
  293. !=(DENSITY*SPEED_OF_SOUND*VELOCITY*WAVE_NUMBER*RADIUS*(RADIUS/C2)/(1+(WAVE_NUMBER*RADIUS)^2))*(WAVE_NUMBER*RADIUS*COS(WAVE_NUMBER*(C2-RADIUS))+SIN(WAVE_NUMBER*(C2-RADIUS)))
  294. !=(DENSITY*SPEED_OF_SOUND*VELOCITY*WAVE_NUMBER*RADIUS*(RADIUS/C2)/(1+(WAVE_NUMBER*RADIUS)^2))*(COS(WAVE_NUMBER*(C2-RADIUS))-WAVE_NUMBER*RADIUS*SIN(WAVE_NUMBER*(C2-RADIUS)))
  295. *if,STATGUI,eq,0,then
  296. /exit
  297. *endif
复制代码
发表于 2010-10-22 15:02 | 显示全部楼层
Acoustic Superelements  
Q: Has anybody got superelements to work with fluid 29/30 (acoustic, pressure DOF) elements?
  
A: Yes, superelements work fine w/ acoustic elements, too. Useful for those nasty 3D models -- even w/ 2D radiation problems, it works fine and is helpful.
  
There are many "gotchas" when doing this, so be careful and start off with a simple model. For example, in the GEN pass, you shouldn't define any fluid29 w/ structure present (i.e., if you use top-down substructuring, null FLUID29 w/ structure present). Any model in the GEN pass containing unsymm elements uses that for the SE which means that only stiffness is stored, not mass. In other words:
  
You can have mass & stiffness (& damping) for symm matrices for SE or  
You can have stiffness only for unsym matrices for SE part -- basically, trying to substructure FSI part is unusable for modal or harmonic.  
However, in the USE pass, you can use unsymm matrices for non-SE portions (i.e., in the USE pass, define your FLUID29 with FSI). A simple modal analysis input file (acoustic_se.inp) is attached. I didn't spend much time on it, so it's not fancy, but I hope you get the idea.
  
Another one for those doing piezo is that VOLT and UX/UY/UZ can't be MDOF together, mainly because VOLT has no mass or damping equivalent. Instead of applying voltage as a load vector after the GEN pass, I usually do this as a non-SE element in the USE pass.
  
I've use a combination of superelements and non-superelements with pretty good success in modal and harmonic acoustic analyses. Like I mentioned above, there are some things which may not be intuitive, so try simple models first. Chop up your fluid domain into repeatable sections except for infinite boundary or FSI areas. Then, you can use SE in those areas (SETRAN, etc.). Make sure you have M not only at boundaries of SE but inside, too, since you need proper mass characterization (mass and damping are reduced via Guyan reduction which is approximate, instead of being exact like the stiffness matrix because stiffness can be directly condensed to a reduced matrix w/o problems -- damping and mass have time derivatives of DOF which make this very ugly, hence Guyan reduction is used instead for those terms).
  
Anyways, that's my two cents on the above. Like I mentioned above, it can be done, but be careful of  the procedure and  selecting MDOF.
 楼主| 发表于 2010-10-22 19:13 | 显示全部楼层
回复 Chelsea 的帖子

先谢过了,我好好研究一下
 楼主| 发表于 2010-10-27 11:03 | 显示全部楼层
回复 Chelsea 的帖子

我想算的是结构在湍流脉动压力作用下的振动与声辐射,不知道如何模拟,哪位大侠给点指导、建议或者资料啊,不知道ansys能算这样的流固声耦合吗?
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-11-26 15:31 , Processed in 0.071106 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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