https://github.com/arendmoerman/orbits

small code to calculate orbit in logarithmic potential

https://github.com/arendmoerman/orbits

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

small code to calculate orbit in logarithmic potential

Basic Info
  • Host: GitHub
  • Owner: arendMoerman
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Size: 18.6 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 5 years ago · Last pushed over 5 years ago
Metadata Files
Readme License

README

In order to run the script, cd into this folder, and type 'make'.

Adjust the initial condition in "initial.in" to your liking.
Keep in mind that internally, the code works with G = 1.
The input is entered in following order: 

    mass x0 y0 vx0 vy0
    
Example: the following inputs will create loop orbits.

    1 2 0 0 0.5
or
    1 3 0 0 -1

Example: the following inputs will create box orbits.

    1 2 0 0 1
or
    1 1.1 0 0 1
    
Then run the Orbit.py script. t_begin, t_end and dt are manually adjusted inside the script.

The output is ordered as such:

    time energy Lz mass x y vx vy

Owner

  • Login: arendMoerman
  • Kind: user

GitHub Events

Total
Last Year