Skip to content

Generates Simulations of a binary star system by numerically solving twelve first order equations of motion for two stars.

License

Notifications You must be signed in to change notification settings

GrahamDrive/BinaryCelestialSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BinaryCelestialSim

Generates Simulations of a binary star system by numerically solving twelve first order equations of motion for two stars.

3-D Simulations

Here we will show some examples of different cases and types of orbits that were simulated using the binary star system script.

Case 1: Sinusoidal Orbits

Animated Gif of Orbits

The mass of the stars is the same and the initial velocity vector of star one is V0 = (0 0.5 0). This results in a very circular orbit where both stars follow the same path.

Y-Axis Velocity

When we look at y component of the velocity we can see that this type of orbit creates a sinusoidal shape which we like to call a sinusoidal orbit.

Velocity Magnitudes

Now if we look at the magnitude of the two stars velocity we can see that they are identical they remain relatively stable. The sinusoid that appears in the graphs we suspect are more due to the inaccuracies in ode45 differentiation rather than and would not match experimental data.

Star One Second Star

Case 2: Unbalanced System

Animated Gif of Orbits

This second system demonstrates the effect of unbalanced masses on a binary system. The gif is a little fast but we can see how the smaller star M1 has a much larger orbit as it is "tossed around" by its bigger relative. One interesting characteristic of this binary specifically is that the orbits of the two stars actually cross each other far from the center of mass.

Y-Axis Velocity

The y axis of the velocity vector now makes this interesting sawtooth shape. We can see the effects of the mass differences here quantitatively. It appears that the larger star moves at a fraction of the speed of the smaller star.

Velocity Magnitudes

The velocity magnitude graphs for these two stars are interesting as they are identical in shape but are simply scaled due to the size difference of that stars.

Star One Second Star

Thanks!

Thanks for checking out my little project! If you have any ideas or things that could improve on this script to make it better don't hesitate to fork the repo. I would love to see what people come up with!

Also just wanted to thank my professor Dr. Jason Fiege who gave the outline for this project.

About

Generates Simulations of a binary star system by numerically solving twelve first order equations of motion for two stars.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages