NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
August 24, 2019, 11:23:20 pm

"Nothing in life is to be feared, it is only to be understood." ..."Marie Curie 1867-1934, Polish born French Physicist, Twice Nobel Prize Winner- Physics and Chemistry)"

 Pages: [1]   Go Down
 Author Topic: Ejs Open Source Magnetic Dipole Field Vector & Field Lines 3D Model Java Applet  (Read 9077 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
lookang
Moderator
Hero Member

Offline

Posts: 1792

http://weelookang.blogspot.com

 « Embed this message on: September 12, 2012, 04:20:57 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Ejs Open Source Magnetic Dipole Field Vector & Field Lines 3D Model Java Applet by Wolfgang Christian
this version is slightly edited by lookang.

work in progress

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
• 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!

Magnetic Dipole Field in 3D by Wolfgang Christian
The Magnetic Dipole Field Model displays the field lines and field vectors of a dipole located at the origin and oriented along the z-axis.

B = (mu0*m/4*PI)(1/r^3)[3*m cap* r cap)r cp - m cap]

In Cartesian coordinates, the position vector r is ix+jy+kz and the magnetic dipole moment m vector is km. Perform the dot product gives the following magnetic vector components:

Bx = (mu0*m/4*PI) (3*z*x)/r^5
By = (mu0*m/4*PI) (3*z*y)/r^5
Bz = (mu0*m/4*PI)(1/r^3)[ (3*z^2)/r^2-1]

Drag the yellow handle in the 3D view {added slider and inputs field now by lookang for better control] to compute the B field passing through a point (x,y,z). Select the field option to show the field vectors in plane that passes through the dipole.
Credits:
The Magnetic Dipole Field Model was developed by Wolfgang Christian using the Easy Java Simulations (EJS) modeling tool version 4.3. You can examine and modify the model for this simulation if you have Ejs installed by right-clicking within the program and selecting "Open Ejs Model" from the pop-up menu.

 Ejs_Open_Source_Magnetic_Dipole_Field_3D_Model_Java_Applet_2012-09-12_1725.png (52.22 KB, 777x695 - viewed 735 times.) « Last Edit: December 13, 2012, 10:01:07 am by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1792

http://weelookang.blogspot.com

 « Embed this message Reply #1 on: September 12, 2012, 04:32:56 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

changes:

added the slider x, y , z for finer control of the field lines to do.
color and arrangement to my usual formal
made field vectors a little more uniformly size
magnet color north=RED and south=BLUE
strangely the author was mike, changed it to Wolfgang Christian, slightly edited by lookang
title Ejs Open Source Magnetic Dipole Field Vector & Field Lines 3D Model Java Applet
 *** There are 1 more attached files. You need to login to acces it! « Last Edit: September 12, 2012, 04:34:55 pm by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1792

http://weelookang.blogspot.com

 « Embed this message Reply #2 on: December 13, 2012, 10:03:40 am » posted from:-,-,SINGAPORE

changes a little bit more.

made the point visible on drag, release then draw field lines