Hey
I'm new to OpenSim and this might be a dumb question but I want to simulate a system with changing forces over time depending on location and velocity and therefor need to constantly change the values of the forces. I am currently using a constant function and define the forces new after each simulation step. Is there any way to create a function that automatically changes over time?
Thank you for your help
updating Forces
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: updating Forces
If the forces are functions of time where the functions are known before the simulation begins, you could try using some other type of Function (expand the "Inheritance diagram for OpenSim::Function" at the top of this page to see a list: https://simtk.org/api_docs/opensim/api_ ... ction.html). Depending on the details of what you are trying to do, you may also want to investigate the ExpressionBasedPointToPointForce (https://simtk.org/api_docs/opensim/api_ ... Force.html).I want to simulate a system with changing forces over time depending on location and velocity