FEconv icon indicating copy to clipboard operation
FEconv copied to clipboard

Convert GMSH .msh to ANSYS .msh

Open ghost opened this issue 5 years ago • 5 comments

Hello,

Using the following command ./feconv -gm input_GMSH.msh output_ANSYS.msh results in the program running for very long but does not output anything. This is in ubuntu 20.04.

Thanks,

Peter

ghost avatar Dec 22 '20 08:12 ghost

Hi,

there is a not stressed enough hole in the documentation: you cannot directly convert from one MSH format to another MSH one. You have to use a third format instead. For example:

./feconv -gm input_GMSH.msh tmp.unv ./feconv tmp.unv output_ANSYS.msh

I will try to clarify this point in the documentation.

Best, Fran Pena

El mar, 22 dic 2020 a las 9:07, PeterZtrok ([email protected]) escribió:

Hello,

Using the following command ./feconv -gm input_GMSH.msh output_ANSYS.msh results in the program running for very long but does not output anything. This is in ubuntu 20.04.

Thanks,

Peter

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/victorsndvg/FEconv/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRM23NGDXXZPPITPLBG6MDSWBHT7ANCNFSM4VFJCVRQ .

--

Francisco José Pena Brage Departamento de Matemática Aplicada Facultade de Matemáticas. Campus Vida 15782 Santiago de Compostela - Spain Tel.: +34 8818 13194 Fax: +34 8818 13197 Email: fran(dot)pena(at)usc(dot)es http://www.usc.es/ingmat http://www.usc.es/ingmat [email protected]

fran-pena avatar Dec 22 '20 10:12 fran-pena

Ok thanks. I will try to convert like that. How much should it take for a 500MB mesh? Thanks, Peter

ghost avatar Dec 22 '20 10:12 ghost

Hi,

I cannot give you a realistic prediction: it depends on your machine, the format (ANSYS is quite slow since a surface-volume conversion), the compiler (ifort is faster than gfortran), ...

It would be helpful to make a preliminary test with a smaller mesh in order to be sure that there is no problem.

Best, Fran Pena

El mar, 22 dic 2020 a las 11:43, PeterZtrok ([email protected]) escribió:

Ok thanks. I will try to convert like that. How much should it take for a 500MB mesh? Thanks, Peter

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/victorsndvg/FEconv/issues/7#issuecomment-749476274, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRM23N33L7Y7MQDCYVBAI3SWBZ4TANCNFSM4VFJCVRQ .

fran-pena avatar Dec 22 '20 11:12 fran-pena

Helo,

I have reduced the size of the mesh which is a 3D unstructured mesh. However, I have not been able to convert it to a .unv format to convert that to ANSYS .msh. However, I have tried some of the examples and they do work. This is on linux using gfortran. The mesh is created in GMSH and saved in ASCII Version 2 format. Any ideas on what I can try?

ghost avatar Dec 22 '20 15:12 ghost

Hi,

so the step that is failing is the first one: feconv -gm mesh.msh mesh.unv, right?

Is any warning or error in the output? The format is correct (ASCII Version 2). Maybe, it could be a problem with non-consecutive numbering, but it is difficult to say more without knowing the mesh. If you can send me the mesh, I can give you a better answer.

Best, Fran

El mar, 22 dic 2020 a las 16:22, PeterZtrok ([email protected]) escribió:

Helo,

I have reduced the size of the mesh which is a 3D unstructured mesh. However, I have not been able to convert it to a .unv format to convert that to ANSYS .msh. However, I have tried some of the examples and they do work. This is on linux using gfortran. The mesh is created in GMSH and saved in ASCII Version 2 format. Any ideas on what I can try?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/victorsndvg/FEconv/issues/7#issuecomment-749595219, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRM23N5KOBKNCNLHN4PGUDSWC2TDANCNFSM4VFJCVRQ .

fran-pena avatar Dec 22 '20 18:12 fran-pena