Code: Select all
OS: Ubuntu 18.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6712 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: da2d364457257a7a8c6fb2137cea12c45becd71a
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
In 0.16 I now have a problem to run even basic FEM analysis. E.g. if I use the cantilever example from the start page everything is fine until I try to run the solver (after purging the results).
I generate the .inp-file through the Solver dialog. When I click 'run CalculiX´ I get this:
Code: Select all
Analysis failed with exit code -1
--------start of stderr-------
--------end of stderr---------
--------start of stdout-------
--------end of stdout---------
CalculiX failed ccx finished with error -1
Using CalculiX binary path from FEM preferences: /usr/bin/ccx
runCalculix
run CalculiX at: /usr/bin/ccx with: /home/alexander/test/Box_Mesh
calculixStarted()
PySide.QtCore.QProcess.ProcessState.Running
calculixFinished() 1
PySide.QtCore.QProcess.ProcessState.NotRunning
Using CalculiX binary path from FEM preferences: /usr/bin/ccx
runCalculix
run CalculiX at: /usr/bin/ccx with: /home/alexander/test/Box_Mesh
calculixStarted()
PySide.QtCore.QProcess.ProcessState.Running
calculixFinished() 1
PySide.QtCore.QProcess.ProcessState.NotRunning
runCalculix
run CalculiX at: /usr/bin/ccx with: /home/alexander/test/Box_Mesh
calculixStarted()
PySide.QtCore.QProcess.ProcessState.Running
calculixFinished() 1
PySide.QtCore.QProcess.ProcessState.NotRunning
Traceback (most recent call last):
File "/tmp/.mount_FreeCA403sMA/usr/lib/freecad-0.16/Mod/Fem/_TaskPanelFemSolverCalculix.py", line 148, in calculixFinished
fea.load_results()
File "/tmp/.mount_FreeCA403sMA/usr/lib/freecad-0.16/Mod/Fem/FemTools.py", line 470, in load_results
raise Exception('FEM: No results found at {}!'.format(frd_result_file))
Exception: FEM: No results found at /home/alexander/test/Box_Mesh.frd!
However, when I run CalculiX from the command line, all is well and I get the expected result files.
I can even import the results into FreeCAD by generating the .inp file, running
Code: Select all
cxx Box_Mesh
While I can live with this work-around I wonder if there is a more elegant solution to this?