做了一个例题,试了一下你的命令流,去掉 nesl 一句后,结果应该是对的。
示例的命令流如下:
fini
/clear
/filn, min&max
!*
WPSTYLE,,,,,,,,0
!*
KEYW,PR_SET,1
KEYW,PR_STRUC,1
!*
!*
/PREP7
!*
ET,1,BEAM188
!*
SECTYPE, 1, BEAM, CSOLID, , 0
SECOFFSET, CENT
SECDATA,10,0,0,0,0,0,0,0,0,0
!*
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,EX,1,,210000
MPDATA,PRXY,1,,0.3
!*
k,1
k,,1000
l,1,2
!*
LESIZE,ALL, , ,100, ,1, , ,1,
LMESH, 1
!*
FINISH
!*
/SOL
!*
ANTYPE,0
!*
D,51, , , , , ,ALL, , , , ,
!*
F, 1,FZ,20
F, 2,FZ,-10
!*
SOLVE
!*
FINISH
!*
/POST1
!*
/EFACET,1
PLNSOL, U,Z, 0,1.0
!*
allsel
!*
nsort,u,z,0,0,all
!*
/output,NeiHuanDisP,txt
*get,uz_min,sort,0,min
*get,uz_imin,sort,0,imin
*get,uz_max,sort,0,max
*get,uz_imax,sort,0,imax
/output
!*
fini
文件 NeiHuanDisP.txt 中的结果为:
*GET UZ_MIN FROM SORT ITEM=MIN VALUE=-0.268858219
*GET UZ_IMIN FROM SORT ITEM=IMIN VALUE= 2.00000000
*GET UZ_MAX FROM SORT ITEM=MAX VALUE= 0.476935657
*GET UZ_IMAX FROM SORT ITEM=IMAX VALUE= 1.00000000
与云图中的数据一致。
|