-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when trying to run optimization error accures #26
Comments
It seems that CalucliX did touch the file000.inp, so there is no output file
000.dat.
Can you check which files are in your working directory? Did you run the
analysis of the initial file when you prepared the input for the
optimization? Can you try to run the file000.inp in CalculiX? (e.g. using
ccx.exe from FreeCAD installation, something like:
"C:\Program Files\FreeCAD 0.20\bin\ccx.exe" C:\tmp\file000
|
if you open windows command line you can ran ccx.exe with path to the inp
file as a parameter, e.g.
"C:\Program Files\FreeCAD 0.20\bin\ccx.exe" C:\tmp\file000
Another way is to run it in FreeCAD. When you run analysis as usual, there
is a button "Edit .inp file". It opens the inp file, where you can paste the
content of file000.inp, save and run it to see if any error or warning
occur.
|
i ran it with the freecad method and everything worked without error or any warnings. |
If it ran without errors (FreeCAD prints in the side panel CalculiX done without error!), there should be results imported to FreeCAD. Did you follow some example? I mean, beso does not work on your computer at all? |
nah, i put the the file000 content into free cad inp file and run calilux, that worked, but with beso i still get the same errors |
This is the code which is inside beso to run CalculiX. You can try to run it in the FreeCAD python console.
I took the first two lines from my beso_conf.py file. If you replace the last line by this Does it make something in the working folder? |
Edit because I was perhaps unclear: I experience the same if I use the files found in example 2 but it works if I use the files found in the main folder. Original message: I thus believe that I've found a solution. I noticed a difference in the file size between the files that are in the example 1 folder and in the other folders. By copying the files from the main folder, I can now run beso on 3D parts as well. |
14:41:59 Traceback (most recent call last):
14:41:59 File "A:/beso-master\beso_lib.py", line 633, in import_FI_int_pt
14:41:59 f = open(file_nameW + ".dat", "r")
14:41:59 FileNotFoundError: [Errno 2] No such file or directory: 'A:/beso-master\file000.dat'
14:41:59
During handling of the above exception, another exception occurred:
14:41:59 Traceback (most recent call last):
14:41:59 File "A:/beso-master/beso_fc_gui.py", line 937, in on_click24
14:41:59 self.on_click23() # run optimization
14:41:59 File "A:/beso-master/beso_fc_gui.py", line 933, in on_click23
14:41:59 exec(open(os.path.join(beso_gui.beso_dir, "beso_main.py")).read())
14:41:59 File "", line 392, in
14:41:59 File "A:/beso-master\beso_lib.py", line 637, in import_FI_int_pt
14:41:59 assert False, msg
14:41:59 AssertionError: CalculiX result file not found, check your inputs
FreeCad Version: 0.20.1
The text was updated successfully, but these errors were encountered: