Jump to content

Need help with Elliptical Orbits, Velocity Change, and general Astrophysics.


-ctn-

Recommended Posts

Okay, I tried searching for an answer but didn't find anything close to what I'm looking for.

To back up and explain a little - I'm learning some basic Astrophysics and dynamics because spaceflight is awesome and learning is fun. I was never any good at math in college or highschool, so if I ask a dumb question or have a dumb answer, don't get too frustrated. :D

Anyways, here's what my problem is. A spacecraft in an elliptical orbit has a change in velocity. The closer to the parent body you are, the faster you go. The farther away, the slower you go. In a circular orbit, your velocity is constant because you are the same altitude (or distance) from the parent body for the entire orbit.

How would I calculate this change in velocity in an elliptical orbit?

As an example, I'll use KSP. Let's say we have a spacecraft traveling at 6 km/s on a transfer trajectory from Kerbin to Duna. When leaving Kerbin's Sphere of Influence, the craft is going at 6 km/s. By the time it reaches Duna's Sphere of Influence, the velocity will have slowed quite a bit - because of the gravitational pull (I assume) of being in the Sun's Sphere of Influence for the majority of the transfer.

Is there a way to calculate:

A) What the final speed will be when approaching Duna's SoI

B) Is there a set rate at which the speed decreases (assuming it takes into account distance from the Sun and the Sun's gravitational parameter)

C) If I pick a point in an elliptical orbit, and I know - the original velocity, distance from and gravitational parameter of the parent body - is it possible to determine the exact velocity of the craft? (i.e. to plot a graph with time intervals)

Thanks in advance for any help!

Link to comment
Share on other sites

If you know your semi major axis, you can determine speed at any altitude along your orbit.

Look up the Vis-viva equation.

Just keep in mind that vertical velocity is zero at any Apse(apo, peri), and that it increases when you approach Apo and decreases as you go away. That's vertical alone, though.

Edited by Bill Phil
Link to comment
Share on other sites

Just to clarify this a bit. Total mechanical energy of a satellite in a n elliptical orbit is -GMm/(2a), where G is gravitational constant, M and m are masses of the two relevant bodies, and a is the semi-major axis. (This assumes M >> m.) The potential energy of the satellite at some distance r from the center is -GMm/r. The difference between these two energies is kinetic energy of the craft, which is mv²/2. Solve that for v and you will have the speed of the craft.

Getting orientation is equally straight forward, but you use conservation of angular momentum instead. The quantity vtr, where vt is the tangent velocity, is conserved. Furthermore, precisely at apsides v = vt. You can then get radial velocity from speed and tangential velocity using Pythagoras' theorem.

Link to comment
Share on other sites

You can remove m and convert this to e/m for the satellite, you can also solve for thermodynamic energy change by taking the integral of the mgh equation from r1 to r2 (altitudes + CBs radius) to get velocity. So it can be done either way depending on what information one has. I think it is GM/r2 - GM/r1 (been 35 years so I might have gotten partially wrong)

Link to comment
Share on other sites

You can quickly determine your velocity at any point in your orbit in-game by dropping a maneuver node and pulling the retrograde marker until your predicted path is falling directly into the thing your're orbiting. However much dV that maneuver node takes, is how fast you were going.

I hate calculating anything :D

Link to comment
Share on other sites

You can quickly determine your velocity at any point in your orbit in-game by dropping a maneuver node and pulling the retrograde marker until your predicted path is falling directly into the thing your're orbiting. However much dV that maneuver node takes, is how fast you were going.

I hate calculating anything :D

We need a thread on how to calculate stuff. :P

Link to comment
Share on other sites

Okay, I tried searching for an answer but didn't find anything close to what I'm looking for.

To back up and explain a little - I'm learning some basic Astrophysics and dynamics because spaceflight is awesome and learning is fun. I was never any good at math in college or highschool, so if I ask a dumb question or have a dumb answer, don't get too frustrated. :D

Anyways, here's what my problem is. A spacecraft in an elliptical orbit has a change in velocity. The closer to the parent body you are, the faster you go. The farther away, the slower you go. In a circular orbit, your velocity is constant because you are the same altitude (or distance) from the parent body for the entire orbit.

How would I calculate this change in velocity in an elliptical orbit?

As an example, I'll use KSP. Let's say we have a spacecraft traveling at 6 km/s on a transfer trajectory from Kerbin to Duna. When leaving Kerbin's Sphere of Influence, the craft is going at 6 km/s. By the time it reaches Duna's Sphere of Influence, the velocity will have slowed quite a bit - because of the gravitational pull (I assume) of being in the Sun's Sphere of Influence for the majority of the transfer.

Is there a way to calculate:

A) What the final speed will be when approaching Duna's SoI

B) Is there a set rate at which the speed decreases (assuming it takes into account distance from the Sun and the Sun's gravitational parameter)

C) If I pick a point in an elliptical orbit, and I know - the original velocity, distance from and gravitational parameter of the parent body - is it possible to determine the exact velocity of the craft? (i.e. to plot a graph with time intervals)

Thanks in advance for any help!

Specific positions, yes. Specific time intervals.... that gets a bit hinky. Note: Use radians with all the below equations, not degrees.

Given a specific point on your orbit, determining your time to or since periapsis is plug and and play. Solve for True Anomaly (theta) from current radial distance from the sun's center®, semimajor axis (a), and eccentricity(e).

t3Dorl5.gif

Calculate Eccentric Anomaly (E) from True Anomaly. (Fixed equation, 3/11)

p0F8BGZ.gif

Calculate Mean Anomaly (M) from Eccentric Anomaly.

4nWgYcr.gif

And from Mean Anomaly and Orbital Period (p), you can find the time since Periapsis (tp).

sYz7FCG.gif

Position along an elliptical orbit as a function of time runs into the issue that there's no closed-form equation for going from Eccentric Anomaly to Mean Anomaly. I tend to use Newton's Method when going in the opposite direction.

Edited by maltesh
Had the wrong equation for Eccentric Anomaly
Link to comment
Share on other sites

BTW, just wanted to add something. Keep in mind that these are point masses. So if you want to know the speed you will have at 80 km above Duna in your orbit, you don't plug 80000 as a value for r into the calculations, you plug 80000 + Duna's radius. At least when you're close to it, if you are very far away from the body you can get away with ignoring it because the error introduced will me small.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...