Page 1 of 1

Segment Mass

Posted: Tue Aug 22, 2023 6:18 am
by edilsonborba
Hello

I'm having a little trouble calculating the internal work based on the segmental acceleration of the center of mass extracted from OpenCap and processed in OpenSim.

So that I can perform the calculation I need the mass of each segment (foot, leg, thigh...) but when I searched for this on the site I can't find a full body model (just "Gait 2392 and 2354 Models"), with arm , forearm, hand and head.

If you can help me with this reference I would be grateful

Re: Segment Mass

Posted: Thu Aug 24, 2023 4:09 pm
by ongcf
You can get the mass of each segment of the model in a few ways:
1. In the GUI, load the model, then select a single body. In the properties pane, fine the "mass" property and the associated value.
2. Open the model file in a text editor (like Notepad++). An OpenSim model file is an XML file. Find the associated <mass> tag with each body.
3. If using MATLAB, Python, C++, use `Body::getMass()` (documentation).

Re: Segment Mass

Posted: Sun Sep 03, 2023 8:07 am
by edilsonborba
Thank you, I was able to find it inside the model file