No results show up

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
FemUser
Posts: 134
Joined: Wed Aug 23, 2017 6:45 pm

No results show up

Post by FemUser »

I am using FreeCAD 0.17 11904 Git

I am trying to troubleshoot an issue I am getting with certain geometries. I get the following (see below) and on the generated folder only the .inp file has data. How can I debug this? Any idea? When I use a cube as a test solid everything works great.

0.0: Check dependencies...
14.3: Write completed.
0.0: CalculiX binary: ccx
0.0: Run CalculiX...
0.0: Starting CalculiX...
0.0: CalculiX is running...
40.7: CalculiX execute error: PySide.QtCore.QProcess.ProcessError.Crashed
40.7: CalculiX stopped.
40.8: ************************************************************
CalculiX Version 2.9, Copyright(C) 1998-2015 Guido Dhondt
CalculiX comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
certain conditions, see gpl.htm
************************************************************
You are using an executable made on Thu Jan 21 05:18:00 UTC 2016
The numbers below are estimated upper bounds
number of:
nodes: 208891
elements: 176099
one-dimensional elements: 0
two-dimensional elements: 0
integration points per element: 4
degrees of freedom per node: 3
layers per element: 1
distributed facial loads: 0
distributed volumetric loads: 0
concentrated loads: 38166
single point constraints: 9372
multiple point constraints: 1
terms in all multiple point constraints: 1
tie constraints: 0
dependent nodes tied by cyclic constraints: 0
dependent nodes in pre-tension constraints: 0
sets: 5
terms in all sets: 734253
materials: 1
constants per material and temperature: 2
temperature points per material: 1
plastic data points per material: 0
orientations: 0
amplitudes: 2
data points in all amplitudes: 2
print requests: 2
transformations: 0
property cards: 0
STEP 1
Static analysis was selected
40.8: CalculiX done!
40.8: Loading result sets...
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: No results show up

Post by bernd »

first off all I would download the latest FreeCAD, which has a newer version off CalculiX too. Another option would be to post the file. bernd
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: No results show up

Post by bernd »

If you check your working dir, is there no frd result file, or do you have an empty frd result file?
User avatar
FemUser
Posts: 134
Joined: Wed Aug 23, 2017 6:45 pm

Re: No results show up

Post by FemUser »

Wow you answered very quick. Thanks Bernd. I will be bugging you a lot in the future. I really want to use FreeCAD... Files are generated but actually only the .inp has something inside it. All other are empty.

FEMMeshGMSH.frd 0 bytes
FEMMeshGMSH.dat 0 bytes
FEMMeshGMSH.cvg 0 bytes
FEMMeshGMSH.inp 21.2 Mb
FEMMeshGMSH.sta 0 bytes
spooles.out 0 bytes

My current FreeCAD setup is as follows I use a daily version from here:
http://ppa.launchpad.net/freecad-mainta ... ily/ubuntu

Problem is that it doesn't have NetGen support... Is there any other better way of having a more complete and updated version that I don't need to compile every time?
User avatar
FemUser
Posts: 134
Joined: Wed Aug 23, 2017 6:45 pm

Re: No results show up

Post by FemUser »

The file is too large to attach even if I zip it. 8.7 MB.
User avatar
FemUser
Posts: 134
Joined: Wed Aug 23, 2017 6:45 pm

Re: No results show up

Post by FemUser »

Here is my full information:

OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11904 (Git)
Build type: None
Branch: master
Hash: 88e2b6de9a256896de2069fe1b55c66296b75ee1
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)
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: No results show up

Post by bernd »

FemUser wrote: Fri Aug 25, 2017 6:55 am The file is too large to attach even if I zip it. 8.7 MB.
try right click on the mesh --> clear, clears the mesh but keeps the object and thus the mesh properties.
User avatar
FemUser
Posts: 134
Joined: Wed Aug 23, 2017 6:45 pm

Re: No results show up

Post by FemUser »

I am importing a STEP file instead of doing the complete geometry in FreeCAD then I try to create a mesh. I noticed that mesh and imported body don't match in the same position. I made a mesh with Gmsh applied boundary condition and tried to solve. In the solve module (Calculix) after creating the .inp file Calculix said everything went well but no results files.

Thanks to Bernd I learned that it is good practice to clean it with Part Refine Shape and it improves compatibility of the imported geometry with the solver.

I tried to follow the same steps as Bernd did however in my system things didn't go as expected.

When try the solver it freezes in the .inp generation file step. I updated my FreeCAD to the latest version this morning.
Attachments
Screenshot_2017-08-26_10-27-21.png
Screenshot_2017-08-26_10-27-21.png (278.66 KiB) Viewed 2577 times
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: No results show up

Post by bernd »

Are you able to run an analysis and get results with the 3D FEM example from StartWB?

If yes than

- load the file I provided for you
- activate the analysis
- select the solver
- click on run button
- You should than get a new result object
- if not copy the output printed in the FreeCAD report window and post it here (put it in code tags)

bernd
User avatar
FemUser
Posts: 134
Joined: Wed Aug 23, 2017 6:45 pm

Re: No results show up

Post by FemUser »

The weird thing is that this advances a few times and I get to produce a .inp file (After a few restarts of FreeCAD).
I get this:

run CalculiX at: ccx with: /home/.../FEMMeshGMSH
calculixStarted()
PySide.QtCore.QProcess.ProcessState.Running
Error() PySide.QtCore.QProcess.ProcessError.Crashed
calculixFinished() 0
PySide.QtCore.QProcess.ProcessState.NotRunning
FemConstraintForce has Face reference shapes.
FEM preferences working dir is not set, the solver working directory is used.
FemTools.setup_working_dir() --> self.working_dir = /home/.../
Read results from: /home/.../FEMMeshGMSH.frd
FEM: No nodes found in Frd file.
Problem on frd file import. No nodes found in frd file.
FEM: No result object in active Analysis.

Why can I generateFEMMeshGMSH.inp (some times) but not FEMMeshGMSH.frd? Maybe installation issues?

OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11919 (Git)
Build type: None
Branch: master
Hash: fccb5dbc87b919164610296adc96aa8b4fe4825e
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)
Post Reply