Giter Club home page Giter Club logo

Comments (9)

fandaL avatar fandaL commented on August 26, 2024

from beso.

DrJohannessen avatar DrJohannessen commented on August 26, 2024

image
those are all the files in the working directory. I ran caluclix on the inp file after i wrote it to the directory, i did it in the freecad interface if that matters. im not shure how i could run calculix on file000.inp, cause when i try to open the ccx.exe nothing happens.

from beso.

fandaL avatar fandaL commented on August 26, 2024

from beso.

DrJohannessen avatar DrJohannessen commented on August 26, 2024

i ran it with the freecad method and everything worked without error or any warnings.

from beso.

fandaL avatar fandaL commented on August 26, 2024

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?

from beso.

DrJohannessen avatar DrJohannessen commented on August 26, 2024

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

from beso.

fandaL avatar fandaL commented on August 26, 2024

This is the code which is inside beso to run CalculiX. You can try to run it in the FreeCAD python console.

path_calculix = 'C:/Program Files/FreeCAD 0.20/bin/ccx.exe'
path = 'C:/workfolder'

import os
import subprocess
i = 0
file_nameW = os.path.join(path, "file" + str(i).zfill(3))
subprocess.call([os.path.normpath(path_calculix), file_nameW], cwd=path, shell=True)

I took the first two lines from my beso_conf.py file. path should be the path to the folder with the calculix input file000.inp

If you replace the last line by this
subprocess.run([os.path.normpath(path_calculix), file_nameW], cwd=path, shell=True, capture_output=True)
it should print CalculiX report.

Does it make something in the working folder?

from beso.

DrJohannessen avatar DrJohannessen commented on August 26, 2024

image
thats the error i get.

running it with the last line replace results in this
image

from beso.

sebastianmaklary avatar sebastianmaklary commented on August 26, 2024

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'm eperiencing this issue too when trying to run beso on 3D part using the files in example 2 or 3 regardless of whether it is the examples downloaded from here, where I've only changed the calculix folder path or if it is an inp file that I've exported using Mecway. 2D analysis works both on example 1 and when I export an inp file from Meway when I copy the main folder files into those folders and run.
If it matters: I'm running CalculiX version 2.19 i8.

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.

from beso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.