加载电流密度
本帖最后由 gaofeifei 于 2010-5-20 10:31 编辑各位高手 小弟正在用ansys做三维的电磁分析 建立这样的三维模型 现在这个加载电流密度 困扰了我好长时间了 如何加载截面均匀的电流密度从下面的端面流进 另一个端面流出 这里是加载电流密度 不是加载电流 大家支持一下啊 回复 2# gaofeifei
查了下,3D电磁分析可以用BFA命令将电流加到实体的某一个面上。具体的话看help吧 The following is a command-based example of defining current sources.
/PREP7
ET,2, 36 ! Current source element
EMUNIT,MKS ! MKS units
! Define convenient parameters:
I=0.025 ! Current (amps)
N=300 ! Turns
S=0.04 ! Solenoid length
R=0.01 ! Solenoid radius
THK=0.002 ! Solenoid thickness
!
R=2,1,N*1,THK,S ! Real constant set 2:coil type, current
! thickness, length,
CSYS,1 ! Global cylindrical system
N,1001,R ! Nodes for the source element
N,1002,R,90
N,1003
TYPE,2 ! Attributes
REAL,2
E,1001,1002,1003 ! Element definition
/ESHAPE,1
/VIEW,1,2,1,.5
/VUP,1,Z
/TRIAD, LBOT
/TYPE,1,HIDP
EPLOT help里面的 是直接生成的有限元模型 应该是加在面上的单元吧 本帖最后由 ZengJianbin 于 2011-3-12 23:01 编辑
6.12.4. The Analysis Input
/title, Solenoid Analysis /com/com, Analyze solenoid, excited by coil, /com, magnetic edge element, SOLID117/com/com, ****************************************/com, Input Data/com, ****************************************/com, r1=1 ! iron core outer radius/com, r2=2 ! air outer radius/com, l=1 ! solenoid thickness/com, mu=100 ! core permeability/com, i=1 ! current/com/com, ****************************************/com. Target Results/com, ****************************************/com Lt=mu*mu0*r1**2*pi/l ! inductance/com phit=Lt*i ! flux/com Wt=1/2*Lt*i**2 ! energy/com Ht=i/l ! magnetic field/com Bt=mu*mu0*Ht ! flux density/com/nopr! Input Datar1=1 ! coil radiusr2=2 ! outer solenoid radiusl=1 ! solenoid thicknessmu=100 ! core permeabilityi=1 ! currentmply = 4nz=2*mply ! meshing parametersnt=5*mplynr=4*mply! Target Resultspi=3.1415926mu0=pi*4e-7Lt=mu*mu0*r1**2*pi/l ! inductancephit=Lt*i ! fluxWt=1/2*Lt*i**2 ! energyHt=i/l ! magnetic fieldBt=mu*mu0*Ht ! flux density/nopr/prep7! Solid FE Material Propertieset,1,117mp,murx,1,1et,2,117mp,murx,2,mu! Geometry, quarter modelcyl4,0,0, 0,0,r1,90,l ! iron corevatt,2,1,2vsel,nonecyl4,0,0,r1,0,r2,90,l ! coil/airvatt,1,1,1vsel,all!nummrg,allnummrg,kp! Meshing Solid Modellocal,11csys,1lsel,s,loc,z,l/2lesize,all,,,nzlsel,s,loc,x,r1lsel,a,loc,x,r2lsel,u,loc,z,l/2lesize,all,,,ntlsel,alllsel,u,loc,z,l/2lsel,u,loc,x,r1lsel,u,loc,x,r2lesize,all,,,nrlsel,allvsweep,all! Current carrying coilclocal,12,1esel,s,type,,1emode,all,esys,12bfe,all,js,,,i/((r2-r1)*l)allscsys,0! Boundary Conditionsnsel,s,loc,x,0nsel,a,loc,y,0d,all,az,0nsel,allfini! Solution/solusolvefini/post1! Retrieve Computed Resultsetab,H,H,zetab,B,B,zprvec,hesel,s,mat,,2pretab,h,bee=0ee=elnext(ee)! Computed Field Results*get,Hc,elem,ee,etab,h*get,Bc,elem,ee,etab,ber=abs((Bt-Bc)/Bt)*100esel,allfini/post1! Magnetic Energysenergy ! quarter modelWc=4*S_ENG ! full model/com,/com, Magnetic energy of the full coil Wc = %Wc%/com,fini! Computed LMATRIX /prep7esel,s,type,,1 ! coil componentcm,coil1,elemesel,allfini*dim,cur,array,1 ! Current vector for LMATRIXcur(1)=ilmatrix,4,'coil','cur' ! inductance computationLc=lmatrix(1,1) ! retrieve computed inductance dataphic=lmatrix(1,2)!Ansys 13:帮助地址:// Low-Frequency Electromagnetic Analysis Guide // 6. 3-D Magnetostatics and Fundamentals of Edge-Based Analysis // 6.12. Example of a Solenoid Analysis
回复 1# gaofeifei
根据匝数、总电流大小、以及截面面积,用bfa加载,再用bftran转到单元上。或者直接用bfe加载。但是你这个是不是应该注意方向 楼主 最近小弟也在困惑于这个问题,请问你是否已经解决了呢? 建立局部圆柱坐标系,在局部坐标下划分网格,然后加载。 定义材料属性的时候,记得需要加载的线圈带上柱坐标系,后面加载就方便了 又看了一次
http://www.discuz.net/static/image/common/sigline.gif
专业化细分的磁材行业门户 同样迷茫啊 懂的说一下哟 呵呵我不懂啊
页:
[1]