Hi !
I’m currently working on a script that basically re-writes FreeCAD’s .inp file to include some specific functionalities of CalculiX that FreeCAD’s UI doesn’t support yet (netgen with refinement, elastic materials, axisymmetric simulations, bla bla bla).
The script itself works well but I’m getting a strange behavior from CalculiX (running with CalculiX’s latest public build). Let’s say I run my simulation 10 times. The simulation won’t start in 9 out of 10 cases and will run+successfully finish fully in the last case. The results themselves are really convincing.
The wrong outputs are always one of these:
- “*ERROR in usermpc: mpc of type is unknown” which leads to an error thrown and stops simulation ofc
- “Error() PySide2.QtCore.QProcess.ProcessError.Crashed” which leads to a “CalculiX done without error” even though nothing ran
I tried running from the command line and from FreeCAD’s interface and I get the same behavior/error (PySide2 crash doesn’t seem to happen from command line)
The current .inp file structure is inspired by how PrePoMax writes his.
I cannot attach my .inp file, so here’s a framapad from which you can copy and try it: Framapad mensuel. What could be the reason for these crashes ? Been working with CalculiX for some months now and it’s amazingly stable and i’ve gotten accustomed to the repeatability of its simulations ; which is why this behavior stands out even more.
Any hint/idea is much appreciated !
Best