电磁分析例子,跪求大家帮忙(关于文本文件输出的)
一个关于电磁分析的例子,最后一步有问题,跪求大家帮忙!!!!!三维静态磁场标量法分析
/title,permanent magnet circuit with an air gap
/filnam,forcecal_3D,1
keyw,magnod,1
!进入前处理器,定义材料及参数
/prep7
et,1,98,10
emunit,mks
mp,murx,1,1
mp,murx,2,1e5
mp,murx,3,5.30504
mp,mgxx,3,129900
mp,mgzz,3,-75000
!建模
local,11,0,,,,,,30
/VIEW,1,1,1,1
k,1
k,2,0.015
k,3,0.025
kgen,2,1,3,1,,0.01
kgen,2,4,6,1,,0.02
kgen,2,7,9,1,,0.001
kgen,2,10,12,1,,0.01
a,1,2,5,4
a,2,3,6,5
a,5,6,9,8
a,10,11,14,13
A,11,12,15,14
A,8,9,12,11
K,16,,,0.01
L,1,16
VDRAG,1,2,3,4,5,6,20
!给模型赋材料属性,网格划分
VSEL,S,,,1
VATT,3
VSEL,S,,,6
VATT,1
VSEL,S,,,2,3
VSEL,A,,,4,5
VATT,2
VSEL,S,,,1,5
ESIZE,,1
MSHK,0
MSHA,1,3D
VMESH,ALL
VSEL,ALL
VMESH,6
NSEL,,LOC,X,0
D,ALL,MAG,0
NSEL,ALL
WSORT,Y
FINISH
!求解
/SOLU
MAGSOLV,2
finish
!后处理
/post1
rsys,11
/view,,0.06,0.05,0.06
/EDGE,1,1
/DEVICE,VECTOR,1
PLVECT,B
/VSCALE,,,1
PLVECT,H
!定义B1、H1、B2、H2值
ESEL,,MAT,,1
PRNSOL,B,COMP
NSORT,B,SUM
*GET,B1,SORT,,MAX
PRNSOL,H,COMP
NSORT,H,SUM
*GET,H1,SORT,,MAX
ESEL,,MAT,,3
PRNSOL,B,COMP
NSORT,B,SUM
*GET,B2,SORT,,MAX
PRNSOL,H,COMP
NSORT,H,SUM
*GET,H2,SORT,,MAX
*STATUS,PARM
!定义Label和Value表
*DIM,LABEL,CHAR,4,2
*DIM,VALUE,,4,3
LABEL(1,1)='B T','H A/M','B T','H A/M'
LABEL(1,2)='PMAG','PMAG','AIR','AIR'
*VFILL,VALUE(1,1),DATA,0.7387,39150,0.7387,587860
*VFILL,VALUE(1,2),DATA,B2,H2,B1,H1
*VFILL,VALUE(1,3),DATA,ABS(B2/0.7387),ABS(H2/39150),ABS(B1/0.7387),ABS(H1/587860)
!输出forcecal_3D.txt文本文件
*CFOPEN,forcecal_3D,txt
*VWRITE,LABEL(1,1),LABLE(1,2),VALUE(1,1),VALUE(1,2),VALUE(1,3)
(1X,A8,A8,' ',F12.4,' ',F12.4,' ',1F5.3)
*cfclos
这是一个关于电磁分析的例子,我按照书上所说的做的,问题出在最后一步,文件无法输出。
提示错误:No dimensions set for parmeter=LABLE,The above error occrrred processing field=LABLE(1,2)....,和Error in format,not enough data format specifiers
请教各位大侠,帮帮忙吧,我已经憋了两天了,找遍了各种资料,好像没什么问题,但我的ANSYS10.0就是不能执行最后一步的命令。 "not enough data format specifiers"
是不是磁盘空间不足了?
页:
[1]