Rigid body, torque and moment of inertia

Click For Summary
SUMMARY

The discussion focuses on the challenges of simulating a rigid body, specifically a long rectangular stick, using Euler integration to calculate linear and angular velocities. The user applies a force at one end of the stick and calculates torque and moment of inertia, but encounters issues with the stick's angular velocity being negligible compared to its linear velocity. Key equations discussed include torque as τ = rF and moment of inertia as I = (1/12)m(w^2 + h^2), leading to the conclusion that for long rods, angular acceleration diminishes as the distance from the center of mass increases.

PREREQUISITES
  • Understanding of rigid body dynamics
  • Familiarity with Euler integration techniques
  • Knowledge of torque and moment of inertia calculations
  • Basic principles of angular and linear motion
NEXT STEPS
  • Study the effects of varying moment of inertia on angular acceleration
  • Learn about the differences between planar and 3D rigid body simulations
  • Research advanced integration techniques for rigid body dynamics
  • Explore the use of quaternion representations for orientation in rigid body motion
USEFUL FOR

Physics students, game developers, and engineers involved in simulations of rigid body dynamics, particularly those working with torque and moment of inertia in mechanical systems.

Lord Crc
Messages
341
Reaction score
47
Hi,

it's been quite some years since I took some entry-level mechanics at uni, and my book is no longer with me, so I'm struggling a bit here.

I'm making a very simple rigid body simulator just for fun, but the angular velocity is not working out right. I suspect I've forgotten something crucial and basic. My setup is as follows: I've got a long rectangular box (stick) with dimensions w x h x d, and which has uniform density. The center of mass of the box is \vec{x}, and the orientation is given by the rotation angle \phi. I use simple Euler integration (for now) to find the linear velocity \vec{v} and angular velocity \omega.

I apply a force \vec{F} at some point \vec{r} at one end of the stick. Here both \vec{F} and \vec{r} are in the local (unrotated) frame centered at the center of mass of the box.

For the linear part I find the rotated force vector \vec{F}' by rotating \vec{F} by \phi, and then integrate \vec{x}_{t + \Delta t} = \vec{x}_t + \Delta t \vec{v}_t and \vec{p}_{t + \Delta t} = \vec{p}_t + \Delta t \vec{F}', and recover the linear velocity \vec{v}_{t + \Delta t} = \frac{1}{m} \vec{p}_{t + \Delta t}.

To find the torque I first find \tau = \| \vec{r} \times \vec{F} \|. Then I integrate \phi_{t + \Delta t} = \phi_t + \Delta t \omega_t and L_{t + \Delta t} = L_t + \Delta t \tau. I then recover the angular velocity \omega_{t + \Delta t} = I^{-1} L_{t + \Delta t} for use in the next timestep.

I calculate the moment as inertia as I = \frac{1}{12}m(w^2 + h^2), where the mass is given as m = \rho w h d and \rho is the density of the box.

The issue I have is that for a long stick the moment of inertia is so large compared to the mass (due to the w^2 h^2 terms) that even though I apply a constant tangential force at the end of the stick (\vec{F} stays constant in the local, unrotated frame) the stick hardly rotates. Instead the linear velocity increases and the stick translates as if I had applied the force very close to the center of mass.

I assume I've done some silly above, and would really appreciate if someone could point it out.
 
Physics news on Phys.org
Ok so stepping back a bit, assume I have a thin rod of uniform density and length \ell = 2r (that is, r is the distance from center of mass to either endpoint).

For the linear acceleration I have
\vec{v} = \frac{1}{m}\vec{p} \\<br /> \frac{d\vec{v}}{dt} = \frac{1}{m}\frac{d\vec{p}}{dt} \\<br /> \frac{d\vec{v}}{dt} = \frac{1}{m}\vec{F}

Assuming the force is always tangential to the the length of the rod and that I apply the force at one end of the rod then \tau = rF where F = \|\vec{F}\|. The moment of inertia is I = \frac{1}{12}m\ell^2 = \frac{1}{3}mr^2. Using this the angular acceleration becomes, as far as I can gather, the following:
\omega = I^{-1}L \\<br /> \frac{d\omega}{dt} = I^{-1}\frac{dL}{dt} \\<br /> \frac{d\omega}{dt} = I^{-1}\tau \\<br /> \frac{d\omega}{dt} = I^{-1}rF \\<br /> \frac{d\omega}{dt} = \frac{3}{mr^2}rF \\<br /> \frac{d\omega}{dt} = \frac{3}{mr}F

Then if the above is correct, this means for a fixed force F the linear acceleration will go as 1/r as I increase r, but the angular acceleration will go as 1/r^2. Thus for a sufficiently long rod the angular acceleration will vanish. So, is this a correct analysis or am I doing it wrong?

The results feels very counter intuitive to me, but it wouldn't be the first time my gut feeling is wrong when it comes to physics :)
 
A problem with your first post is that you assume you can describe the orientation of rigid body with one angle, and that the change of that one angle is angular velocity. That is not true motion is not planar; you need more angles and their relationship with angular velocity is quite complex.

In your second post, you fared better, except in two places: you said "tangential" where you should have said "orthogonal", and your assessments of acceleration as functions of ##1/r## are wrong.
 
voko said:
A problem with your first post is that you assume you can describe the orientation of rigid body with one angle, and that the change of that one angle is angular velocity. That is not true motion is not planar; you need more angles and their relationship with angular velocity is quite complex.

Which other angles are you referring to? My external forces will be strictly in the xy plane.

voko said:
In your second post, you fared better, except in two places: you said "tangential" where you should have said "orthogonal", and your assessments of acceleration as functions of ##1/r## are wrong.

Use of tangential is probably due to my 3D graphics background, but yes I meant orthogonal to the length of the rod. I'd be very happy if you could shed some light on where I'm making the mistake w.r.t. the acceleration.

Cheers
 
Last edited:
Lord Crc said:
Which other angles are you referring to? My external forces will be strictly in the xy plane.

Are you saying that your motion is essentially planar? That was not evident from your description. If that is the case, then you can use a single angle and all the simplicity coming with that.

Use of tangential is probably due to my 3D graphics background, but yes I meant orthogonal to the length of the rod. I'd be very happy if you could shed some light on where I'm making the mistake w.r.t. the acceleration.

Your final equation relates angular acceleration with force via ##1/r##, yet you spoke of ##1/r^2##, which is definitely wrong.
 
voko said:
Are you saying that your motion is essentially planar? That was not evident from your description.

Sorry, my bad. I rewrote the post a couple of times, must have accidentally deleted that part :(

voko said:
Your final equation relates angular acceleration with force via ##1/r##, yet you spoke of ##1/r^2##, which is definitely wrong.
The rod has uniform density so the mass would increase with r as well, no? But that shouldn't really matter I guess as long as the angular acceleration has "one extra" 1 / r factor compared to linear acceleration?

Cheers
 
Lets go back to your post #1. Since the problem is planar, I suggest that you stop treating your object as a 3D box, but treat it as a rectangular plate, and adjust your equations correspondingly.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
783
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 30 ·
2
Replies
30
Views
3K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K