NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
December 17, 2018, 07:46:16 pm

Wisdom is to teach our students how to teach themselves. ...Wisdom

 Pages: [1]   Go Down
 Author Topic: Ejs Open Source Rolling Solid & Hollow Sphere with Slipping java applet  (Read 11347 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
lookang
Moderator
Hero Member

Offline

Posts: 1789

http://weelookang.blogspot.com

 « Embed this message on: September 22, 2010, 06:44:24 pm »

Ejs Open Source Rolling Solid & Hollow Sphere with Slipping java applet
reference:
http://iwant2study.org/ospsg/index.php/interactive-resources/physics/02-newtonian-mechanics/05-circle/665-rotatediskwee by Hwang Fu Kwun, Loo Kang Wee and Fremont Teng

http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=150.msg6487#msg6487 by Hwang Fu Kwun original
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1801.0 by Hwang Fu Kwun original layout by Ahmed.

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!

Description:
Slipping and Rolling Sphere
The EJS Slipping and Rolling Sphere Model shows the motion of sphere rolling on a floor subject to a frictional force as determined by the coefficient of friction μk. The simulation allows the user to change the initial translational and rotational velocities of the wheel, v_i and ω_i, and the radius, mass and mass distribution momentum of inertia cofficeient, R, m, and C of the wheel. By controlling these variables, the dynamics of the wheel can be changed to show the slipping, then rolling without slipping, of the wheel.

Slipping and Rolling Object (Sphere or Cylindrical) Theory
The theory behind the simulation of the rolling and slipping sphere is relatively straightforward, but substantially differs from its simpler cousin: the rolling without slipping sphere. When a sphere rolls without slipping, v = ωR, where v is the linear or translational velocity of the wheel, ω is the angular or rotational velocity of the wheel, and R is the wheel’s radius. When this condition is maintained, the relative velocity between the bottom of the wheel and the ground is zero. This condition, therefore, also means that the frictional force that acts must be static friction which cannot do any work on the wheel, and energy methods can be used to analyze the motion.
For rolling with slipping, the force acting on the wheel is kinetic friction which must be treated both as a force, F, acting on the center of mass of the wheel and as a torque, τ, acting at the point of contact between the wheel and the ground. During this motion, both the force and the torque are constant and therefore the velocity and the angular velocity can be determined with the constant acceleration kinematics equations: v = v0 +(F/m)t and ω = ω0 +(τ/I)t, respectively The rotational and translational motions are then independent until v = ωR when the wheel begins to roll without slipping. The time when this occurs can be found with these kinematics equations solving for when v = ωR.
The simulation has these theoretical details explicitly encoded in it. Specifically:
The translation and rotational motions each have their own differential equation (ODE) describing the motion (dx/dt = v, dv/dt = F/m, dθ/dt = ω, and dω/dt = τ/I).
These two motions can be coupled in the same way that two-dimensional motion in x and y can be coupled, but the dynamics can be understood separately.
EJS makes it easy to model the coupled problem without messy mathematical manipulations with a lot of trigonometric functions. The Evolution page in EJS allows one to easily transform from the space to the body frame by changing the transform vectors. See the Evolution workpanel in EJS for details.
EJS differential equation solver (ODE) events allow us to determine precisely when slipping stops, v = ωR, and to switch the equations of motion from rolling with slipping (constant acceleration and constant angular acceleration) to rolling without slipping (constant velocity and constant angular velocity). See the ODE events page in EJS for details.

Exercises:
Questions
1. For an initially translating, but not rotating, wheel, draw a free-body diagram and determine the acceleration and the angular acceleration of the wheel for the time it is translating and slipping. Your answers should be written in terms of μk, v_i, C kw, m, and R.
2. For the scenario in (1), (a) determine the time the wheel is slipping, (b) determine the distance the wheel travels while slipping, (c) determine the final translational and rotational velocities when the slipping stops. Check your answer against the simulation.
3. Redo questions (1) and (2) for an initially rotating (with backspin), but not translating, wheel. Check your answer against the simulation.
4. Redo questions (1) and (2) for an initially rotating (with backspin), and initially translating, wheel. Check your answer against the simulation. Show that the condition for the wheel to end up stationary is that v_i = -v*ω_i*R*kw.
 Ejs Open Source Rolling Solid & Hollow Sphere with Slipping java applet.PNG (45.37 KB, 756x589 - viewed 572 times.) « Last Edit: March 22, 2018, 12:19:55 pm by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1789

http://weelookang.blogspot.com

 « Embed this message Reply #1 on: September 22, 2010, 06:52:00 pm »

changes
0 was browsing around from
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1949.msg7179;topicseen#msg7179 Hwang Fu Kwun original, layout by Ahmed.
1. redesign from http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=150.msg6487#msg6487 by Hwang Fu Kwun original
2 add tangential velocity visual and bar
4 color adapted from http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1949.0 and own design
5 fix bug in equation d(omega)/dt = kv*kw*mu*g/R, kw missing
6 add initial button to allow viewing of solid and hollow sphere one run after another for clearer visual of the graphs 2 plots
9 made visual of tangential velocity and linear velocity shorter to fit into the view by divide by 10
11 fix bug the trace is position correctly now at the fixed point on the rim of the object
13 add symbols $theta$ etc
28sept2010
14 add velocity at the contact = vx - omega*R http://www.compadre.org/osp/items/detail.cfm?ID=7896 Ejs Coin Rolling with and without Sliding Model written by Juan Aguirregabiria edited by Wolfgang Christian
 « Last Edit: September 28, 2010, 08:37:58 am by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1789

http://weelookang.blogspot.com

 « Embed this message Reply #2 on: September 22, 2010, 09:03:31 pm »

can check why the applet does not show up in web?
i am using Ejs 4.2.7, the latest 4.3.1 cannot compile the $alpha$ properly
 « Last Edit: September 23, 2010, 07:48:14 am by lookang » Logged
ahmedelshfie
Ahmed
Hero Member

Offline

Posts: 954

 « Embed this message Reply #3 on: September 23, 2010, 12:23:39 am » posted from:Uberaba,Minas Gerais,Brazil

I tried access applet and test using Firefox, Internet Explorer and Google Chrome, but no access on NTNU didn't know where error.
About Symbols like $theta$ by EJS 4.3.1 the same error not work can't compile Symbols. ( Symbols worked very well by EJS 4.3.0)
However prof hwang i think can find where is error.
I just report my test.
 pic2.gif (17.74 KB, 750x550 - viewed 448 times.) « Last Edit: September 23, 2010, 12:31:05 am by ahmedelshfie » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1789

http://weelookang.blogspot.com

 « Embed this message Reply #4 on: September 25, 2010, 08:20:14 pm »

i tried the export as web applets and found it didn't load.
after investigating, it will load if the panel of bar values are removed.

i suspect it was the row of bar values in the panel.
after i change x bar to a x slider and recompile, it works now.

it was not the java version or Ejs version, it was the way Ejs assemble the java codes in the applet and it happened a row of bar values made the applet cannot web load

it works now enjoy!
 Ejs Open Source Rolling Solid & Hollow Sphere with Slipping java applet.PNG (45.37 KB, 756x589 - viewed 445 times.)  Ejs Open Source Rolling Solid & Hollow Sphere with Slipping java applet0.png (47.47 KB, 826x587 - viewed 522 times.) « Last Edit: September 27, 2010, 08:31:25 am by lookang » Logged
 Pages: [1]   Go Up
Wisdom is to teach our students how to teach themselves. ...Wisdom