- This topic has 1 reply, 1 voice, and was last updated 9 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] specify different stiffness in a mesh
Tagged: Mesh
Hi,
Is there a way to specify stiffness in various areas of a mesh? I would like to do something like make one side of a mesh stiffer than the opposite side.
Thanks,
Steve
Hi Steve,
it depends. If you use TetrahedronFEMForceField, you can give a vector of real for the young modulus. Each value is associated to an element. So it means the vector must be the size of the number of element (and probably in the same order). If the values are stored in the cell data of a vtk file, you can refer to them with youngModulus=”@vtkLoader.cellData” or something similar (sorry I couldn’t test).
However, I just noticed that HexahedronFEMForceField requires only one scalar value, which means the material must be homogeneous.
Hope this helps,
Alex
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.