Total angular velocity of multiple bodies

Click For Summary

Discussion Overview

The discussion revolves around calculating the total moment of inertia, angular momentum, and angular velocity of multiple bodies in a planar physics context, specifically focusing on their common center of mass. Participants explore the necessary steps and calculations involved in this process.

Discussion Character

  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant inquires about the method to calculate the moment of inertia, angular momentum, and angular velocity for multiple bodies, emphasizing the need to consider their positions, masses, and moments of inertia.
  • Another participant suggests finding the center of mass and summing the contributions of each object to calculate total angular momentum, noting that different objects may have different angular velocities.
  • A participant shares pseudocode for calculating total inertia and angular momentum, detailing the iterative process for each body and the formulas used.
  • Concerns are raised about the assumption that bodies are rotating with the angular velocity calculated for net motion, questioning whether this was intended.
  • One participant identifies an error in their calculations, realizing they were using absolute linear velocity instead of the relative velocity to the center of mass.

Areas of Agreement / Disagreement

Participants express varying approaches to the problem, with some focusing on the calculation methods while others raise questions about assumptions in the calculations. The discussion does not reach a consensus on the best approach or resolution of the initial problem.

Contextual Notes

The discussion highlights potential limitations in the assumptions made regarding the angular velocities of the bodies and the dependence on the definitions of linear and angular velocities in relation to the center of mass.

faiface
Messages
15
Reaction score
1
Hello,

this is a question regarding planar physics. Suppose we have multiple bodies. We can ignore their individual shape and angular speed. So every body is represented by it's position, mass and moment of inertia about it's center of mass.
Now my question is, how to calculate the moment of inertia, angular momentum and angular velocity of all of these bodies together about their common center of mass?
I've got something going, but it's not working as expected.

Thanks for your help!
 
Last edited:
Physics news on Phys.org
Find the center of mass, calculate the contribution of each object, sum all together (this won't give an angular velocity as different objects have a different one), but a total angular momentum).
faiface said:
I've got something going, but it's not working as expected.
Then it would help if you show that.
 
Ok, here's the pseudocode of what I've got (I can calculate the center of mass no problem):

totalInertia = 0;
totalAngMomentum = 0;
for (body: bodies) {
distance = dst(body.getPosition(), centerOfMass);
inertia = body.getInertia() + body.getMass() * distance^2;
ang_vel = body.getLinearVelocity().dot(normalize(body.getPosition() - centerOfMass).rotate(PI/2)) / distance;
totalInertia += inertia;
totalAngMomentum += inertia * ang_vel;
}
angVelocity = totalAngMomentum / totalInertia;
 
faiface said:
We can ignore their individual shape and angular speed.
Your code assumes that they are rotating with the angular velocity you calculate for the net motion. Is that intended?

And what is going wrong?
 
Oh, the whole problem was, that I was calculating with the absolute linear velocity of a body instead of relative to the velocity of the center of mass. So yeah, it was not intended :). Thank you very much for your help and patience!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
915
  • · Replies 42 ·
2
Replies
42
Views
7K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 138 ·
5
Replies
138
Views
9K
  • · Replies 40 ·
2
Replies
40
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K