Export mesh

This forum is dedicated to Syrthes related issues, as the Syrthes tool does not have its own forum.
Post Reply
andrea28
Posts: 41
Joined: Fri Apr 15, 2016 7:25 pm

Export mesh

Post by andrea28 »

Hello,
In Salome, is it possible to export the mesh from a .case file?

Thank you,

Andrea
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Export mesh

Post by Yvan Fournier »

Hello,

What do you call a .case file ?

Regards,

Yvan
andrea28
Posts: 41
Joined: Fri Apr 15, 2016 7:25 pm

Re: Export mesh

Post by andrea28 »

A file like the one produced by CS in the RESU directory.
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Export mesh

Post by Yvan Fournier »

Hello,

Those are output files in the EnSight Gold format.
SALOME's PARAVIS can read those files, but if you want to export a mesh to a format readable by the SMESH module, you need to change the output format to MED.

Regards,

Yvan
andrea28
Posts: 41
Joined: Fri Apr 15, 2016 7:25 pm

Re: Export mesh

Post by andrea28 »

Thanks for the help.

I am using Syrthes now and when I try to convert the mesh:
convert2syrthes4 -dim 3 -m shroud_mesh.unv -o mesh.syr

I get:
***************************************************************
convert2syrthes : convert mesh file to SYRTHES format
**************************************************************

SYRTHES file opened : mesh.syr
Ideas universal file opened : shroud_mesh.unv
Ideas mesh file : wrong type of elements found (type=44)

The mesh works properly on CS, plus is very simple (file attached).
Attachments
mesh.rar
(3.72 MiB) Downloaded 336 times
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Export mesh

Post by Yvan Fournier »

Hello,

Do not forget that Syrthes only handles triangles and tetrahedra. To split quads and hexahedra into triangles, you need to do that under SALOME.

Regards,

Yvan
andrea28
Posts: 41
Joined: Fri Apr 15, 2016 7:25 pm

Re: Export mesh

Post by andrea28 »

Thanks that was the issue.
Pisolino
Posts: 86
Joined: Thu Apr 26, 2012 1:55 pm

Re: Export mesh

Post by Pisolino »

Hi all,
i'm facing a similar problem with a .unv mesh made only by tet elements.

SYRTHES file opened : Mesh_2.syr
Ideas universal file opened : Mesh_2.unv
Ideas mesh file : wrong type of elements found (type=41)

For what i googled 41 should be triangular elements, is there something wrong? my syrthes version is automatically compiled from ubuntu 18.04 repository, should i just compile a personal version?

thanks

Andrea
Andrea
CEO and R&D manager @ ARGO srl

mail: info@argosrl.eu
site: www.argosrl.eu
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Export mesh

Post by Yvan Fournier »

Hello,

Looking at the unv reader in the Code_Saturne sources, I confirm type 41 seems to be for linear triangles, and even checking in the Syrthes sources, type 41 seems to be handled/read (along with type 91) so this is quite strange.

Installing your own version might indeed be a safe bet...

Best regards,

Yvan
Post Reply