# Using SPICE with FEMM (Finite Element Method Magnetics)

by Jdo300
Tags: element, femm, finite, magnetics, method, spice
 P: 547 Hello All, Some of you may have heard of the freeware FEA program called FEMM written by David Meeker. It is used to simulate 2D electromagnetic geometries and also has an integrated LUA scripting host which allows script files to be written to automate the process. I'm currently using FEMM to model and calculate the output voltage, current, and power of a custom generator model but I'm wondering if it is possible to use SPICE to simulate the circuit components of my model. Basically, I'm starting with a very simple setup with a spinning magnet and a coil. The goal is that I want to simulate the load voltage and current from this coil, taking into account it's reactance and presumably non-sinusoidal output waveform. Right now, I can calculate the inductance of the coil, the output current, and induced voltage straight from the simulator outputs, but I would like to somehow input these values into the SPICE simulator to determine the load voltage, current, and phase shift. I'm modeling the output circuit of the generator as a voltage source with a series resistance, and inductance to represent the generator, and a resistive load for the output load. The tricky part is that the source inductance also changes with the loading of the generator (which is why I'm considering using spice somehow). Has anyone ever worked with a situation like this before? Thanks, Jason O
 P: 2 Yes, we use LTspice + FEMM (LookUp Table). Modeling Back EMF From Solenoid Valve.Ustroystvo as a black box. Examples http://www.magneticdon.narod.ru/Batishchev.pdf and http://www.magneticdon.narod.ru/Arti...v_Pavlenko.pdf
Mentor
P: 40,717
 Quote by kasandranas Yes, we use LTspice + FEMM (LookUp Table). Modeling Back EMF From Solenoid Valve.Ustroystvo as a black box. Examples http://www.magneticdon.narod.ru/Batishchev.pdf and http://www.magneticdon.narod.ru/Arti...v_Pavlenko.pdf
Welcome to the PF.

Are there any English language translations available of this work? It's probably of fairly limited usefulness in its current language/format.

 P: 2 Using SPICE with FEMM (Finite Element Method Magnetics) Planned to write an article in English in the near future.
 P: 547 Thanks kasandranas, When you do, please let me know, I would be very interested to see how you approached the problem. - Jason O

 Related Discussions Academic Guidance 5 Engineering, Comp Sci, & Technology Homework 2 Differential Equations 6 Electrical Engineering 0 Electrical Engineering 2