salomeToElmer - export Salome mesh to Elmer

Discussion about coding and new developments

salomeToElmer - export Salome mesh to Elmer

Postby vencels » 10 May 2017, 13:35

Hi,

I have written a script to export Salome mesh to Elmer.

https://github.com/jvencels/salomeToElmer

Typically users export Salome mesh in .unv format and then import it into Elmer. The problem is that .unv format does not support pyramids (5 nodal elements). These elements typically arise in mixed tetra and hexa 3D meshes.

I was looking for existing solutions but did not find any. Therefore decided to write salomeToElmer script to export mesh directly to Elmer's native mesh.* format.

It is barely tested so let me know if any suggestions and/or problems.

Cheers,
Juris
vencels
 
Posts: 19
Joined: 20 Sep 2016, 17:05
Location: Latvia

Re: salomeToElmer - export Salome mesh to Elmer

Postby RaJa » 11 May 2017, 15:48

Does your script maintain the naming of the mesh and mesh groups? If so, I could incorporate your script into my Salome plugin the emulates the Elmer GUI.

Thanks,
Rainer
RaJa
 
Posts: 60
Joined: 22 Oct 2014, 09:48

Re: salomeToElmer - export Salome mesh to Elmer

Postby vencels » 11 May 2017, 16:35

Yes, it keeps names of domains and boundaries.
It would be nice to put it in your Salome plugin.
vencels
 
Posts: 19
Joined: 20 Sep 2016, 17:05
Location: Latvia


Return to Software development

Who is online

Users browsing this forum: No registered users and 2 guests