Skip to content

solarqiang/Runge-Kutta-Fehlberg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runge-Kutta-Fehlberg 7(8) Method for Astro-dynamics

Purpose

Using Runge-Kutta-Fehlberg 7(8) method for solving numerical problems in astro-dynamics, for example, two-body and three-body problems.

Usage

two-body problem

Modify the parameters at the beginning of twobody.cpp, and type following command in your *nix terminal:

make
make run_twobody
make plot_twobody

img/orbit_trace.png

three-body problems

central configuration

Solve the differential equation required by central configuration

make
make run_centconf
make plot_centconf

img/central_config_phi.png

img/central_config_phidot.png

img/central_config_phiphase.png

restricted three-body problem

Hill surface, Cj contour and Cj surface

Plot Hill surface using python

img/hill_surf.png

img/cj_contour.png

img/cj_surface.png

Todo

three-body problems

About

Runge-Kutta-Fehlberg numerical method

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 55.6%
  • Python 36.8%
  • Makefile 3.9%
  • Shell 3.7%