I have read the explanation of the parameters in the ForceVelocityCurve at https://simtk.org/api_docs/opensim/api_ ... Curve.html
apart from Vmax.
How and where is it defined?
mvel in ForceVelocityCurve
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: mvel in ForceVelocityCurve
It's defined the same way as other properties, but it's in the Muscle class (inherited by every muscle): https://simtk.org/api_docs/opensim/api_ ... 461669e7ee.How and where is it defined?
- michela gardi
- Posts: 9
- Joined: Wed Aug 25, 2021 5:14 am
Re: mvel in ForceVelocityCurve
Thanks very much for the quick reply.
So it is the same for all muscles? Sorry if I am not expert: could you help me get the value in openSim ?
So it is the same for all muscles? Sorry if I am not expert: could you help me get the value in openSim ?
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: mvel in ForceVelocityCurve
It's a property of each muscle, which means that the user can set the value. The default value is set on line 152 of Muscle.cpp here: https://github.com/opensim-org/opensim- ... e.cpp#L152 (specifically, it's 10.0 optimal-fiber-lengths per second). For example, a muscle whose optimal fiber length is 0.2 m will be able to generate nonzero active force up to a shortening velocity of 2 m/s.So it is the same for all muscles? Sorry if I am not expert: could you help me get the value in openSim ?