Hello All,
Is there any possible way to get potential energy of the ligament while using forward dynamic tool?
Thank you!
Regards,
Rahul
Potential Energy of Ligament
- Rahul Agrawal
- Posts: 47
- Joined: Mon Aug 31, 2015 3:16 pm
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: Potential Energy of Ligament
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
https://simtk.org/projects/multikneedss
- Rahul Agrawal
- Posts: 47
- Joined: Mon Aug 31, 2015 3:16 pm
Re: Potential Energy of Ligament
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
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