Welcome, Guest. Please Login.
Gravity Simulator
11/19/17 at 04:31:14
News: Registration for new users has been disabled to discourage spam. If you would like to join the forum please send me an email with your desired screen name to tony at gravitysimulator dot com.
Home Help Search Login


Pages: 1
Send Topic Print
windows is playing tricks with me (Read 2280 times)
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
windows is playing tricks with me
01/16/12 at 10:38:19
 
Some weird results at input .  
I think windows is to blame here .  
Here's what happens :  
I want to creating a bunch of sattelites using the instruction :  start,end  in the sma field  around the primary star .
In the range 0.5 to 1 au ( inoput 0.5,1) .  
Instead of getting a stable orbt I get a weird pattern , as shown here  
Is it possible that the instruction 0.5,1 is misinterpreted by windows?  
Back to top
 
Email View Profile   IP Logged
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
Re: windows is playing tricks with me
Reply #1 - 01/16/12 at 11:47:53
 
Since you have a double sun, you must check the 'barycenter' option under "Reference object" in the Create Objects interface.  That's because to a distant particle, it is orbiting 2 solar masses, but without the 'barycenter' option, Gravity Simulator is computing its orbital velocity assuming it is orbiting around 1 solar mass.  
 
Then on the Graphics Options interface, you must press the F/A button so that it reads "A".  That tells Gravity Simulator to focus on the barycenter rather than on the Sun.
Back to top
 
 
Email View Profile WWW   IP Logged
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
Re: windows is playing tricks with me
Reply #2 - 01/16/12 at 14:11:02
 
Thanks Tony , this works . Thought Windows conversion was responsible but it isn't . Fortunately .  
But I discovered something odd .  
If I create an output file I see the SMA of the bodies being negative , although they are in a "normal" orbit around the binary .  
Is it possible for you to chech this ?
Back to top
 
 
Email View Profile   IP Logged
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
Re: windows is playing tricks with me
Reply #3 - 01/16/12 at 14:20:02
 
That's because its giving you the sma with respect to the reference object, probably the Sun, rather than wrt to the barycenter.  At the moment, there's no way around this.  I'd have to code a new routine.  If you're clever with Excel, you can always compute the orbital elements yourself using the position and velocity vectors.
Back to top
 
 
Email View Profile WWW   IP Logged
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
Re: windows is playing tricks with me
Reply #4 - 01/17/12 at 08:52:29
 
yes , this sounds reasonable . GravSim assigns the created body to the reference body , not to the body  to which they were created .  
This explains the weird phenomena.
Back to top
 
 
Email View Profile   IP Logged
Pages: 1
Send Topic Print