Skip to content

Unable to Visualize Heterogeneous material. #4806

Discussion options

You must be logged in to vote

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 and vonMisesPerElement

Hope this helps.
An example XML scene is given here : https://github.com/sofa-framework/sofa/blob/master/examples/Component/SolidMechani…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HaydenGowing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants