马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
- FINISH
- /CLEAR,NOSTART
- /PREP7
- ET,1,SHELL63,2
- R,1,.5
- MP,EX,1,210
- MP,NUXY,1,0.3
- MP,DENS,1,7800
- BLC4,-2,-2,4,4
- LESIZE,ALL, , ,4, ,1, , ,1,
- AMESH,ALL
- DL,ALL, ,ALL,
- !CDWRITE,ALL,PLATE,cdb
- /SOLU
- ANTYPE,MODAL
- MODOPT,LANB,5
- MXPAND,5
- SOLVE
- FINISH
- /POST1
- *GET,MAXNUM_NODE,NODE,,NUM,MAX
- *GET,MAXNUM_ELEM,ELEM,,NUM,MAX
- ELEMTYPE=4
- *DIM,SYSNOISE_TITLE,CHAR,4,3
- SYSNOISE_TITLE(1,1)='SYSNOISE'
- SYSNOISE_TITLE(1,2)=' MESH FI'
- SYSNOISE_TITLE(1,3)='LE'
- SYSNOISE_TITLE(2,1)='Rev 5.2 '
- SYSNOISE_TITLE(2,2)=' SGI'
- SYSNOISE_TITLE(3,1)='Set numb'
- SYSNOISE_TITLE(3,2)='er'
- SYSNOISE_TITLE(4,1)='TIME'
- *CFOPEN,PLATE_MESH,fre
- *VWRITE,SYSNOISE_TITLE(1,1),SYSNOISE_TITLE(1,2),SYSNOISE_TITLE(1,3)
- %C%C%C
- *VWRITE,MAXNUM_NODE,MAXNUM_ELEM,ELEMTYPE
- %10I%10I%10I
- *DIM,SYSNOISE_SUBT1,CHAR,1,1
- SYSNOISE_SUBT1(1,1)='NODES'
- *VWRITE,SYSNOISE_SUBT1(1,1)
- (A8)
- *DIM,LOC_NODE,,MAXNUM_NODE,3
- *DIM,NUM_,,MAXNUM_NODE,1
- *DO,IP,1,MAXNUM_NODE
- NUM_(IP,1)=IP
- *GET,LOC_NODE(IP,1),NODE,IP,LOC,X
- *GET,LOC_NODE(IP,2),NODE,IP,LOC,Y
- *GET,LOC_NODE(IP,3),NODE,IP,LOC,Z
- *ENDDO
- *VWRITE,NUM_(1,1),NUM_(1,1),LOC_NODE(1,1),LOC_NODE(1,2),LOC_NODE(1,3)
- %10I%10I%20.8E%20.8E%20.8E
- *DIM,SYSNOISE_SUBT2,CHAR,1,1
- SYSNOISE_SUBT2(1,1)='ELEMENTS'
- *VWRITE,SYSNOISE_SUBT2(1,1)
- (A8)
- *DIM,NODE_ELEM,,MAXNUM_ELEM,4
- *DIM,NUME_,,MAXNUM_NODE,1
- *DO,IP,1,MAXNUM_ELEM
- NUME_(IP,1)=IP
- NODE_ELEM(IP,1)=NELEM(IP,1)
- NODE_ELEM(IP,2)=NELEM(IP,2)
- NODE_ELEM(IP,3)=NELEM(IP,3)
- NODE_ELEM(IP,4)=NELEM(IP,4)
- *ENDDO
- ELEMTY=6
- NODETY=4
- *VWRITE,NUME_(1,1),NUME_(1,1),ELEMTY,NODETY,NODE_ELEM(1,1),NODE_ELEM(1,2),NODE_ELEM(1,3),NODE_ELEM(1,4)
- %10I%10I%10I%10I%10I%10I%10I%10I
- *VWRITE,MODE_NUM,FREQ_STR,EIGE_STR
- (1X,I11,2E21.8)
复制代码
这是将ANSYS模型写成SYSNOISE支持的*fre格式。尽管CDWRITE命令能够实现这个功能,但是在处理结果文件导入时,简单的ANSYS命令已经无能为力了。要从基本上解决结果文件导入的问题,必须从基本的文件格式入手,这就是本命令流价值的所在。
来自:simwe |