ansys中矩形磁路的分析0 fini
/clear
/COM,
/COM,Preferences for GUI filtering have been set to display:
/COM, Magnetic-Nodal
/prep7
r1=0.00155 !倒角半径
gap=0.0007 !磁隙
l1=0.0037
l2=0.0074
l3=0.0048
h=0.001
d=0.0003
w1=0.0023
w2=0.0032
w3=0.0068
hc=150000 !n42h矫顽力
br=1.32 !n42h剩磁
et,1,solid98,10
et,2,infin47
EMUNIT,MKS !选择mks单位制
MP,MURX,1,1 !空气相对磁导率
MP,MURX,2,1E5 !铁心相对磁导率
MP,MURX,3,1.03 !br/(4*3.14*hc)*1e+7 !永磁体相对磁导率
MP,MGyy,3,1101900 !hc !永磁体的矫顽力
MP,MURX,4,1.03 !br/(4*3.14*hc)*1e+7 !永磁体相对磁导率
MP,MGyy,4,-1101900 !hc !永磁体的矫顽力
!建外壳
block,-l3,l3,,h+2*d,-w3,w3
block,-l3+d+0.000,l3-d-0.000,d,h+2*d,-w3+2*d,w3-2*d !壳体增厚0.mm
vsbv,1,2,,delete,delete
!建磁体磁极
block,-l1,l1,d,h+2*d,-w1,w1
block,-l1,l1,d,h+2*d,-w1-gap-w2,-w1-gap
block,-l1,l1,d,h+2*d,w1+gap,w1+gap+w2
!!!!!!!!!
afillt,4,16,r1
afillt,32,10,r1
afillt,33,17,r1
afillt,34,30,r1
vsba,1,31,,delete,keep
vsba,6,16,,delete,keep
vsba,7,32,,delete,keep
vsba,8,33,,delete,keep
vsel,s,volu,,1
vsel,a,volu,,5,7,1
vdele,all,,,1
vsel,all
vglue,all
wpoffs,,h+d
wprot,0,90
vsel,s,volu,,2,4,2
vsel,a,volu,,9
vsbw,all
wprota,,-90
wpoffs,,-d-h
block,-l3+d,l3-d,d,h+2*d,-w3+2*d,w3-2*d
block,-3*l3,3*l3,,10*h+2*d,-3*w3,3*w3
vovlap,all
numcmp,all
vsbw,7
wprota,,,-90
vsbw,10,
vsbw,11
wprota,,,90
/eof
!划分网格
type,1
mat,3
vmesh,2,4,2
mat,4
vmesh,6
mat,2
vmesh,1,5,2
vmesh,8
mat,1
vmesh,7,10,3
vmesh,12,13
vmesh,9 ! Generate nodes and volume elements within volume
! meshing>mesh>free or mapped>4 to 6 sides
type,2
amesh,21
asel,s,area,,21
nsla,s,1
SF,ALL,INF
d,all,mag,0
|