关于*VWRITE命令的请教
请教各位先知,下边这段命令代码,用红色标出的地方,有什么错误?为什么,我运行的时候,总是提醒出错?请各位先知赐教!/FILNAME,EX7.1
/TITLE,NATURAL FREQUENCY OF A SPRING-MASS SYSTEM
/REPLOT
C***,VIBRATION THEORY AND APPLICATION
! ANTYPE,MODAL
/PREP7
ANTYPE,2
MODOPT,REDUC,1,,,1
ET,1,COMBIN14,,,2
ET,2,MASS21,,,4
R,1,8406.4
R,2,11.121/9.8
N,1
N,2,,1
E,1,2
TYPE,2
REAL,2
E,2
M,2,UY
OUTPR,ALL,1
OUTRES,ALL,0
D,1,ALL
D,2,UX
FINISH
/SOLU
SOLVE
FINISH
*GET,FREQ,MODE,1,FREQ
*DIM,LABEL,CHAR,1,2
*DIM,VALUE,,1,3
*SET,LABEL(1,1),'F,'
*SET,LABEL(1,2),'(HZ)'
*VFILL,VALUE(1,1),DATA,13.701
*VFILL,VALUE(1,2),DATA,FREQ
*VFILL,VALUE(1,3),DATA,ABS(FREQ/13.701)
*CFOPEN,EX71,OUT
*VWRITE,(//'-----------------------EX7.1RESULT COMPARISON--------------------')
*VWRITE,(//' #TARGET#ANSYS# ')
*VWRITE,(/'')
*VWRITE,LABEL(1,1),LABEL(1,2),VALUE(1,1),VALUE(1,2),VALUE(1,3)
(2X,A8,A8,1X,F10.3,1X,F10.3,1X,1F5.3)
*CFCLOS
*LIST,EX71,OUT 命令流中是不能直接写vwrite的,要么做成宏文件,要么做成文本文件导出
页:
[1]