Contact Forces

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
William Lee
Posts: 3
Joined: Fri Jun 01, 2018 1:10 pm

Contact Forces

Post by William Lee » Sun Aug 19, 2018 6:38 pm

Hi OpenSim Team,

I am currently trying to implement contact forces for my model, and I have looked at the tutorial covering it with the bouncing ball and ellipsoid; however, I am trying to implement contact forces that allow my model to remain still on the ground. I don't want to weld my model onto the ground because I want it to be able to traverse the ground following a rectilinear motion. Is there a specific force type I should use or property value I should tweak in order to have contact forces on my model without a bouncing motion?

Tags:

User avatar
Thomas Uchida
Posts: 1793
Joined: Wed May 16, 2012 11:40 am

Re: Contact Forces

Post by Thomas Uchida » Mon Aug 20, 2018 12:16 am

I want it to be able to traverse the ground following a rectilinear motion
You could attach your model to Ground via a SliderJoint (https://simtk.org/api_docs/opensim/api_ ... Joint.html) or constrain it using a PointOnLineConstraint (https://simtk.org/api_docs/opensim/api_ ... raint.html).

User avatar
William Lee
Posts: 3
Joined: Fri Jun 01, 2018 1:10 pm

Re: Contact Forces

Post by William Lee » Wed Aug 22, 2018 2:42 pm

Thanks for the suggestions, but is there anyway to remove the bouncing force from the huntcrosselyforce? I would ideally like to use contact spheres for the points on my model that make contact with the ground.

User avatar
Thomas Uchida
Posts: 1793
Joined: Wed May 16, 2012 11:40 am

Re: Contact Forces

Post by Thomas Uchida » Wed Aug 22, 2018 7:43 pm

is there anyway to remove the bouncing force from the huntcrosselyforce?
You could increase the dissipation coefficient. Please see Section 11.2 in the Simbody theory manual: https://github.com/simbody/simbody/tree ... imbody/doc.

User avatar
William Lee
Posts: 3
Joined: Fri Jun 01, 2018 1:10 pm

Re: Contact Forces

Post by William Lee » Fri Aug 24, 2018 4:27 pm

Increasing the dissipation coefficient seemed to help, but the model I have slowly tilts forward when I run an in-place motion, a motion that should allow the model to remain standing still. Also, I have decided to use contact meshes for the model as opposed to contact spheres to see if it would make a difference, but I still experience the same issue of having my model tilt forward.

Do you have any suggestions on how I can have my model remain standing still without bouncing or tilting forward using contact forces? For example, if the object in the bouncing ball tutorial was instead a bouncing cube, would it be possible to remove the bouncing motion and simply have the cube sitting up straight without falling over.

POST REPLY