Use 'Marker-Element' as reference point with 'loadVectorUserFunction' #16
-
Hello, I would have another question about the usage of Exudyn. I am trying to use Exudyn to perform biomechanical analysis, in the course of this i came across the problem that I would need to point a force towards a given reference point (origin of a muscle), which is a fixed point on one body of my multibody system. I thought the best way would be, to set a marker element and point the force into its direction. Because if I would do it like this, I do not need any fixed reference points (in the global frame). However untill now I was not able to do it like this, and I was wondering if it is possible in Edudyn? Thank you once again in advance 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This should be possible with a ConnectorSpringDamper. The action of this connector is always between two markers. The connector has a referenceLength, which could be modified, e.g. by a preStepUserFunction. Alternatively you could also implement your own muscle models in the springForceUserFunction. |
Beta Was this translation helpful? Give feedback.
-
Additional Remark: Making loads dependent on the system state (e.g., by reading out the current position of a marker, body or node) is not recommended, as loads are not "differentiated", that is they are not considered in the system jacobian. Therefore the solver would get into trouble. User functions in connectors are considered in the jacobian, so this is the right way to go. |
Beta Was this translation helpful? Give feedback.
This should be possible with a ConnectorSpringDamper. The action of this connector is always between two markers. The connector has a referenceLength, which could be modified, e.g. by a preStepUserFunction. Alternatively you could also implement your own muscle models in the springForceUserFunction.