Application point of elastic foundation forces

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Giorgio Davico
Posts: 9
Joined: Mon Nov 23, 2015 8:53 pm

Application point of elastic foundation forces

Post by Giorgio Davico » Mon Mar 07, 2022 1:27 pm

Hi all,

I have been trying to use contact meshes in lower limb models to estimate bone-to-bone and bone-to-ground contact.
Specifically, as I have access to medical imaging data, I am implementing ElasticFoundationForces (as shown in the AddCustomFeet example).

While I have no problems in getting when (in time or coordinates combination) any contact occurs, I seem unable to identify where this happens (i.e., on which node/face of the contact meshes). Are there any ways in OpenSim to extract such information (perhaps exploiting the ForceReporter or other tools)?

I would really appreaciate any help on this!

Cheers,
Giorgio

Tags:

User avatar
Carmichael Ong
Posts: 378
Joined: Fri Feb 24, 2012 11:50 am

Re: Application point of elastic foundation forces

Post by Carmichael Ong » Tue Mar 08, 2022 5:12 pm

Unfortunately, I'm not aware of a way to get this from the OpenSim side of things (see ElasticFoundationForce implementation)

OpenSim uses Simbody to do a bunch of the calculations. You can see some of the available methods in the Simbody repo here. This may need some tweaks to your code on the C++ level, however.

User avatar
Giorgio Davico
Posts: 9
Joined: Mon Nov 23, 2015 8:53 pm

Re: Application point of elastic foundation forces

Post by Giorgio Davico » Wed Mar 09, 2022 1:11 am

Thanks as always Carmichael!

That's a pity, though.
Are you aware of any ways to detect mesh-to-mesh collisions in OpenSim?

Cheers,
Giorgio

POST REPLY