FEAP User Forum

FEAP => Input File Issues => Topic started by: Yaakov on January 18, 2018, 05:57:03 PM

Title: Gmsh
Post by: Yaakov on January 18, 2018, 05:57:03 PM
FEAP Administrator,

I would like to ask, does FEAP also now support .msh file, i.e. directly read the mesh output from Gmsh solver?

Warm regards,
Yaakov
Title: Re: Gmesh
Post by: Prof. S. Govindjee on January 18, 2018, 10:49:00 PM
no.  you will have to write a convertor.
Title: Re: Gmesh
Post by: JStorm on January 19, 2018, 01:40:33 AM
To write such converters is not difficult, because gmesh already supports to export into various formats.
just chose one in text format which do not have to many additional informations.
than you can write a little script to read in the node and element list and write it back into a feap mesh file.
Title: Re: Gmesh
Post by: Prof. R.L. Taylor on January 19, 2018, 07:53:17 AM
This is something I started.
Title: Re: Gmesh
Post by: Yaakov on January 19, 2018, 09:59:35 AM
Dear Prof. Taylor and Dear Prof. Govindjee,

Thanks very much for your continue research support!

I asked this question as I still remember the mentioned new feature of FEAP85 about Gmsh File from the post
"Arbitrary shape three-dimensional model" in our forum.

Many thanks for your greatful help again!

Have a nice weekend!

Best regards,
Yaakov



 




This is something I started.
Title: Re: Gmesh
Post by: Yaakov on January 19, 2018, 10:11:00 AM
Jstrom,

I am just asking for the new feature of FEAP. build-in new function, e.g. directly read mesh file from mesh generator (e.g. Salome for Code-Aster, Gmsh for DealII, etc)

If we want to use the traditional method which you also have mentioned, we may just use this open resource "gtof" for Gmsh file to Feap Input.
https://sites.google.com/view/gtof-mx/welcome-to-gtof

I also wrote some very simple line code to get simple structure mesh output from Abaqus/Ansys (4 nodes, 1 section, 1 material, 1 part). (some times, I have to check mesh error ....).

I think, Gmsh@ should be nowadays a very good open resource (free resource) for CAE Mesh Tool.


Also thanks for your answer.

Best,
Yaakov

To write such converters is not difficult, because gmesh already supports to export into various formats.
just chose one in text format which do not have to many additional informations.
than you can write a little script to read in the node and element list and write it back into a feap mesh file.
Title: Re: Gmsh
Post by: JStorm on January 21, 2018, 04:42:44 AM
@Yaakov: Thank you for that hint. I haven't know about gtof.
Title: Re: Gmesh
Post by: Yaakov on January 22, 2018, 06:13:28 AM
@JStorm, we may just use the build-in new function in FEAP which are developed by Prof. Taylor et al.

see:
This is something I started.

FEAP now directly supports the mesh output file from Gmsh using the new build-in function. It shall be an important update for us.
That means we don't need the external matlab/python code for the transpose of mesh output into the Feap input-format in most cases.

PLug-In see the reply of Prof. Taylor in this post

P.S.: Gmsh: open one, very easy to use (HyperMesh, etc), user support, etc.