I would like to model magnetic field of a permanent magnet like this one magnet . Ideally, I would like to do it python or any other language. I would like to start with some simple geometry and some properties of the material and end up with vector field. I am planning to move this vector field around and observe generated voltage. So far I found a couple of python libraries and FEMM with Python API. FEMM looks the most promising, but really hard to understand. Are there any tutorials for FEMM? Also what does the modelling process consists off? I see that finite element method is used, but I am not clear why are we trying to solve certain equations numerically? Do we represent permanent magnet as coil and the using Maxwell equation trying to figure out the vector field? What if our permanent magnet shape is far from simple coil geometry? I am willing to start with something simple like finite difference. Too many questions, not sure where to start.

  • $\begingroup$ There are lot of questions within the post. I know there can be a lot of questions when you are just starting out with something, but it may help to narrow it down to what you consider the most important of these questions and ask the others if the initial question doesn't clear things up. I'm not an expert in finite element methods and it seems this question has had a tough time garnering attention here. It may be worth trying it this question on Computational Science SE, which has a lot of finite element questions. $\endgroup$
    – Tyberius
    Jan 14, 2022 at 16:36
  • $\begingroup$ This question has been closed as it seems to be abandoned. It can be reopened if someone wants to add an answer or the OP addresses questions/suggestions in the comments. $\endgroup$
    – Tyberius
    Feb 24, 2022 at 14:22


Browse other questions tagged .