CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   what is the magneticFoam for in the OpenFOAM 2.0.0 (

goodkid June 24, 2011 08:20

what is the magneticFoam for in the OpenFOAM 2.0.0
I have viewed the code of magneticFoam in the OpenFOAM 2.0.0.The code does not involve any equations.what is the code meaning and how to use the magneticFoam.

Bernhard June 24, 2011 08:43

From the source.

Solver for the magnetic field generated by permanent magnets.

A Poisson's equation for the magnetic scalar potential psi is solved
from which the magnetic field intensity H and magnetic flux density B
are obtained. The paramagnetic particle force field (H dot grad(H))
is optionally available.
On line 80 you see which equation is solved.

goodkid June 24, 2011 09:01

Thanks.I did not read the code in detail.

maddalena November 7, 2011 05:58

searching for an example
is there anyone having a working example of this magneticFoam? Inside tutorials/electromagnetics/ I have electrostaticFoam and mhdFoam only! :rolleyes:
Thank you for sharing,


wyldckat December 24, 2011 09:25

Greetings to all!

Another thread thread was created last 7th of December and a case is now available in that thread here: post #12.
Feel free to chip in with experience you may have so the case can evolve into something more meaningful than a mere sandbox case.

If that case would evolve into a page at similarly to , that would be awesome :)

Best regards,

All times are GMT -4. The time now is 11:16.