### Author Topic: Magnetic field pattern for (line/ coil/ solenoid)  (Read 89787 times)

#### lookang

• Hero Member
• Posts: 1772
• http://weelookang.blogspot.com
##### Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #15 on: August 31, 2009, 03:37:13 pm »
suggestion of further development. I tried to look in the codes but i cannot do it myself.

1. can make it possible to change the direction of the current? it seems to be only downwards for the moment. This can help learners to visualize the effect of the direction of current.

2. can make it obey the
Bperpendicular = µoI / (2*pi*r)
where
* µo, permeability of free space = 4*pi x 10-7 Tm/A
* I, current flowing through the wire, measured in amps
* B, magnetic field strength, measured in Tesla
* r, distance from the wire, measured in meters
http://dev.physicslab.org/Document.aspx?doctype=3&filename=Magnetism_CurrentCarryingWires.xml

3. can add a 3D object of a hand to illustrate the Maxwell's Right Hand Grip Rule?

4. Do u want to improve this version? It is yours i think, but the coding is different from the first post's xml.
Reference:
written by Wolfgang Christian and Fu-Kwun Hwang
technical implementer: Robert Mohr
The EJS Magnetic Field from Loops model computes the B-field created by an electric current through a straight wire, a closed loop, and a solenoid. Users can adjust the vertical position of the slice through the 3D field.
I managed to do a bit here http://www.phy.ntnu.edu.tw/ntnujava/ntnujavazip.php?ejsuserjar=4621&type=xml

« Last Edit: August 31, 2009, 03:41:28 pm by lookang »

#### Fu-Kwun Hwang

• Hero Member
• Posts: 3062
##### Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #16 on: August 31, 2009, 05:49:58 pm »
I just added options to change the current (from -1 to 1) and find out change in direction of B field.

#### lookang

• Hero Member
• Posts: 1772
• http://weelookang.blogspot.com
##### Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #17 on: September 04, 2009, 12:56:38 pm »
cool!
thanks i adapted the current slider to the OSP version here
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1184.msg4622#msg4622