Welcome, Guest. Please Login.
Gravity Simulator
11/18/17 at 22:47:27
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
planetary data (Read 2914 times)
EoD
YaBB Newbies
*


I Love YaBB 2! ...
Errm, no.

Posts: 2
planetary data
09/01/11 at 16:39:52
 
Hey,
 
I'm the author of yet another gravitational simulator called JGravSim (previously called GravitySimulator Tongue) with a slightly different approach. Currently I'm trying to create some nice scenarios but I don't know where to get the data from. I already patched the planets from our solar system with wikipedia together, but I'd like to add moons and dwarf planets and the scenarios here looked really nice Smiley.  
 
Where can I get precise information about those? Can I find some documentation about the gsim file syntax, so I can write a loader for those (ofc only if you don't mind)?
 
Is there also a standalone version of gravsitysimulator instead of a setup file? I usually don't have admin/root access to the machine I'm working on. I guess there is no linux/solaris binary, is there?
Back to top
 
 
View Profile WWW   IP Logged
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
Re: planetary data
Reply #1 - 09/01/11 at 21:33:22
 
Hi,
I don't mind if you write a loader.  But here's an explanation on how to get position and velocity vectors from JPL.
http://orbitsimulator.com/gravity/tutorials/tutorials.html#horizons
Make sure the emails you send them are in plain text rather than html.
Somewhere in this webforum is a desciption of the syntax of the gsim file.  If you use the search function you may find it.  If not, let me know and I'll dig it up for you.
 
In this forum is a sticky called beta version.  This lets you download a standalone version (no setup.exe required) of the the lastest versions of Gravity Simulator.  However, without having run the setup.exe, your computer may not have all the support files needed to run Gravity Simulator.  I've seen it work just fine on some computers, and not at all on others.  So you just have to try and see.
 
Welcome to the forum!
Back to top
 
 
Email View Profile WWW   IP Logged
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
Re: planetary data
Reply #2 - 09/03/11 at 02:18:04
 
You may as well use the data from this list I use .  
They are extracted from the JPL data showing the positions and velocities  at 2009/01/01  
 
"List of planets , Name, color, Massas (kg) ,diameters(m) , bitmap representation ,printable on screen  (0 or 1)"
1,1,"Sun","yellow",1.98891691172466E+30,1.392e+9,Sun.bmp,1
2,1,"Mercury ","grey",3.30187414789274e+23,4880e+3,Mercury.bmp,1
3,1,"Venus ","red",4.86854707092685e+24,12104e+3,Venus.bmp,0
4,1,"Earth","red",5.97369125232005E+24,12742e+3,Earth.bmp,1
5,1,"Mars ","red",6.41853544762209E+23,6780e+3,Mars.bmp,0
6,1,"JupCOG","brown",1.89900183351053E+27,139822e+3,Jupiter.bmp,0
7,1,"SaturnCOG ","yellow",5.68603461771860E+26,116464e+3,Saturn.bmp,0
8,1,"UranusCOG ","blue",8.68409661853904E+25,50724e+3,Uranus.bmp,0
9,1,"NeptuneCOG ","blue",1.02456847416779E+26,49248e+3,Neptune.bmp,0
10,1,"PlutoCOG ","grey",1.47109239032890E+22,2274e+3,Pluto.bmp,0
11,1,"Moon","white",7.34766310628125E+22,3474e+3,Moon.bmp,1
12,1,"Ceres","grey",9.47157e+20,200000,Asteroid.bmp,0
13,1,"Hygiea","grey",8.6e+19,200000,Asteroid.bmp,0
14,1,"Pallas","grey",2.14309E+20,200000,Asteroid.bmp,0
15,1,"Juno","grey",3.0E+19,200000,Asteroid.bmp,0
16,1,"Vesta","grey",2.7e+20,200000,Asteroid.bmp,0
17,1,"2010 TK7","yellow",9.5E+10,3474e+3,Asteroid.bmp,1
"Rx Ry Rz Vx Vy Vz of planets (km)"
1,"Sun",1e-20,1e-21,1e-22,1e-24,1e-26,1e-27
2,"Mercury",  5.197524885123413E+7 , 4.176327830111247E+06, -4.428164712676490E+06, -1.331014898129297E+01,  5.073839920183050E+01,  5.366705544197714E+00
3,"Venus",    7.195283308270551E+07 , 8.064464078126526E+07, -3.048715582862485E+06,-2.623897942834786E+01,  2.316467643776588E+01,  1.831424164854255E+00
4,"Earth",  -2.699770573629780E+07,  1.446016437268081E+08 ,-2.802724553607404E+03,-2.977452427252537E+01, -5.589024732875956E+00,  -8.283893695844036E-04
5,"Mars", -5.447232674051397E+06, -2.180400098789027E+08, -4.434494652060375E+06,2.513816918323941E+01,  1.478002759090476E+00 ,-5.863911728396912E-01
6,"Jupiter Barycenter",  4.082362765062705E+08, -6.470186955025158E+08, -6.449392070659369E+06,1.089747621956985E+01 , 7.599267305211876E+00 ,-2.754064854682441E-01
7,"Saturn Barycenter", -1.358494849777086E+09 , 3.403331726259745E+08  4.814361619412501E+07,-2.856567803220488E+00, -9.385647059218705E+00,  2.772504016380464E-01
8,"Uranus Barycenter",  2.975131051497417E+09 ,-4.329312164365702E+08, -4.014251034968358E+07,9.392471502774099E-01,  6.426896906069930E+00 , 1.163690863675093E-02
9,"Neptune Barycenter",  3.614335289377717E+09, -2.668897729118160E+09, -2.833613653133452E+07,3.202043977383227E+00 , 4.409747764802605E+00, -1.644635569858939E-01
10,"Pluto Barycenter", 6.883754553188385E+07, -4.698496421612124E+09,  4.828784795743217E+08,5.543289877605850E+00,-9.489597714190274E-01, -1.498757487807019E+00
11,"Moon",-2.665471942005001E+07,  1.444006647859521E+08,  9.854180369466543E+03,-2.931445558957565E+01, -4.719085656774300E+00,  8.235540117681750E-02
12,"Ceres",  -2.997008237353463E+08,  2.275926851080580E+08,  6.231651061212730E+07,-1.125987257299904E+01, -1.568119559981647E+01,  1.586308372167260E+00
13,"Hygiea",   1.295755848761144E+08,  5.042581257713134E+08,  1.634084596638840E+07, -1.470393697988667E+01,  3.143619324043149E+00, -9.112845660844776E-01
14,"Pallas", 3.233799304005716E+07,  2.720555786950164E+08, -1.906814145103717E+08,-2.173983289076326E+01,  3.315959797483927E-01 , 1.580359466791397E+00
15,"Juno",  1.834294575999561E+08 ,-3.854887781419568E+08 , 8.004656123220274E+07, 1.297633794206353E+01,  1.013771533158645E+01, -2.820662226041869E+00
16,"Vesta",2.357021523590707E+08,  2.981256141788820E+08, -3.761397186157750E+07, -1.347858872627045E+01,  1.166146018810303E+01,  1.286678218251391E+00
17,"2010 TK7",   -5.533455449300870E+07,  1.084565586423152E+08,  1.622326646814788E+07, -2.813347561994662E+01, -1.873907538831889E+01,  1.146912753355939E+01
"Date","2009/01/01   00u 00m 00s "
Back to top
 
 
Email View Profile   IP Logged
EoD
YaBB Newbies
*


I Love YaBB 2! ...
Errm, no.

Posts: 2
Re: planetary data
Reply #3 - 09/03/11 at 13:18:35
 
Quote from Tony on 09/01/11 at 21:33:22:
Hi,
I don't mind if you write a loader.  But here's an explanation on how to get position and velocity vectors from JPL.
http://orbitsimulator.com/gravity/tutorials/tutorials.html#horizons
Make sure the emails you send them are in plain text rather than html.
Oh, thanks a lot for the tutorial link! I already sent a BATCH-LONG mail and played a little with the telnet interface.
 
 
Quote from Tony on 09/01/11 at 21:33:22:

Somewhere in this webforum is a desciption of the syntax of the gsim file.  If you use the search function you may find it.  If not, let me know and I'll dig it up for you.

Either your search function is bugged or I am too stupid to search. If I search for "gsim" I get only 2 results of which one is this thread here Wink.
 
 
Quote from Tony on 09/01/11 at 21:33:22:

In this forum is a sticky called beta version.  This lets you download a standalone version (no setup.exe required) of the the lastest versions of Gravity Simulator.  However, without having run the setup.exe, your computer may not have all the support files needed to run Gravity Simulator.  I've seen it work just fine on some computers, and not at all on others.  So you just have to try and see.
Yeah I already found that beta exe, but without the dlls from the setup it won't start Smiley. I will try to execute it on a machine with wine and put the content into an archive.
 
 
Quote from frankuitaalst on 09/03/11 at 02:18:04:
You may as well use the data from this list I use .
They are extracted from the JPL data showing the positions and velocities  at 2009/01/01

Thanks, that's a good starting point!
Back to top
 
 
View Profile WWW   IP Logged
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
Re: planetary data
Reply #4 - 09/03/11 at 18:28:33
 
You have to change the date range from "within the last week" to "all posts".  Then you'll gets lots of results for searching "gsim".
 
I found it for you:
http://www.orbitsimulator.com/cgi-bin/yabb/YaBB.pl?num=1131749461/3#3
Back to top
 
 
Email View Profile WWW   IP Logged
Pages: 1
Send Topic Print