Export Salome Mesh to Calculix
- Lucio
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
9 years 6 days ago #8606
by Lucio
Export Salome Mesh to Calculix was created by Lucio
Hello everyone. I'm working on developing a script to export the meshes and groups from Salome to format Calculix (inp)
I have attained some degree of success using python a modified script unv2calculix.py and unv2xc.py.
Here I leave a video demonstration of achievements so far:
I have to clean a lot the code before uploading into my github account.
Does it make sense to incorporate the option of viewing the results in CGX after converting the mesh?
Regards
Excuse my bad English
I have attained some degree of success using python a modified script unv2calculix.py and unv2xc.py.
Here I leave a video demonstration of achievements so far:
I have to clean a lot the code before uploading into my github account.
Does it make sense to incorporate the option of viewing the results in CGX after converting the mesh?
Regards
Excuse my bad English
- Claus
-
- Offline
- Moderator
-
Less
More
- Posts: 670
- Thank you received: 34
9 years 5 days ago #8608
by Claus
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
Replied by Claus on topic Re: Export Salome Mesh to Calculix
Very cool!
I do think it would be valuable to be able to see the results in CGX after conversion. A lot of energy and time would be lost if the simulation was run on a bad mesh.
/C
I do think it would be valuable to be able to see the results in CGX after conversion. A lot of energy and time would be lost if the simulation was run on a bad mesh.
/C
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
- Lucio
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
- Fa-Gung Fan
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
8 years 11 months ago #8672
by Fa-Gung Fan
Replied by Fa-Gung Fan on topic Re: Export Salome Mesh to Calculix
Hello,
I tried the script, but it said:
>>> execfile(r"/home/ffan/SalomeToCalculix/SalometoCalculix.py")
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/ffan/SalomeToCalculix/SalometoCalculix.py", line 38, in <module>
from salome.smesh import smeshBuilder
ImportError: cannot import name smeshBuilder
>>>
Where should smeshBuilder locate? Thanks.
- ffan
I tried the script, but it said:
>>> execfile(r"/home/ffan/SalomeToCalculix/SalometoCalculix.py")
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/ffan/SalomeToCalculix/SalometoCalculix.py", line 38, in <module>
from salome.smesh import smeshBuilder
ImportError: cannot import name smeshBuilder
>>>
Where should smeshBuilder locate? Thanks.
- ffan
Moderators: catux
Time to create page: 0.217 seconds