FEM WB
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: FEM WB
Double click on MechanicalAnalysis in the tree. You need to have an ative analysis to run calcs. This is something that I'll fix in the future, but there are some code changes required before I can start working on it.
Re: FEM WB
ThanksPrzemoF wrote:Double click on MechanicalAnalysis in the tree. You need to have an ative analysis to run calcs. This is something that I'll fix in the future, but there are some code changes required before I can start working on it.
PrzemoF wrote:1. OK, open FEM wb, go to Edit->Preferences->FEM and check what do you have set as "working directory"
Code: Select all
~/FreeCAD/FEM-work
Yes i can.PrzemoF wrote:2. Can you start FreeCAD from terminal? (ask if you don't know what I'm talking about - I don't know how much do you know)
my terminal output:PrzemoF wrote:P.S. I posted was a termina console output - you can't run it in the FreeCAD python console, as it's not a code.
Code: Select all
runCalculix
run Calculix at: /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2 with: /home/jbubuntu/FreeCAD/FEM-work/Part__Feature_Mesh
calculixStarted()
PySide.QtCore.QProcess.ProcessState.Running
calculixFinished()2
PySide.QtCore.QProcess.ProcessState.NotRunning
Loading results....
Re: FEM WB
Open terminal and try to run:
it should produce some output.
Code: Select all
/usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2 -i /home/jbubuntu/FreeCAD/FEM-work/Part__Feature_Mesh
Re: FEM WB
PrzemoF wrote:Open terminal and try to run:it should produce some output.Code: Select all
/usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2 -i /home/jbubuntu/FreeCAD/FEM-work/Part__Feature_Mesh
Code: Select all
jbubuntu@jbubuntu-MacBook:~$ /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2 -i /home/jbubuntu/FreeCAD/FEM-work/Part__Feature_Mesh
bash: /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2: cannot execute binary file: Exec format error
Re: FEM WB
Code: Select all
ls -l /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2
Code: Select all
file /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2
Re: FEM WB
PrzemoF wrote:Code: Select all
ls -l /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2
Code: Select all
jbubuntu@jbubuntu-MacBook:~$ ls -l /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2
-rwxr-xr-x 1 jbubuntu users 5412993 Mar 4 19:49 /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2
PrzemoF wrote:Code: Select all
file /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2
Code: Select all
jbubuntu@jbubuntu-MacBook:~$ file /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2
/usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped
Re: FEM WB
PrzemoF wrote:Code: Select all
file /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2
Code: Select all
jbubuntu@jbubuntu-MacBook:~$ file /usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2
/usr/local/CalculiX/ccx_2.8p2/src/ccx_2.8p2: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped
You have to get a 32 bit ccx or compile it (tough!)
[1] viewtopic.php?f=3&t=11830#p95402
Re: FEM WB
Or an re install...PrzemoF wrote:You have to get a 32 bit ccx or compile it (tough!)
Re: FEM WB
Having some troubel...
Reinstall to 64 bit
install CCX according B
And still get the same errors as before..
Reinstall to 64 bit
install CCX according B
Code: Select all
B. IF YOU WOULD LIKE TO RUN THE EXECUTABLE YOU COPIED FROM THE
HOMEPAGE (ccx_2.8.tar.bz2):
1. copy ccx_2.8.tar.bz2 to /usr/local. Bunzip2 and untar the
executable; the file ccx_2.8 is
generated and put into /usr/local/CalculiX/ccx_2.8/src. Move
the executable to /usr/local/bin.
2. to run examples, get ccx_2.8.test.tar.bz2 from the homepage
and follow the instructions under A.
3. to get the documentation, get ccx_2.8.ps.tar.bz2 and
ccx_2.8.htm.tar.bz2, copy them to /usr/local and bunzip2 and
untar them. Alternatively, create the documentation from the tex
original ccx_2.8.doc.tar.bz2 and proceed as explained under A.
Re: FEM WB
Can you post the path you have in FEM preferences for ccx binary and the result of "file" for that ccx binary?