Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Model induced currents due to change of magnetic flux density

Status
Not open for further replies.

AndrewSpotlight

Mechanical
Jul 5, 2011
8
Hi,

I am currently trying to model: a bar permanent magnet moving toward a coil, where induced current will be created on the coil due to the change of magnetic flux density. Is it possible to do this in ANSYS? or Ansoft Workbench? (with transient of harmonic analysis)

Thanks!!!
 
Replies continue below

Recommended for you

I write the ANSYS codes for this problem today, but keep getting error message: "circuit modeling with velocity modeling effects are not available". Anybody has any idea what the problem is?

I attached my codes below:
**************************************
/TITLE,2D magnet-coil transient analysis
/PREP7
EMUNITS,MKS

! *********************************** Dimension
a = 0.01 ! Dimension of the magnet
b = 0.01 ! Dimension of coil
d = 0.01 ! Distance between magnet and coil
acoil = 0.001*0001 ! cross-section of coil
n = 20 ! coil turns
l = 0.05 ! Dimension of the surrounding air
VELOX = 0 ! coil velocity x-direction
VELOY = 0.5 ! coil velocity y-direction

! ****************************************************************** Element
! Element #1 - air and magnet
ET,1,PLANE53
KEYOPT,1,1,0 ! AZ degree of freedom
KEYOPT,1,2,0 ! no velocity effects

! Element #2 - coil
ET,2,PLANE53
KEYOPT,2,1,4 ! AZ degreen of freedom, VOLT, EMF
KEYOPT,2,2,1 ! velocity effects


! ************************************* Material
! Material #1 - Air
MP,MURX,1,1 ! Air: Material #1 (Permeability = 1)

! Material #2 - Magnet
MP,MURX,2,1000 ! Magnet: Material #2 (Permeability = 1)
MP,RSVX,2,1E-9 ! Electrical resistivity
MP,MGYY,2,1E6 ! Coercive force component, Y direction

! Material #3 - Coil
MP,MURX,3,1
R,3,acoil,n,,1,.95,VELOX ! coil constants (area,turns,leng,dirz,fill factor)
RMORE,VELOY ! coil constants (velox,veloy)


! ************************************* Geometries
/PNUM,AREA,1
! Air shape
RECTNG,0,2*l+a,-a-b-d-l,a+b+d+l

! Magnet shape
RECTNG,l,l+a,0,a

! Coil shape
Rectng,l,l+a,a+d,a+d+b

! Create new areas
aovlap,all
numcmp,area ! Re-numbering area
aplot ! Area #1 - magnet
! Area #2 - coil
! Area #3 - air

! ******************************** Attributes
! Air
ASEL,S,AREA,,3 ! Select area #3 (air)
AATT,2,1,1 ! Assign material #1 with element #2

! Magnet
ASEL,S,AREA,,1 ! Select area #1 (magnet)
AATT,1,1,1 ! Assign material #1 with element #2

! Coil
ASEL,S,AREA,,2 ! Select area #2 (coil)
AATT,3,1,2 ! Assign material #1 with element #2

/pnum,mat,1
ALLSEL,ALL
APLOT

!************************************* Define load
ALLSEL
LSEL,S,EXT
D,ALL,AZ,0

! ******************************************* Mesh
ALLSEL
SMRT,1
AMESH,ALL
FINISH

! ************************************** Solve
/SOLU
ANTYP,TRANS
TIME,.01
DELTIM,.002
OUTRES,ALL,ALL
SOLV
TIME,.03
NSUBST,1
SOLVE


Thanks so much in advances!!!
TIME,.03
DELTIM,.005
TIME,.06
NSUBST,1
SOLVE
FINISH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor