NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 20, 2019, 08:58:25 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
"If I have a thousand ideas and only one turns out to be good, I am satisfied." ..."Alfred Nobel(1833-1896, Swedish inventor, chemist, philanthropist)"
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: Ejs open source java applet 1D collision force model  (Read 8500 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1792


http://weelookang.blogspot.com


WWW
«
Embed this message
on: March 15, 2012, 09:34:17 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Ejs open source java applet 1D collision force model by Fu-Kwun Hwang
a remix here is by lookang

reference:
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=193.0
thanks to Fu-Kwun Hwang for this awesome model Smiley

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
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • 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!


* Ejs_open_source_java_applet_1D_collision_force_model_.png (74.14 KB, 1280x994 - viewed 510 times.)
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1792


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #1 on: March 15, 2012, 09:37:51 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

changes:

added m_A and m_B sliders
added Force vs time graph
add floor
add forces vectors
add force equations which is already provided by F1= getA(x1,x2,m1) and F2 = getA(x2,x1,m2)
by Fu Kwun: // awesome codes
public double getA (double xa,double xb,double m) {
  if(Math.abs(xa-xb)  if(xa  else return k*(L-(xa-xb))/m;
  }
  return 0.;
}
Logged
babyparty
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #2 on: March 17, 2012, 06:12:20 pm » posted from:Lucknow,Uttar Pradesh,India

Thanks...for...sharing...
« Last Edit: March 17, 2012, 07:35:06 pm by lookang » Logged
engrg1
Jr. Member
**
Offline Offline

Posts: 69


«
Embed this message
Reply #3 on: March 23, 2012, 10:34:47 pm » posted from:Singapore,,Singapore

Hi, all.
Thanks to Prof Huang and Loo Kang for the codes.
I have edited the codes so that you can show a range of collision type (0: elastic to 1 perfectly inelastic)
Have used the equation provided by Ojalvo and Cohen, 1977). You can find the formula @ http://www.brachengineering.com/publications/SAE%202003-01-0491.pdf (Pg 3)

Feel free to give comments.


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
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • 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!
Logged
engrg1
Jr. Member
**
Offline Offline

Posts: 69


«
Embed this message
Reply #4 on: March 24, 2012, 09:41:41 am »

Hi, all.

There is some mistake in the formula in the earlier post. I have corrected in this version.

It seems that I can't get a perfect value of final velocity based on the coefficient of restitution. I suspect this is due to the modelling equation.

Thank to Prof Hwang and Loo Kang again for the codes.

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
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • 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!
« Last Edit: March 24, 2012, 11:30:38 am by engrg1 » Logged
engrg1
Jr. Member
**
Offline Offline

Posts: 69


«
Embed this message
Reply #5 on: March 25, 2012, 10:46:30 pm » posted from:Singapore,,Singapore

Have modified my previous version with more features (from Loo Kang's initial 1-d collision cart)
feel free to give comments!
I am still searching for some better equation to model the impact force.
Best to run the applet full screen

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
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • 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!
« Last Edit: March 25, 2012, 10:52:55 pm by engrg1 » Logged
engrg1
Jr. Member
**
Offline Offline

Posts: 69


«
Embed this message
Reply #6 on: March 26, 2012, 08:30:45 am »

Just realize that this equation is rather correct. The calculation of coefficient of restitution is accurate. I have the wrong idea in the previous post as the e that is displayed is to 1 d.p.  The actual e is very close to the given e.

Sorry for the mistake..
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1792


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #7 on: March 26, 2012, 09:34:54 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

simply awesome remix Smiley

i not sure why it lag
Logged
engrg1
Jr. Member
**
Offline Offline

Posts: 69


«
Embed this message
Reply #8 on: March 26, 2012, 01:36:57 pm » posted from:-,-,SINGAPORE

just need to set the frame rate to 100. It should work fine.
Logged
Pages: [1]   Go Up
  Print  
"If I have a thousand ideas and only one turns out to be good, I am satisfied." ..."Alfred Nobel(1833-1896, Swedish inventor, chemist, philanthropist)"
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Ejs open source java applet 1D collision carts Elastic and Inelastic Collision « 1 2 3 »
Collaborative Community of EJS
lookang 78 98310 Last post January 16, 2018, 05:00:07 pm
by ufabet
Ejs Open Source 2D Collision Model java applet
Collaborative Community of EJS
lookang 1 12395 Last post May 19, 2011, 10:56:16 pm
by lookang
Ejs Open Source Real Clock Model Java Applet
Collaborative Community of EJS
lookang 2 8604 Last post January 26, 2017, 11:06:53 am
by lookang
Ejs open source java applet 1D collision carts with realistic collision
Collaborative Community of EJS
lookang 4 11988 Last post February 19, 2013, 01:05:56 pm
by lookang
Ejs Open Source Coulomb Force Model Java Applet
Collaborative Community of EJS
lookang 0 6386 Last post January 30, 2013, 05:01:02 pm
by lookang
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.068 seconds with 24 queries.since 2011/06/15