Yes it does Bernd. But it only becomes important when dealing with principal stress directions.bernd wrote: ↑Fri Jun 29, 2018 5:01 am does it mean there is a bug in FreeCAD master here: https://github.com/FreeCAD/FreeCAD/blob ... #L429-L431 ?
Display principal stresses
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Display principal stresses
Re: Display principal stresses
sorry for the (huge) delay. Unfortunately I'm still caught up in a lot other stuff and can't make the time right now. I'm however still committed to bringing this upstream eventually (can't tell when exactly though) and am checking by the forums every now and then.
Re: Display principal stresses
that would be surely very cool ! BTW do you know the FreeCAD motto ? It's done when it's done ...amstuff wrote: ↑Thu Jul 12, 2018 6:24 pm sorry for the (huge) delay. Unfortunately I'm still caught up in a lot other stuff and can't make the time right now. I'm however still committed to bringing this upstream eventually (can't tell when exactly though) and am checking by the forums every now and then.
Re: Display principal stresses
Rebased this on up to date master. I had to squash all commits since there where lots of naming issues. I spitted the commits in some other order to fit in FEM logic.
TODO:
- add a comment with link to this forum topic
- see post https://forum.freecadweb.org/viewtopic. ... 10#p195859 --> may be add as TODO in source code
- if a file is saved with glyph filter and vector stress and reloaded, and taskpanel is opened, the taskpanel sets back the vector to displacement
- I'm not fully happy with the cmake findpackage commit. This should may be done in global cmake of FreeCAD
https://github.com/berndhahnebach/FreeC ... mpostglyph
TODO:
- add a comment with link to this forum topic
- see post https://forum.freecadweb.org/viewtopic. ... 10#p195859 --> may be add as TODO in source code
- if a file is saved with glyph filter and vector stress and reloaded, and taskpanel is opened, the taskpanel sets back the vector to displacement
- I'm not fully happy with the cmake findpackage commit. This should may be done in global cmake of FreeCAD
https://github.com/berndhahnebach/FreeC ... mpostglyph
Re: Display principal stresses
the screen ...

Re: Display principal stresses
Good progress Bernd. I am not sure I understand the results though. Stresses do not "flow" as expected from applied load to support. However, that is difficult to judge without scaling of the principal direction vectors. I would therefore suggest a small update where the length of the vector is proportional to the absolute value of the principal stress. Harry
Re: Display principal stresses
I was really happy to get the branch rebased, compiled and could add the glyphs, until I had the same problem like you haveHarryvL wrote: ↑Thu Sep 13, 2018 8:47 am Good progress Bernd. I am not sure I understand the results though. Stresses do not "flow" as expected from applied load to support. However, that is difficult to judge without scaling of the principal direction vectors. I would therefore suggest a small update where the length of the vector is proportional to the absolute value of the principal stress. Harry

Re: Display principal stresses
I don't know any details, but imho you need to make sure to not have a glyph on each node. This will kill performance for sure and is unreadable anyway, as.glyphs are too close for finer meshs. You would need to interpolate the results and have use a certain glyph density, which the user could control. However. No idea how this should be imemented in vtk