Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two body system in Newtonian gravity #12

Open
1 task done
emptymalei opened this issue Feb 22, 2024 · 2 comments
Open
1 task done

Two body system in Newtonian gravity #12

emptymalei opened this issue Feb 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@emptymalei
Copy link
Member

emptymalei commented Feb 22, 2024

Depends on

Definition of a Two Body System

Two masses $m_1$ and $m_2$.

We use Jacobi coordinates, $\vec R=\frac{m_1 \vec x_1 + m_2 \vec x_2}{m_1 + m_2}$, $\vec r = \vec x_1 - \vec x_2$.

The equation we are solving is

$$ \ddot {\vec r} = - \frac{\alpha}{r^2} \hat r, $$

where $\alpha=G(m_1+m_2)$.

Simplify

We reduce the problem to $R=0$,

$$ m_1 x_1 + m_2 x_2 = 0. $$

The displacement $r$ becomes

$$ \hat r = \left( 1 + \frac{m_1}{m_2} \right) \hat x_1. $$

Design

  1. Limit the params.
  2. Which coordinate to use.

References:

  1. https://en.wikipedia.org/wiki/Two-body_problem
@emptymalei emptymalei changed the title Two body system in a Newtonian gravity Two body system in Newtonian gravity Feb 22, 2024
@cmp0xff cmp0xff added the enhancement New feature or request label Mar 4, 2024
@cmp0xff
Copy link
Collaborator

cmp0xff commented Mar 17, 2024

I would go with

  1. Radial motion of one body in one dimension
  2. Circular motion of one body in two dimensions, inheriting the previous result
  3. Optionally circular motion of one body in three dimensions, inheriting the previous result

Then go up to to bodies.

@emptymalei
Copy link
Member Author

@cmp0xff agree. This issue depends on #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants