Program to simulate the effects of a golf shot accurately

Click For Summary
SUMMARY

The discussion centers on developing a program to accurately simulate golf shot effects, focusing on parameters such as clubhead mass, club face loft, and ball characteristics. The current implementation uses a basic formula for ball velocity, but for improved accuracy, it must incorporate spin effects through the calculation of normal and tangential forces. The Magnus effect is highlighted as crucial for determining the ball's flight path, necessitating the calculation of spin rate based on clubhead speed and clubface angle at impact.

PREREQUISITES
  • Understanding of physics principles, specifically the Magnus effect
  • Familiarity with kinematic equations for calculating forces
  • Knowledge of golf club specifications, including mass and loft
  • Basic programming skills for simulation development
NEXT STEPS
  • Research the Magnus effect and its mathematical implications in sports physics
  • Learn how to calculate normal and tangential forces in projectile motion
  • Explore methods for determining spin rate based on clubhead speed and impact angle
  • Investigate advanced simulation techniques for realistic ball flight modeling
USEFUL FOR

Game developers, sports physicists, and golf enthusiasts interested in creating realistic golf simulation software.

mchugh
hi

i'm working on a program to simulate the effects of a golf shot accurately. I allow the user to set most of the parameters - such as the mass of the clubhead, loft of the club face (angle), the radius and mass of the ball, etc.

At present, I've got a pretty lame implentation, which uses

MV(1+e)
ball velocity = -------
M+m


M is the clubhead mass, V is the velocity of the club (which I rotate to be perpendicular to the club face) e is the restitution of the ball and m is the mass of the ball.

For the project to be a success, it needs to take into account spin imparted to the ball. For this to happen, as i understand, i need to calculate a normal and tangental force. I can calculate the direction vectors of these forces no problem, but does anyone know more about how this stuff works? Once i have these two forces, I then have to work out spin (as angular velocity ideally), which in turn i need to use to calculate magnus force, so i can get a proper flight on the ball.

All the parameters are set specifically for the point of impact - that is to say, i only give the clubhead a speed, which is the presumed speed at the point of impact. I appreciate that this can be a problem, as I might need to use the acceleration of the clubhead to work out some force stuff. If this is the case, then i will need a 'fix' to provide a suitable figure for the acceleration.

you might be able to see the program as it is (depending on wether or not the free web host i use is working) at http://mchugh.port5.com/images/golf.jpg, an image which demonstrates the inaccuracy of the ball flight at the minute (golf balls don't fly like that).

feel free to talk to me like a baby. any help or pointers to resources on the matter would be greatly appreciated.

thanks
 
Last edited by a moderator:
Physics news on Phys.org
Originally posted by mchugh
M is the clubhead mass, V is the velocity of the club (which I rotate to be perpendicular to the club face) e is the restitution of the ball and m is the mass of the ball.

For the project to be a success, it needs to take into account spin imparted to the ball. For this to happen, as i understand, i need to calculate a normal and tangental force. I can calculate the direction vectors of these forces no problem, but does anyone know more about how this stuff works? Once i have these two forces, I then have to work out spin (as angular velocity ideally), which in turn i need to use to calculate magnus force, so i can get a proper flight on the ball.

All the parameters are set specifically for the point of impact - that is to say, i only give the clubhead a speed, which is the presumed speed at the point of impact. I appreciate that this can be a problem, as I might need to use the acceleration of the clubhead to work out some force stuff. If this is the case, then i will need a 'fix' to provide a suitable figure for the acceleration.

you might be able to see the program as it is (depending on wether or not the free web host i use is working) at http://mchugh.port5.com/images/golf.jpg, an image which demonstrates the inaccuracy of the ball flight at the minute (golf balls don't fly like that).

feel free to talk to me like a baby. any help or pointers to resources on the matter would be greatly appreciated.
Its actually pretty complicated. The velocity of the club is parallel to the ground, not perpendicular to the face. Like light in a reflection problem, a 10.5 degree driver actually produces a 21 degree (with respect to the club head, not the ground) loft. More later...gotta gl.
 
Last edited by a moderator:


Hi there,

Your project sounds very interesting and challenging. It's great that you are allowing the user to set various parameters, as it adds to the realism of the simulation.

To accurately simulate the effects of a golf shot, you will definitely need to take into account spin imparted to the ball. As you mentioned, this involves calculating normal and tangential forces, which can be quite complex. I would recommend doing some research on the Magnus effect, which is the force that causes a spinning object to curve in flight. This effect is what gives a golf ball its characteristic backspin or sidespin.

To calculate the normal and tangential forces, you will need to know the spin rate of the ball, which can be determined by the clubhead speed and the angle of the clubface at impact. You can use this spin rate to calculate the normal and tangential forces, which will then affect the ball's flight path.

In terms of resources, I would suggest looking into physics textbooks or online resources that discuss the Magnus effect and its application in sports like golf. You may also want to consider reaching out to experts or professionals in the field for guidance and advice.

I hope this helps and good luck with your project!
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 9 ·
Replies
9
Views
6K
Replies
6
Views
7K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K