NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
December 16, 2017, 06:20:31 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
"There is nothing either good or bad, but thinking makes it so." ..."Shakespeare (154-1616, English dramatist and poet) "
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: Magnetic field pattern for (line/ coil/ solenoid)  (Read 80795 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
on: May 18, 2005, 03: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.

-*-

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
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!
Logged
lj,h.ki
Newbie
*
Offline Offline

Posts: 3

«
Embed this message
Reply #1 on: March 05, 2008, 03:16:50 am »

hello, I'm a new member
I can't download the file Cry
I'm a teacher please help me
 Smiley
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #2 on: March 06, 2008, 12:19:46 pm » posted from:Taipei,T\'ai-pei,Taiwan

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.
Logged
lj,h.ki
Newbie
*
Offline Offline

Posts: 3

«
Embed this message
Reply #3 on: March 08, 2008, 08:02:50 pm »

yes I found the botton.

then it download a file that windows can't open. Huh
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #4 on: March 09, 2008, 12: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.
Logged
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #5 on: August 07, 2008, 05:27:54 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Hi prof Smiley

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!
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #6 on: August 08, 2008, 10: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.

Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #7 on: August 09, 2008, 03: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
Logged
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #8 on: August 12, 2008, 10:18:27 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

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  Grin

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 Smiley thanks!
« Last Edit: August 12, 2008, 12:38:31 pm by lookang » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #9 on: August 12, 2008, 02:28:25 pm » posted from:Taipei,T'ai-pei,Taiwan

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)!
Logged
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #10 on: August 12, 2008, 03:54:42 pm » posted from:Singapore,,Singapore

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... Grin

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, 04:13:56 pm by lookang » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #11 on: August 12, 2008, 09: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!)
Logged
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #12 on: August 13, 2008, 08: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) Smiley

i can't move for u as i not moderator not admin Smiley
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #13 on: August 13, 2008, 11:06:11 am » posted from:Taipei,T'ai-pei,Taiwan

I just added applet code for magnetic bar to new topic. It will be easier to generate new topic. Smiley
Logged
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #14 on: August 28, 2009, 01:38:22 pm » posted from:Singapore,,Singapore

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. Grin


* MagneticField.gif (18.48 KB, 410x405 - viewed 1147 times.)
« Last Edit: August 28, 2009, 02:05:11 pm by lookang » Logged
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #15 on: August 31, 2009, 02:37:13 pm » posted from:Singapore,,Singapore

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:
http://www.compadre.org/OSP/document/ServeFile.cfm?ID=8311&DocID=916#Doc916
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

For your consideration



* righthandgriprule.PNG (11.86 KB, 295x167 - viewed 9731 times.)
« Last Edit: August 31, 2009, 02:41:28 pm by lookang » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #16 on: August 31, 2009, 04:49:58 pm » posted from:Taipei,T\'ai-pei,Taiwan

I just added options to change the current (from -1 to 1) and find out change in direction of B field.
Logged
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #17 on: September 04, 2009, 11:56:38 am » posted from:Singapore,,Singapore

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
Logged
Pages: [1]   Go Up
  Print  
"There is nothing either good or bad, but thinking makes it so." ..."Shakespeare (154-1616, English dramatist and poet) "
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.097 seconds with 23 queries.since 2011/06/15