Undergrad How to Assign Initial Conditions for Binary Star Systems in a Simulation?

Arman777
Insights Author
Gold Member
Messages
2,163
Reaction score
191
I created a 2 body simulation Is there some special conditions where I can test their trajectory and check my code ?
 
Astronomy news on Phys.org
Yes: provide initial conditions. e.g. for the moon circling the Earth or the Earth circling the sun
 
BvU said:
Yes: provide initial conditions. e.g. for the moon circling the Earth or the Earth circling the sun
It passed the Earth sun test. But I was more about wandering cases like binary star etc. How can assign reasonable initial conditions for such systems ?

Now it came to my mind that I can try to simulate each planet I am the Solar system and investigate their energy
 

Similar threads

Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 61 ·
3
Replies
61
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K