Rail Gun Model Documents

Main Document

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.