add new function to fem module
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: add new function to fem module
Congratulations almost 4 years after i have started (and 3.5 years after i failed!) you have succeeded!!twangrt wrote: ↑Sat Jun 19, 2021 1:36 pm PR regarding the naming of calculix result files.
https://github.com/FreeCAD/FreeCAD/pull/4871
Re: add new function to fem module
It's done when it's done ...
Re: add new function to fem module
Thanks! My first open source contribution. But all things after this I've tried have failed, or as Bernd mentioned.Jee-Bee wrote: ↑Tue Aug 24, 2021 5:37 pmCongratulations almost 4 years after i have started (and 3.5 years after i failed!) you have succeeded!!twangrt wrote: ↑Sat Jun 19, 2021 1:36 pm PR regarding the naming of calculix result files.
https://github.com/FreeCAD/FreeCAD/pull/4871
You didn't fail. You're just not done yet.
Re: add new function to fem module
twangrt wrote: ↑Sun Feb 21, 2021 3:38 pm Creating an example took more effort than I initially thought, but very educational. Have a look at the PR https://github.com/FreeCAD/FreeCAD/pull/4379
Many thanks fro this great feature!
While documenting the feature for FreeCAD 0.20 I encounter these issues:
* When I load the 3 buckling examples from the "Calculix" examples group, CCX 2.17 crashes. It works when I load the examples from the group "ccxtools" in the FEM examples. So shouldn't the 3 buckling examples therefore not be in the "calculix" group?
* I performed the simulation successfully. But how can I visualize the result as I see in your images? When I click on the CCX results object in the document tree, I get this error message:
Code: Select all
FEM: Graphical bending stress output for beam or shell FEM Meshes not yet supported.
Re: add new function to fem module
I tried with Lateral Torsional Buckling example and it runs successfully regardless if it's taken from calculix or ccxtools group.
Strange, when I run the LTB example, I get the CCX_BucklingFactor_1_95_Results object. When I click on it, I see the results and can make a post-processing pipeline out of it:
How does it look like on your side ? Can you share the FreeCAD info data ?
Re: add new function to fem module
Thanks for having a look. So there is somehow an error that needs to be fixed.
Here is my test case of the LTB example:
And when I run it, I get:
Code: Select all
13:14:57 run CalculiX at: D:/FreeCAD-build/bin/ccx.exe with: D:/Download/Buckling-Test2\CalculiXccxTools\Mesh.inp
13:15:04 Error() PySide2.QtCore.QProcess.ProcessError.Crashed
13:15:04 CalculiX done without error!
13:15:04
13:15:04 CalculiX read results...
13:15:04 Read ccx results from frd file: D:/Download/Buckling-Test2\CalculiXccxTools\Mesh.frd
13:15:04 Nodes, but no results found in frd file. It means there only is a mesh but no results in frd file. Usually this happens for:
- analysis type 'NOANALYSIS'
- if CalculiX returned no results (happens on nonpositive jacobian determinant in at least one element)
- just no frd results where requestet in input file (neither 'node file' nor 'el file' in output section')
13:15:04 Read ccx results from dat file: D:/Download/Buckling-Test2\CalculiXccxTools\Mesh.dat
So I get a crash and this most probably causes that I cannot open the CCX result object.
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.28071 (Git)
Build type: Release
Branch: master
Hash: fd11686fe4d3b8a513587ac0700d519538a105fe
Python 3.8.6+, Qt 5.15.2, Coin 4.0.1, OCC 7.5.3
Locale: German/Germany (de_DE)
Installed mods:
* A2plus 0.4.54b
* Assembly4 0.11.10
* fasteners 0.3.38
* Manipulator
Re: add new function to fem module
It works when I delete the results objects in your file and rerun the analysis. I use a slightly older release since that's the most recent one available for Windows on GitHub at the moment:
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.27809 (Git)
Build type: Release
Python 3.8.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: Polish/Poland (pl_PL)
The .inp file generated in your case might be incorrect (e.g. without proper output requests). Can you share it here ?