This is a problem that I have had over the last, say, 15 development builds. It affects not just SolverCalculix but also the Elmer and Z88 solvers too.
To show the problem, I've created a very simple box cantilever using Part, and used SolverCalculix to solve for a cantilever end load. Essentially, it's the same as the "new solver example analysis" on the FreeCAD Start Page, but it's even simpler because it only uses SolverCalculix.
I've run Netgen with a finer mesh, so that SolverCalculix takes longer to run and I have time to see what is going on on the screen.
When I come to run SolverCalculix under Solver Control I first select 'Write' and see 'Write Completed'
When I select 'Run' SolverCalculix starts (black winow on screen with SolverCalculix at the top).
After about 40 seconds Solver Control says 'Job Completed'. The seconds clock stops and the Mesh Object reappears.
But then after another 5 seconds, the clock starts to increment again........41, 42, 43...!
After about 5 seconds, FreeCAD crashes/closes.
In Task Manager, I can see that FreeCAD is still resident in memory, but as a process only, not as an application.
I've done everything I can think of to try to get rid of this problem. Any ideas anyone? Is anyone else seeing this too?
Report View Log
Python Console Log
Freecad part file
The Freecad log shows that things are going wrong at the end.....something to do with wrong threads:
Msg: imported mesh: 0 HEXA20, 0 TRIA3, 0 TRIA6, 0 QUAD4, 0 QUAD8, 0 SEG2, 0 SEG3Msg:
Log: QPixmap: It is not safe to use pixmaps outside the GUI thread.......
Log: 0.156000: Finish =========================================================
Log: QObject: Cannot create children for a parent that is in a different thread.
(Parent is QTextDocument(0x1f40c168870), parent's thread is QThread(0x1f407517eb0), current thread is QThread(0x1f4671d8820)
The only other issue I can see is that Calculix Steel seems to be seen as a 'NonMsg' material. But if I inspect the FEM data using Edit, the material properties are correct for Steel. And if I re-run the whole thing using Concrete Generic (!!!!!!) as a material, Freecad still crashes.
I'm running Windows 10 on a Dell Inspiron 3650 i7 64-bit about 18 months old.
I've also tried Safe Mode, and still get the same problem. Same problem too using GMSH mesh.
Tried lots of other things too!
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13050 (Git)
Build type: Release
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedKingdom (en_GB)
I will say that I have also tried this by loading Freecad onto my son's Window's 10 machine.
It ran straight away, without any problems.
- SolverCalculix Box Cantilever.FCStd
- saved with coarse mesh to reduce file size!
- (11.12 KiB) Downloaded 34 times
- (18.59 KiB) Downloaded 38 times
- Python Console.txt
- (4.18 KiB) Downloaded 32 times
- Report View.txt
- (764 Bytes) Downloaded 41 times