Stress Result in Shells
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Stress Result in Shells
Found it Here https://github.com/FreeCAD/FreeCAD/blob ... s.cpp#L449 we gone set the count of points to the count of nodes we have in our mesh, but we need to set it not to the count of point but to the highest node ID instead. This does not crash anymore but I'm not yet happy with the way I get the highest node id. https://github.com/berndhahnebach/FreeC ... 5f4d07104e
Step by step we will get there ...
Step by step we will get there ...
Re: Stress Result in Shells
https://github.com/FreeCAD/FreeCAD/pull/1396 it does fix the crash, and vtk mesh export works. But the result pipeline still does not work if the SMESH mesh has node gaps. An error message is printed in report view.
At least FreeCAD does no longer crash
At least FreeCAD does no longer crash
Re: Stress Result in Shells
thus result mesh node numbers are not equal to results anymore thus the results are wrong. I reopened issue issue #2873
Re: Stress Result in Shells
issue #3617bernd wrote: ↑Thu Apr 05, 2018 6:30 am https://github.com/FreeCAD/FreeCAD/pull/1396 it does fix the crash, and vtk mesh export works. But the result pipeline still does not work if the SMESH mesh has node gaps. An error message is printed in report view.
At least FreeCAD does no longer crash
Re: Stress Result in Shells
should be fixed with git commit 1643520 testing is highly appreciatedbernd wrote: ↑Tue Sep 25, 2018 9:31 pmissue #3617bernd wrote: ↑Thu Apr 05, 2018 6:30 am https://github.com/FreeCAD/FreeCAD/pull/1396 it does fix the crash, and vtk mesh export works. But the result pipeline still does not work if the SMESH mesh has node gaps. An error message is printed in report view.
At least FreeCAD does no longer crash
Re: Stress Result in Shells
much better, but still some funny colorful patches (in blue):
OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15646 (Git)
Build type: Unknown
Branch: master
Hash: fdf8fe7bc6ed671e8b7ee064000b6f00567ce795
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15646 (Git)
Build type: Unknown
Branch: master
Hash: fdf8fe7bc6ed671e8b7ee064000b6f00567ce795
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Re: Stress Result in Shells
you gone mix bugs harry ... issue #2873 and issue #3617
generate 3D resultmesh from a 2D analysis. Run analysis:
what works now ... make a vtk result object and enjoy
what does not yet work ... save the FreeCAD file, reload the FreeCAD file and use FreeCAD result object viewer
BTW: vtk result should work on file reload. FreeCAD result works as long as the file is not saved.
Would you confirm this?
generate 3D resultmesh from a 2D analysis. Run analysis:
what works now ... make a vtk result object and enjoy
what does not yet work ... save the FreeCAD file, reload the FreeCAD file and use FreeCAD result object viewer
BTW: vtk result should work on file reload. FreeCAD result works as long as the file is not saved.
Would you confirm this?
Re: Stress Result in Shells
The problem with reloading the the unv file is that smesh performs the function compatMesh() and thus changes all the ids. The question is whether there is a way to handle this.bernd wrote: ↑Thu Jan 17, 2019 7:46 am you gone mix bugs harry ... issue #2873 and issue #3617
BTW: vtk result should work on file reload. FreeCAD result works as long as the file is not saved.
Re: Stress Result in Shells
Two years ago we disscussed this with user vejmarie and decided to leave compactMesh(), but at that time the 3D mesh result from 2D analysis (which introduces node gaps in the mesh) was not possible. Thus the bug was closed and reopend a few month ago when we found this problem. The next problem is, we can not just deactivate the compactMesh() IMHO. Thus because it is possible to compile FreeCAD with external SMESH which still has compactMesh() ...wmayer wrote: ↑Thu Jan 17, 2019 4:07 pmThe problem with reloading the the unv file is that smesh performs the function compatMesh() and thus changes all the ids. The question is whether there is a way to handle this.bernd wrote: ↑Thu Jan 17, 2019 7:46 am you gone mix bugs harry ... issue #2873 and issue #3617
BTW: vtk result should work on file reload. FreeCAD result works as long as the file is not saved.
Werner do you see any solution apart from use some compactMesh() right at the beginning when we create a mesh in FreeCAD. With this the mesh is renumbered during import from frd file.
bernd