马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
下面的程序是我建立一个电机的一部分,但就是这一步出了问题,导致这以后的都不对。
我先建立了三个面area,1、2、3然后用一个空气圆覆盖。我前面已经定义了1,2,3的三个面的材料属性,但是当我用第四个面覆盖后,再aovlap,all结果第三面的属性改掉了,变成空气了,而1,2的属性没有变。这是为什么呢?
大家看一下,谢谢各位了!
/units,si
!!!!!!!!!!!!!!!define the parameters needed
c_pi=3.1415926 ! define pi value
c_phase=3 ! define the phase number
pm_br=1.2 ! br(t)
pm_ur=1.05 ! ur
pm_u0=4e-7*c_pi ! u0
pm_hc=pm_br/pm_u0/pm_ur ! hc=br/u0/ur(a/m)
/prep7
!!!!!!!!!!!!!!!!!!!!Assign element type and material propertis
et,1,plane53
mp,murx,1,1 ! set realtive permeability for air to 1
mp,murx,2,1 ! set realtive permeability for coil to 2
tb,bh,3,1,38 ! set b-h curve for material 3:stator and
rotor iron_emd
tbpt,,40,0.432 ! hc: a/m; br:t
tbpt,,60,0.613
tbpt,,77.8,0.728
tbpt,,100,0.83
tbpt,,127,0.922
tbpt,,154,0.995
tbpt,,200,1.1
tbpt,,244,1.16
tbpt,,300,1.23
tbpt,,347,1.27
tbpt,,400,1.31
tbpt,,449,1.33
tbpt,,509,1.36
tbpt,,600,1.39
tbpt,,724,1.41
tbpt,,884,1.44
tbpt,,1040,1.45
tbpt,,1290,1.48
tbpt,,1570,1.5
tbpt,,1990,1.53
tbpt,,2430,1.56
tbpt,,2910,1.58
tbpt,,3490,1.61
tbpt,,4000,1.63
tbpt,,4880,1.66
tbpt,,6010,1.69
tbpt,,6960,1.72
tbpt,,8000,1.74
tbpt,,10000,1.78
tbpt,,12100,1.81
tbpt,,14300,1.84
tbpt,,17100,1.88
tbpt,,20000,1.91
tbpt,,24700,1.96
tbpt,,31000,2.0
tbpt,,36700,2.04
tbpt,,40000,2.05
tbpt,,133000,2.50
mp,mgxx,4,pm_hc !set hc for material 4:pms
mp,murx,4,pm_ur !set ur for material 4:pms
!!!!!!!!!!!!!!!!!model the stator
p=36
pitch=360/p
rso=0.15
rsi=0.113
g=0.001
roo=0.112
roi=0.101
rio=0.100
rii=0.030
l1=0.02 !定子平行齿的长度
l2=0.025 !转子平行齿的长度
!/pnum,line,1
!!!!!!!!!!!!!!!!!!建立一个齿的模型先定子
k,1
csys,1
k,3,rso,pitch/2
k,4,rso,-pitch/2
larc,3,4,1,rso !line1
k,5,rsi+0.0025+l1,pitch/2
k,6,rsi+0.0025+l1,-pitch/2
csys,0
k,7,sqrt((rsi+0.0025+l1)**2+0.004**2),0.004
k,8,sqrt((rsi+0.0025+l1)**2+0.004**2),-0.004
k,9,sqrt((rsi+0.0025)**2+0.004**2),0.004
k,10,sqrt((rsi+0.0025)**2+0.004**2),-0.004
lstr,3,5 !line2
larc,5,7,1,rsi+0.0025+l1 !line3
lstr,7,9 !line4
lstr,8,10 !line6
larc,6,8,1,rsi+0.0025+l1 !line7
csys,1
k,11,rsi+0.001,pitch/2-0.75
k,12,rsi+0.001,-pitch/2+0.75
k,13,rsi,pitch/2-0.75
k,14,rsi,-pitch/2+0.75
k,15,rsi,pitch/2
k,16,rsi,-pitch/2
lstr,9,11 !line8
lstr,10,12 !line9
lstr,11,13 !line10
lstr,12,14 !line11
larc,13,15,1,rsi !line12
larc,14,16,1,rsi !line13
larc,13,14,1,rsi !line14
lstr,5,15 !line15
lstr,6,16 !line16
lstr,4,6 !line17
lsel,s,,,3,4,1
lsel,a,,,7,11,2
lsel,a,,,14
al,all
asel,s,,,1 !area1
aatt,2,2,1,0
allsel,all
lsel,s,,,5,6,1
lsel,a,,,8,12,2
lsel,a,,,15
al,all
asel,s,,,2 !area2
aatt,2,2,1,0
allsel,all
lsel,s,,,1,10,1
lsel,a,,,13,16,3
al,all
asel,s,,,3 !area3
aatt,3,3,1,0
allsel,all
/pnum,mat,1
cyl4,0,0,rii,0,rso,360 !area4
aovlap,all |