.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 20th, 2003, 04:10 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 Calculating a planet\'s mass & gravitational pull

Help!

I'm putting together a spreadsheet to help me create realistic planets for SE4 story writing purposes.

I type in the diameter (km) and surface area covered by ocean (%), and it automatically gives me the planet's circumference (km), total surface area (km^2), land and water surface area(km^2), and compares all these values to Earth for easy reference.

What I'd like in addition is to be able to plug in a Mean Density value (gr./cm^3) for the planet and from that get an estimate of the planet's surface gravity.

Unfortunately I don't know the calculations necessary for this, despite lengthy google searches. Can anyone help?

I assume I'll need the planet's volume, but I should be able to get that from the diameter. I appreciate that any figures I come up with won't be utterly accurate (because I'm working with spheres and planets aren't quite spherical, and because surface gravity is also affected by rotation) but they'll be good enough for my purposes.
Reply With Quote
  #2  
Old August 20th, 2003, 04:18 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

Just multiply average density by volume.
kg/m^3 x m^3 = kg

Useful for rocky/icy planets, but will be trouble on gas giants due to the extreme changes in density going down to the core.

For surface gravity, F= GMm/r^2
Where gravitational constant G = 6.67300 × 10-11 m3 kg-1 s-2
Big and little masses M & m and the surface radius.
Little m will cancel out when you do F=ma to get the acceleration.
A = GM/R^2
Just remember to use the same units throughout.

PS:
Have fun picking a surface for your gas giant, and don't count any material above the surface in your mass calculation

[ August 20, 2003, 15:24: Message edited by: Suicide Junkie ]
Reply With Quote
  #3  
Old August 20th, 2003, 04:51 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

Thanks S_J- a few questions:
Quote:
kg/m^3 x m^3 = kg
So that's kilograms per metre cubed times metres cubed. My "volume" value is in kilometres cubed, so do I just divide by 1000 to get metres cubed?

Quote:
Where gravitational constant G = 6.67300 × 10-11 m3 kg-1 s-2
Glurp! so if my distant maths lessons are correct, that would be -6.67300 with the decimal place moved 11 spaces to the right. Correct? What does the kg-1 s-2 mean?

Quote:
A = GM/R^2
so M in this one is the mass of the planet as calculated above.

If I run Earth's vital statistics through the above treadmill I should get a value somewhere near 1, is that right?
Reply With Quote
  #4  
Old August 20th, 2003, 05:27 PM
Slick's Avatar

Slick Slick is offline
Brigadier General
 
Join Date: Apr 2002
Location: Kailua, Hawaii
Posts: 1,860
Thanks: 0
Thanked 1 Time in 1 Post
Slick is on a distinguished road
Default Re: Calculating a planet\'s mass & gravitational pull

1 cubic kilometer = 1,000,000,000 cubic meters (i.e. 1000^3 cubic meters)

Yes, 10^-11 means move the decimal 11 places to the left.

The kg-1 and s-2 refer to exponents in this limited UBB system. Negative means in the denominator, so the units would be: m^3 / [kg x s^2]

Slick.
__________________
Slick.
Reply With Quote
  #5  
Old August 20th, 2003, 06:00 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

Quote:
1 cubic kilometer = 1,000,000,000 cubic meters (i.e. 1000^3 cubic meters)
Aha! So if I multiply the result by 1000000000... Yes, i get a value for Earth & Mars masses that (more or less) matches what I find on websites. Excellent, thanks, slick.

Quote:
Yes, 10^-11 means move the decimal 11 places to the left.
OK, I'll plug that in.

Quote:
The kg-1 and s-2 refer to exponents in this limited UBB system. Negative means in the denominator, so the units would be: m^3 / [kg x s^2]
Ummm... I didn't understand any of that. Sorry, can you put it into language that can be understood by someone of my high mean density?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Tomorrow I'm going to have a go at putting all of this functionality into java so I can offer it on my website.
Planned features:
-flexible input values (ie it can automatically calculate circumference from diameter or vice versa.)
-Side by side comparison with a selectable "benchmark" planet (Earth, Mars, Jupiter, Plenty... any others I should have?
-Choose between raw data comparison or proportional comparison (ie Planet X has 125% earth's land surface area)
-Variable input units (miles or kilometres etc)

Anyone likely to use this? I doubt it will see a lot of usage, but thought it might be a handy toy for sci-fi writers. Any particular features I ought to implement? Even if no-one wants it I'll do it anyway as a programming excercise for myself.
Reply With Quote
  #6  
Old August 20th, 2003, 06:03 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Calculating a planet\'s mass & gravitational pull

Quote:
Originally posted by Suicide Junkie:
Just multiply average density by volume.
kg/m^3 x m^3 = kg

Useful for rocky/icy planets, but will be trouble on gas giants due to the extreme changes in density going down to the core.

For surface gravity, F= GMm/r^2
Where gravitational constant G = 6.67300 × 10-11 m3 kg-1 s-2
Big and little masses M & m and the surface radius.
Little m will cancel out when you do F=ma to get the acceleration.
A = GM/R^2
Just remember to use the same units throughout.

PS:
Have fun picking a surface for your gas giant, and don't count any material above the surface in your mass calculation
Actually, don't forget the stuff overhead when figuring gravity. It has mass, too. The gravity inside a gas giant could be very weird. The atmospheric pressure is probably a more predictable problem.
Reply With Quote
  #7  
Old August 20th, 2003, 06:04 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Calculating a planet\'s mass & gravitational pull

Quote:
Originally posted by dogscoff:

Tomorrow I'm going to have a go at putting all of this functionality into java so I can offer it on my website.
Planned features:
-flexible input values (ie it can automatically calculate circumference from diameter or vice versa.)
-Side by side comparison with a selectable "benchmark" planet (Earth, Mars, Jupiter, Plenty... any others I should have?
-Choose between raw data comparison or proportional comparison (ie Planet X has 125% earth's land surface area)
-Variable input units (miles or kilometres etc)

Anyone likely to use this? I doubt it will see a lot of usage, but thought it might be a handy toy for sci-fi writers. Any particular features I ought to implement? Even if no-one wants it I'll do it anyway as a programming excercise for myself.[/QB]
Aaron Hall? You ought to share it with him. It might improve SE V.
Reply With Quote
  #8  
Old August 20th, 2003, 06:18 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

The stuff above you will cancel out with the stuff at the same height on the other sides of the planet.
The stuff above your horizon pulls you away, while the stuff below your horizon at the same altitude pulls you towards (weaker due to distance, but more mass) Given reasonably constant density from one side to the other, it cancels out.

Stormy weather would make for small differences.
Sunlight heating one side would make for bigger differences.
But the density can't vary by that much, since the high pressure air will just blow into the low pressure zone and equalize it.
Reply With Quote
  #9  
Old August 20th, 2003, 08:21 PM
Slick's Avatar

Slick Slick is offline
Brigadier General
 
Join Date: Apr 2002
Location: Kailua, Hawaii
Posts: 1,860
Thanks: 0
Thanked 1 Time in 1 Post
Slick is on a distinguished road
Default Re: Calculating a planet\'s mass & gravitational pull

Quote:
The kg-1 and s-2 refer to exponents in this limited UBB system. Negative means in the denominator, so the units would be: m^3 / [kg x s^2]
Ummm... I didn't understand any of that. Sorry, can you put it into language that can be understood by someone of my high mean density?

--------------------------------------------

I appologize for being hard to understand. The limitations of this UBB make it hard to use normal mathematical notation.

The units of the gravitational constant G are:

code:
                    3
m
------------------
2
(kg) (s)

Hope this helps.

Slick.
__________________
Slick.
Reply With Quote
  #10  
Old August 20th, 2003, 09:16 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Calculating a planet\'s mass & gravitational pull

Quote:
quote:
--------------------------------------------------------------------------------

Where gravitational constant G = 6.67300 × 10-11 m3 kg-1 s-2

--------------------------------------------------------------------------------

Glurp! so if my distant maths lessons are correct, that would be -6.67300 with the decimal place moved 11 spaces to the right. Correct? What does the kg-1 s-2 mean?
Not quite. It is not negative, just really close to 0. A negative exponent does not change the sign of the base number.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
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 05:48 PM.


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