- This topic has 4 replies, 3 voices, and was last updated 6 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Programming with SOFA › [SOLVED] FEA Solver with SOFA to make Von Mises Stress color mapping
Hello has anyone added engineering solvers with SOFA such as a Von Mises Stress/Strain the one where you see the colours of the rainbow to represent the stress/strain. Or perhaps got SOFA to work with a FEA tool such as GetDP, SALOME or libraries such as GetFEM.
Hi Pavlov,
What kind of solvers are you looking for exactly?
For the moment, I do not know any project coupling SOFA with GetDP, SALOME or libraries such as GetFEM.
Cheers,
Hugo
My goal is to have a material type assigned to the mesh, then deformed from a collision from another model, and a visualization of the stress/strain. I’m sure this has been done many times and that there are packages out there that will not only do that but much more and easy to hook up rather than hand coding everything from pieces of a library. Dynamic real time solving is the goal.
Dear Andrey,
There is an already-implemented way to display the stress. Within the TetrahedronFEMForceField, you can activate the option computeVonMisesStress. This will activate the computation and display of the Von Mises stress.
Is this what you want ?
If you want more for visualization, you can still use any the ColorMap component allowing to display colors based on any input data (see examples/Components/visualmodel/DataDisplay.scn)
Hope this helps.
Hugo
Is it possible to export vonMises stress data to a file, or to visualize the vonMises stress in a section view of the model? I am able to rainbow-colorize the tetrahedra, but only see those on the outside of the model (and a bit of the inside through the gaps) which hides the important information. I can view the vonMisesPerNode data, but there is no way to export it to a file as the Export Graph feature is broken, everythime when I click ‘Export’ (also with other models) the console says “[ERROR] [GNodeVisitor] Node is not a GNode.”. And I can use a monitor only for exporting position, velocity and/or force data, not for vonMises stress.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.