Author Topic: Gmsh  (Read 9529 times)

Yaakov

  • Sr. Member
  • ****
  • Posts: 323
Gmsh
« 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
« Last Edit: January 19, 2018, 10:24:50 AM by Yaakov »
Let's boost FEAP's performance!

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Gmesh
« Reply #1 on: January 18, 2018, 10:49:00 PM »
no.  you will have to write a convertor.

JStorm

  • Sr. Member
  • ****
  • Posts: 250
Re: Gmesh
« Reply #2 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.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Gmesh
« Reply #3 on: January 19, 2018, 07:53:17 AM »
This is something I started.

Yaakov

  • Sr. Member
  • ****
  • Posts: 323
Re: Gmesh
« Reply #4 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.
Let's boost FEAP's performance!

Yaakov

  • Sr. Member
  • ****
  • Posts: 323
Re: Gmesh
« Reply #5 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.
« Last Edit: January 19, 2018, 10:45:07 AM by Yaakov »
Let's boost FEAP's performance!

JStorm

  • Sr. Member
  • ****
  • Posts: 250
Re: Gmsh
« Reply #6 on: January 21, 2018, 04:42:44 AM »
@Yaakov: Thank you for that hint. I haven't know about gtof.

Yaakov

  • Sr. Member
  • ****
  • Posts: 323
Re: Gmesh
« Reply #7 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.
« Last Edit: January 23, 2018, 10:20:27 AM by Yaakov »
Let's boost FEAP's performance!