NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
March 23, 2019, 08:22:50 pm

"That their main business was not put into the mind knowledge which was not there before, but to turn the mind's eye towards light so that it might see for itself." ...Plato's advice to educators(429-347BC)

 Pages: [1]   Go Down
 Author Topic: Ejs Open Source Wave Machine Model Java Applet  (Read 11058 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: August 24, 2012, 10:19:21 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Ejs Open Source Wave Machine Model Java Applet by Wolfgang Christian, this remixed version by lookang.

trying to make a version that allow changing of masses attached to the edge of the rods, following physics of inertia and rotations.

work in progress.

having difficulties solving the inertia

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!

Wave Machine by Wolfgang Christian, some minor edits by lookang
The Wave Machine model simulates the wave machine produced by John Shive at Bell Laboratories and made famous by the PSSC Simple Waves film. The machine consists of n horizontal rods with moment of inertia In welded to an axle torsion bar that is perpendicular to the rods. The simulation allows the user to change the lengths of the rods, thereby simulating the effect of a wave propagating in a non-uniform medium. The default rods of length L=2 has a moment of inertia of one
using http://hyperphysics.phy-astr.gsu.edu/hbase/mi2.html I = 1/12 M*L^2 = 1/12 M*2^2 imply 3 = M.
The maximum allowed rods length is 4 giving a moment of inertia of 4 because I = 1/12 3*4^2 = 4
and the minimum allowed length is 1/2 giving a moment of inertia of 1/16. because I = 1/12 3*(0.5)^2 = 1/16.

Twisting a rods about the torsion rod causes the rods to oscillate because the rod produces a restoring torque. Because a rods twist acts on neighboring rods, the motions are coupled and a traveling wave results. The speed of the wave depends on the torsional coupling between bars k and the moments of inertia of the rods. A damping force can also be added using the model's damping parameter b for the axle torsional bar.

The simulation allows various pulse shapes to be sent down the machine by twisting the first rod with the desired functional form or by dragging the first rod. For example, applying a Gaussian twist produces a Gaussian traveling pulse but the width of this pulse depends on the wave speed. The far end of the wave machine can be free or clamped and this changes the nature of the reflected wave.

Theoretical note: The pulse shape will distort as the wave propagates on the wave machine because of dispersion effects. This distortion is most apparent as the wavelength (or pulse width) approaches the rod separation. Use the Driven Wave Machine model to explore dispersion these effects.

The Wave Machine model is distributed as a ready-to-run (compiled) Java archive. Double clicking the ejs_mech_osc_chains_WaveMachine.jar file will run the program if Java is installed. Other coupled oscillator models are available. They can be found by searching the OSP Collection for coupled oscillations.

References
"Standing waves in a non-uniform medium," Paul Gluck, The Physics Teacher, (in press).
"Making waves: A classroom torsional wave machine (Part I)," Kenneth D. Skeldon, Janet E. Milne, Alastair I. Grant, and David A. Palmer Phys. Teach. 36, 392 (1998)
"Making waves: A classroom torsional wave machine (Part II)," Kenneth D. Skeldon, Janet E. Milne, Alastair I. Grant, and David A. Palmer Phys. Teach. 36, 466 (1998)
University of Maryland Physics Lecture-Demonstration website section G3 http://www.physics.umd.edu/lecdem/services/demos/demosg3/demosg3.htm
Similarities in wave behavior, John N. Shive, Bell Telephone Laboratories (1961). See also Am. J. of Physics 32, p572 (1964).
Credits:
The Wave Machine model was created by Wolfgang Christian using the Easy Java Simulations (EJS) version 4.3 authoring and modeling tool created by Francisco Esquembre.

You can examine and modify this compiled EJS model if you run the model (double click on the model's jar file), right-click within a plot, and select "Open EJS Model" from the pop-up menu. You must, of course, have EJS installed on your computer. Information about EJS is available at: and in the OSP ComPADRE collection .
 Ejs_Open_Source_Wave_Machine_Model_Java_Applet_2012-08-28_1749.png (42.8 KB, 894x435 - viewed 1498 times.) « Last Edit: August 28, 2012, 04:43:10 pm by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1792

http://weelookang.blogspot.com

 « Embed this message Reply #1 on: August 28, 2012, 04:40:04 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

added pointer masses at the tip of the rods by adding I[j]=Li*Li/4 + 2*m[j]*Li/2*Li/2; // rod original plus 2 masses
figure out how to draw the masses
xm1[j] =  L[j]/2*Math.sin(theta[j]);
zm1[j] =  L[j]/2*Math.cos(theta[j]);

xm2[j] =  - L[j]/2*Math.sin(theta[j]);
zm2[j] = - L[j]/2*Math.cos(theta[j]);

added slider to make inquiry possible when amplitude (0 to pi/2), shorter wavelength, shortest wavelength
make sliders control to my usual design, color, position.
reorder the combo to be one cycle first, shorter, shortest next.
made D = 20 m instead of the usual 10 to see the wave travel
change perspective to side view default to visual the waves
set n = 64 instead of 128 for loosen packed rods like the video http://www.nationalstemcentre.org.uk/elibrary/resource/2096/wave-machine
 *** There are 1 more attached files. You need to login to acces it! Logged
 Pages: [1]   Go Up
"That their main business was not put into the mind knowledge which was not there before, but to turn the mind's eye towards light so that it might see for itself." ...Plato's advice to educators(429-347BC)

 Related Topics Subject Started by Replies Views Last post Ejs Open Source Wave Representations Model Java Applet Simulation Collaborative Community of EJS lookang 1 6737 April 19, 2011, 11:03:33 pm by lookang Ejs Open Source Standing Wave in Pipes Model Java Applet Collaborative Community of EJS lookang 4 15643 October 04, 2013, 10:35:34 pm by lookang Modified Atwood Machine lab (Investigate m inversely proportional to a) Collaborative Community of EJS LeeTl 3 14305 April 17, 2013, 10:05:28 am by lookang Double Slit Wave-Particle Duality Model Open Source Physics Java Applet Collaborative Community of EJS lookang 1 7564 July 05, 2013, 09:25:03 am by lookang Ejs Open Source Refraction Wave Model across 2 straight media java applet Collaborative Community of EJS lookang 1 9762 August 29, 2013, 02:23:14 pm by lookang
Page created in 5.064 seconds with 24 queries.since 2011/06/15