3
$\begingroup$

As you can take from the title, does anyone know where I could find the source code for a working launch simulation type application such as FlightClub for example?

$\endgroup$
3
  • $\begingroup$ The problem with an accurate rocket launch simulation is that such a simulation would also serve as an accurate missile launch simulation. That in turn means you can't find such a thing on the internet. It's classified or ITAR. $\endgroup$ May 28, 2019 at 5:39
  • 1
    $\begingroup$ That's an extreme use case. $\endgroup$ May 28, 2019 at 10:38
  • $\begingroup$ Related: How does Flight Club simulate Falcon 9 launches? $\endgroup$ May 29, 2019 at 5:58

1 Answer 1

2
$\begingroup$

Searching “launch simulation github” will probably lead you to a number of options. I found https://github.com/jcreus/launchsim to be a very useful reference and starting point when I was working on my (currently closed source) launch simulation. While it's basic, it includes a simple atmospheric drag model and specific impulse increasing with altitude, but it doesn't model body lift and assumes attitude changes are instantaneously and perfectly executed.

$\endgroup$
13
  • $\begingroup$ Is this complete? While I have very little knowledge of Python, it does not look all there. $\endgroup$ May 28, 2019 at 10:37
  • $\begingroup$ It’s somewhat minimal, by no means equivalent to Flight Club, but a good simple starting point. $\endgroup$ May 28, 2019 at 14:32
  • $\begingroup$ I am mainly trying to find alternatives to compare with my attempted simulator. The complexity of working with altitude, pressure, drag, lift and all the others is quite tough without comparison examples. $\endgroup$ May 28, 2019 at 16:39
  • 2
    $\begingroup$ I only really compared mine with Robert Braeunig's Saturn V sim -- which has gone 404, possibly for ITAR compliance, but is archived here -- and got agreement close enough for my purposes, which are not critical. Where and how does your sim start to diverge from Flight Club? $\endgroup$ May 28, 2019 at 17:59
  • 1
    $\begingroup$ I worked on the Shuttle Mission Simulator. Without knowledge of the details of your simulation, it would be difficult to offer detailed advice. But you could attempt to determine where yours first starts to diverge from the others, and see what is the dominant effect at that point. $\endgroup$ May 29, 2019 at 12:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.