- This topic has 5 replies, 2 voices, and was last updated 6 years, 2 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › Imposing velocity and position
Tagged: 64_bits, SOFA_1612, Windows_10
Hi,
How I can impose displacement and velocity of a node in a mesh to a node of another mesh?
Best,
Zahra
Hi Zahra,
You can use the AttachConstraint, see the associated example in examples/Components/constraint/AttachConstraint.scn.
Best,
Hugo
Hi Hugo,
Thank you for your reply. I can attach the position using attach constraint, but what about the velocity?
Best,
Zahra
Hi Zahra,
Did you try the LinearVelocityConstraint component ?
Best,
Hugo
Dear Hugo,
I am trying to impose displacement and velocity of a node in a mesh to a node of another mesh using python. It is my first attempt to use python, however, but I have no idea what steps I should accomplish. I would appreciate any hint to do this.
best,
Zahra
Hi Zahra,
Imposing both displacement and velocity sounds redundant to me since both state variable are linked through the integration scheme
e.g. Euler explicit: v(t) = ( x(t+dt)-x(t) ) / dt
I am sorry I am having hard time to understand the simulation you want to achieve.
What simulation do you actually intend to do ? what objects do you want to model ?
To discover all possible functions with Python, you can have a look at
or in applications/SofaPython at
I hope this helps.
Best wishes,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.