.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old August 28th, 2003, 12:22 AM

Ack Ack is offline
Private
 
Join Date: Mar 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Ack is on a distinguished road
Default Re: Calculating a planet\'s mass & gravitational pull

Hmm... I've often wondered about the error associated with using point source gravitational equations. Too lazy to look it up, so maybe someone here knows.

The equations posted here all assume that gravity comes from a point source at the core of a planet. This is fine when you are many, many planet diameters away from a planet. But when you get within some distance, the gravitation effects should be distributed across the planet's height, width, and thickness. The gravitational force that a body feels when within this distance is the vectored sum of all these components. Additionally, each layer of a planet has a different density and therefore differing gravitational contributions.

A second option is that during planet formation, the denser elements settle more towards the planet core. In effect, the bulk of the planet's mass resides in the core. This would make the point source error very small until you've pierced the surface and moved very close to the planet's core.
Reply With Quote
  #2  
Old August 28th, 2003, 12:21 PM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Calculating a planet\'s mass & gravitational pull

Ack: I don't doubt that these equations have a certain level of innaccuracy built in, but I'm only using them for writing purposes, so I can be sufficiently vague to leave room for correction.
When the program goes up on my website though I fully intend to list all the known areas of innaccuracy. I'll add your comments to my list, thanks=-)
Reply With Quote
  #3  
Old August 28th, 2003, 02:17 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Calculating a planet\'s mass & gravitational pull

Differing densities at various depths does not affect the calculation, assuming that at any particular depth, the density is the same all the way around the planet.
If the density is not the same (ocean water vs rock, say) it still only has a small effect, which is swamped by the effect of the 1000's of km of rock below it.

Distance from the planet surface has the biggest effect.
If you are on top of a mountain, the gravity is lower. While there is a bit more mass directly below you, the 1/r2 decrease hits much harder.

However, its still a fraction of a percent change.

You'd need something with an irregular shape, like an asteroid to get decent changes in gravity, but then the gravity is so low to begin with, it really dosen't matter.

Stuff with higher gravity smushes itself into an ovoid ball, and the approximations apply.
Reply With Quote
  #4  
Old August 28th, 2003, 04:37 PM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Calculating a planet\'s mass & gravitational pull

Wahey! It's finished. Well, not quite finished, but the difficult bit is.

You can put in any combination of variables and it will work out everything it can from them. For example, you could put in radius and mean density to get surface gravity, mass, volume, circumference etc.

Equally though, you could put in surface gravity, circumference and percentage of the surface covered in water and from that derive the radius, mean density and total land area.

On the other hand, you could just tell it how much land and ocean surface there is and the surface gravity and it will give you density, volume, etc etc etc...

You get the idea. If anyone ever needs to design a planet to spec then this could be handy.

All that remains is to validate the input a little more, make the option to compare the figures generated to those of real planets, pretty it up a bit and then I can upload it to my website for everyone to ignore

Thanks for all the help, ppl.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:08 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.