/golf-ballistics-model

Golf ballistics model

Primary LanguageJupyter NotebookMIT LicenseMIT

Golf ballistics model

Simulate golf ball flight

ballistics_plot

Based on ODE's from MacDonald and Hanzely (1991) "The physics of the drive in golf" American Journal of Physics 59(3):213-218

Input:

  ------------------------------------------------------
  velocity              -   initial velocity  [m/s]
  launch_angle_deg      -   launch angle      [deg]
  off_center_angle_deg  -   aim               [deg]

  spin_rpm              -   ball spin         [rpm]
  spin_angle_deg        -   spin axis angle   [deg]

  windspeed             -   wind speed        [m/s] 
  windheading_deg       -   wind angle        [deg]

  Optional input:
  ------------------------------------------------------
  mass     -   mass of ball                  [kg]
  radius   -   radius of ball                [kg]
  rho      -   air density                   [kg/m^3]
  g        -   acceleration due to gravity   [kg]