Home › Forum › SOFA › Using SOFA › [SOLVED] Internal nodes’ displacements from surface displacement
Tagged: FEM
- This topic has 5 replies, 4 voices, and was last updated 8 years, 10 months ago by Hugo.
-
AuthorPosts
-
3 November 2015 at 09:26 #3911MujikaBlocked
I have a volume composed of tetrahedra with StandardTetrahedralFEMForceField. I can set the rest position and the initial position of the volume if I set the positions of all nodes. But I want to set the rest position of all nodes and only the initial position of the nodes in the surface (and let SOFA compute the initial position of the internal nodes). Is it possible? How?
If the structure was a mass-spring structure, would it be possible?Thank you,
Andoni Mujika
3 November 2015 at 09:41 #3912WengBlockedWhat is initial position ? What is the difference between the rest position and initial position?
3 November 2015 at 09:46 #3913MujikaBlockedWhen working with StandardTetrahedralFEMForceField I can set the initial position of the nodes (the position of the nodes in time t=0), setting the attribute “position” of the corresponding MechanicalObject.
The rest position (that can be set in the attribute “rest_position” of the Mechanical Object) is the position where the volume won’t move, i.e. the position that the volume tends to take when it is displaced.3 November 2015 at 09:55 #3914Alex BilgerBlockedIt looks like you want to apply a boundary condition on the surface, rather than differentiating rest and initial position. If you need to use the resulting geometry, you can save it and use it in another simulation.
One quick trick to test your simulation is to apply strong springs between the surface points in the rest and in the initial configuration. Set the initial position equal to the rest position and use a RestShapeSpringForceField to create the springs which will move the surface points towards the position you want. You can also do that with constraints but the springs are a lot easier to use for testing.Hope this helps
3 November 2015 at 10:11 #3915WengBlockedTo the best of my knowledge, SOFA has two position,
(1) rest position, which is loaded or generated before the animation.
(2) free position, which is driven by forcefield,solver, etc.. in the animation.for your “initial position”, does it mean the rest position ?
for your “rest position”, does it mean the balance position in the animation when the object is undergone some forces (gravity for example)?Are you actually asking about the volume mesh generation from surface mesh ? If this is what you want, please search tetgen or netgen …
4 February 2016 at 13:20 #5536 -
AuthorPosts
- You must be logged in to reply to this topic.