POV-Ray : Newsgroups : povray.binaries.animations : n-body system Server Time
19 Jul 2024 19:26:51 EDT (-0400)
  n-body system (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
From: Draco
Subject: n-body system
Date: 11 Mar 2002 00:03:56
Message: <3c8c3abc@news.povray.org>
This is the same setup as the previous post except I have introduced another
particle.  I have given each particle its own color to better see what is
going on.  The orange sphere is the particle that was added.  By the
addition off this one particle, the balance of the system is thrown off and
disintergrates into chaos very quickly.  The orange particle is initially at
rest at a distance and off the axis of the system.  Since it is not pulling
on all the other particles with the same force, the other particles
accelerate differently and the system is broken up.

Any comments are welcome.


Post a reply to this message


Attachments:
Download '4an1+1.avi.dat' (129 KB)

From: Mark James Lewin
Subject: Re: n-body system
Date: 11 Mar 2002 00:54:33
Message: <3C8C45A5.160BCBD4@yahoo.com.au>
Ha Ha! Neat! I like the ones that orbit one another. Did you use pov script for
the calculations?

You've given me an idea for my own particle system too.

MJL


--
prism{0,.1,30#local I=1;#while(I<30)#local B=asc(substr(// Mark James Lewin
"#K?U_u`V[RG>3<9DGPL.0EObkcPF'",I,1))-33;<div(B,10)-4mod(B,10)+5*div(I,21)-
6>#local I=I+1;#end,-4pigment{rgb 9}rotate-x*90translate 15*z}//POV-Ray 3.5


Post a reply to this message

From:
Subject: Re: n-body system
Date: 11 Mar 2002 02:13:27
Message: <3c8c5917@news.povray.org>
I like this one much more than the first one! The perturbation given by the
other body is very interesting!

Congratulations,

Fernando.


Post a reply to this message

From: Rick [Kitty5]
Subject: Re: n-body system
Date: 11 Mar 2002 07:12:32
Message: <pan.2002.03.11.12.16.26.551806.5381@kitty5.com>
> This is the same setup as the previous post except I have introduced
> another particle.  I have given each particle its own color to better
> see what is going on.  The orange sphere is the particle that was added.
>  By the addition off this one particle, the balance of the system is
> thrown off and disintergrates into chaos very quickly.  The orange
> particle is initially at rest at a distance and off the axis of the
> system.  Since it is not pulling on all the other particles with the
> same force, the other particles accelerate differently and the system is
> broken up.

oooo,k i like - think perhaps you need to implament collision with the
ground plane

-- 
Rick

Kitty5 WebDesign - http://Kitty5.com
POV-Ray News & Resources - http://Povray.co.uk
TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message

From: Dave Brickell
Subject: Re: n-body system
Date: 11 Mar 2002 12:21:02
Message: <3c8ce77e@news.povray.org>
Hi Draco

I like this very much and was going to do something very similar a while
back. Unfortunatly time and mathmatical problems did not allow me.

Quick question.

-Is the gravity of each particle proportional to its size/mass?

If so I think it would be cool if you got rid of the ground plane then
started with a few thousand randomly scattered particles. When 2 particles
collide they join together to form 1 particle with the combined size/mass of
the original 2.

I just wonder whether you would end up with 1 big particle or whether they
would settle into a stable universe/solar system.

Just wondering :)

Keep up the good work.

Dave


Post a reply to this message

From: Zeger Knaepen
Subject: Re: n-body system
Date: 11 Mar 2002 12:38:22
Message: <3c8ceb8e$1@news.povray.org>
> If so I think it would be cool if you got rid of the ground plane then
> started with a few thousand randomly scattered particles. When 2 particles
> collide they join together to form 1 particle with the combined size/mass of
> the original 2.
>
> I just wonder whether you would end up with 1 big particle or whether they
> would settle into a stable universe/solar system.
>
> Just wondering :)
I did something like this once using Quickbasic :) It was *very* difficult to
find values to make a stable system.  Either the particles just end up following
their own path, or they collide all, but they never orbit very long.

BTW: a few thousand particles is a *lot* for a system like this.  You need to
check every particle against every other particle!

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

From: Dave Brickell
Subject: Re: n-body system
Date: 11 Mar 2002 12:52:50
Message: <3c8ceef2$1@news.povray.org>
I appreciate it could be difficult to do but it would be a good challenge.

You do not need to compare every particle with every other particle as most
will be outside the gravitational field. I do not know the maths behind it
but I do know that the gravitaitional field drops off the further you get
from an object (thus making the math more difficult).

I lay down the gauntlet to anybody who fancies tackling this.

Dave


Post a reply to this message

From: Zeger Knaepen
Subject: Re: n-body system
Date: 11 Mar 2002 14:36:49
Message: <3c8d0751$1@news.povray.org>
> I appreciate it could be difficult to do but it would be a good challenge.
>
> You do not need to compare every particle with every other particle as most
> will be outside the gravitational field.
that's the problem: the gravitational field is infinitely large, although it
gets quite small after a distance.

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

From: Jamie Davison
Subject: Re: n-body system
Date: 11 Mar 2002 14:42:16
Message: <MPG.16f719282f3d2146989af9@news.povray.org>
> I appreciate it could be difficult to do but it would be a good challenge.
> 
> You do not need to compare every particle with every other particle as most
> will be outside the gravitational field. I do not know the maths behind it
> but I do know that the gravitaitional field drops off the further you get
> from an object (thus making the math more difficult).

But it doesn't drop to zero IIRC...

Bye for now,
     Jamie.


Post a reply to this message

From: Dave Brickell
Subject: Re: n-body system
Date: 11 Mar 2002 15:37:38
Message: <3c8d1592@news.povray.org>
I do agree with yourself and Jamie, however for the purposes of a simulation
you can set it to be zero at a finite point. I know it is not strictly
correct, but we are not planning to launch a shuttle mission from the data
*g*

I am just interested to see if it is possible and what the outcome would be.

Dave


Post a reply to this message

Goto Latest 10 Messages Next 6 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.