多语言展示
当前在线:1441今日阅读:86今日分享:14

ansys 电磁单元例子:[1]plane53

1、最近打算把ansys help中的vm例子做一遍,先从电磁单元开始吧。最常用的是53单元了第一个例子为载流导体的电磁力比较,分析了3种电磁的加载方法和比较。2、apdl如下:fini/cle!载流体的力计算/filname,vm188,1/title,Force Calculation on a Current Carrying Conductor/prep7et,1,53et,2,9emunits,mksmp,murx,1,1mp,murx,2,1d=0.01a=0.012t=0.002ob=0.04x1=d/2-t/2x2=d/2+t/2gp=0.002rect,0,ob,0,obrect,0,0.012,0,0.012rect,x1,x2,0,a/2rect,x1-gp,x2+gp,0,a/2+gpaovlap,allnumcmp,allaplotasel,s,area,,1aatt,2,,1allselsi_e=0.0002esize,si_eamesh,1esize,si_e*2amesh,4esize,si_e*5amesh,3esize,si_e*10amesh,2lsel,s,extlsel,u,loc,xlsel,u,loc,ylatt,1,,2lmesh,allallselfini/solantype,staticesel,s,mat,,2bfe,all,js,,,,1e6nsle,sbf,all,mvdi,1nsel,invebf,all,mvdi,0allselcnvtol,csg,1e-8solvefini/post1etable,fmagx,fmag,xetab,fvwx,nmisc,3ssum*get,fxl,ssum,,item,fmagxfxl=fxl*2*get,fxvw,ssum,,item,fvwxfxvw=fxvw*2path,maxwell,4,,48ppath,1,,0.012,0,0ppath,2,,0.012,0.012,0ppath,3,,0,0.012,0ppath,4,,0,0,0for2dfxm=fx*2*status,parm/pbc,path,1plf2d*dim,label,char,3,2*dim,value,,3,3label(1,1)='F(lrnz)','F(maxw)','f(vw)'label(1,2)='N/M','N/M','N/M'*do,i,1,3,1value(i,1)=-9.684e-3*enddo*vfill,value(1,2),data,fxl,fxm,fxvw*do,i,1,3,1value(i,3)=value(i,2)/value(1,1)*enddo/COM/OUT,vm188,vrt/COM,------------------- VM188 RESULTS COMPARISON --------------/COM,/COM, | TARGET | Mechanical APDL | RATIO/COM,PLANE53*VWRITE,LABEL(1,1),LABEL(1,2),VALUE(1,1),VALUE(1,2),VALUE(1,3)(1X,A8,A8,' ',F10.6,' ',F18.6,' ',1F15.3)/OUT3、结果如下1.网格密度2.磁力线分布3、磁场分布4.电磁力比较
推荐信息