Skip to content

physics simulations written primarily in fortran during the 2021 governor's school for computational physics

Notifications You must be signed in to change notification settings

smjim/GSCP2021-physics_sims

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

to run these files, I recommend moving them to separate directories because they all create multiple data files

install gfortran and gnuplot

compile each code with gfortran and then run the executable gnuplot the data files created by the executable

here are some of the graphs created by the codes

pendulum_verlet_method angular position, velocity, and acceleration of a pendulum calculated using formula for acceleration and the verlet method pendulum_energy mechanical energy within the pendulum system calculated using the verlet method ^^ orbit_2 orbital trajectory calculated using runge-kutta 4 orbit orbital trajectory calculated using runge-kutta 4 lorentz_force trajectory of a particle within a magnetic and electric field (i think?) calculated using runge-kutta 4 freefall_data_comparison trajectory of an object in freefall with some initial velocity (from real test data) freefall_data trajectory of an object in freefall with some intitial velocity (calculated using the code) 3d_freefall more 3d freefall trajectories (calculated with a code)

About

physics simulations written primarily in fortran during the 2021 governor's school for computational physics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published