Author |
Message |
RWS (transpower)
Member Username: transpower
Post Number: 13 Registered: 12-2008
| Posted on Thursday, December 03, 2009 - 04:08 pm: | |
I am attempting to model the interaction of a permanent magnet with a conductor carrying electrical current. In essence, this combines the Simple Fields of Physics scripts sim101.pde and sim104.pde. My proposed script is attached. However, the result doesn't look quite right; supposedly the field would be more circular around the wire. Also, I don't see, from the output, how I would get a resultant force that is normal both to the magnet and to the current, as experimentally observed.
|
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 1308 Registered: 06-2003
| Posted on Friday, December 04, 2009 - 02:43 pm: | |
Are you sure you have your units right? 4*pi*1e-7 is the permeability of free space in MKS units, which means that J is interpreted as Amperes/M^2. If the dimensions of your system are in mm and you have specified Jz0 as Amperes (total), then you must divide Jz0 by the cross-sectional area of the wire to get the proper current density. If you do this, you see a circular field around the wire.
|
RWS (transpower)
Member Username: transpower
Post Number: 14 Registered: 12-2008
| Posted on Sunday, December 06, 2009 - 06:32 pm: | |
By reducing the magnetic field of the bar magnet and increasing the magnetic field of the wire, I was able to get the field display to look proper. Before, the magnet was simply overpowering the wire. Thanks. |
|