找回密码
 注册
Simdroid-非首页
查看: 113|回复: 2

[电磁场] /EFACET,1 和/EFACET,2有什么区别??程序如下

[复制链接]
发表于 2008-6-5 11:17:11 | 显示全部楼层 |阅读模式 来自 湖南株洲
FINISH  
/CLEAR,START
/units,si        

/TITLE, Test for EDGE-Formulation with SOLID117
!   
! Parameters
*SET,l,5e-6 ! length
*SET,h,1e-6 ! height
*SET,w,5e-6 ! width
*SET,a,3e-6 ! 1st addition length of magnetic core  
*SET,b,5e-6 ! 2nd addition length of magnetic core  
! *** Create Model  
!   
FINISH  
/PREP7  
!   
ET,1,117 ! Element type #1 is a magnetic edge element, 117.
! (We use only one in this example)
!   
MP,MURX,1,1 ! Define relative permeability of material #1.  
! Material #1 is the conductor made from copper
MP,RSVX,1,17.2e-9 ! Define electric resistivity of material #1.
!   
MP,MURX,2,500 ! Define relative permeability of material #2.
! Material #2 is the magnetic core made from NiFe   
!   
MP,MURX,3,1 ! Define relative permeability of material #3.  
! Material #3 is the air ambient
!   
! Define rectangular block of conductor volume  
! region
BLOCK,-w,w,-h,h,-15e-6,15e-6  !  
!   
! Define rectangular block of upper magnetic core   
! volume region
BLOCK,-w-a,w+a,h+a,h+2*a,-l,l   
BLOCK,w+a,w+a+b,h+a,h+2*a,-l,l  
BLOCK,-w-a,-w-a-b,h+a,h+2*a,-l,l
BLOCK,w+a,w+a+b,h,h+a,-l,l  
BLOCK,-w-a,-w-a-b,h,h+a,-l,l
!   
! Define rectangular block of lower magnetic core ! volume region   
BLOCK,-w-a,w+a,-(h+a),-(h+2*a),-l,l
BLOCK,w+a,w+a+b,-(h+a),-(h+2*a),-l,l
BLOCK,-w-a,-w-a-b,-(h+a),-(h+2*a),-l,l  
BLOCK,w+a,w+a+b,-h,-(h+a),-l,l  
BLOCK,-w-a,-w-a-b,-h,-(h+a),-l,l
!   
! Define rectangular block of air ambient   
BLOCK,-22e-6,22e-6,-15e-6,15e-6,-15e-6,15e-6
! Overlap volumes   
VOVLAP,ALL  
NUMCMP,VOLU
! Assign attributes to the volumes  
VSEL,S,VOLU,,1  
VATT,1 ! conductor  
VSEL,S,VOLU,,2,11,1 ! magnetic core
VATT,2  
VSEL,S,VOLU,,12 ! air ambient   
VATT,3  
! Mesh volumes  
VSEL,S,MAT,,1,2,1 ! Conductor and magnetic core with hexaelements   
ASLV,S  
LSLA,S  
LESIZE,ALL,3e-6
MSHKEY,1 ! MAPPED VOLUME MESH   
MSHAPE,0,3D ! USING HEX
VMESH,ALL   
VSEL,S,MAT,,3 ! Air ambient
ASLV,S  
LSLA,S  
LESIZE,ALL,3e-6
MSHKEY,0 ! FREE VOLUME MESH
MSHAPE,1,3D ! USING TET
VMESH,ALL   
ALLSEL,ALL  
FINISH  
/SOLU   
!*** Apply current density on conductor ***
ESEL,S,MAT,,1 ! Select coil element
BFE,ALL,JS,1,,,-1e9 ! Apply current density
!*** Flux parallel boundary condition at all extern area of air ambient ***
ASEL,S,EXT  
DA,ALL,AZ,0
ALLSEL,ALL  
! Solution parameters   
ANTYPE,0
NROPT,AUTO,,
EQSLV,SPAR,,0,  
PRECISION,0
MSAVE,0
PIVCHECK,1  
/STATUS,SOLU
SOLVE   
FINISH  
/POST1  
!*** Vectorplot of magnetic flux (BSUM) for magnetic core's and conductor's
! elements  
/VSCALE,1,1,0   
!   
!*  
PLVECT,B, , , ,VECT,ELEM,ON,0   
ESEL,U,MAT,,3   
/REPLOT

PLVECT,B, , , ,VECT,ELEM,ON,0   
ESEL,U,MAT,,2   
/REPLOT

/EFACET,1   
PLNSOL, B,SUM, 0
 楼主| 发表于 2008-6-5 14:10:46 | 显示全部楼层 来自 湖南株洲

就是最后一行的那个东西的

Simdroid开发平台
/EFACET,1 和/EFACET,2有什么区别??哪个回答我
回复 不支持

使用道具 举报

发表于 2010-1-27 22:41:58 | 显示全部楼层 来自 北京海淀
可以查看帮助
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-9-30 13:18 , Processed in 0.037040 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表