QProcess.ProcessError.FailedToStart for Calculix

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by looo »

bernd wrote: Tue Mar 26, 2019 7:31 pm Did you use the standard CalculixCcxTools solver or the experimental one?
hmm, I have no idea. Never heared about the experimental solver...
bernd wrote: Tue Mar 26, 2019 9:24 pm would you give it a try on your osx? If it works we go for your suggestion.
done https://github.com/FreeCAD/FreeCAD/pull ... 4173f5e120
lemonbug wrote: Wed Mar 27, 2019 3:24 am You got everything working? I know I went into preferences and set the path before and it didn’t help. I believe I had calculix installed properly and was able to run a test from the command line but my memory isn’t foggy.
It is working for freecad and ccx from conda. These builds are pretty close to linux builds (but with other compilers). So there is still the chance this is not working for the brew builds. Maybe someone can try.
lemonbug
Posts: 310
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by lemonbug »

That’s what i did now. Someone posted instructions for brew in this thread or another and I was able to get everything compiled but would not work. Do we have a full set of instructions on how to get this working for OS X? Thx!
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by bernd »

looo wrote: Wed Mar 27, 2019 10:44 am
bernd wrote: Tue Mar 26, 2019 7:31 pm Did you use the standard CalculixCcxTools solver or the experimental one?
hmm, I have no idea. Never heared about the experimental solver...

Code: Select all

import ObjectsFem as fem
doc = App.ActiveDocument
a = fem.makeAnalysis(doc)
stdsolver = a.addObject(fem.makeSolverCalculixCcxTools(doc))[0]  # standard solver well development pre checks
expsolver = a.addObject(fem.makeSolverCalculix(doc))[0]  # frame work solver (no pre checks)
doc.recompute()

stdsolver.Proxy.Type
expsolver.Proxy.Type

Code: Select all

>>> stdsolver.Proxy.Type
'Fem::FemSolverCalculixCcxTools'
>>> expsolver.Proxy.Type
'Fem::FemSolverObjectCalculix'
>>> 
or menu Solve in FEM workbench
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by Kunda1 »

An aside: we definitely need someone to get CalculiX (and other FEM/FEA solvers) in to Homebrew or in to our own tap.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by bernd »

that would surely be cool!
Post Reply