I'm posting here, in the math forum, because my question is about handling the math of the problem.(adsbygoogle = window.adsbygoogle || []).push({});

On my website there are a number of simulations (in the form of Java applets), and among them is a http://www.cleonis.nl/physics/ejs/ballistics_simulation.php" [Broken].

The ballistics simulation is designed to be used for slow speeds and low altitudes (up to kilometers). Another version, called 'ballistics and orbits', covers the altitude range of satellite motion. For satellite motion it suffices to use as gravitational field the field of a perfect sphere. Currently the low altitude version also uses perfect sphere gravity, but I want to push for more: I want to model the gravity of the reference ellipsoid.

To do that I must implement the following two things:

- Geodetic coordinates for input and output, while using cartesian coordinates for the computation.

- The cartesian components of the reference ellipsoid's gravity.

I have found good information about interconverting between geodetic and cartesian coordinates. I don't expect major problems; if I need assistence with that I will ask for that later.

Cartesian components

What I don't have a plan for right now is how to set up the cartesian components of the reference ellipsoid's gravity.

As a first approximation for the magnitude of the gravitational acceleration, I can use McCullagh's formula, using only the first terms:

[tex] g = \frac{GM}{r^2} - \frac{3GMa^2J_2}{2r^4}(3sin^2\Phi - 1) [/tex]

and the counterpart expression for the gravitational potential:

[tex] V = - \frac{GM}{r} + \frac{GMa^2J_2}{2r^3}(3sin^2\Phi - 1) [/tex]

(There may be incorrect minus signs there; debugging the simulation should get that sorted.)

Now, in the case of homogenous sphere gravity I have set up the following the cartesian components:

[tex] g_x = - \frac{x}{\sqrt{x^2+y^2+z^2}} \cdot \frac{GM}{x^2+y^2+z^2} [/tex]

[tex] g_y = - \frac{y}{\sqrt{x^2+y^2+z^2}} \cdot \frac{GM}{x^2+y^2+z^2} [/tex]

[tex] g_z = - \frac{z}{\sqrt{x^2+y^2+z^2}} \cdot \frac{GM}{x^2+y^2+z^2} [/tex]

The symmetry simplifies the expressions enormously. It's easy to see that the vector sum of the components is once again 'g'.

Reference ellipsoid

To obtain the cartesian components of the reference ellipsoid's gravity I suppose I need to use respectively x, y and zpartial derivativesof the gravitational potential.

The tricky bit, it seems, is to make the vector sum of the components add up to precisely 'g'. My hope is that there is a neat and clean way of making that happen. I hope someone can inform me on this.

Cleonis

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Cartesian components of ellipsoid's gravity field - looking for info

Loading...

Similar Threads for Cartesian components ellipsoid's | Date |
---|---|

I Computing the normal scalar component of acceleration | Apr 5, 2016 |

Polar and cartesian issue | Oct 15, 2015 |

I Example of *Non* Cartesian Vector/Tensor (not the coordinate s | Sep 10, 2015 |

Converting arbitrary Cartesian vector to cylindrical | Jan 19, 2015 |

Cartesian unit vectors expressed by Cylindrical unit vectors | Oct 1, 2014 |

**Physics Forums - The Fusion of Science and Community**