Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

APDL Maxwell Stress Tensor force very small

Status
Not open for further replies.

benji216

Electrical
Mar 19, 2013
3
I'm currently trying to simulate a magnetically levitating platform as part of a university project. Simplifying the problem and modelling it in 2D dimensions worked well and the results seemed logical. However now I've moved onto attempting to simulate it in 3D the force I'm seeing on the magnets seem way too small. So as a test I checked the force that two magnets exert on each other at a gap of 3mm and saw that the forces were once again very small, 10^-15N. However the magnetic field strength matches what the data sheet for the magnet said it should be.

Here is my code, what have I done wrong?:
/prep7
BLOCK,-6.350000e+00,6.350000e+00,-1.500000e+00,-2.690000e+01,-3.175000e+00,3.175000e+00
BLOCK,-6.350000e+00,6.350000e+00,1.500000e+00,2.690000e+01,-3.175000e+00,3.175000e+00
BLOCK,-2.540000e+01,2.540000e+01,-5.080000e+01,5.080000e+01,-1.270000e+01,1.270000e+01
/VIEW,1,1,1,1
/ANG,1
/REP,FAST
FLST,2,1,6,ORDE,1
FITEM,2,3
FLST,3,2,6,ORDE,2
FITEM,3,1
FITEM,3,-2
!*
VSBV,P51X,P51X, , ,KEEP
FLST,2,3,6,ORDE,3
FITEM,2,1
FITEM,2,-2
FITEM,2,4
VGLUE,P51X
!*
!*
/NOPR
KEYW,PR_SET,1
KEYW,PR_STRUC,0
KEYW,PR_THERM,0
KEYW,PR_FLUID,0
KEYW,PR_ELMAG,1
KEYW,MAGNOD,0
KEYW,MAGEDG,1
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-Edge
!*
!*
ET,1,SOLID236
!*
!*
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,MURX,1,,1
MPDATA,MURY,1,,1
MPDATA,MURZ,1,,1
*CSET,1,2, 1,2,
MPCOPY, ,1,2
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
CM,MAG1,ELEM
/UI,MESH,OFF
ESEL,S,MAT,,3
CM,MAG2,ELEM
!*
!*
FMAGBC,'MAG1','MAG2'
ALLSEL,ALL
FINISH
/SOL
/STATUS,SOLU
SOLVE
FINISH
/POST1
FMAGSUM,'MAG1','MAG2'

I understand that using the GUI is probably not the best way to tackle the problem but I have been chucked in at the deep end with this project, having no previous experience with Ansys. Any help would be greatly appreciated.

Thanks
Benji
 
Replies continue below

Recommended for you

What version of Maxwell and ANSYS are you working with?

I ask because you may not actually have an error in your work, but it could be something that has been corrected in an updated version of Maxwell. If you have an active license, you should have ANSYS 14.5.7 and Maxwell 16.0.3. ANSYS itself is fine, but the newer family members such as Maxwell have had a number of bug updates and patches in recent builds.

Hopefully something that simple may fix your problem. :) Otherwise we can take it from there!

~ Kherszal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor