Example for 1D analysis

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Example for 1D analysis

Post by bernd »

User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Example for 1D analysis

Post by bernd »

if CalculiX 2.17 binary will be used deformation results are correct. ...

file with correct results attached

ccx_cantilever_beams.FCStd
(18.28 KiB) Downloaded 71 times
User avatar
NewJoker
Veteran
Posts: 2977
Joined: Sun Oct 11, 2020 7:49 pm

Re: Example for 1D analysis

Post by NewJoker »

bernd wrote: Fri Jul 23, 2021 6:36 am if CalculiX 2.17 binary will be used deformation results are correct. ...

file with correct results attached


ccx_cantilever_beams.FCStd
Hi,

when I open your file in FreeCAD (version details below) it looks like that:
FreeCAD FEM.JPG
FreeCAD FEM.JPG (87.73 KiB) Viewed 2133 times

It seems that something is wrong here. Do you know what's going on ?


OS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Polish/Poland (pl_PL)
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Example for 1D analysis

Post by bernd »

LGTM :)

What seam to be wrong with that?
User avatar
NewJoker
Veteran
Posts: 2977
Joined: Sun Oct 11, 2020 7:49 pm

Re: Example for 1D analysis

Post by NewJoker »

Right, apparently I misunderstood the contents of this file. Especially that additional small line made me confused. I have some experience in CalculiX but not in its FreeCAD implementation including 1D elements. By the way, can you tell me how to display the results of such analysis in form of a contour plot ? Something like that (but with legend of course):
plot.JPG
plot.JPG (19.77 KiB) Viewed 2099 times

I couldn't find any tutorials with beam elements being used in FreeCAD.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Example for 1D analysis

Post by bernd »

Unfortunately printing such postprocessing graphs for 1D analysis is not possible in FreeCAD ATM. Lots of people use Paraview if the post processing in FreeCAD does not offer the graph they would like to have. But I even do not know how it is possible in Paraview.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Example for 1D analysis

Post by bernd »

What you could do is use the solver setting "Beam Shell Result Output 3D" and set it to True. This will expand the beam element to the solid elements which have been used in CalculiX anyway.
cad1234
Posts: 331
Joined: Fri Dec 28, 2018 11:11 am

Re: Example for 1D analysis

Post by cad1234 »

- Make the settings, as bernd proposed
bernd wrote: Tue Jul 27, 2021 8:53 pm What you could do is use the solver setting "Beam Shell Result Output 3D" and set it to True. This will expand the beam element to the solid elements which have been used in CalculiX anyway.
- Start the solver process
- mark results and export as vtk-file
- start Paraview and open the vtk-file
- play around with this ..at the end you should have this or similar, depending on your required result selection...
There is a FC wiki help for paraview
- under Paraview “file” you will find “make a screenshot” ..see attachment as example..
I put all the screenshots in one Libre Office Writer file, to have an overview of the different analysis results in one file, so no problem with the print option in FC-FEM ;)
..just started to learn Paraview some weeks ago, with a great help from the german forum, I`m still not a specialist of PV….
PV is so extremely powerfull, have never regretted to invest the time to start learning it..
Hope, I could help..
Attachments
cantilever.png
cantilever.png (34.41 KiB) Viewed 2021 times
User avatar
NewJoker
Veteran
Posts: 2977
Joined: Sun Oct 11, 2020 7:49 pm

Re: Example for 1D analysis

Post by NewJoker »

bernd wrote: Tue Jul 27, 2021 8:53 pm What you could do is use the solver setting "Beam Shell Result Output 3D" and set it to True. This will expand the beam element to the solid elements which have been used in CalculiX anyway.
Thank you for explanation, it's clear now.

cad1234 wrote: Tue Jul 27, 2021 10:05 pm - Make the settings, as bernd proposed
bernd wrote: Tue Jul 27, 2021 8:53 pm What you could do is use the solver setting "Beam Shell Result Output 3D" and set it to True. This will expand the beam element to the solid elements which have been used in CalculiX anyway.
- Start the solver process
- mark results and export as vtk-file
- start Paraview and open the vtk-file
- play around with this ..at the end you should have this or similar, depending on your required result selection...
There is a FC wiki help for paraview
- under Paraview “file” you will find “make a screenshot” ..see attachment as example..
I put all the screenshots in one Libre Office Writer file, to have an overview of the different analysis results in one file, so no problem with the print option in FC-FEM ;)
..just started to learn Paraview some weeks ago, with a great help from the german forum, I`m still not a specialist of PV….
PV is so extremely powerfull, have never regretted to invest the time to start learning it..
Hope, I could help..
Does this picture show the postprocessed results of analysis carried out on 1D elements ? So it's possible to not only render beam profile but also display contour results on it ?
cad1234
Posts: 331
Joined: Fri Dec 28, 2018 11:11 am

Re: Example for 1D analysis

Post by cad1234 »

Yes, it is bernd`s example (the example you used), I just downloaded it from your thread.
But you have to make the settings in the solver, as bernd explained, before starting the solver ( "Beam Shell Result Output 3D" and set it to True").
After that, you can see the contour also in FC, when you open the results in FC.
But I think, you have more options in PV, if you want to have more details.
It`s amazing, what PV can do with the data FC-FEM delivers.
e.g, if you set the “? with the red point” in PV, you can hover over the Beam, and see more details..

OT: Many, many thanks to Thomas for your fantastic help!!... if you read this!!!
Attachments
Beam.jpg
Beam.jpg (640.94 KiB) Viewed 1773 times
Post Reply