Magnetic Bar Field Model Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Magnetic Bar Field Model 

written by Wolfgang Christian, Francisco Esquembre, and Anne Cox

The EJS Magnetic Bar Field Model shows the field of a bar magnet and has a movable compass that reports the magnetic field values. The bar magnet modelĀ is built by placing a group of magnetic dipoles along the bar magnet. You can modify this simulation if you have Ejs installed by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.

The Magnetic Bar Field model was created using the Easy Java Simulations (Ejs) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.  Double clicking the ejs_em_MagneticBarField.jar file will run the program if Java is installed.  Ejs is a part of the Open Source Physics Project and is designed to make it easier to access, modify, and generate computer models.  Additional Ejs models are available.  They can be found by searching ComPADRE for Open Source Physics, OSP, or Ejs.

Last Modified July 15, 2013

This file has previous versions.

Source Code Documents

Magnetic Bar Field Model Source Code 

Source Code for the Magnetic Bar Field Model program. The source code zip archive contains an XML representation of the model.  Unzip this archive in your EJS workspace to compile and run this model using EJS.

This material is released under the GNU General Public License Version 3.

Published September 4, 2009
Last Modified July 3, 2012

This file has previous versions.