- #1
tag2020
- 6
- 2
- TL;DR Summary
- How to speed up an orbital mechanics model by changing parameters like the universal gravitational constant
Hello folks,
I am working on Java program just for fun to model an n-body problem using 3-dimension graphics. I'm looking for a way to speed up the model.
Suppose for example that I decide to increase the speeds of all objects by a factor of, say, 2. To compensate, I would also increase the universal gravitational constant by 2 squared = 4. Clearly the model would run faster, but would the behavior be the same? (i.e. Would orbits that were stable before remain stable?)
I am working on Java program just for fun to model an n-body problem using 3-dimension graphics. I'm looking for a way to speed up the model.
Suppose for example that I decide to increase the speeds of all objects by a factor of, say, 2. To compensate, I would also increase the universal gravitational constant by 2 squared = 4. Clearly the model would run faster, but would the behavior be the same? (i.e. Would orbits that were stable before remain stable?)
Last edited by a moderator: