×

Notice

The forum is in read only mode.

unv2gmsh: Key error 111

  • Eelis Takala
  • Topic Author
  • Offline
  • New Member
  • New Member
More
17 years 5 months ago #1533 by Eelis Takala
unv2gmsh: Key error 111 was created by Eelis Takala
Hello all!

I have problems with the unv2gmsh.py -script.
When I try to use it, something weird happens.
Here is an exaple:

[code:1][caelinux@lenovo-c594bfaf pistonElmer]$ python /opt/helpers/unv2gmsh.py piston.unv pistonElmer

Mapping of UNV groups <=> GMSH physical ID
Default <=> 0

temp <=> 1

flux <=> 2

Traceback (most recent call last):
File "/opt/helpers/unv2gmsh.py", line 92, in ?
dat.extend([elem.cntvt for i in connectivityMapping[elem.type]])
KeyError: 111
[caelinux@lenovo-c594bfaf pistonElmer]$ [/code:1]

What does that mean ?
More
17 years 5 months ago #1536 by Joël Cugnoni
Replied by Joël Cugnoni on topic Re:unv2gmsh: Key error 111
Hi,

in fact, a mistake has been left in this version of the unv2gmsh.py script and it should be corrected ... I will post the updated version here when I'll be back home.

Sorry, but this new script was not tested thoroughly.

Joel Cugnoni
www.caelinux.com

Joël Cugnoni - a.k.a admin
www.caelinux.com
  • Eelis Takala
  • Topic Author
  • Offline
  • New Member
  • New Member
More
17 years 5 months ago #1539 by Eelis Takala
Replied by Eelis Takala on topic Re:unv2gmsh: Key error 111

I will post the updated version here when I'll be back home.


that's good!

Sorry, but this new script was not tested thoroughly.


That's allright. By the way, is this right place to report
bugs ? I had this other problem too, where Salome didn't
find the hostname. It was allready solved in salomes web
pages though.

-Eelis Takala-
More
17 years 5 months ago #1543 by Joël Cugnoni
Replied by Joël Cugnoni on topic Re:unv2gmsh: Key error 111
Hi,

here is the corrected version of unv2gmsh.py, it should work now.


To report bugs, I suggest that you post your questions on both CAELinux forums & the developer's forums.
I know that the developers really need the feedback of the users, so reacting to a bug is the first way of contributing to the improvements.

Also note that the official website/forums for Salome-Meca is www.code-aster.org (Salome-Meca is developed by EDF) and not the general Salome-platform website.

If you find another issue with unv2gmsh, do not hesitate to give me your feedback.

Joel Cugnoni
www.caelinux.com

Joël Cugnoni - a.k.a admin
www.caelinux.com
More
17 years 5 months ago #1544 by Joël Cugnoni
Replied by Joël Cugnoni on topic Re:unv2gmsh: Key error 111
the upload failed... now here is the file:

Attachment unv2gmsh.gz not found


Joël Cugnoni - a.k.a admin
www.caelinux.com
Attachments:
  • Eelis Takala
  • Topic Author
  • Offline
  • New Member
  • New Member
More
17 years 4 months ago #1562 by Eelis Takala
Replied by Eelis Takala on topic Re:unv2gmsh: Key error 111

here is the corrected version of unv2gmsh.py, it should work now.


Thank you very much. It works well.

-Eelis Takala-
Moderators: catux
Time to create page: 0.166 seconds
Powered by Kunena Forum