NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
June 24, 2019, 09:02:29 pm
 Welcome, Guest. Please login or register.Did you miss your activation email? 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length

 Home Help Search Login Register
Progress is impossible without change; and those who cannot change their minds cannot change anything. ..."George Bernard Shaw(1865-1950, Irish dramatist, essayist and critic, Nobel Prize for Literature 1925)"

 Pages: [1]   Go Down
 Author Topic: Formation of a virtual solar system (2D particles)  (Read 12366 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3082

 « Embed this message on: February 20, 2010, 02:23:48 pm » posted from:Taipei,T\'ai-pei,Taiwan

The following applet simulate formation of a solar system.

There are N particles generated at random distributed location with random distributed velocity.
The constraint is the center of mass is located at the center and the total momentum is zero.
There are gravitation force between particles:
Because this is a 2D simulation), the force is modeled by $\vec{F}=\frac{GMm}{r}\hat{r}$.
When two particles are come too closer, i.e. (distance between center of mass $d < r1+r2$ , then perfectly inelastic collision will join two particles into one bigger particle ($M=m_1+m_2$)

Click right triangle at lower right corner to play the simulation.
Click init to set different initial condition.
You can adjust Gravitation constant G (potential energy) or Total Energy constant (E: the initial velocity $v$ for each particle is proportional to $\sqrt{E}$ or the initial number of particle N with sliders.

Click circular checkbox if you want to have a net angular momentum (counterclockwise).
The slider at the right can be used to adjust the scale for the x-y coordinate system.

Red arrow represents velocity vector for each particle, while blue arrow represents net force acting on each particles (from other particles).

If E is too large (compared to G) so that the total energy is greater than 0, it is not a closed system.
You can increase G to form a closed system.
However, the kinetic energy will be drcreased (when two particles combined into one - perfect inelastic collision).

Due to conservation of momentum, there is very rare that all particles combined into one big particle located at origin with zero velocity.
The final state consists one or two big stars with few small stars.

You can study many phenomena with this simulation. Hope you can enjoy it!

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!
 combineparticles.gif (2.21 KB, 461x435 - viewed 589 times.) Logged
macfamous
watchlist
Newbie

Offline

Posts: 5

 « Embed this message Reply #1 on: March 19, 2010, 10:54:32 am » posted from:Yogyakarta,Yogyakarta,Indonesia

is it using vector or there is simple methode of this ..
 Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3082

 « Embed this message Reply #2 on: March 19, 2010, 01:28:52 pm » posted from:Taipei,T\'ai-pei,Taiwan

I do not understand your question.

The interaction force between any two particles are model with relation: $\vec{F}=-\frac{GMm}{r}\hat{r}$ where $r$ is the distance between any two particles. (because it is 2D model so force is proportional to 1/r).
The gravitationf force should be model with $\vec{F}=-\frac{GMm}{r^2}\hat{r}$ for 3D simulation.
And particles are generated at random position with random velocity.
 Logged
 Pages: [1]   Go Up
Progress is impossible without change; and those who cannot change their minds cannot change anything. ..."George Bernard Shaw(1865-1950, Irish dramatist, essayist and critic, Nobel Prize for Literature 1925)"
Jump to:

 Related Topics Subject Started by Replies Views Last post formation of wave Wave and Fluid Fu-Kwun Hwang 6 66512 December 05, 2010, 01:53:46 am by rahulinhbz Interactive heat transfer simulations for solar houses Molecular Workbench concord 8 63366 January 30, 2014, 12:47:55 pm by SantosWhite Formation of a virtual solar system (2D particles) dynamics ahmedelshfie 0 3887 April 16, 2010, 08:37:19 pm by ahmedelshfie Interaction of solar wind with the earth's magnetosphere/board:26-100- Request for physics Simulations AhmedRasa 0 3942 June 09, 2010, 01:15:21 pm by AhmedRasa Solar and Lunar Eclipse Model Simulations from other web sites ahmedelshfie 6 15441 September 16, 2010, 08:38:15 pm by ahmedelshfie
Page created in 0.642 seconds with 23 queries.since 2011/06/15