|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
<P>邢静忠编写的[ANSYS7.0 分析与工程应用]一书中大多例子都提到*VWRITE这个命令,第4页便有,可我怎么一用就出现问题?我见网上也有这样的例子,在ANSYS帮助里面例子也有用*VWRITE命令的,出现问题如下:<BR> *** WARNING *** CP= 10.936 TIME= 08:26:10<BR> In the graphical user interface,the *VWRITE command can only be<BR> executed from an external file such as /INPUT or *USE. The command is<BR> ignored.<BR> <BR> *** WARNING *** CP= 10.976 TIME= 08:26:11<BR> Error in format, not enough data format specifiers<BR> .<BR> <BR> *** WARNING *** CP= 11.016 TIME= 08:26:11<BR> (1X,A8,' is not a recognized POST1 command, abbreviation, or macro.<BR> This command will be ignored.<BR><BR>程序为:<BR>FINISH<BR>/CLEAR,NOSTART<BR>/FILENAME,EX1.1<BR>/CWD,g:\ansysxuexi\EX1_1<BR>/title,deflection of a hinged support<BR>*AFUN,DEG<BR>THETA=30<BR>A=10000<BR>B=A/2*TAN(THETA)<BR>/PREP7<BR>N,1<BR>N,2,A/2,-B<BR>N,3,A<BR>ET,1,LINK1<BR>R,1,1000<BR>MP,EX,1,210E3<BR>E,1,2<BR>E,2,3<BR>D,1,ALL,,,3,2<BR>F,2,FY,-1000<BR>OUTPR,,1<BR>FINISH<BR>/SOLU<BR>SOLVE<BR>FINISH<BR>/POST1<BR>PLDISP,2<BR>MID_NODE=NODE(A/2,-B,0)<BR>*GET,DISP,NODE,MID_NODE,U,Y<BR>LEFT_EL=ENEARN(MID_NODE)<BR>ETABLE,STRS,LS,1<BR>*GET,STRSS,ELEM,LEFT_EL,ETAB,STRS</P>
<P>*DIM,LABEL,CHAR,2<BR>*DIM,VALUE,,2,3<BR>LABEL(1)='STRS_MPa','DEF_mm'<BR>*VFILL,VALUE(1,1),DATA,1,-0.05498<BR>*VFILL,VALUE(1,2),DATA,STRSS,DISP<BR>*VFILL,VALUE(1,3),DATA,ABS(STRSS/1),ABS(DISP/0.05498)<BR>/OUT,EX1_1,out<BR>/COM<BR>/COM,-----------EX1.1 RESULTS COMPARISON-----------<BR>/COM,<BR>/COM, |TARGET|ANSYS|RATIO<BR>/COM,<BR>*VWRITE,LABEL(1),VALUE(1,1),VALUE(1,2),VALUE(1,3)<BR>(1X,A8,' ',F10.3,' ',F10.3,' ',1F5.3)<BR>/COM,---------------------------<BR>/OUT<BR>FINISH<BR>*LIST,EX1_1,out</P> |
|