- This topic has 2 replies, 2 voices, and was last updated 9 years, 4 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] Modeling suction force
Tagged: forcefiled, mapping
Hi to all.
I’m using SOFA for about 6 months and this is my first post in the forum.
I want to model an external force-field (or interaction force-field) which applies to a volume mesh and sucks (or pushes) its neighbor elements while in range. The center of this force-field must be moveable by mapping it to and rigid object.
I have reached to following ideas which i could not implement:
– extracting the neighbor elements indices with BoxROI and map these elements to a child node (with SubsetMapping?) which has a special force-field (e.g. Ellipsoid with negative stiffness).
– Mixing several InteractionEllipsoidForecfield at a center-point that could result to a desired force field.
I would be thankful for your opinions.
Hi Mehdi,
I am a bit confused, I’m not sure to get exactly what you would like to simulate. What kind of physical behavior do you want to simulate ?
If this is suction, I would use a TrianglePressureForceField on the surface of your object. This component has a parameter “triangleList” corresponding to the indices of triangles (separated with commas) where a pressure is applied. Using a BoxROI or a file storing the selected points, you can then give the indices to the Forcefield.
You can find an example here : examples/Components/forcefield/TrianglePressureForceField.scn
Hope that helps.
Hugo
Hi Hugo
Thank you for the reply. It really helped.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.