Calculating Moment of Inertia (2D rectangles)

AI Thread Summary
The discussion focuses on calculating the moment of inertia for 2D rectangular objects in a physics engine, particularly when dealing with arbitrary centers of mass. The parallel axis theorem is suggested as a potential solution, but there are concerns about its applicability without knowing the moment of inertia through the object's center of mass. The user is exploring whether breaking objects into simpler components, like a hammer into its head and shaft, would simplify calculations. There is a consensus that using uniform density parts can aid in applying the parallel axis theorem effectively. Overall, the conversation emphasizes the need for a straightforward method to calculate moment of inertia for non-standard configurations.
Nanako
Messages
39
Reaction score
0
Hi everyone. I'm presently improving a 2D physics engine i wrote, with angular dynamics. Moment of inertia is becoming a big sticking point for me.

However, given that my applications are fairly simple, I'm hoping someone can help me come up with a simple way of calculating the moment of inertia for stuff.

All of my objects for now will (as far as physics is concerned) be rectangular, or made up of several rectangles. And i know there's a table of common moments of inertia that i might use, however that is mostly concerned with axes of rotation that pass through the centre of the object, or one of it's ends. i can't always guarantee that. I need to figure out a way of calculating for objects with an arbitrary centre of mass, which may not always be anywhere near the centre of geometryAlso another related question:

Take for example, a hammer.
if i divide it into two rectangles (the head, and the shaft) each of which has an evenly distributed mass over its area (but a different mass each) resulting in the centre of mass of the total object being closer to the head,

would that help to simplify the calculations involved, as opposed to:

making the whole hammer a single rectangle (with an unevenly distributed mass)I'd like to get this system working for rectangles, and then later i can add support for circles (and ovals). Rectangular and rounded shapes would probably cover all of my physics needs for the forseable future on this project. I don't have any need of calculating I for weird and irregular shapes, which i hope would make this simpler.

Any thoughts and references on this subject would be appreciated.
 
Last edited:
Physics news on Phys.org
hi tim, thanks for the help!

I was aware of the PA theorem, but i had already excluded it as being useful to me, I'm not fully understanding how it relates to my needs here. This theorem seems to largely depend on already knowing I through the object's centre of mass, first.

it mentions 2d planes and the centroid, but it assumes even distribution of mass there, (and therefore, assumes that the centroid is also the centre of mass).

The latter part might be useful for my two-part hammer idea, although how do i combine I on two parts like the hammer example.

also i am still in need of a way to calculate it for a non-centroid centre-of-mass, as i can't always guarantee to have things in parts.
 
Hi Nanako! :smile:
Nanako said:
hi tim, thanks for the help!

I was aware of the PA theorem, but i had already excluded it as being useful to me, I'm not fully understanding how it relates to my needs here. This theorem seems to largely depend on already knowing I through the object's centre of mass, first.

yes of course …

you have to know I through the part's centre of mass, first :smile:
it mentions 2d planes and the centroid, but it assumes even distribution of mass there, (and therefore, assumes that the centroid is also the centre of mass).

if the distribution isn't even, then those standard formulas won't apply, and you'll have to do a difficult integration anyway :redface:
The latter part might be useful for my two-part hammer idea, although how do i combine I on two parts like the hammer example.

also i am still in need of a way to calculate it for a non-centroid centre-of-mass, as i can't always guarantee to have things in parts.

i'ts very unusual for something not to be made of parts which are of uniform density …

so just split it into such parts, and use the parallel axis theorem (and your table) on each part (and then add all the results)
 
Thread 'Is 'Velocity of Transport' a Recognized Term in English Mechanics Literature?'
Here are two fragments from Banach's monograph in Mechanics I have never seen the term <<velocity of transport>> in English texts. Actually I have never seen this term being named somehow in English. This term has a name in Russian books. I looked through the original Banach's text in Polish and there is a Polish name for this term. It is a little bit surprising that the Polish name differs from the Russian one and also differs from this English translation. My question is: Is there...
This has been discussed many times on PF, and will likely come up again, so the video might come handy. Previous threads: https://www.physicsforums.com/threads/is-a-treadmill-incline-just-a-marketing-gimmick.937725/ https://www.physicsforums.com/threads/work-done-running-on-an-inclined-treadmill.927825/ https://www.physicsforums.com/threads/how-do-we-calculate-the-energy-we-used-to-do-something.1052162/
Hi there, im studying nanoscience at the university in Basel. Today I looked at the topic of intertial and non-inertial reference frames and the existence of fictitious forces. I understand that you call forces real in physics if they appear in interplay. Meaning that a force is real when there is the "actio" partner to the "reactio" partner. If this condition is not satisfied the force is not real. I also understand that if you specifically look at non-inertial reference frames you can...

Similar threads

Replies
2
Views
2K
Replies
67
Views
6K
Replies
2
Views
3K
Replies
3
Views
2K
Replies
5
Views
4K
Replies
1
Views
1K
Back
Top