Giter Club home page Giter Club logo

Comments (7)

elitewill1200 avatar elitewill1200 commented on June 30, 2024

Added traceback for clarificuation:

Traceback (most recent call last):
  File "/opt/insightcae/bin/isofRun.py", line 6, in <module>
    from Insight.toolkit import *
ModuleNotFoundError: No module named 'Insight'

it seems to be failing right as snappyHexMeshConfiguration is starting

I also just ran

sudo apt install insighttoolkit4-python3

to see if that works. No dice...

from insightcae.

hkroeger avatar hkroeger commented on June 30, 2024

Hi,

the package "insighttoolkit4-python3" has nothing to do with InsightCAE.

Please try installing our development package first. I recently made some changes in the python integration.

The steps for installing from the development repo are the same as outlined on our website but you need to replace the URL with:

$ sudo add-apt-repository http://downloads.silentdynamics.de/ubuntu_dev

(note the "_dev" suffix in the URL)
Please let me know, if that changed something.

from insightcae.

elitewill1200 avatar elitewill1200 commented on June 30, 2024

from insightcae.

elitewill1200 avatar elitewill1200 commented on June 30, 2024

I installed the development package on a fresh install of Ubuntu, the same error occurred when hitting run.
TestCase.zip
here is the test case I am trying

from insightcae.

hkroeger avatar hkroeger commented on June 30, 2024

Ok, thanks for the feedback.

I will check your case and get back in due course.

from insightcae.

hkroeger avatar hkroeger commented on June 30, 2024

I found the issue:

in the file /opt/insightcae/bin/insight_setenv.sh, line 45 should be changed from

if which python >/dev/null 2>&1; then

to

if which python3 >/dev/null 2>&1; then

I will schedule that fix in the next rebuild.

from insightcae.

hkroeger avatar hkroeger commented on June 30, 2024

By the way:

I corrected three issues in your input file "test.iscb":

  1. there were two "Numerics" case elements added (MeshingNumerics and steadyIncompressibleNumerics). You dont' need MeshingNumerics. This is only needed, if you want to create an OpenFOAM case only for running e.g. snappyHexMesh and without any solver configuration (if you want to assemble a mesh from a set of simpler, indiviually created meshes)
  2. reduced the maximum refinement level on the geometry.
  3. changed the sign of the velocity at the inlet. It was directed out of the domain as you set it up.

Please find the file with corrections attached.
test_modified.iscb.zip

Auswahl_038

from insightcae.

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.