FreeCAD and ParaView

About the development of the FEM module/workbench.

Moderator: bernd

thschrader
Veteran
Posts: 2643
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: FreeCAD and ParaView

Post by thschrader »

DamianBod wrote: Tue Jun 30, 2020 9:45 am ...
As a result principal stress vectors are NOT exported to VTK file and visible under ParaView, and I am not able to enforce orientation to line glyphs along e.g. major principal stress vectors.
...
The problem still exists. I need the stress-vector plot of a concrete-part and tried the tutorial from HarryvL (last pics):
https://wiki.freecadweb.org/Post-Proces ... h_Paraview

But I can only project the stresses onto the displacement.
Test file from HarryvL:
Concrete_Beam_Central_Support.FCStd
(14.34 KiB) Downloaded 26 times
postprocessing_paraview.JPG
postprocessing_paraview.JPG (70.75 KiB) Viewed 913 times
User avatar
bernd
Veteran
Posts: 12536
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: FreeCAD and ParaView

Post by bernd »

Does it mean in the vtk exported from FreeCAD is missing something?
thschrader
Veteran
Posts: 2643
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: FreeCAD and ParaView

Post by thschrader »

Bernd,
have a look at the tutorial from Harry, last two pics:
https://wiki.freecadweb.org/Post-Proces ... h_Paraview

All results are computed and in the vtk, thats not the problem. You can view all in paraview.
When plotting the stress-vectors via glyph-filter, Harry uses the Orientation Array with option "Minor Principal Stress".
When I try this, there is only the "Displacement" to projekt the vectors, nothing else. Which gives a weird result.
vector_orientation.JPG
vector_orientation.JPG (127.38 KiB) Viewed 857 times
cad1234
Posts: 299
Joined: Fri Dec 28, 2018 11:11 am

Re: FreeCAD and ParaView

Post by cad1234 »

Would be great, if you or someone finds a solution for the stress vector.
Think, this could also be helpful for walls with opening (critical areas, crack avoidance)
Some lessons, when we made this manually by using “Ersatzstabwerk” ..forgot most of this ;) ..don`t know the english word. Would be much easier with the support of FC-FEM and paraview..
Here is a link (First up scrolling to the first page, then page 486 select from the contents list)
https://books.google.de/books?id=o9bPBg ... rk&f=false

All PS: Sorry that the book reference is in german language, could not find a better explanation about what I mean...
User avatar
HarryvL
Veteran
Posts: 1180
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: FreeCAD and ParaView

Post by HarryvL »

See https://forum.freecadweb.org/viewtopic. ... 85#p601775. This should work again as before in V20 release. Unfortunately, the fix for unreinforced materials did not make the V20 release, but is easy and will be available in V21 development versions soon.
User avatar
Kunda1
Veteran
Posts: 12743
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD and ParaView

Post by Kunda1 »

We can also backport
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
HarryvL
Veteran
Posts: 1180
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: FreeCAD and ParaView

Post by HarryvL »

Kunda1 wrote: Sat Jun 18, 2022 4:04 pm We can also backport
Unfortunately my knowledge is limited to technical programming. Anything to do with the whole FC eco system is magic to me.
Post Reply