Export mesh

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

Thank you,

Andrea

Hello,

What do you call a .case file ?

Regards,

Yvan

A file like the one produced by CS in the RESU directory.

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

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).
mesh.rar (3.72 MB)

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

Thanks that was the issue.

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

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