Unable to Visualize Heterogeneous material. #4806
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Interesting work. To define an heterogeneous elasticity of your breast, you should define a vector with a size equal to the number of tetrahedron in your whole mesh. This vector would be a vector corresponding the Young's modulus per tetrahedron. Then modify the vector entries corresponding to the tetrahedra within the sphere ROI by setting a different Young's modulus (I guess a higher stiffness). Then, for the visualization, you should indeed to activate the booleans : Hope this helps. |
Beta Was this translation helpful? Give feedback.
Hi @HaydenGowing
Interesting work. To define an heterogeneous elasticity of your breast, you should define a vector with a size equal to the number of tetrahedron in your whole mesh. This vector would be a vector corresponding the Young's modulus per tetrahedron. Then modify the vector entries corresponding to the tetrahedra within the sphere ROI by setting a different Young's modulus (I guess a higher stiffness).
Then, for the visualization, you should indeed to activate the booleans :
drawHeterogeneousTetra
,computeVonMisesStress
andvonMisesPerElement
Hope this helps.
An example XML scene is given here : https://github.com/sofa-framework/sofa/blob/master/examples/Component/SolidMechani…