magnetostatic with mesh morphing

Elmer cases by the users for the users
Post Reply
teofilBitron
Posts: 41
Joined: 25 Feb 2011, 18:43
Antispam: Yes
Location: Italy

magnetostatic with mesh morphing

Post by teofilBitron »

In this little example I'll resolve the magnetic field around an horseshoe permanent magnet.
Interesting, in my opinion, are the way in which the magnetization Body force is given and the mesh update in order to fast evaluate different iron position between the magnet and the ferromagnetic bar.

The mesh zip is 2.4Mb and I can not upload it.

My question is, are there a way in order to evaluate the magnetic force between the magnet and the iron bar?

Many thanks in advance, Alex
Attachments
permanentMagnet.jpg
permanentMagnet.jpg (35.88 KiB) Viewed 9223 times
ferroCavallo.zip
(955.53 KiB) Downloaded 605 times
kataja
Posts: 74
Joined: 09 May 2014, 16:06
Antispam: Yes

Re: magnetostatic with mesh morphing

Post by kataja »

This looks quite nice!

The cleanest way to have total magnetic forces calculated per group of bodies is to utilize the component sections and nodal forces.

For that you need to have section like this

Code: Select all

Component 1
  master bodies(n) = k_1 k_2 ... k_n ! the id numbers of the bodies where the forces are collected
  calculate magnetic force = logical true
End
This will collect the total magnetic force acting on bodies k_1, k_2, ... k_n.

Also, you need to have

Code: Select all

 calculate nodal forces = true 
in the MagnetoDynamicsCalcFields solver and, if you want to have the component results saved to a file,

Code: Select all

 save component results = true 
in the SaveScalars solver.

There is an example in elmer tests where you can see more here: https://github.com/ElmerCSC/elmerfem/bl ... e/case.sif

By the way, may we (as CSC - Finnish IT Center for Science) use your example in our Elmer materials?

Cheers,
Juhani
teofilBitron
Posts: 41
Joined: 25 Feb 2011, 18:43
Antispam: Yes
Location: Italy

Re: magnetostatic with mesh morphing

Post by teofilBitron »

Thank you for your replay. On Next Monday I'll try it. Obviously, I Think that coluld also be possible to use those Forces as loads for a subsequent structural analysis.
In order to share the case, how could I upload the mesh that is great than the size limit?
lazyTom
Posts: 56
Joined: 05 Jun 2013, 01:32
Antispam: Yes

Re: magnetostatic with mesh morphing

Post by lazyTom »

Hi Alex,

You can, for example, split the zip file in two or more smaller files directly with winzip. Or decrease mesh density.

Regards,

Marco
Post Reply