Page 1 of 1

Potential Energy of Ligament

Posted: Fri Jun 01, 2018 8:16 am
by rahulag801
Hello All,

Is there any possible way to get potential energy of the ligament while using forward dynamic tool?

Thank you!

Regards,
Rahul

Re: Potential Energy of Ligament

Posted: Sun Jun 03, 2018 12:52 am
by mitkof6
The calculation is not implemented for this ligament model. You may try to change the definition of the ligament and implement this yourself.

https://simtk.org/projects/multikneedss

Re: Potential Energy of Ligament

Posted: Mon Jun 04, 2018 6:02 am
by rahulag801
Thank you for your response.

I know I can customize the ligament, but I don't know what input function (xml) are required in the model to get potential energy (P.E.) from FD tool.

Something like below will work?

<SystemEnergyProbe>
<!--Flag indicating whether the Probe is disabled or not.-->
<isDisabled>false</isDisabled>
<!--The operation to perform on the probe input value: 'value'(no operation, just return the probe value), 'integrate', 'differentiate', 'minimum', 'minabs', 'maximum', 'maxabs'.-->
<probe_operation>value</probe_operation>
<!--Array of initial conditions to be specified if the 'integrate' operation is selected. Note that the size of initial conditions must be the same size as the data being integrated, otherwise an exception will be thrown.-->
<initial_conditions_for_integration></initial_conditions_for_integration>
<!--Constant gain to scale the probe output by.-->
<gain>1</gain>
<!--Specify whether kinetic energy is to be included in the system energy computation (true/false).-->
<compute_kinetic_energy>true</compute_kinetic_energy>
<!--Specify whether potential energy is to be included in the system energy computation (true/false).-->
<compute_potential_energy>true</compute_potential_energy>
</SystemEnergyProbe>

Regards,
Rahul