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

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Magnetic field pattern for (line/ coil/ solenoid)
« on: May 18, 2005, 04:02:09 pm »
You will find magnetic field pattern for a current flow in a vertical wire.
Press "play", the wire will become a circular current loop.
When it "paused" again, press "play" again. And it will wound in the form of a helix. (solensolid)
You can change the Radius R or change the Z-plane to view field distribution at different Z value.
The popup window shows the magnetic flux distribution.

-*-

Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • Please feel free to post your ideas about how to use the simulation for better teaching and learning.
  • Post questions to be asked to help students to think, to explore.
  • Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!

lj,h.ki

  • Newbie
  • *
  • Posts: 3
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #1 on: March 05, 2008, 04:16:50 am »
hello, I'm a new member
I can't download the file :'(
I'm a teacher please help me
 :)

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #2 on: March 06, 2008, 01:19:46 pm »
Did you find the "get file for offline use" button?
Or What kind of message you saw on the web page.

You need to provide more information, otherwise, I do not know how to help.

lj,h.ki

  • Newbie
  • *
  • Posts: 3
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #3 on: March 08, 2008, 09:02:50 pm »
yes I found the botton.

then it download a file that windows can't open. ???

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #4 on: March 09, 2008, 01:00:57 am »
After you download the file. You need to unzip it.
If your window support java run time, you can double click linefield.jar and it will run.
Or you can open linefield.html with your browser.
If you do not have JAVA RUN TIME installed. You need to install it.

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #5 on: August 07, 2008, 06:27:54 pm »
Hi prof :)

is it possible to create something like this on EJS ?


http://www.walter-fendt.de/ph14e/mfbar.htm

Walter Fendt did not open source his java applets, so i can't customize nor learn from his applet .

Thanks!

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #6 on: August 08, 2008, 11:24:19 am »
Yes. The method is similar to simulation for drawing field line for static electric field.
Use EJS to calculate Bfield at any point in the region according to the source.
You can use current loops to simulate magnetic bar.

Suppose the point you want to draw field line is (x,y)
The differential equation is

dx/dt= Bfield component in x direction
dy/dt= Bfield component in y direction

And the particle will move along the field line.
Because you starts at one point , so you should use two particles to move in opposition direction to complete the field line.


Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #7 on: August 09, 2008, 04:07:39 pm »
Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME

I just created another applet similar to the one at the above URL.



You can drag the magnetic needle to generate another set of magnetic field line.
It will keep last 10 traces.


Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #8 on: August 12, 2008, 11:18:27 am »
Thanks prof!!! u r the best


BTW ( by the way)
how do i combined the efforts by

This is a Graphic User Interface for Physlet builder
Physlet is java library for physics simulation created by Wolfgang Christian at Davidson College in the U.S.


into the EJS builder ?


I want to be able to make field lines drawn exactly the way it is drawn by  Physlet builder  ;D

most teachers want to concentrate on teaching instead of coding.

can the Physlet builder and EJS builder complement each other ?

i am studying your source code xml now :) thanks!
« Last Edit: August 12, 2008, 01:38:31 pm by lookang »

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #9 on: August 12, 2008, 03:28:25 pm »
I do not know how to combined physlet library in EJS.
What do you mean by make field lines drawn exactly the way it is drawn by  Physlet builder?
You want to add single coil one by one?
Double click to draw field line?
...
Let me know what you want (in detail)!

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #10 on: August 12, 2008, 04:54:42 pm »
What do you mean by make field lines drawn exactly the way it is drawn by  Physlet builder?
hoping of an EJS version with physlet builder kind of ease of making applet...


Anyway,
still keen on testing out your e-learning conference?

...need some guidance on the codes, the variables what they do... ;D

i am still analysing your codes and trying to make sense... i see how far i can understand first......
it will help if there were comments lines in the source codes LOL

« Last Edit: August 12, 2008, 05:13:56 pm by lookang »

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #11 on: August 12, 2008, 10:34:32 pm »
I just added comments in the EJS code. Please download it again.

We can try out online conference , but we need to online at the same time.
So we need to find out when will be the best time to do it. (communicate via private message!)

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #12 on: August 13, 2008, 09:45:52 am »
can move the topic on "magnetic field of a bar magnet" be moved?

one applet, one topic for google bots to tag your resource well ( easy to find) :)

i can't move for u as i not moderator not admin :)

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #13 on: August 13, 2008, 12:06:11 pm »
I just added applet code for magnetic bar to new topic. It will be easier to generate new topic. :)

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Magnetic field pattern for (line/ coil/ solenoid)
« Reply #14 on: August 28, 2009, 02:38:22 pm »
http://www.compadre.org/OSP/document/ServeFile.cfm?ID=8311&DocID=916#Doc916
has a wonderful copy of your applet

the internal coding has been redone to suit the new Ejs 3D objects.

i was having a hard time figuring out how to change the older objects into the newer ones especially the data field was b which was a 4 dimensional variable [][][][] while the newer Ejs objects didn't have 'data' field.


They also have good description which is in a html page
Magnetic Field from Loops

The EJSMagnetic Field from Loops model computes the B-field created by an electric current through a straight wire, a closed loop, and a solenoid. The user can adjust the vertical position of the slice through the 3D field.

   1. Watch the simulation as the field changes from the field around a long straight current-carrying wire to the field near a coil. Explain what happens to the field. Inside a coil of many loops, why is the field fairly uniform near the center (think about vector addition and what vectors would be adding together near the center).
   2. There is an arrow on each end of the wire (red and blue). Which one shows the direction of the current in the wire? Explain.
   3. The simulation also shows the magnetic flux. What is flux? Therefore, what do the different colors represent and why (i.e is pink higher flux than yellow or vice versa)? and what does "higher flux" mean in terms of the geometry and field strength?)?

Credits:

The Magnetic Field from Loops simulation was created by Fu-Kwun Hwang using the Easy Java Simulations (EJS) modeling tool and was adapted to EJS version 4.1 by Robert Mohr and Wolfgang Christian at Davidson College. Additional exercises written by Anne J. Cox. You can examine and modify the model for this simulation if you have Ejs installed by right-clicking within the simulation frame and selecting "Open Ejs Model" from the pop-up menu. Information about EJS is available at: and in the OSP ComPADRE collection .

Just sharing information. ;D
« Last Edit: August 28, 2009, 03:05:11 pm by lookang »