how to get strain at different angle

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
sumit kumar
Posts: 5
Joined: Fri Sep 01, 2017 11:29 pm

how to get strain at different angle

Post by sumit kumar » Mon Oct 02, 2017 2:01 am

Hi,

how to calculate strain at different angles for ligament in opensim , i have gone through Hang Xu model).So i want get plot data of strain.

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: how to get strain at different angle

Post by Dimitar Stanev » Mon Oct 02, 2017 11:30 pm

Hi,

You must create your own analysis:

https://simtk-confluence.stanford.edu:8 ... n+Analysis

In the record(state) method you must calculate the length and rest length of each ligament and record the strain:

https://simtk.org/api_docs/opensim/api_ ... f3c0561827

Note that the state must be realized to position level prior to any calculation (in the record method).

Code: Select all

_model->realizePosition(state)
Best

POST REPLY