The gas ball can be viewed as a series of thin, spherical shells of gas around a common
center.
Pressure, density, and gravitational acceleration are constant on the surface of a shell,
but these quantities differ between shells of different radius.
At steady state, on a shell of radius ri, the pressure of the gas depends on the weight of
the gas from all of the shells outside of it:| where | d(r) | = density of gas at radius r |
| = p(r) / ( R·(10^3 / z) · absolute temperature) | ||
| R | = universal gas constant | |
| = 8.314 J/mol-K | ||
| z | = average atomic weight of air | |
| = 28.8 amu | ||
| g(r) | = gravitational acceleration at radius r | |
| = G · mass within shell / r^2 | ||
| G | = universal gravitational constant | |
| = 6.672 · 10^-11 (in MKS units) |
| pressure: | dp dr |
= | -p k·T |
· | Gm r^2 |
= | -7.75e-16 | · | p·m r^2 |
| mass: | dm dr |
= | _p_ k·T |
· | 4 pi r^2 | = | 1.46e-4 | · | p·r^2 |
| p(r=0) | = | 1.01·10^5 Pascals |
| m(r=0) | = | 0 kg |
| m(r=0) | = | 0 kg |
| m(r=infinity) | = | 5.98·10^24 kg |
A fourth-order Runge-Kutta method was sufficient to solve these equations given the
initial conditions at r=0. For the case of atmospheric pressure at center
(p(0)=1.01*10^5 P, m(0)=0 kg), the equations were integrated from r=0 to 10^8 m over
100 steps; using 200 steps (i.e., half the step size), the result changed by less than
1 part in 10^4. So, the result shown here should be accurate.
How big is this ball of gas? Well, the pressure drops off to about 2% of its initial value at 10^8 meters from the center, but it does so so smoothly, it may never reach zero. So, there is no distinct outer boundary, and designating any particular radius as one would be arbitrary. Nevertheless, choosing 10% initial pressure, the outer boundary is 5.235 * 10^7 m, or about 8 times Earth radius. The gas inside this radius has a mass of 1.581 * 10^23 kg, or about 1/40 Earth mass. However, the mass of the gas outside this radius may well be infinite, as the graph shows the mass function steadily increasing at 10^8 m.
How big is the gas ball if it has the same mass as Earth? Once again, the choice of
outer boundary is arbitrary, but let's use 10% initial pressure. The equation's
boundary conditions become m(0)=0 and m(r such that p(r) = p(0)/10)=5.98*10^24 kg.
However, knowing the radius at which p(r) = p(0)/10 requires having solved the equations.
Instead, many guesses of p(0) were used to solve the equations until one was
found that met the outer boundary condition. Actually, only a few guesses were needed,
as a simple scaling rule quickly became apparent: given one solution with initial
conditions p(0)=p1 and m(0)=0, a new solution with p(0)=p1/100 and m(0)=0 yields
pressures 100 times less and masses 10 times more, but both are stretched out over
10 times the distance. That is, given
| p(0)=p1 | and | m(0)=0 | yield | p(r) | and | m(r) |
| then | ||||||
| p'(0)=p1/100 | and | m'(0)=0 | yield | p'(r) = p(r/10)/100 | and | m'(r) = m(r/10)*10 |
Since this set of differential equations is non-linear, there might not be any closed-form solution. Still, inspection of the numerical results should reveal some clues about the form of the solution.
How do pressure and mass change as r goes to infinity? Continuing the integration
out to r = 10^13, p decreasing steadily and mass increasing steadily. In fact, both
functions appear quite linear on a log-log plot as r nears 10^13, and their slopes
indicate fixed powers of r. This suggests p and m have the forms
| p(r) | = | c1 r^2 |
| m(r) | = | c2·r |
Sure enough, when this solution is plugged back into the differential equations, they fit!
| dp dr | => | -3 c1 r^3 |
and | k1·p·m r^2 |
=> | k1·c1·c2 r^3 |
| dm dr | => | c1 | and | k2·p·r^2 | => | k2·c1 |
However, this solution can't match either set of initial conditions because it says that pressure is infinite at the center of the gasball.