Gravity and orbital mechanics

Gravity and orbital mechanics#

Given that we plan to construct complex space-based megastructures, we must of course design our system for space, which comes with its unique challenges. Gravity is the primary force that determines the trajectories of objects in deep space, and so is something we have to give careful consideration to. Newtonian mechanics, luckily, gives a very good mathematical description of gravity that is sufficient for preliminary calculation purposes. The differential equation of motion for all solar orbits under Newtonian gravity is:

d2rdt2+(GMr2+iGmi|rir|2)r^=0

Where M is the mass of the Sun, and m1,m2,,mi,r1,r2,,ri are the masses and positions of all the non-Earth gravitating bodies in the Solar system. The Sun and the 8 planets together account for 99.985% of the total mass of the Solar system, with the Sun itself being 99.85% of the total mass. Meanwhile, the differential equation of motion for a geosynchronous orbit around Earth, under Newtonian gravity, would be given by:

d2rdt2+GMearthr2r^earth+GMsunrsun2r^sun+GMmoonrmoon2r^moon=0

Where r is the distance from Earth to the orbiting satellite, rmoon is the distance from the satellite to the moon, rsun is the distance from the satellite to the Sun, and each of the basis vectors represents the unit vector of the displacement vector pointing between the Earth and that particular celestial body (for instance, r^sun is the displacement vector between the satellite and the Sun).

If use the approximation that Earth’s gravity is dominant in this scenario, we may ignore the lunar and solar terms, and together with using the fact that orbits are planar, we have the system of equations:

d2xdt2+GMearth(x2+y2)3/2=0d2ydt2+GMearth(x2+y2)3/2=0x0,y0=r0θ^,v0x,v0y=v0θ^

These aren’t easy to solve but there is an analytical solution if you convert to polar coordinates, do a substitution of variables, and then use some other math tricks. The solution is given by:

r=L2m21GM(1+ecosθ)

Where h=L/m, L is the angular momentum, m is the satellite’s mass, and M is the Earth’s mass, and we can get typical Cartesian coordinates with the typical x=rcosθ and y=rsinθ. e is a parameter known as the eccentricity, given by:

e=1+2EL2G2M5

Using L=Iω, I=mr2 for the satellite, the fact that that the tangential velocity obeys vtang.=rω, and the conservation of angular momentum, we find that:

L=mr2ω=mrvtang.

In our case, vtang.=v=v where v=vx,vy (this is because the tangent vector always points in the direction of motion and the direction of motion happens to be rotational). Conservation of angular momentum means we can equivalently write:

L=mr0v0

By a similar approach using the conservation of energy, we have:

E=12mv02GMmr0

Which means that the complete solution to the Newtonian differential equations for Earth orbits is given by:

r(θ)=r02v02GM(G2M5r0 m3 v02(2GMr0v02)G2M5 cos(θ)+1)1

Hence the reason why real-world problems almost never appear in an introductory treatment of differential equations. Further, this is not something to be computed by hand - we highly recommend sympad, an awesome open-source computer algebra system interface, which speeds up calculations tremendously.

However, it should be noted that this is a simplified gravitational model that works for limited purposes. First, it ignores the Moon completely, which is the biggest source of gravity other than the Sun and Earth. Second, it doesn’t account for the fact that Earth’s gravity is not technically uniform, with slight surface gravity variations and gravitational anomalies. Third, it does not incorporate any relativistic effects or the effects of radiation pressure or various other emissions from the spacecraft, which all have small - but tangible - effects on the spacecraft’s orientation and trajectory through time, requiring orbital corrections. Finally, it does not take into account all the other gravitational influences caused by the uneven distribution of mass in the Solar System, and due to the fact that the n-body problem (that is, systems involving more than two gravitationally-interacting objects) is known to be chaotic, any orbit in the Solar System will decay over very long timespans. This is due to the tiny gravitational effects from other gravitational influences (e.g. comets, asteroids, dwarf planets) that we don’t typically include in our calculations out of sheer complexity.

For this reason, while preliminary theoretical analysis is important, it is advisable to use professional orbital calculations software such as NASA’s Copernicus and standard gravitational models such as the Earth Gravitational Models (EGM), which is part of the World Geodetic System for the final high-precision research calculations.