CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Magnetic Field Calculation in 3D : using magneticFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By latvietis

LinkBack Thread Tools Display Modes
Old   August 15, 2012, 11:43
Default Magnetic Field Calculation in 3D : using magneticFoam
New Member
A Sharma
Join Date: Mar 2012
Location: Germany
Posts: 14
Rep Power: 5
stealth is on a distinguished road
Hello OpenFoam Users,

I like to create Magnetic Field from a 3D Permanent Magnet, using magneticFoam solver. I am not able to find worked out examples online. It will be really helpful if someone can explain how to find magnetic field vector from the simple permanent magnet (For Eg. Cylinder). It will be of great help if some one can post an example input files.


stealth is offline   Reply With Quote

Old   August 15, 2012, 14:46
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,929
Blog Entries: 34
Rep Power: 92
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Abhishek,

I'm assuming that since you've liked my post at the thread named "magneticFoam", then you might have already found what has been documented so far:

Sadly it's not much, although I asked latvietis back then that he could thank me by improving the wiki page...

Have fun testing how the solver works!

Best regards,
wyldckat is offline   Reply With Quote

Old   October 7, 2012, 06:15
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 5
latvietis is on a distinguished road
I'm really sorry that I'm answering this late.. you know.. summer holidays and till you get back to work left before.

Anyway, have you, Abhishek, found a way to solve your problem? If not then I can explain in simple way why I didn't find the magneticFoam solver usable for my purpose (and also why I haven't contributed to the wiki page, yet).

magneticFoam doesn't work if you create a magnet inside larger region (air for example), define its poles and then want to find B field. B lines are closed, but magneticFoam doesn't (at least by default) give you proper information about magnetic field inside the magnet; what I want to say is that you can't get closed field line loop.

With magneticFoam you can create empty magnet (if you are not interested in how field looks inside it) and then find field values that this magnet (its poles) is generating. Another flaw is that you can't include different materials and how magnetic field is effected by them, for example, how field changes when you insert a ferromagnetic material.

Maybe someone has found a way how to solve these things and what I have done wrong in my tests.

Best wishes,
wyldckat likes this.
latvietis is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting an external B0_x field in MHD module fferroni FLUENT 6 July 13, 2015 05:29
funkySetBoundaryFields - Manipulation of existing field jhertel OpenFOAM Pre-Processing 15 March 19, 2015 09:42
Demagnetization field jan0385 ANSYS 0 April 12, 2012 09:09
How to get the velocity field from the pressure field Hermano Main CFD Forum 2 November 29, 2011 09:32
Help!!!) Magnet flux density vector calculation J.W.Ryu FLUENT 0 November 7, 2002 22:24

All times are GMT -4. The time now is 23:46.