WOLFRAM SYSTEM MODELER
MagnusForceComponent calculating the magnus force |
![]() |
SystemModel["EducationExamples.Physics.FreeKick.Components.MagnusForce"]
The Magnus force is dependent on the geometry and size of the object, the density of the air, the spin factor, the velocity of the object, and the so-called Reynolds number. In this implementation, the equation describing the Magnus force has been taken from the book Physics for Game Programmers, equation 7.56 on page 194, defined as:
where ρ is the air density, v is the velocity of the ball, A is the cross-sectional area of the ball, and CL is the lift coefficient. The lift coefficient is a tricky variable to describe and is normally measured from experiments. In Physics for Game Programmers, experimental data is used to create a function to describe CL. This results in the expression:
where r is the radius of the ball, ω is the angular velocity, and v is the velocity of the ball.
This domain example is an informational resource made freely available by Wolfram Research.
All content in this bundle is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. By accessing the content or using it in any way, you accept and agree to be bound by the terms of this license. If you do not agree to these Terms of Use, you may not use this content. Wolfram Research reserves the right to change, modify, add to, or remove portions of these Terms of Use at any time without notice. Please refer back to www.wolfram.com for the latest Terms of Use.
A summary of the licensing terms can be found at:
http://creativecommons.org/licenses/by-nc-sa/3.0
The full legal code can be found at:
http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode
rho |
Value: 1.225 Type: Density (kg/m³) Description: Density of the fluid (1.225 kg/m^3 for air) |
---|
![]() |
frame_b |
Type: Frame_b |
---|
![]() |
force |
Type: WorldForce Description: MultiBody force component applying the Magnus force |
---|
![]() |
EducationExamples.Physics.FreeKick.Components Ball subject to magnus forces. |