Contact modeling using Elastic Foundation Option

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Rahmatullah Safdar
Posts: 6
Joined: Fri Jan 20, 2023 10:30 am

Contact modeling using Elastic Foundation Option

Post by Rahmatullah Safdar » Fri Nov 01, 2024 2:39 pm

Hi all,

I went through two tutorials on contact modeling (https://simtk.org/projects/contact_osim_u) . The concept introduced is great. I have encountered a problem doing the second tutorial.

We open the main model "bouncing_ellipsoids.osim" in OpenSim and both sphere and ellipsoid sinks. To avoid this we are editing this file in Notetpad++.

One main file "bouncing_ellipsoids.osim" that we are editing, and two files are are adding to this model code are:
1. force_set_02.xml
2. contanct_geometry_set_02.xml

After saving it and trying to open the model again model again in OpenSim, I am encountering this error. Can anyone comment on this error and propose a solution? There is something wrong with the geometry of the ellipsoid. There is a mesh file "ellipsoid" with (.obj) extension but it says it is not in the same folder as the buoncing_ellipsoids.osim.

Attaching two files for your kind reference and waiting on the response from the OpenSim community and the team of this specific project.
Attachments
Error leading model ellipsoid sphere contact 2.PNG
Error leading model ellipsoid sphere contact 2.PNG (15.29 KiB) Viewed 477 times
Elastic Foundation Contact Model.png
Elastic Foundation Contact Model.png (11.24 KiB) Viewed 477 times

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

Re: Contact modeling using Elastic Foundation Option

Post by Carmichael Ong » Fri Nov 15, 2024 5:40 pm

One thing I noticed in the project link is that the page was last updated in 2013. It could be good to either reach out to the authors to see if they have an updated version, or to use an older version of OpenSim (such as OpenSim 3.3, or maybe OpenSim 3.1 which was released in 2013), which you can find on the OpenSim Downloads page, and expand the "Previous Releases" section. This would ensure that you are using a version close to what the authors intended.

POST REPLY