Joint Reaction Analysis - Muscles with Wrapping

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Dan Mulla
Posts: 15
Joined: Tue Nov 04, 2014 11:16 am

Joint Reaction Analysis - Muscles with Wrapping

Post by Dan Mulla » Tue May 22, 2018 5:46 am

Hi everyone,

I've been trying to figure out how OpenSim performs its Joint Reaction Analysis when muscles are wrapped around objects. Specifically, given a muscle force, how does OpenSim determine the XYZ contributions of that muscle force to a joint when using Joint Reaction Analysis tool? This seems pretty straightforward for a muscle represented by a straight line, as the XYZ components of that vector can be easily computed, but I'm interested in what happens when the muscle is wrapped around an object.

I've seen the following plugin to determine the muscle line of action, but from what I can gather, you manually choose the effective origin/insertion points to determine the line of action and thus, the XYZ components, and this is separate from the Joint Reaction Analysis.
https://simtk.org/projects/force_direction

Does the Joint Reaction Analysis tool identify the effective origin and insertion of the muscles when they are wrapped and then calculate its XYZ components? And if so, how does OpenSim do this? I've tried going through the source code on GitHub but can't seem to find how OpenSim goes about through this step, so if anyone could guide me the right way that would be really appreciated.

Thank you!

Dan

User avatar
Christopher Dembia
Posts: 506
Joined: Fri Oct 12, 2012 4:09 pm

Re: Joint Reaction Analysis - Muscles with Wrapping

Post by Christopher Dembia » Wed May 30, 2018 3:58 pm

Here is where OpenSim computes the forces applied by muscles to bodies: https://github.com/opensim-org/opensim- ... h.cpp#L291

These forces are passed to Simbody and Simbody uses these body forces when computing joint reactions.

User avatar
Dan Mulla
Posts: 15
Joined: Tue Nov 04, 2014 11:16 am

Re: Joint Reaction Analysis - Muscles with Wrapping

Post by Dan Mulla » Wed Jul 04, 2018 3:24 pm

Thanks Christopher!

Is there a way through Matlab and the API to output the vector components (Fx, Fy, Fz) of a muscle? Or alternatively, its direction cosines?

Thank you!

Dan

POST REPLY