Rail Gun Model Documents

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

Main Document

Rail Gun Model 

written by Anne Cox

The EJS Rail Gun Model simulates a rail gun created by running current through long rods generating a magnetic field that accelerates a current-carrying cross-rod. The simulation shows the generated magnetic field. Users can adjust the current in the rails and rod as well as the spacing between the rails. 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 Rail Gun 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_RailGun.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 August 20, 2013

This file has previous versions.

Source Code Documents

Rain Gun Model Source Code 

Source Code for the Rail Gun Model program. The source code archive contains an XML representation of the Ejs model. Unzip this archive in your Ejs Workspace to compile and run this model using Ejs.

Published May 21, 2009
Last Modified April 1, 2010

This file has previous versions.