×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

2D magnetostatics - ANSYS

2D magnetostatics - ANSYS

2D magnetostatics - ANSYS

(OP)
Hi ,
i would like to ask about 2D magnetostatics in ANSYS. I know better for this is MAXWELL but i havent licence. I made some APDL script but i have big problem. I want to do it 2D example with coil. But flux lines flow in very strange direction. I think porblem is in conection mesh but i dont know how to connect.

Thank you very much for some advise.afro

Here is my APDL program:

/NOPR
KEYW,PR_SET,1
KEYW,PR_STRUC,0
KEYW,PR_THERM,0
KEYW,PR_FLUID,0
KEYW,PR_ELMAG,1
KEYW,MAGNOD,1
KEYW,MAGEDG,0
KEYW,MAGHFE,0
KEYW,MAGELC,0
KEYW,PR_MULTI,0
KEYW,PR_CFD,0
/GO
!*
/COM,
/COM,Preferences for GUI filtering have been set to display:
/COM, Magnetic-Nodal
!*

! +++++++ Výběr materiálu

/PREP7
RECTNG,10,37,8.5,0 ! hřidel X1,X2,Y1,Y2
RECTNG,13,16,9.1,38.5 ! břit levý
RECTNG,31,34,9.1,38.5 ! břit pravý
RECTNG,16,31,9.5,14 !hlinikový nakružek
RECTNG,16,31,14,28 !civka
RECTNG,16,31,38.5,35 !ukonceni obvodu část vrchni
RECTNG,19,28,35,30 !ukonceni obvodu část spodní
RECTNG,10,37,9.1,8.5 ! zjemneovani mesche
RECTNG,0,45,0,45 !vnejsek

FLST,2,1,5,ORDE,1
FITEM,2,9
FLST,3,8,5,ORDE,2
FITEM,3,1
FITEM,3,-8
ASBA,P51X,P51X, , ,KEEP

AADD,2,6,3,7

! +++++++ Výběr prvku

ET,1,PLANE13 ! nastaveni axisymetrie
!*
KEYOPT,1,1,0
KEYOPT,1,2,0
KEYOPT,1,3,1
KEYOPT,1,4,0
KEYOPT,1,5,0
!*

! +++++++ nastevni materialu

MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,MURX,1,,1 ! hlinik
MPDATA,MURX,2,,800 ! ocel
MPDATA,MURX,3,,1 ! měd
MPDATA,MURX,4,,1 ! vzduch

! +++++++ prirazeni materialu

AESIZE,4,1 !nastaveni velikosti
AMESH,4

mat,2
AESIZE,9,1 !nastaveni velikosti
AMESH,9

AESIZE,1,1
AMESH,1

mat,3
AESIZE,5,1
AMESH,5

mat,4
AESIZE,12,1
AMESH,12

AESIZE,8,0.05
AMESH,8

AESIZE,10,1
AMESH,10

AESIZE,9,1
AMESH,9

AESIZE,11,1
AMESH,11

! +++++++ Current density

BFA,5,JS, , ,1000,0

! +++++++ mAGNETIC FLUX PARALEL

LPLOT
FLST,2,6,4,ORDE,5
FITEM,2,1
FITEM,2,34
FITEM,2,-36
FITEM,2,44
FITEM,2,-45
DL,P51X, ,ASYM

! +++++++ Solve

/SOL
MAGSOLV,0,3,0.001, ,25,

FINISH
/POST1
PLF2D,27,0,10,1

RE: 2D magnetostatics - ANSYS

I had a similar problem to this one recently and found that by glueing the areas together after this line
AADD,2,6,3,7
the areas will then connect together and the magnetic flux lines will flow through out the whole design.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources