# Magnetic Field Calculation in 3D : using magneticFoam

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

 August 15, 2012, 11:43 Magnetic Field Calculation in 3D : using magneticFoam #1 New Member   A Sharma Join Date: Mar 2012 Location: Germany Posts: 14 Rep Power: 7 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. Sincerely, abhishek

 August 15, 2012, 14:46 #2 Super Moderator   Bruno Santos Join Date: Mar 2009 Location: Lisbon, Portugal Posts: 10,020 Blog Entries: 39 Rep Power: 109 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: http://openfoamwiki.net/index.php/MagneticFoam 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, Bruno __________________ OpenFOAM: FAQ | Getting started Forum: How to get help, to post code/output and forum guide What am I doing/planning: blog/wiki Read this before sending me PM

 October 7, 2012, 06:15 #3 Member   Martin Join Date: Dec 2011 Location: Latvia Posts: 54 Rep Power: 7 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, Martin wyldckat likes this.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post fferroni FLUENT 6 July 13, 2015 05:29 jhertel OpenFOAM Pre-Processing 15 March 19, 2015 09:42 jan0385 ANSYS 0 April 12, 2012 09:09 Hermano Main CFD Forum 2 November 29, 2011 09:32 J.W.Ryu FLUENT 0 November 7, 2002 22:24

All times are GMT -4. The time now is 12:20.