Skip to content
View in the app

A better way to browse. Learn more.

The Armory

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Simulation of physics phenomena

Featured Replies

I am doing a subject called "Computer Methods of Simulation". For a starting, VERY SIMPLE program we were given task of simulating a 1D particle exchange forces behaviour in f.e. Solid Matter. The original program was supposed to be written in C/C++, but that didnt work very well. So i wrote the version that not only works, but also one can view the process real-time. This is only the first version (build time about 30mins). In latter, user will be able to manipulate the system as he sees fit. But not today, not yet.

 

Heres the link, enjoy and awai further releases:

 

http://www.if.pw.edu.pl/~kywalker/czastki1D.html

wow,.......... screw that..... thats cool though. gj-G
looks like a small newtons cradel, is that what your doing? cause that isnt bad, we are doing molecular chemistry at the moment, specifically Iodization of a benzene ring, and formation of Ammoniacal Silver nitrate (explosive if it dries out )=D) the mixing chemicals is fine, working out the enthalpies of change and reaction to predict the exact start and end energy is not.
no we have to display using enthalpy, its a bitch to do i know but thats what the teacher wants.
  • Author
But why? Through Gibbs function you get STRAIGHT equations for chemical potential and through that to reaction equations.Will have to look into it more closely.
That's neat. :D Reminds me of the balls on strings effect when one ball hits the other one you get a chain reaction.
That's spiffy. It looks random, but they're all following some basic rule. Not going to try and explain it, but there's certainly a function that they're all abiding by.
  • Author

I can tell you what that rule is:

 

There is a constant - distance between particles, that defines the stable system (that is if particles are distant by that distance, the dont see a reason to move - they feel good there). Now if system is disrupted (by moveing 1 particle away from stable position), the force starts to act on nearby particles (well, on CLOSEST 1). THat force makes adjacent particle move and by that after a period of time whole system is oscillating. When particles get too close to each other - the want to get further (becouse distance is smaller that the stable one), and when they are too far away - they want to get closer (becouse distance is greater than stable one). And becouse there are no friction forces - the system is perpetuum mobile - the potential energy given to the shifted particle has to remain constant forever - law of constant energy. I may add graph fuinctions to the program later.

 

Next version of this program will let user change a number of factors and even randomize starting positions. Then you will be able to see that f.e. if all particles initially are in preferrable distance, nothing will change, when the time starts rolling.

... guys we should concenratet on killing eacth other not with equation is better for what !! :mrgreen:
I am assuming that this constant varies between different atoms (patricles)for example a Giant ionic structure in graphite?or is this assuming that the molecules are in Gaseous state? forgive me i am a chemist not a physicist!
  • Author
No, this simulation is that of straight crystalline structure (same athoms with the same distance from each other). Soon i will add more interactivity to the program.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.