Skip to content

Magnus effect physics simulation using the vpython simulation library, taking user set parameters for initial velocity and angular rotation for 3 axes and visualising the trajectory of the ball in air and in a vaccum.

Notifications You must be signed in to change notification settings

lakshman-sweetpeaches/Magnus-effect-physics-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Magnus effect physics simulation

This project is a physics simulation of the magnus effect, this phenomenon is often noticed in ball sports where the ball attains a curved trajectory because of the angular rotation of the ball and drag to form areas of high and low pressure, which results in this unique curved path.

The aim of this project is to simulate the trajectory taking into account:

  • The drag and lift coefficient of the ball
  • Density of the medium (Air in this case)
  • Initial velocity (user set parameter)
  • Angular rotation in all the 3 axis (user set parameter using a slider)

Then visualize the simulated trajectory also showing the trajectory of the ball in a vaccum as comparison.

This goal was achieved by using the simulation library Vpython, below are some attached images of the simulations generated:

IMG_20240331_182427_984 IMG_20240331_182446_742

About

Magnus effect physics simulation using the vpython simulation library, taking user set parameters for initial velocity and angular rotation for 3 axes and visualising the trajectory of the ball in air and in a vaccum.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages