You can expose exactly the same parameters to freecad pipeline as available in paraview, as both use VTK filters. You just need to figure out which filters you want to use, and than implementing those is very simple. Only the parameter GUI may need some experimenting... I think one guy already did it for the arrow plots... but can't find it anymoreI will give it a try when I find the time Thomas. It is difficult to choose standard settings though. It takes quite a bit of playing with scale factors, colors, line thicknesses, etc. to get an acceptable result. That flexibility is available to the user in Paraview, but not in the FC VTK pipeline. So I fear that the plots will look clunky, driving people towards Paraview anyway.
Principal Stress Plots
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Principal Stress Plots
Re: Principal Stress Plots
Thanks @iclby. Do you mean this?:
https://forum.freecadweb.org/viewtopic.php?f=18&t=24637
I will have a look at @amstuff's repo.
PS: I can't find the option of "double-headed" arrows in Paraview. Do you know how to do that?
https://forum.freecadweb.org/viewtopic.php?f=18&t=24637
I will have a look at @amstuff's repo.
PS: I can't find the option of "double-headed" arrows in Paraview. Do you know how to do that?
Re: Principal Stress Plots
Now combining the reinforcement ratio development (https://forum.freecadweb.org/viewtopic. ... 40#p235356) with the principal stress development.
-
The lines show the minimum principal stress (compression) in the concrete and the colours shows the reinforcement ratio in x-direction. Note that all principal stresses in the concrete are either negative (compressive) or zero. Any tension is assumed to be carried by the reinforcement.
-
The lines show the minimum principal stress (compression) in the concrete and the colours shows the reinforcement ratio in x-direction. Note that all principal stresses in the concrete are either negative (compressive) or zero. Any tension is assumed to be carried by the reinforcement.
-
- Posts: 243
- Joined: Wed May 31, 2017 11:49 pm
Re: Principal Stress Plots
Thank you
The pipeline of results in FC on Mac Sierra is worthless - text/values are not readable and not tweakable. Color was ok but, without Legend/Values it's useless.
I saw this post and simply downloaded ParaView and opened a .vtk file I exported from FC. Did not watch any vid's or read any 'How to do it'. Bingo! Intuition and one click resulted in success.
The pipeline of results in FC on Mac Sierra is worthless - text/values are not readable and not tweakable. Color was ok but, without Legend/Values it's useless.
I saw this post and simply downloaded ParaView and opened a .vtk file I exported from FC. Did not watch any vid's or read any 'How to do it'. Bingo! Intuition and one click resulted in success.
MAC OSX Sierra
3D Parts & Links (made using FreeCad and Solidworks): https://www.thingiverse.com/Still_Breathing/designs
Android App & Links: https://play.google.com/store/apps/deta ... .bestknots
3D Parts & Links (made using FreeCad and Solidworks): https://www.thingiverse.com/Still_Breathing/designs
Android App & Links: https://play.google.com/store/apps/deta ... .bestknots
Re: Principal Stress Plots
Perforated (10x100mm) steel strip under uni-axial tension
-
-
Re: Principal Stress Plots
Well, I finally got it to work, but the results are not as pleasing as I hoped. Here the example of a deep cantilever beam:HarryvL wrote: ↑Wed Jun 20, 2018 9:41 pm As a step towards plotting stress trajectories (see https://forum.freecadweb.org/viewtopic. ... 85#p237229) I managed to export principal stress directions to Paraview VTK.
To be continued...
The contour lines for minor principal stress (compression) broadly agree with the theory (see https://forum.freecadweb.org/viewtopic. ... 85#p237229), but look very ragged.
And here in combination with the minor principal stress direction vectors:
which should point along the contour lines (which they approximately do) ...
... and finally in combination with the major principal direction vectors, which should be perpendicular to the contour lines:
The method I came up with involves solving a set of 1st order partial differential equations for the mesh domain using the finite element method and is therefore very computationally intensive. If it would ever be of general interest, it would require Cython or F2y to turn into something with acceptable
performance.
I spent a long time looking for the bug that caused the raggedness, but come to the (tentative) conclusion that there isn't one and that the lack of smoothness is (potentially) due to the fact that in some areas the minor principal stress is in the plane perpendicular to the plane of interest (this is a 3D analysis!), creating singularities in the surface used to create the contour lines.
For now I will move on the other things and open a new topic for that ...
Re: Principal Stress Plots
Found a bug. Better, but still not right...
Re: Principal Stress Plots
This is as good as it gets:
I conclude that the easiest way to visualise stress trajectories is by simply plotting principal stresses, like in my earlier posts.
I conclude that the easiest way to visualise stress trajectories is by simply plotting principal stresses, like in my earlier posts.
-
- Veteran
- Posts: 3158
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Principal Stress Plots
Harry,
amazing work!
I like the perforated plate (the stress "flow" around the holes...)
Thomas
amazing work!
I like the perforated plate (the stress "flow" around the holes...)
Thomas